-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal instruction (core dumped) node main.js #157
Comments
not sure where did you get this docker-compose, but one thing that I found weird was the |
hmm.. I think I added that once to fix a security warning.. And got the following log output after connecting (from my phone):
|
after updating image to 4.4.2
|
|
right.. you don't need to change anything.. you should just run the published docker image.. what happens if you change the I'm trying to find out if it is something related to the data you have or something related to you environment. |
I pointed the container to an empty database and as expected was greeted by the setup wizard. Your hunch might be right.. it could very well be a data issue... how to proceed now? |
I will say that same is happening to me, also with older data. Although I dont even get as far as the version screen. And new DB also didnt solve it. Running an older version 4.2.0 fixes the issue. 4.2.1 makes the issue appear. |
strangely.. it states a |
This issue is still hunting my instance: Reproduction for me is easiest using the iOS app version 4.32.0 by just changing chat or refreshing one (pull down gesture) if someone has an idea on how to trace this, or knows what to toggle in the container to get the server to start logging very much.. so I can pinpoint the origin of this.. would be very helpful.
|
@aikomastboom, |
Not sure why that would be the issue, as I have not upgraded to MongoDB 5.0 yet.. I still have been unable to enable some kind of debug logging / trace logging on the rocket server that could give a hint to when / where the code exits so brutally. How do the developers of the rocket project debug their work? |
Finally I got around to investigating a bit deeper. Running the image on a newer cpu (AMD Ryzen 7 4800U) in my case resolved this issue. How I got the clue about sharp being an issue (Fontconfig seems of no consequence in this issue): $ gdb node
...
> run main.js
...
[New Thread 0x7f7616d3b700 (LWP 3029)]
[New Thread 0x7f761653a700 (LWP 3030)]
[New Thread 0x7f7615d39700 (LWP 3031)]
[New Thread 0x7f7615538700 (LWP 3032)]
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
[New Thread 0x7f7614d37700 (LWP 3033)]
Thread 16 "[pango] FcInit" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7f7615538700 (LWP 3032)]
0x00007f76173bf17f in ?? () from /app/bundle/programs/server/npm/node_modules/sharp/build/Release/../.././vendor/8.14.5/linux-x64/lib/libvips-cpp.so.42 related: lovell/sharp#1402 |
it appears to happen when opening a chat/channel
code
20
Illegal instruction varies seemingly random: 152, 130, 108, 86, 42The text was updated successfully, but these errors were encountered: