-
Notifications
You must be signed in to change notification settings - Fork 77
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
Driver API test failure #83
Comments
The In summary, the dbus-broker instance exited and returned non-zero (either explicitly or via a terminal signal). The reasons for this is not clear from the logs. If dbus-broker segfaulted, there should be a hint in the system logs, though the report does not include the system logs (at least I didn't find them). And if the broker returned non-zero itself, it must have either printed something to the system log, or to stderr. Is there a way to get access to the journal entries? Or, if no journal is around, then |
from the host syslogs zgrep dbus-broker /var/log/* /var/log/debug:Dec 12 10:19:19 mr-fox kernel: traps: dbus-broker[13439] general protection ip:56470655120c sp:7ffcc545d930 error:0 in dbus-broker[564706541000+2c000] /var/log/kern.log:Dec 12 10:19:19 mr-fox kernel: [151499.624964] traps: dbus-broker[13439] general protection ip:56470655120c sp:7ffcc545d930 error:0 in dbus-broker[564706541000+2c000] /var/log/messages:Dec 12 10:19:19 mr-fox kernel: traps: dbus-broker[13439] general protection ip:56470655120c sp:7ffcc545d930 error:0 in dbus-broker[564706541000+2c000] /var/log/syslog:Dec 12 10:19:19 mr-fox kernel: traps: dbus-broker[13439] general protection ip:56470655120c sp:7ffcc545d930 error:0 in dbus-broker[564706541000+2c000] |
Oddly, I am seeing similar messages in the kernel log, despite the test passing. I rebuilt with debug symbols and systemd captured a core dump.
|
Right. The runtime-tests do not correctly capture failures if they happen after the tests succeeded (i.e., when we take down the test-daemon). As it turns out, there is a reference-leak in dbus-broker regarding monitor-matches. Hence, the broker faults, but the tests don't fail. I found the culprit in a recent c-rbtree change (which disallows moving trees by hand). I am working on a fix. However, I somehow suspect that this is not related to the initial bug-report. I guess we will see once I pushed the fix. Thanks a lot! |
I pushed a fix to -master just now. This resolves all issues that I can reproduce locally. However, this still does not explain the original bug to me. Is there any chance to get a backtrace? |
With latest master, I am no longer seeing those general protection errors. @toralf - could you test sys-apps/dbus-broker-9999 on that tinderbox image? If you still get a test failure, it would be helpful if you could get a backtrace from the core dump. |
OK: 34 :-) |
Thanks for the confirmation! |
Our tinderbox ran into a test failure on dbus-broker v9.
A full build log is attached to the Gentoo bug report: https://bugs.gentoo.org/640876
I am unable to reproduce the failure myself, but perhaps you can provide some ideas to further diagnose it.
The text was updated successfully, but these errors were encountered: