[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#763602: Backtrace for "Crashes on startup with "Attempt to unlock mutex that was not locked""



Okay, this seems to be a bug in Python?

There is also a very similar issue with reportbug at
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758619 but that
doesn’t have an immediate solution either.

(Backtrace from gdb below)

Best,

Claudius

$ gdb --args python /usr/bin/mirage
GNU gdb (Debian 7.7.1+dfsg-3) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python...Reading symbols from /usr/lib/debug//usr/bin/python2.7...done.
done.
(gdb) run
Starting program: /usr/bin/python /usr/bin/mirage
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
/usr/lib/python2.7/dist-packages/mirage.py:608: Warning: The property GtkWindow:allow-shrink is deprecated and shouldn't be used anymore. It will be removed in a future version.
  self.window.set_property('allow-shrink', False)
[New Thread 0x7fffe6e8b700 (LWP 23079)]
Attempt to unlock mutex that was not locked

Program received signal SIGABRT, Aborted.
0x00007ffff6f29077 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0  0x00007ffff6f29077 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 23075
        selftid = 23075
#1  0x00007ffff6f2a458 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x31fc4, sa_sigaction = 0x31fc4}, sa_mask = {__val = {140737340076128, 44, 140737323936992, 44, 140737336735971, 44, 140737340076128, 
              140737323936992, 140737336739894, 140737340076128, 1, 44, 44, 0, 140737336699069, 14539744}}, sa_flags = 0, sa_restorer = 0x7ffff58aad80 <_PyGObject_API>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff62d295d in g_mutex_unlock_slowpath (mutex=<optimized out>, prev=<optimized out>) at /build/glib2.0-Dv_k6u/glib2.0-2.42.0/./glib/gthread-posix.c:1327
No locals.
#3  0x00007ffff4eebbbf in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#4  0x00007ffff559fff7 in _wrap_gtk_main (self=<optimized out>) at /tmp/buildd/pygtk-2.24.0/gtk/gtk.override:1240
        _save = 0x9ab0a0
        main_watch = 0xe4d670
#5  0x00000000004ca6c4 in call_function (oparg=<optimized out>, pp_stack=<optimized out>) at ../Python/ceval.c:4005
        meth = 0x8
        self = <unknown at remote 0x7ffff6332ce0>
        flags = 0
        tstate = 0x9ab0a0
        func = <built-in function main>
        w = <built-in function main>
        nk = 10137760
        n = -148273264
        pfunc = 0x7ffff7fbdf50
#6  PyEval_EvalFrameEx () at ../Python/ceval.c:2667
        sp = 0x7ffff7fbdf58
        opcode = 0
        t = 0x0
#7  0x00000000004ca272 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=<optimized out>, func=<optimized out>) at ../Python/ceval.c:4107
        f = Frame 0x7ffff7fbddd0, for file /usr/lib/python2.7/dist-packages/mirage.py, line 4579, in main (self=<Base(fullscreen_mode=False, savemode=2, thumb_scroll_handler=606L, user_prompt_visible=False, open_mode_1to1=2, action_batch=[False, False, True, False], last_dir='/home/claudius/daten/pictures', resource_path_list=['/usr/share/pixmaps', '/usr/share/mirage', '/usr/bin'], actionGroupCustom=<gtk.ActionGroup at remote 0x7fffed67ea50>, layout=<gtk.Layout at remote 0x7fffed67ecd0>, ss_stop=<gtk.Button at remote 0x7fffed248c80>, window=<gtk.Window at remote 0x7fffed67e8c0>, action_names=['Open in GIMP', 'Create Thumbnail', 'Create Thumbnails', 'Move to Favorites'], statusbar=<gtk.Statusbar at remote 0x7fffed6810a0>, running_custom_actions=False, recentfiles=[], listwrap_mode=0, start_in_fullscreen=False, image_list=[], updating_adjustments=False, open_mode=0, ss_delayspin=<gtk.SpinButton at remote 0x7fffed24d0a0>, thumb_sel_handler=605L, image_zoomed=False, preloadimg_next_in_list=-1, use_last_dir=False, thumbcell=<...(truncated)
        tstate = 0x9ab0a0
        stack = 0x0
        co = 0x5a23
        globals = <unknown at remote 0x5a23>
        argdefs = 0x0
#8  call_function (oparg=<optimized out>, pp_stack=<optimized out>) at ../Python/ceval.c:4042
        func = <function at remote 0x7fffed6711b8>
        w = <function at remote 0x7fffed6711b8>
        nk = 10137760
        n = -148273264
        pfunc = 0x7ffff7e8f1c8
#9  PyEval_EvalFrameEx () at ../Python/ceval.c:2667
        sp = 0x7ffff7e8f1d0
        opcode = -134488624
        t = Frame 0x7ffff7fbddd0, for file /usr/lib/python2.7/dist-packages/mirage.py, line 4579, in main (self=<Base(fullscreen_mode=False, savemode=2, thumb_scroll_handler=606L, user_prompt_visible=False, open_mode_1to1=2, action_batch=[False, False, True, False], last_dir='/home/claudius/daten/pictures', resource_path_list=['/usr/share/pixmaps', '/usr/share/mirage', '/usr/bin'], actionGroupCustom=<gtk.ActionGroup at remote 0x7fffed67ea50>, layout=<gtk.Layout at remote 0x7fffed67ecd0>, ss_stop=<gtk.Button at remote 0x7fffed248c80>, window=<gtk.Window at remote 0x7fffed67e8c0>, action_names=['Open in GIMP', 'Create Thumbnail', 'Create Thumbnails', 'Move to Favorites'], statusbar=<gtk.Statusbar at remote 0x7fffed6810a0>, running_custom_actions=False, recentfiles=[], listwrap_mode=0, start_in_fullscreen=False, image_list=[], updating_adjustments=False, open_mode=0, ss_delayspin=<gtk.SpinButton at remote 0x7fffed24d0a0>, thumb_sel_handler=605L, image_zoomed=False, preloadimg_next_in_list=-1, use_last_dir=False, thumbcell=<...(truncated)
#10 0x00000000004c8329 in PyEval_EvalCodeEx () at ../Python/ceval.c:3253
        f = <unknown at remote 0x8>
        retval = <code at remote 0x7ffff7ecf2b0>
        fastlocals = 0x7ffff6332ce0
        tstate = 0x9ab0a0
        u = 0x0
#11 0x000000000050111f in PyEval_EvalCode (
    locals={'app': <Base(fullscreen_mode=False, savemode=2, thumb_scroll_handler=606L, user_prompt_visible=False, open_mode_1to1=2, action_batch=[False, False, True, False], last_dir='/home/claudius/daten/pictures', resource_path_list=['/usr/share/pixmaps', '/usr/share/mirage', '/usr/bin'], actionGroupCustom=<gtk.ActionGroup at remote 0x7fffed67ea50>, layout=<gtk.Layout at remote 0x7fffed67ecd0>, ss_stop=<gtk.Button at remote 0x7fffed248c80>, window=<gtk.Window at remote 0x7fffed67e8c0>, action_names=['Open in GIMP', 'Create Thumbnail', 'Create Thumbnails', 'Move to Favorites'], statusbar=<gtk.Statusbar at remote 0x7fffed6810a0>, running_custom_actions=False, recentfiles=[], listwrap_mode=0, start_in_fullscreen=False, image_list=[], updating_adjustments=False, open_mode=0, ss_delayspin=<gtk.SpinButton at remote 0x7fffed24d0a0>, thumb_sel_handler=605L, image_zoomed=False, preloadimg_next_in_list=-1, use_last_dir=False, thumbcell=<gtk.CellRendererPixbuf at remote 0x7fffed67ef50>, currimg_pixbuf_original=None, open_hidden_...(truncated), 
    globals={'app': <Base(fullscreen_mode=False, savemode=2, thumb_scroll_handler=606L, user_prompt_visible=False, open_mode_1to1=2, action_batch=[False, False, True, False], last_dir='/home/claudius/daten/pictures', resource_path_list=['/usr/share/pixmaps', '/usr/share/mirage', '/usr/bin'], actionGroupCustom=<gtk.ActionGroup at remote 0x7fffed67ea50>, layout=<gtk.Layout at remote 0x7fffed67ecd0>, ss_stop=<gtk.Button at remote 0x7fffed248c80>, window=<gtk.Window at remote 0x7fffed67e8c0>, action_names=['Open in GIMP', 'Create Thumbnail', 'Create Thumbnails', 'Move to Favorites'], statusbar=<gtk.Statusbar at remote 0x7fffed6810a0>, running_custom_actions=False, recentfiles=[], listwrap_mode=0, start_in_fullscreen=False, image_list=[], updating_adjustments=False, open_mode=0, ss_delayspin=<gtk.SpinButton at remote 0x7fffed24d0a0>, thumb_sel_handler=605L, image_zoomed=False, preloadimg_next_in_list=-1, use_last_dir=False, thumbcell=<gtk.CellRendererPixbuf at remote 0x7fffed67ef50>, currimg_pixbuf_original=None, open_hidden_...(truncated), co=0x7ffff7ecf2b0) at ../Python/ceval.c:667
No locals.
#12 run_mod.lto_priv () at ../Python/pythonrun.c:1371
        co = 0x7ffff7ecf2b0
#13 0x00000000004f6e22 in PyRun_FileExFlags () at ../Python/pythonrun.c:1357
        ret = <unknown at remote 0x7fffffffebd1>
        mod = 0x9e0ee8
        arena = 0x9d7950
#14 0x00000000004f5f17 in PyRun_SimpleFileExFlags () at ../Python/pythonrun.c:949
        m = <module at remote 0x7ffff7f56cc8>
        d = {'app': <Base(fullscreen_mode=False, savemode=2, thumb_scroll_handler=606L, user_prompt_visible=False, open_mode_1to1=2, action_batch=[False, False, True, False], last_dir='/home/claudius/daten/pictures', resource_path_list=['/usr/share/pixmaps', '/usr/share/mirage', '/usr/bin'], actionGroupCustom=<gtk.ActionGroup at remote 0x7fffed67ea50>, layout=<gtk.Layout at remote 0x7fffed67ecd0>, ss_stop=<gtk.Button at remote 0x7fffed248c80>, window=<gtk.Window at remote 0x7fffed67e8c0>, action_names=['Open in GIMP', 'Create Thumbnail', 'Create Thumbnails', 'Move to Favorites'], statusbar=<gtk.Statusbar at remote 0x7fffed6810a0>, running_custom_actions=False, recentfiles=[], listwrap_mode=0, start_in_fullscreen=False, image_list=[], updating_adjustments=False, open_mode=0, ss_delayspin=<gtk.SpinButton at remote 0x7fffed24d0a0>, thumb_sel_handler=605L, image_zoomed=False, preloadimg_next_in_list=-1, use_last_dir=False, thumbcell=<gtk.CellRendererPixbuf at remote 0x7fffed67ef50>, currimg_pixbuf_original=None, open_hidden_...(truncated)
        v = 0x0
        ret = -5156
#15 0x0000000000497afd in Py_Main () at ../Modules/main.c:640
        sts = 0
        command = 0x0
        filename = 0x7fffffffebd1 "/usr/bin/mirage"
        stdin_is_interactive = 1
        help = -135606144
        version = 1
        saw_unbuffered_flag = -5167
        cf = {cf_flags = 0}
#16 0x00007ffff6f15b45 in __libc_start_main (main=0x497590 <main>, argc=2, argv=0x7fffffffe938, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe928)
    at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 7839560272363478805, 4813967, 140737488349488, 0, 0, -7839560271638208747, -7839540537961521387}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x601b40 <__libc_csu_init>, 0x7fffffffe938}, data = {prev = 0x0, cleanup = 0x0, canceltype = 6298432}}}
        not_first_call = <optimized out>
#17 0x00000000004974b8 in _start ()
No symbol table info available.


Reply to: