Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 565529 - glib assertion failures in glib_init()
Summary: glib assertion failures in glib_init()
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: amanda
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Daniel Novotny
QA Contact: Fedora Extras Quality Assurance
URL: http://linux.dell.com/files/fedora/Fi...
Whiteboard:
Depends On:
Blocks: 564935
TreeView+ depends on / blocked
 
Reported: 2010-02-15 15:20 UTC by Matt Domsch
Modified: 2010-02-16 12:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 564935
Environment:
Last Closed: 2010-02-16 12:34:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2010-02-15 15:20:09 UTC
**
ERROR:glib-util.c:48:glib_init: assertion failed: (!g_thread_supported())
/bin/sh: line 5: 29454 Aborted                 ${dir}$tst
FAIL: semaphore-test
**
ERROR:glib-util.c:48:glib_init: assertion failed: (!g_thread_supported())
/bin/sh: line 5: 29479 Aborted                 ${dir}$tst
FAIL: queueing-test

+++ This bug was initially created as a clone of Bug #564935 +++

amanda-2.6.1p2-1.fc13.src.rpm Failed To Build From Source against the rawhide tree.  See http://fedoraproject.org/wiki/FTBFS for more information.
If you believe this is actually a bug in another package, do NOT change the component in this bug or close this bug.  Instead, add the appropriate bug number from the other package to the "Depends on" line in this bug.  If the other package does not yet have a bug created that you think matches, please create one.  Doing so helps us properly track bugs and their dependencies, just as we track package dependencies.  (If you close this bug, and the other package is not fixed before the next FTBFS run, a new bug will get created.  Please follow the above advice to avoid such duplication.)

--- Additional comment from ftbfs on 2010-02-13 12:22:10 EST ---

Created an attachment (id=392565)
root.log

root.log for i386

--- Additional comment from ftbfs on 2010-02-13 12:22:12 EST ---

Created an attachment (id=392566)
build.log

build.log for i386

--- Additional comment from ftbfs on 2010-02-13 12:22:13 EST ---

Created an attachment (id=392567)
mock.log

mock.log for i386

--- Additional comment from ftbfs on 2010-02-13 12:22:14 EST ---

Created an attachment (id=392568)
root.log

root.log for x86_64

--- Additional comment from ftbfs on 2010-02-13 12:22:16 EST ---

Created an attachment (id=392569)
build.log

build.log for x86_64

--- Additional comment from ftbfs on 2010-02-13 12:22:17 EST ---

Created an attachment (id=392570)
mock.log

mock.log for x86_64

--- Additional comment from dnovotny on 2010-02-15 05:15:56 EST ---

amanda fails "make check" because of glib error:

make[4]: Entering directory `/builddir/build/BUILD/amanda-2.6.1p2/common-src'
  PASS amflock-posix
  PASS amflock-flock
  PASS amflock-lockf
  PASS amflock-lnlock
 PASS test_impls
PASS: amflock-test
 PASS test_ev_time
 PASS test_ev_wait
 PASS test_ev_wait_2
 PASS test_ev_readfd
 PASS test_ev_writefd
 PASS test_event_wait
 PASS test_event_wait_2
 PASS test_nonblock
 PASS test_read_timeout
 PASS test_child_watch_source
PASS: event-test
**
ERROR:glib-util.c:48:glib_init: assertion failed: (!g_thread_supported())
/bin/sh: line 5: 29454 Aborted                 ${dir}$tst
FAIL: semaphore-test
**
ERROR:glib-util.c:48:glib_init: assertion failed: (!g_thread_supported())
/bin/sh: line 5: 29479 Aborted                 ${dir}$tst
FAIL: queueing-test
 PASS test_round_trip
 PASS test_unquote_string
 PASS test_split_quoted_strings
 PASS test_split_quoted_strings_edge
 PASS test_strquotedstr_skipping
 PASS test_strquotedstr_edge_invalid
 PASS test_strquotedstr_edge_valid
PASS: quoting-test

reassigning to glib

--- Additional comment from matt_domsch on 2010-02-15 10:18:20 EST ---

Re-assigning back to amanda, and will clone to a glib bug...

Comment 1 Matthias Clasen 2010-02-15 22:43:34 UTC
That assert in amanda's code is simply no longer correct.
Excerpt from the GLib 2.23.2 release announcement:

* Threading changes:
 - The requirements for g_thread_init() have been relaxed slightly,
   it can be called multiple times, and does not have to be the first
   call.
 - GObject now links to GThread and threads are enabled automatically
   when g_type_init() is called.
 - Thread-safety issues with boxed types in GObject have been fixed.


This needs to be fixed on the amanda side, should be as simple as taking out the assertion.

Comment 2 Daniel Novotny 2010-02-16 12:34:12 UTC
Matthias, thanks for the information about the GLib changes.

assertion commented out in amanda-2.6.1p2-2.fc13

closing this as "fixed in RAWHIDE"


Note You need to log in before you can comment on or make changes to this bug.