[Bug 1157462] libdbus-1 uses abort() which is an absolute nogo for a system library
http://bugzilla.suse.com/show_bug.cgi?id=1157462 http://bugzilla.suse.com/show_bug.cgi?id=1157462#c10 --- Comment #10 from Dr. Werner Fink <werner@suse.com> --- (In reply to Simon Lees from comment #9)
(In reply to Dr. Werner Fink from comment #8)
SR#752324 -- could one have a review? Other than me!
Sorry due to timezones I was done for Friday when you sent this, doing the update was on my today list if I hadn't heard a good reason to keep --enable-asserts.
I this using --disable-asserts would be better then adding another patch, its also now how debian handle it. https://salsa.debian.org/utopia-team/dbus/blob/debian/master/debian/rules
The udeb_configure_flags rule with --disable-asserts is used for the udeb packages and those type of packages are only for internal build system for debian packages. The patch is also from debian (not utopia!) and is really simple: do not debug within a running system (no exit(3) nor abort(3) in system libraries): --- a/dbus/dbus-internals.c +++ b/dbus/dbus-internals.c @@ -185,7 +185,7 @@ const char *_dbus_no_memory_message = "Not enough memory"; static dbus_bool_t warn_initted = FALSE; static dbus_bool_t fatal_warnings = FALSE; -static dbus_bool_t fatal_warnings_on_check_failed = TRUE; +static dbus_bool_t fatal_warnings_on_check_failed = FALSE; static void init_warnings(void) could you please explain what is wrong with this approach? If you like to debug you are able to set the environment variable DBUS_FATAL_WARNINGS to 1. Currently we do not set DBUS_FATAL_WARNINGS at all, that is with the current default all customers and users out there do debugging their systems and do not know about nor can handle this. This causes a lot of trouble and bugzilla entries. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com