#2 Crash when running two threads on a x86_64 system

closed-fixed
None
5
2005-11-20
2005-02-09
Paul Wayper
No

I have gnofract4d running on a dual Opteron system with
Python 2.3.4-11, GCC 3.4.3-3, PyGTK2 2.4.0-1 and GTK+
1.2.10-33. As soon as I select to use two threads in
the preferences window, the current fractal immediately
re-calculates. At the end of this calculation,
gnofract4d quits with the message:

FATAL: exception not rethrown
Aborted

This seems to happen regardless of orientation/location
of the viewing window and formula used.

Discussion

  • Edwin Young

    Edwin Young - 2005-02-14
    • assigned_to: nobody --> edwin
     
  • Paul Wayper

    Paul Wayper - 2005-02-18

    Logged In: YES
    user_id=69565

    Output from GDB:

    GNU gdb Red Hat Linux (6.1post-1.20040607.48rh)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public
    License, and you are
    welcome to change it and/or distribute copies of it under
    certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show
    warranty" for details.
    This GDB was configured as "x86_64-redhat-linux-gnu"...(no
    debugging symbols found)...Using host libthread_db library
    "/lib64/tls/libthread_db.so.1".

    (gdb) set args gnofract4d
    (gdb) br abort
    Function "abort" not defined.
    Make breakpoint pending on future shared library load? (y or
    [n]) y
    Breakpoint 1 (abort) pending.
    (gdb) r
    Starting program: /usr/bin/python gnofract4d
    (no debugging symbols found)...(no debugging symbols
    found)...[Thread debugging using libthread_db enabled]
    [New Thread 182894225792 (LWP 5096)]
    (no debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...Breakpoint 2
    at 0x3aab62fb60
    Pending breakpoint "abort" resolved
    (no debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...(no debugging symbols
    found)...(no debugging symbols found)...(no debugging
    symbols found)...(no debugging symbols found)...(no
    debugging symbols found)...(no debugging symbols
    found)...Detaching after fork from child process 5100.
    /usr/lib/gnofract4d-2.6/fract4dgui/main_window.py:344:
    DeprecationWarning: use gtk.UIManager
    item_factory = gtk.ItemFactory(gtk.MenuBar, '<main>',
    self.accelgroup)
    [New Thread 1084229984 (LWP 5106)]
    /usr/lib/gnofract4d-2.6/fract4dgui/main_window.py:532:
    DeprecationWarning: use gtk.ComboBox
    res_menu= gtk.OptionMenu()
    [Thread 1084229984 (LWP 5106) exited]
    Detaching after fork from child process 5107.
    [New Thread 1094719840 (LWP 5113)]
    [Thread 1094719840 (LWP 5113) exited]
    /usr/lib/gnofract4d-2.6/fract4dgui/preferences.py:270:
    DeprecationWarning: use gtk.ComboBox
    optMenu = gtk.OptionMenu()
    Detaching after fork from child process 5117.
    [New Thread 1094719840 (LWP 5123)]
    [New Thread 1105209696 (LWP 5124)]
    [New Thread 1115699552 (LWP 5125)]
    FATAL: exception not rethrown
    [Switching to Thread 1105209696 (zombie)]

    Breakpoint 2, 0x0000003aab62fb60 in abort () from
    /lib64/tls/libc.so.6
    (gdb) bt
    #0 0x0000003aab62fb60 in abort () from /lib64/tls/libc.so.6
    #1 0x0000003aac50ac21 in unwind_cleanup () from
    /lib64/tls/libpthread.so.0
    #2 0x0000002a99036c0d in tpool<job_info_t,
    STFractWorker>::threadFunc (pinfo=0x2)
    at threadpool.h:118
    #3 0x0000003aac50613a in start_thread () from
    /lib64/tls/libpthread.so.0
    #4 0x0000003aab6c53c3 in clone () from /lib64/tls/libc.so.6
    #5 0x0000000000000000 in ?? ()
    (gdb) info threads
    6 Thread 1115699552 (LWP 5125) 0x0000003ab14b028f in
    __cxa_get_globals ()
    from /usr/lib64/libstdc++.so.6
    4 Thread 1094719840 (LWP 5123) 0x0000003aac506fdb in
    pthread_join ()
    from /lib64/tls/libpthread.so.0
    2 Thread 1084229984 (LWP 5106) 0x0000003aab6bc6d2 in poll
    () from /lib64/tls/libc.so.6
    1 Thread 182894225792 (LWP 5096) 0x0000003aab6bc6d2 in
    poll () from /lib64/tls/libc.so.6
    Segmentation fault

     
  • Edwin Young

    Edwin Young - 2005-11-20

    Logged In: YES
    user_id=2194

    Now fixed in CVS. Will be included in next public release.
    Sorry for the delay.

     
  • Edwin Young

    Edwin Young - 2005-11-20
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks