Bug 332424 - python3 crashes randomly
Summary: python3 crashes randomly
Status: RESOLVED NOT A BUG
Alias: None
Product: kdev-python
Classification: Developer tools
Component: general (show other bugs)
Version: git master
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-22 00:05 UTC by Simon Andric
Modified: 2014-03-23 10:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
original pyhon3 crash dr. konqi report #1 (4.51 KB, text/plain)
2014-03-22 00:07 UTC, Simon Andric
Details
original pyhon3 crash dr. konqi report #2 (4.04 KB, text/plain)
2014-03-22 00:08 UTC, Simon Andric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Andric 2014-03-22 00:05:57 UTC
hello i use kuubntu trusty. sometimes python crashes from no apparent reason.. i had to file this bug report due to kded also crashing which disables dr. konqi fo send bug reports automatically..

thank you!

Application: python3 (1.0)
KDE Platform Version: 4.12.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-12-generic x86_64
Distribution: Ubuntu Trusty Tahr (development branch)

-- Information about the crash:
<Podrobno opišite, kaj ste počeli, ko se je program sesul.>

The crash can be reproduced sometimes.

-- Backtrace:
Application: Apport KDE (python3), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
To enable execution of this file add
	add-auto-load-safe-path /lib/x86_64-linux-gnu/libglib-2.0.so.0.3990.0-gdb.py
line to your configuration file "/home/fani/.gdbinit".
To completely disable this security protection add
	set auto-load safe-path /
line to your configuration file "/home/fani/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the shell:
	info "(gdb)Auto-loading safe path"
[KCrash Handler]
#6  0x00007f13ea3a2bea in QWidgetPrivate::deleteTLSysExtra (this=this@entry=0x15ba3b0) at kernel/qwidget_x11.cpp:2890
#7  0x00007f13ea355195 in QWidgetPrivate::deleteExtra (this=this@entry=0x15ba3b0) at kernel/qwidget.cpp:1832
#8  0x00007f13ea3553bd in QWidgetPrivate::~QWidgetPrivate (this=0x15ba3b0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:365
#9  0x00007f13ea7a6ed7 in ~QDialogPrivate (this=0x15ba3b0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:66
#10 QDialogPrivate::~QDialogPrivate (this=0x15ba3b0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:66
#11 0x00007f13ec3cb725 in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (this=0x1495858, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#13 QObject::~QObject (this=0x1495850, __in_chrg=<optimized out>) at kernel/qobject.cpp:816
#14 0x00007f13ea35ddcc in QWidget::~QWidget (this=0x1495850, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554
#15 0x00007f13eb30a3b9 in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-34m-x86_64-linux-gnu.so
#16 0x00007f13eb2cb0fe in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-34m-x86_64-linux-gnu.so
#17 0x00007f13eb8d3486 in ?? () from /usr/lib/python3/dist-packages/sip.cpython-34m-x86_64-linux-gnu.so
#18 0x00007f13eb8d4659 in ?? () from /usr/lib/python3/dist-packages/sip.cpython-34m-x86_64-linux-gnu.so
#19 0x0000000000530fa2 in subtype_dealloc.16032 (self=0x7f13da40c678) at ../Objects/typeobject.c:1172
#20 0x00000000005d36d7 in free_keys_object.9893 (keys=0x12d8620) at ../Objects/dictobject.c:369
#21 0x0000000000440648 in dict_dealloc.9966 (mp=0x7f13f58947c8) at ../Objects/dictobject.c:1391
#22 0x00000000005ccf7a in subtype_clear.16024 (self=0x7f13e3ad8080) at ../Objects/typeobject.c:1018
#23 0x0000000000458082 in delete_garbage (old=<optimized out>, collectable=<optimized out>) at ../Modules/gcmodule.c:854
#24 collect.39500 (generation=generation@entry=2, n_collected=n_collected@entry=0x0, n_uncollectable=n_uncollectable@entry=0x0, nofail=nofail@entry=1) at ../Modules/gcmodule.c:1020
#25 0x00000000004589d4 in _PyGC_CollectNoFail () at ../Modules/gcmodule.c:1626
#26 PyImport_Cleanup () at ../Python/import.c:519
#27 0x0000000000458bea in Py_Finalize.part.6.32830 () at ../Python/pythonrun.c:626
#28 0x0000000000458f1c in Py_Finalize () at ../Python/pythonrun.c:2724
#29 Py_Exit (sts=sts@entry=1) at ../Python/pythonrun.c:2722
#30 0x000000000041deea in handle_system_exit.part.7 () at ../Python/pythonrun.c:1821
#31 0x0000000000459263 in handle_system_exit () at ../Python/pythonrun.c:1866
#32 PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars@entry=1) at ../Python/pythonrun.c:1831
#33 0x000000000060c440 in PyErr_Print () at ../Python/pythonrun.c:1727
#34 PyRun_SimpleFileExFlags (fp=fp@entry=0xb26990, filename=<optimized out>, filename@entry=0x7f13f5827d90 "/usr/share/apport/apport-kde", closeit=closeit@entry=1, flags=flags@entry=0x7fffd3612d10) at ../Python/pythonrun.c:1620
#35 0x000000000060d67c in PyRun_AnyFileExFlags (flags=0x7fffd3612d10, closeit=<optimized out>, filename=<optimized out>, fp=0xb26990) at ../Python/pythonrun.c:1302
#36 run_file (p_cf=0x7fffd3612d10, filename=0xa3d280 L"/usr/share/apport/apport-kde", fp=0xb26990) at ../Modules/main.c:319
#37 Py_Main (argc=argc@entry=2, argv=argv@entry=0xa3c010) at ../Modules/main.c:751
#38 0x000000000041ebdd in main (argc=2, argv=<optimized out>) at ../Modules/python.c:69

Poročaj na kubuntu-devel@lists.ubuntu.com

Reproducible: Always




Application: python3 (1.0)
KDE Platform Version: 4.12.90
Qt Version: 4.8.6
Operating System: Linux 3.13.0-18-generic x86_64
Distribution: Ubuntu Trusty Tahr (development branch)

-- Information about the crash:
<Podrobno opišite, kaj ste počeli, ko se je program sesul.>

The crash can be reproduced sometimes.

-- Backtrace:
Application: Apport KDE (python3), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007eff64101bea in QWidgetPrivate::deleteTLSysExtra (this=this@entry=0x198cfa0) at kernel/qwidget_x11.cpp:2890
#7  0x00007eff640b4195 in QWidgetPrivate::deleteExtra (this=this@entry=0x198cfa0) at kernel/qwidget.cpp:1832
#8  0x00007eff640b43bd in QWidgetPrivate::~QWidgetPrivate (this=0x198cfa0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:365
#9  0x00007eff64505eb7 in ~QDialogPrivate (this=0x198cfa0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:66
#10 QDialogPrivate::~QDialogPrivate (this=0x198cfa0, __in_chrg=<optimized out>) at ../../include/QtGui/private/../../../src/gui/dialogs/qdialog_p.h:66
#11 0x00007eff660ed735 in cleanup (pointer=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#12 ~QScopedPointer (this=0x11ccda8, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#13 QObject::~QObject (this=0x11ccda0, __in_chrg=<optimized out>) at kernel/qobject.cpp:816
#14 0x00007eff640bcdcc in QWidget::~QWidget (this=0x11ccda0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554
#15 0x00007eff650673b9 in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-34m-x86_64-linux-gnu.so
#16 0x00007eff650280fe in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-34m-x86_64-linux-gnu.so
#17 0x00007eff655f0486 in ?? () from /usr/lib/python3/dist-packages/sip.cpython-34m-x86_64-linux-gnu.so
#18 0x00007eff655f1659 in ?? () from /usr/lib/python3/dist-packages/sip.cpython-34m-x86_64-linux-gnu.so
#19 0x0000000000540732 in subtype_dealloc.16043 (self=0x7eff53fbaee8) at ../Objects/typeobject.c:1172
#20 0x00000000005a3017 in free_keys_object.9896 (keys=0x17cf6e0) at ../Objects/dictobject.c:369
#21 0x0000000000440538 in dict_dealloc.9969 (mp=0x7eff78160788) at ../Objects/dictobject.c:1391
#22 0x000000000059c8ba in subtype_clear.16035 (self=0x7eff61855be0) at ../Objects/typeobject.c:1018
#23 0x0000000000445722 in delete_garbage (old=<optimized out>, collectable=<optimized out>) at ../Modules/gcmodule.c:854
#24 collect.39526 (generation=generation@entry=2, n_collected=n_collected@entry=0x0, n_uncollectable=n_uncollectable@entry=0x0, nofail=nofail@entry=1) at ../Modules/gcmodule.c:1020
#25 0x0000000000445e15 in _PyGC_CollectNoFail () at ../Modules/gcmodule.c:1626
#26 PyImport_Cleanup () at ../Python/import.c:536
#27 0x00000000004462a5 in Py_Finalize.part.6.32852 () at ../Python/pythonrun.c:616
#28 0x00000000004465dc in Py_Finalize () at ../Python/pythonrun.c:2714
#29 Py_Exit (sts=sts@entry=1) at ../Python/pythonrun.c:2712
#30 0x000000000041df1a in handle_system_exit.part.7 () at ../Python/pythonrun.c:1811
#31 0x0000000000446923 in handle_system_exit () at ../Python/pythonrun.c:1856
#32 PyErr_PrintEx (set_sys_last_vars=set_sys_last_vars@entry=1) at ../Python/pythonrun.c:1821
#33 0x000000000060bb20 in PyErr_Print () at ../Python/pythonrun.c:1717
#34 PyRun_SimpleFileExFlags (fp=fp@entry=0xf709d0, filename=<optimized out>, filename@entry=0x7eff780f5e10 "/usr/share/apport/apport-kde", closeit=closeit@entry=1, flags=flags@entry=0x7fff56475010) at ../Python/pythonrun.c:1610
#35 0x000000000060cd5c in PyRun_AnyFileExFlags (flags=0x7fff56475010, closeit=<optimized out>, filename=<optimized out>, fp=0xf709d0) at ../Python/pythonrun.c:1292
#36 run_file (p_cf=0x7fff56475010, filename=0xf08280 L"/usr/share/apport/apport-kde", fp=0xf709d0) at ../Modules/main.c:319
#37 Py_Main (argc=argc@entry=2, argv=argv@entry=0xf07010) at ../Modules/main.c:751
#38 0x000000000041ec0d in main (argc=2, argv=<optimized out>) at ../Modules/python.c:69

Poročaj na kubuntu-devel@lists.ubuntu.com
Comment 1 Simon Andric 2014-03-22 00:06:44 UTC
this bug relates to this bug

https://bugs.kde.org/show_bug.cgi?id=332423


it means, they happened together...

nice day

Simon
Comment 2 Simon Andric 2014-03-22 00:07:44 UTC
Created attachment 85682 [details]
original pyhon3 crash dr. konqi report #1
Comment 3 Simon Andric 2014-03-22 00:08:23 UTC
Created attachment 85683 [details]
original pyhon3 crash dr. konqi report #2
Comment 4 Sven Brauch 2014-03-22 19:17:54 UTC
This bug is in no way related to kdevelop-python. Please report it to the Python bugtracker.
Comment 5 Sven Brauch 2014-03-22 19:20:17 UTC
... or more likely the PyQt bugtracker, looking at the backtrace again.
Comment 6 Simon Andric 2014-03-22 23:03:06 UTC
hello!

thank you for your kind reply...ay i just ask - where can i report pyqt bugs? i dint find anything corresponding to that here on bugs.kde.org - although dr. konqi persists to file the bug under thiw webpage...

thank you


Simon :)
Comment 7 Simon Andric 2014-03-22 23:16:32 UTC
ok i fileld the big report in launchpad under here:

https://bugs.launchpad.net/apport/+bug/1296161

i hope it is the right place...

thank you

Simon
Comment 8 Sven Brauch 2014-03-23 10:43:32 UTC
I don't know, could be multiple components at fault here, Apport, PyQt, Qt, or Python -- in this order of likeliness. You'll have to investiagate / ask around. The project's bug trackers are certainly easy to find with the search engine of your choice, I don't have the links handy.

P.S.: You're aware that an email is sent to ~10 people each time you comment or change a bug? So please feel free to add comments when there's new information but try to avoid splitting information across five posts.