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

2014-10-01 Thread Claudius Hubig
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 
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:
.
Find the GDB manual and other documentation resources online at:
.
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.
0x76f29077 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  0x76f29077 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 23075
selftid = 23075
#1  0x76f2a458 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 = 0x758aad80 
<_PyGObject_API>}
sigs = {__val = {32, 0 }}
#2  0x762d295d in g_mutex_unlock_slowpath (mutex=, 
prev=) at 
/build/glib2.0-Dv_k6u/glib2.0-2.42.0/./glib/gthread-posix.c:1327
No locals.
#3  0x74eebbbf in gtk_main () from 
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#4  0x7559fff7 in _wrap_gtk_main (self=) at 
/tmp/buildd/pygtk-2.24.0/gtk/gtk.override:1240
_save = 0x9ab0a0
main_watch = 0xe4d670
#5  0x004ca6c4 in call_function (oparg=, 
pp_stack=) at ../Python/ceval.c:4005
meth = 0x8
self = 
flags = 0
tstate = 0x9ab0a0
func = 
w = 
nk = 10137760
n = -148273264
pfunc = 0x77fbdf50
#6  PyEval_EvalFrameEx () at ../Python/ceval.c:2667
sp = 0x77fbdf58
opcode = 0
t = 0x0
#7  0x004ca272 in fast_function (nk=, na=, n=, pp_stack=, func=) at 
../Python/ceval.c:4107
f = Frame 0x77fbddd0, for file 
/usr/lib/python2.7/dist-packages/mirage.py, line 4579, in main 
(self=, 
layout=, ss_stop=, window=, 
action_names=['Open in GIMP', 'Create Thumbnail', 'Create Thumbnails', 'Move to 
Favorites'], statusbar=, 
running_custom_actions=False, recentfiles=[], listwrap_mode=0, 
start_in_fullscreen=False, image_list=[], updating_adjustments=False, 
open_mode=0, ss_delayspin=, 
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 = 
argdefs = 0x0
#8  call_function (oparg=, pp_stack=) at 
../Python/ceval.c:4042
func = 
w = 
nk = 10137760
n = -148273264
pfunc = 0x77e8f1c8
#9  PyEval_EvalFrameEx () at ../Python/ceval.c:2667
sp = 0x77e8f1d0
opcode = -134488624
t = Frame 0x77fbddd0, for file 
/usr/lib/python2.7/dist-packages/mirage.py, line 4579, in main 
(self=, 
layout=, ss_stop=, window=, 
action_names=['Open in GIMP', 'Create Thumbnail', 'Create Thumbnails', 'Move to 
Favorites'], statusbar=, 
running_custom_actions=False, recentfiles=[], listwrap_mode=0, 
start_in_fullscreen=False, image_list=[], updating_adjustments=False, 
open_mode=0, ss_delayspin=, 
thumb_sel_handler=605L, image_zoomed=False, preloadimg_next_in_list=-1, 
use_last_dir=False, thumbcell=<...(truncated)
#10 0x004c8329 in PyEval_EvalCodeEx () at ../Python/ceval.c:3253
f = 
retval = 
fastlocals = 0x76332ce0
tstate = 

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

2014-10-01 Thread Claudius Hubig
Package: mirage
Version: 0.9.5.1-3
Severity: grave

Dear maintainer,

after the last update, mirage crashes immediately on startup:

$ mirage
/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)
Attempt to unlock mutex that was not locked
Aborted
$ mirage
/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)
Attempt to unlock mutex that was not locked
Aborted
$ export LC_ALL=C
$ mirage
/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)
Attempt to unlock mutex that was not locked
Aborted
$ which mirage
/usr/bin/mirage
$ python2.7 /usr/bin/mirage
/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)
Attempt to unlock mutex that was not locked
Aborted
$ python3 /usr/bin/mirage
Traceback (most recent call last):
  File "/usr/bin/mirage", line 27, in 
import mirage
ImportError: No module named 'mirage'

If you need any further information, I’d be glad to assist you.

Best,

Claudius

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mirage depends on:
ii  libc62.19-11
ii  libx11-6 2:1.6.2-3
ii  python   2.7.8-1
ii  python-gtk2  2.24.0-4

mirage recommends no packages.

Versions of packages mirage suggests:
ii  gimp 2.8.14-1
ii  imagemagick  8:6.8.9.6-4
ii  menu 2.1.47

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20141001090355.14748.11658.report...@ares.home.chubig.net