[Qgis-developer] QGIS crashes when loading Traits from Python console. [Was: QGIS Processing Framework]

Camilo Polymeris cpolymeris at gmail.com
Tue Jun 28 11:41:35 EDT 2011


>> On Mon, Jun 27, 2011 at 3:59 PM, Camilo Polymeris <cpolymeris at gmail.com> wrote:
>> > Given that there are no objections & I have studied the traits docs
>> > without finding any reason against it, I'll start migration of the
>> > framework.
>>
>> Having trouble with that.. QGIS segfaults when I try to load any of
>> the modules in enthought.traits, e.g.:
>>
>> import enthought.traits.api
>>
>> When running the import through pdb it seems to hang. Can someone
>> please confirm?
>>
>> Thanks,
>> Camilo
> Confirmed, it crashes with
> Loaded symbols
> for /usr/lib/python2.7/dist-packages/enthought/traits/ctraits.so
> Reading symbols
> from /usr/lib/python2.7/dist-packages/enthought/traits/protocols/_speedups.so...(no debugging symbols found)...done.
> Loaded symbols
> for /usr/lib/python2.7/dist-packages/enthought/traits/protocols/_speedups.so
> Core was generated by `/usr/bin/qgis.bin'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00007f3bf98764c8 in ?? ()
>
> from /usr/lib/python2.7/dist-packages/enthought/traits/protocols/_speedups.so
>
>
> traits from official deb package.
> All the best.
> --
> Paolo Cavallini: http://www.faunalia.it/pc
>
>


Yes. Same here. No idea what those _speedups.so could be... Any ideas?
Can't continue if we don't solve this.


Regards,
Camilo

debian, Traits v 3.0.0

Program received signal SIGSEGV, Segmentation fault.
0x00007fffd22c56b4 in ?? () from
/usr/lib/python2.6/dist-packages/enthought/traits/protocols/_speedups.so

bt

#0  0x00007fffd22c56b4 in ?? () from
/usr/lib/python2.6/dist-packages/enthought/traits/protocols/_speedups.so
#1  0x00007fffd22c7e7d in ?? () from
/usr/lib/python2.6/dist-packages/enthought/traits/protocols/_speedups.so
#2  0x00007fffe1aeaf80 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.6.so.1.0
#3  0x00007fffe1aeccc0 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#4  0x00007fffe1aeaffb in PyEval_EvalFrameEx () from
/usr/lib/libpython2.6.so.1.0
#5  0x00007fffe1aeccc0 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#6  0x00007fffe1aeaffb in PyEval_EvalFrameEx () from
/usr/lib/libpython2.6.so.1.0
#7  0x00007fffe1aeccc0 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0
#8  0x00007fffe1aecd92 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0
#9  0x00007fffe1afe0d2 in PyImport_ExecCodeModuleEx () from
/usr/lib/libpython2.6.so.1.0
#10 0x00007fffe1b0099e in ?? () from /usr/lib/libpython2.6.so.1.0
#11 0x00007fffe1b017df in ?? () from /usr/lib/libpython2.6.so.1.0
#12 0x00007fffe1b01a6f in ?? () from /usr/lib/libpython2.6.so.1.0
#13 0x00007fffe1b020b0 in ?? () from /usr/lib/libpython2.6.so.1.0
#14 0x00007fffe1b02604 in PyImport_ImportModuleLevel () from
/usr/lib/libpython2.6.so.1.0
#15 0x00007fffe1ae4baf in ?? () from /usr/lib/libpython2.6.so.1.0


More information about the Qgis-developer mailing list