-
Notifications
You must be signed in to change notification settings - Fork 18
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
ivykis 0.42 failure on OmniOS in syslog-ng 3.9.1 #12
Comments
Hi, thank you for the bug report, and sorry for the inconvenience. Are any messages logged by syslog-ng when you get this crash? I can't really see off-hand what has changed in this area that could cause this issue to appear, is there any chance you could bisect this? |
While bisecting the daemon in foreground mode, I also received this error message:
The final commit that the bisect points to is:
|
The "Error 0" error you got is weird, it suggests that port_getn() returned a negative value but then errno was set to zero. According to the man page for port_getn() (for Solaris 11.3), this function does behave like most C library functions in that it returns a negative value and sets errno when there is an error, so I'm not sure why it's behaving this way. Is there any chance you could run this through truss and see exactly what happens? Your gdb output shows that it's crashing because iv_event_post() ended up calling into abort(), but I don't see how it's getting there, nothing in that function calls abort() directly. What happens if you try this?
cc @MrAnno |
Also, on the off chance that this will make a difference, could you try this?
|
Hi,
I'm not really familiar with OmniOS, but I've seen a similar problem once on Solaris: While my project was built using thread-safe errno ( |
I've hit a similar problem, although the error message is different. Here's a full stack trace:
Using syslog-ng-3.12.2 with ivykis-0.40 seems to work fine. Forcing ivykis-0.42.2 to build threadsafe works too. Sounds like making pthread support optional is not really an option - at least on SunOS with eventports. |
So the problem here is that after the @buytenh Can you define More info: https://docs.oracle.com/cd/E19455-01/806-5257/compile-4/index.html |
OK, so does this work?
|
Fixed by 0d482cc, and released as part of v0.42.3. |
We have a couple OmniOS systems and we run a few things built using pkgsrc, including syslog-ng and ivykis. After updating from ivykis-0.40 to 0.42 and syslog-ng-3.8.1 to 3.9.1, syslog-ng dies after a few seconds and core dumps. I noticed iv_* functions in the backtraces so I started fiddling with the ivykis package. Updating to 0.42.1 doesn't improve things, but moving back to 0.40 makes things stable again.
Let me know if you need anything else for debugging.
Here's some backtraces from one of the core dumps:
The text was updated successfully, but these errors were encountered: