[Qgis-developer] QGIS crash during testing of my plugin

Luca Delucchi lucadeluge at gmail.com
Tue Oct 14 02:40:42 PDT 2014


On 14 October 2014 11:26, Salvatore Larosa <lrssvtml at gmail.com> wrote:
> Hi,
>

Hi Salvatore,

> On Tue, Oct 14, 2014 at 11:15 AM, Luca Delucchi <lucadeluge at gmail.com> wrote:
>> Hi everybody,
>>
>> I'm developing a Python plugin with several submodules (like MMQGIS).
>> I create a BaseDialog class to create each dialog and some functions
>> to fill the dialogs.
>> When I try to call the second method QGIS crash and it return this logs.
>> Maybe I should create a ui file for each method and don't use the
>> BaseDialog class to create my interfaces?
>
> could you attach the output of the py-bt command?

How to use py-bt command?

> Just for having some more information about the crash.

Here the output of gdb, I don't know if it helps

(gdb) run
Starting program: /usr/local/bin/qgis
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_GB]
Warning: QGraphicsScene::addItem: item has already been added to this scene
[New Thread 0x7fffd2b97700 (LWP 29464)]
[New Thread 0x7fff92294700 (LWP 29465)]
[New Thread 0x7fff91540700 (LWP 29466)]
[New Thread 0x7fff6762f700 (LWP 29472)]
[Thread 0x7fff6762f700 (LWP 29472) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007fff80330559 in ?? () from
/usr/lib/python2.7/dist-packages/PyQt4/QtCore.so
(gdb) continue
Continuing.
QGIS died on signal 11warning: process 29460 is already traced by process 29458
ptrace: Operation not permitted.
No thread selected
No stack.
gdb returned 0

Program received signal SIGABRT, Aborted.
0x00007fffef17c077 in __GI_raise (sig=sig at 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) continue
Continuing.
[Thread 0x7fff91540700 (LWP 29466) exited]
[Thread 0x7fffd2b97700 (LWP 29464) exited]
[Thread 0x7ffff7f887c0 (LWP 29460) exited]

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.


>
> Regards,
> -SL
>


-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the Qgis-developer mailing list