Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

core dump on FreeBSD 13.2-RELEASE #318

Open
AlfredoCubitos opened this issue Aug 28, 2023 · 2 comments
Open

core dump on FreeBSD 13.2-RELEASE #318

AlfredoCubitos opened this issue Aug 28, 2023 · 2 comments
Labels
question Further information is requested

Comments

@AlfredoCubitos
Copy link

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.....|

notify_push_core2..txt

I attached part of the core.
Any idea?

@joshtrichards
Copy link
Member

Not sure, but perhaps turning up logging will help determine if something specific is triggering it:

https://github.com/nextcloud/notify_push#logging

@joshtrichards joshtrichards added bug Something isn't working question Further information is requested and removed bug Something isn't working labels Oct 5, 2023
@AlfredoCubitos
Copy link
Author

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 :-)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants