[PyQt] [eric4] python qscintilla traceback with current snapshot also
Hans-Peter Jansen
hpj at urpla.net
Tue Feb 1 21:26:43 GMT 2011
Hi Detlev,
for some reasons, the traceback didn't made it in to this message
(although created by "report error"..)
Phil, something is badly broken with the current release and the
snapshots. Before upgrade, I harvested strange crashes (just by
hitting Ctrl-C in erics qscintilla editor):
Program received signal SIGSEGV, Segmentation fault.
0xb5ddd1e9 in MarkerHandleSet::InsertHandle(int, int) () from /usr/lib/libqscintilla2.so.5
(gdb) bt
#0 0xb5ddd1e9 in MarkerHandleSet::InsertHandle(int, int) () from /usr/lib/libqscintilla2.so.5
#1 0xb5dde739 in LineMarkers::AddMark(int, int, int) () from /usr/lib/libqscintilla2.so.5
#2 0xb5d0c59c in Document::AddMark(int, int) () from /usr/lib/libqscintilla2.so.5
#3 0xb5d23aff in Editor::WndProc(unsigned int, unsigned long, long) () from /usr/lib/libqscintilla2.so.5
#4 0xb5de9eaa in ScintillaBase::WndProc(unsigned int, unsigned long, long) () from /usr/lib/libqscintilla2.so.5
#5 0xb5cfe172 in ScintillaQt::WndProc(unsigned int, unsigned long, long) () from /usr/lib/libqscintilla2.so.5
#6 0xb5ccb07c in QsciScintillaBase::SendScintilla(unsigned int, unsigned long, long) const ()
from /usr/lib/libqscintilla2.so.5
#7 0xb5cc0f09 in QsciScintilla::markerAdd(int, int) () from /usr/lib/libqscintilla2.so.5
#8 0xb5ede773 in ?? () from /usr/lib/python2.6/site-packages/PyQt4/Qsci.so
#9 0xb7ea0885 in PyCFunction_Call (func=0xa3eafcc, arg=0xadb5cec, kw=0x0) at Objects/methodobject.c:81
#10 0xb7ef34b5 in PyEval_EvalFrameEx (f=0xa8761e4, throwflag=0) at Python/ceval.c:3679
#11 0xb7ef326d in PyEval_EvalFrameEx (f=0xa46d2ac, throwflag=0) at Python/ceval.c:3765
#12 0xb7ef326d in PyEval_EvalFrameEx (f=0xb0c533c, throwflag=0) at Python/ceval.c:3765
#13 0xb7ef8bcb in PyEval_EvalCodeEx (co=0x907b6e0, globals=0x9078cec, locals=0x0, args=0xa5cf6a0, argcount=3, kws=0x0,
kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2942
#14 0xb7e8da29 in function_call (func=0x91c2e9c, arg=0xa5cf694, kw=0x0) at Objects/funcobject.c:524
#15 0xb7e68c1c in PyObject_Call (func=0x91c2e9c, arg=0xa5cf694, kw=0x0) at Objects/abstract.c:2487
#16 0xb7e769fe in instancemethod_call (func=0x91c2e9c, arg=0xa5cf694, kw=0x0) at Objects/classobject.c:2579
#17 0xb7e68c1c in PyObject_Call (func=0x9fe5c0c, arg=0xada504c, kw=0x0) at Objects/abstract.c:2487
#18 0xb7ef177f in PyEval_CallObjectWithKeywords (func=0x9fe5c0c, arg=0xada504c, kw=0x0) at Python/ceval.c:3548
#19 0xb794e1df in sip_api_invoke_slot (slot=0xa46d784, sigargs=0xada504c) at qtlib.c:203
#20 0xb7aef7fb in PyQtProxy::invokeSlot (slot=@0xa46d784, qargs=0x9b52418) at qpycore_pyqtproxy.cpp:474
#21 0xb7aef8f6 in PyQtProxy::unislot (this=0xa46d768, qargs=0x9b52418) at qpycore_pyqtproxy.cpp:416
#22 0xb7aef9d3 in PyQtProxy::qt_metacall (this=0xa46d768, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9b52418)
at qpycore_pyqtproxy.cpp:380
#23 0xb7807e65 in QMetaObject::metacall (object=0xb7dec140, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0x9b52418)
at kernel/qmetaobject.cpp:237
#24 0xb78170e1 in QMetaObject::activate (sender=0x8faaf90, m=0xb7920198, local_signal_index=0, argv=0x9b52418)
at kernel/qobject.cpp:3295
#25 0xb781777a in QMetaObject::activate (sender=0x8faaf90, signal_index=0, argv=0x9b52418) at kernel/qobject.cpp:3349
#26 0xb78177bb in QMetaObject::activate (sender=0x8faaf90, from_signal_index=4, to_signal_index=4, argv=0x9b52418)
at kernel/qobject.cpp:3204
#27 0xb7af500c in qpycore_emit (qtx=0x8faaf90, signal_index=4, parsed_signature=0x9acb6d0, sigargs=0xada502c)
at qpycore_sip_helpers.cpp:448
#28 0xb7af5b15 in qpycore_qobject_emit (qtx=0x8faaf90, sig=0xa76ad74 "2dataChanged(QModelIndex,QModelIndex)",
sigargs=0xada502c) at qpycore_sip_helpers.cpp:377
#29 0xb7ad73cb in meth_QObject_emit (sipSelf=0x8f4738c, sipArgs=0xada293c)
at /usr/src/debug/PyQt-x11-gpl-4.8.2/sip/QtCore/qobject.sip:467
#30 0xb7ea0885 in PyCFunction_Call (func=0xada33ec, arg=0xada293c, kw=0x0) at Objects/methodobject.c:81
#31 0xb7ef34b5 in PyEval_EvalFrameEx (f=0xa7ffc24, throwflag=0) at Python/ceval.c:3679
#32 0xb7ef326d in PyEval_EvalFrameEx (f=0x83daf9c, throwflag=0) at Python/ceval.c:3765
#33 0xb7ef8bcb in PyEval_EvalCodeEx (co=0x907b608, globals=0x9078cec, locals=0x0, args=0xada3498, argcount=1, kws=0x0,
kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:2942
#34 0xb7e8da29 in function_call (func=0x91c2df4, arg=0xada348c, kw=0x0) at Objects/funcobject.c:524
then I updated to the current releases, and harvested this:
--------------------------------------------------------------------------------
2011-02-01, 22:11:16
--------------------------------------------------------------------------------
<type 'exceptions.TypeError'>:
'sip.methoddescriptor' object is not callable
--------------------------------------------------------------------------------
File "/usr/lib/python2.6/site-packages/eric4/ViewManager/ViewManager.py", line 3047, in openSourceFile
newWin, editor = self.getEditor(fn, filetype = filetype)
File "/usr/lib/python2.6/site-packages/eric4/ViewManager/ViewManager.py", line 3266, in getEditor
tv = e4App().getObject("TaskViewer"))
File "/usr/lib/python2.6/site-packages/eric4/QScintilla/Editor.py", line 234, in __init__
self.__setEolMode()
File "/usr/lib/python2.6/site-packages/eric4/QScintilla/Editor.py", line 3382, in __setEolMode
self.__eolChanged()
File "/usr/lib/python2.6/site-packages/eric4/QScintilla/Editor.py", line 1268, in __eolChanged
self.__checkEol()
File "/usr/lib/python2.6/site-packages/eric4/QScintilla/Editor.py", line 1260, in __checkEol
self.supportedEols[self.getLineSeparator()].setChecked(True)
This issue persists for the current snapshots as well:
----
Version Numbers:
Python 2.6
Qt 4.6.3
PyQt4 snapshot-4.8.4-278054fd857c
sip 4.12.1-snapshot-426308437843
QScintilla snapshot-2.4.7-8921e85723a1
eric4 4.4.12-snapshot (r3926)
Platform: linux2
2.6 (r26:66714, Mar 30 2010, 00:30:21)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]]
----
Plugins Version Numbers:
PluginAbout 4.4.0
PluginAssistantEric 1.2.4-snapshot-r690
PluginCharTables 4.1.4-snapshot-r698
PluginCxFreeze 4.3.0-snapshot-r692
PluginEricapi 4.4.0
PluginEricdoc 4.4.0
PluginProjectDjango 2.1.3-snapshot-r693
PluginProjectPylons 1.0.0-snapshot-r694
PluginProjectTurboGears 1.0.6-snapshot-r695
PluginProjectWxPython 1.0.3-snapshot-r696
PluginPyLint 4.2.1-snapshot-r691
PluginRefactoringBRM 4.1.2-snapshot-r557
PluginRefactoringRope 1.1.6-snapshot-r697
PluginSyntaxChecker 4.4.0
PluginTabnanny 4.4.0
PluginVcsCVS 4.1.13-snapshot-r699
PluginVcsPySvn 4.4.0
PluginVcsSubversion 4.4.0
PluginVmListspace 4.4.0
PluginVmMdiArea 4.4.0
PluginVmTabview 4.4.0
PluginVmWorkspace 4.4.0
PluginWizardPyRegExp 4.4.0
PluginWizardQColorDialog 4.4.0
PluginWizardQFileDialog 4.4.0
PluginWizardQFontDialog 4.4.0
PluginWizardQInputDialog 4.4.0
PluginWizardQMessageBox 4.4.0
PluginWizardQRegExp 4.4.0
----
Distribution Info:
/etc/SuSE-release
openSUSE 11.1 (i586)
VERSION = 11.1
/etc/lsb-release
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-2.0-ia32:core-3.2-ia32"
More information about the PyQt
mailing list