core dump on FreeBSD 13.2-RELEASE
Opened this issue · 2 comments
I compile notify_push from this repo.
Normally it works fine but unfortunately it crashes sometimes.
In the core I found this error:
027089b0 49 6e 76 61 6c 69 64 20 73 68 61 72 65 64 20 6f |Invalid shared o|
027089c0 62 6a 65 63 74 20 68 61 6e 64 6c 65 20 30 78 32 |bject handle 0x2|
027089d0 32 38 64 62 32 30 33 32 31 62 30 00 00 00 00 00 |28db20321b0.....|
I attached part of the core.
Any idea?
Not sure, but perhaps turning up logging will help determine if something specific is triggering it:
ok, I think I found the problem which causes the crash.
In the nginx.error-Log I found a lot Connection refused
errors while notify_push
was trying to to connect to localhost
and localhost
was an IPv6-Address [::1]
which was not enabled/configured on the host.
So, it seems that after huge amount of error massages notify_push
decided to crash.
After I changed the proxy_pass option
in the nginx config from localhost
to 127.0.0.1
every thing works well.
No error massages and no crashes anymore :-)