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

Julien Malik julien.malik at c-s.fr
Tue Jun 28 11:50:41 EDT 2011


Hello,

Same here on Ubuntu Maverick.
The package can be imported in a standalone interpreter (python or ipython)
I start qgis, runs the "Python console", do the "import 
enthought.traits.api" : crash.

Julien


Le 28/06/2011 17:41, Camilo Polymeris a écrit :
>>> 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
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>


More information about the Qgis-developer mailing list