Follow-up Comment #2, bug #16366 (project mypaint):
Hi,
I encountered exactly the same problem, also on Debian Squeeze, with the
version in the debian repo as well as a fresh compiled latest git version.
Squeeze is undergoing a major switch from python2.5 to 2.6, maybe it is
related somehow...
Here's the backtrace (sorry if something's wrong, I'm not used to gdb with
python)
Cheers
Yorik
(gdb) run ./mypaint
Starting program: /usr/bin/python ./mypaint
[Thread debugging using libthread_db enabled]
builtin python 2.6 json support
confpath = /home/yorik/.mypaint/
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00007ffff136b290 in ?? ()
from /usr/lib/pymodules/python2.6/gtk-2.0/gtk/_gtk.so
#2 0x00007ffff136b48b in ?? ()
from /usr/lib/pymodules/python2.6/gtk-2.0/gtk/_gtk.so
#3 0x00000000004a7c6f in call_function (f=
Frame 0x20d6e00, for file /home/yorik/Apps/mypaint/lib/helpers.py, line
115, in gdkpixbuf2numpy (pixbuf=<gtk.gdk.Pixbuf at remote 0x1524500>),
throwflag=<value optimized out>) at ../Python/ceval.c:3734
#4 PyEval_EvalFrameEx (f=
Frame 0x20d6e00, for file /home/yorik/Apps/mypaint/lib/helpers.py, line
115, in gdkpixbuf2numpy (pixbuf=<gtk.gdk.Pixbuf at remote 0x1524500>),
throwflag=<value optimized out>) at ../Python/ceval.c:2412
#5 0x00000000004a8430 in fast_function (f=
Frame 0x20df560, for file
/home/yorik/Apps/mypaint/lib/backgroundsurface.py, line 21, in __init__
(self=<Background() at remote 0x151b710>, obj=<gtk.gdk.Pixbuf at remote
0x1524500>, mipmap_level=0), throwflag=<value optimized out>)
at ../Python/ceval.c:3836
#6 call_function (f=
Frame 0x20df560, for file
/home/yorik/Apps/mypaint/lib/backgroundsurface.py, line 21, in __init__
(self=<Background() at remote 0x151b710>, obj=<gtk.gdk.Pixbuf at remote
0x1524500>, mipmap_level=0), throwflag=<value optimized out>)
at ../Python/ceval.c:3771
---Type <return> to continue, or q <return> to quit---
#7 PyEval_EvalFrameEx (f=
Frame 0x20df560, for file
/home/yorik/Apps/mypaint/lib/backgroundsurface.py, line 21, in __init__
(self=<Background() at remote 0x151b710>, obj=<gtk.gdk.Pixbuf at remote
0x1524500>, mipmap_level=0), throwflag=<value optimized out>)
at ../Python/ceval.c:2412
#8 0x00000000004a9551 in PyEval_EvalCodeEx (co=0x122a198,
globals=<value optimized out>, locals=<value optimized out>, args=0x3,
argcount=<value optimized out>, kws=<value optimized out>, kwcount=0,
defs=
0x1236da8, defcount=1, closure=0x0) at ../Python/ceval.c:3000
#9 0x0000000000538a00 in function_call (func=<function at remote 0x13e9a28>,
arg=
(<Background() at remote 0x151b710>, <gtk.gdk.Pixbuf at remote
0x1524500>), kw=0x0) at ../Objects/funcobject.c:524
#10 0x000000000041ef47 in PyObject_Call (func=<function at remote 0x13e9a28>,
arg='_ARRAY_API', kw=<unknown at remote 0x3>) at
../Objects/abstract.c:2492
#11 0x0000000000427c1f in instancemethod_call (func=
<function at remote 0x13e9a28>, arg=
(<Background() at remote 0x151b710>, <gtk.gdk.Pixbuf at remote
0x1524500>), kw=0x0) at ../Objects/classobject.c:2579
#12 0x000000000041ef47 in PyObject_Call (func=
<instancemethod at remote 0x151fd20>, arg='_ARRAY_API', kw=
<unknown at remote 0x3>) at ../Objects/abstract.c:2492
#13 0x00000000004a19e3 in PyEval_CallObjectWithKeywords (func=
---Type <return> to continue, or q <return> to quit---
<instancemethod at remote 0x151fd20>, arg=
(<gtk.gdk.Pixbuf at remote 0x1524500>,), kw=<unknown at remote 0x3>)
at ../Python/ceval.c:3619
#14 0x0000000000429f16 in PyInstance_New (klass=<value optimized out>, arg=
(<gtk.gdk.Pixbuf at remote 0x1524500>,), kw=0x0)
at ../Objects/classobject.c:568
#15 0x000000000041ef47 in PyObject_Call (func=<classobj at remote 0x122bfb0>,
arg='_ARRAY_API', kw=<unknown at remote 0x3>) at
../Objects/abstract.c:2492
#16 0x00000000004a7248 in do_call (f=
Frame 0x2139d40, for file /home/yorik/Apps/mypaint/gui/document.py, line
34, in __init__
(self=<Document(app=<Application(pixmaps=<PixbufDirectory(cache={'cursor_color_picker':
<gtk.gdk.Pixbuf at remote 0x14fa410>}, dirname='./pixmaps') at remote
0x14ff830>, preferences={'input.global_pressure_mapping': [(<float at remote
0x160e9c0>, <float at remote 0x160e9a8>), (<float at remote 0x160e990>,
<float at remote 0x160e978>), (<float at remote 0x160e9a8>, <float at remote
0x160e9c0>)], 'saving.default_format': 'openraster',
'brushmanager.selected_brush': None, 'brushmanager.selected_groups':
['default'], 'saving.scrap_prefix': 'scrap', 'view.default_zoom': <float at
remote 0x93d360>, 'input.device_mode': 'screen'},
confpath='/home/yorik/.mypaint/', kbm=<KeyboardManager(keymap2={},
keymap={(65472, <ModifierType at remote 0x151fe10>): <gtk.Action at remote
0x151faf0>, (101, <ModifierType at remote 0x151ff00>): <gtk.Action at remote
0x151fc30>, (65475, <ModifierType at remote 0x151ff50>): <gtk.Action at
remote 0x151...(truncated), throwflag=<value optimized out>) at
../Python/ceval.c:3968
---Type <return> to continue, or q <return> to quit---
#17 call_function (f=
Frame 0x2139d40, for file /home/yorik/Apps/mypaint/gui/document.py, line
34, in __init__
(self=<Document(app=<Application(pixmaps=<PixbufDirectory(cache={'cursor_color_picker':
<gtk.gdk.Pixbuf at remote 0x14fa410>}, dirname='./pixmaps') at remote
0x14ff830>, preferences={'input.global_pressure_mapping': [(<float at remote
0x160e9c0>, <float at remote 0x160e9a8>), (<float at remote 0x160e990>,
<float at remote 0x160e978>), (<float at remote 0x160e9a8>, <float at remote
0x160e9c0>)], 'saving.default_format': 'openraster',
'brushmanager.selected_brush': None, 'brushmanager.selected_groups':
['default'], 'saving.scrap_prefix': 'scrap', 'view.default_zoom': <float at
remote 0x93d360>, 'input.device_mode': 'screen'},
confpath='/home/yorik/.mypaint/', kbm=<KeyboardManager(keymap2={},
keymap={(65472, <ModifierType at remote 0x151fe10>): <gtk.Action at remote
0x151faf0>, (101, <ModifierType at remote 0x151ff00>): <gtk.Action at remote
0x151fc30>, (65475, <ModifierType at remote 0x151ff50>): <gtk.Action at
remote 0x151...(truncated), throwflag=<value optimized out>) at
../Python/ceval.c:3773
#18 PyEval_EvalFrameEx (f=
Frame 0x2139d40, for file /home/yorik/Apps/mypaint/gui/document.py, line
34, in __init__
(self=<Document(app=<Application(pixmaps=<PixbufDirectory(cache={'cursor_color_picker':
<gtk.gdk.Pixbuf at remote 0x14fa410>}, dirname='./pixmaps') at remote
0x14ff830>, preferences={'input.global_pressure_mapping': [(<float at remote
0x160e9c0>, <float at remote 0x160e9a8>), (<float at remote 0x160e990>,
<float at remote 0x160e978>), (<float at remote 0x160e9a8>, <float at remote
0x160e9c0>)], 'saving.default_format': 'openraster',
'brushmanager.selected_brush':---Type <return> to continue, or q <return> to
quit---
None, 'brushmanager.selected_groups': ['default'], 'saving.scrap_prefix':
'scrap', 'view.default_zoom': <float at remote 0x93d360>,
'input.device_mode': 'screen'}, confpath='/home/yorik/.mypaint/',
kbm=<KeyboardManager(keymap2={}, keymap={(65472, <ModifierType at remote
0x151fe10>): <gtk.Action at remote 0x151faf0>, (101, <ModifierType at remote
0x151ff00>): <gtk.Action at remote 0x151fc30>, (65475, <ModifierType at
remote 0x151ff50>): <gtk.Action at remote 0x151...(truncated),
throwflag=<value optimized out>) at ../Python/ceval.c:2412
#19 0x00000000004a9551 in PyEval_EvalCodeEx (co=0x14e2f30,
globals=<value optimized out>, locals=<value optimized out>, args=0x2,
argcount=<value optimized out>, kws=<value optimized out>, kwcount=0,
defs=
0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#20 0x0000000000538a00 in function_call (func=<function at remote 0x14f6b90>,
arg=
(<Document(app=<Application(pixmaps=<PixbufDirectory(cache={'cursor_color_picker':
<gtk.gdk.Pixbuf at remote 0x14fa410>}, dirname='./pixmaps') at remote
0x14ff830>, preferences={'input.global_pressure_mapping': [(<float at remote
0x160e9c0>, <float at remote 0x160e9a8>), (<float at remote 0x160e990>,
<float at remote 0x160e978>), (<float at remote 0x160e9a8>, <float at remote
0x160e9c0>)], 'saving.default_format': 'openraster',
'brushmanager.selected_brush': None, 'brushmanager.selected_groups':
['default'], 'saving.scrap_prefix': 'scrap', 'view.default_zoom': <float at
remote 0x93d360>, 'input.device_mode': 'screen'},
confpath='/home/yorik/.mypaint/', kbm=<KeyboardManager(keymap2={},
keymap={(65472, <ModifierType at remote 0x151fe10>): <gtk.Action at remote
0x151faf0>, (101, <Modifier---Type <return> to continue, or q <return> to
quit---
Type at remote 0x151ff00>): <gtk.Action at remote 0x151fc30>, (65475,
<ModifierType at remote 0x151ff50>): <gtk.Action at remote 0x151fc80>, (110,
<ModifierType at remote 0xfd7780>): <gtk.Action at remote 0x151fcd0>, (115,
<...>...(truncated), kw=0x0) at ../Objects/funcobject.c:524
#21 0x000000000041ef47 in PyObject_Call (func=<function at remote 0x14f6b90>,
arg='_ARRAY_API', kw=<unknown at remote 0x3>) at
../Objects/abstract.c:2492
#22 0x0000000000427c1f in instancemethod_call (func=
<function at remote 0x14f6b90>, arg=
(<Document(app=<Application(pixmaps=<PixbufDirectory(cache={'cursor_color_picker':
<gtk.gdk.Pixbuf at remote 0x14fa410>}, dirname='./pixmaps') at remote
0x14ff830>, preferences={'input.global_pressure_mapping': [(<float at remote
0x160e9c0>, <float at remote 0x160e9a8>), (<float at remote 0x160e990>,
<float at remote 0x160e978>), (<float at remote 0x160e9a8>, <float at remote
0x160e9c0>)], 'saving.default_format': 'openraster',
'brushmanager.selected_brush': None, 'brushmanager.selected_groups':
['default'], 'saving.scrap_prefix': 'scrap', 'view.default_zoom': <float at
remote 0x93d360>, 'input.device_mode': 'screen'},
confpath='/home/yorik/.mypaint/', kbm=<KeyboardManager(keymap2={},
keymap={(65472, <ModifierType at remote 0x151fe10>): <gtk.Action at remote
0x151faf0>, (101, <ModifierType at remote 0x151ff00>): <gtk.Action at remote
0x151fc30>, (65475, <ModifierType at remote 0x151ff50>): <gtk.Action at
remote 0x151fc80>, (110, <ModifierType at remote 0xfd7780>): <gtk.Action at
remote 0x151fcd0>, (115, <...>...(truncated), kw=0x0) at
../Objects/classobject.c:2579
#23 0x000000000041ef47 in PyObject_Call (func=
---Type <return> to continue, or q <return> to quit---
<instancemethod at remote 0xc257d0>, arg='_ARRAY_API', kw=
<unknown at remote 0x3>) at ../Objects/abstract.c:2492
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?16366>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs