[QScintilla] QScintilla v2.9 Release Candidate
Baz Walter
bazwal at ftml.net
Sat Apr 4 18:56:46 BST 2015
On 04/04/15 09:23, Phil Thompson wrote:
> The current QScintilla snapshot is a release candidate for v2.9. Please
> test.
Hello Phil
I'm currently getting segfaults whenever I close a QScintilla widget in
a program that otherwise works fine with the current stable releases.
I don't have a simple test case at the moment, but after opening a blank
editor and then immediately closing it, I get the backtrace below.
This is on Linux (gcc 4.9.2) using all the latest snapshots with the
Python bindings (Python3/Qt5):
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe7aa6700 (LWP 21095)]
Program received signal SIGSEGV, Segmentation fault.
0x00007fffe4e1b525 in Window::GetPosition() () from
/home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
(gdb) bt
#0 0x00007fffe4e1b525 in Window::GetPosition() () from
/home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
#1 0x00007fffe4e1b739 in Window::GetClientPosition() () from
/home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
#2 0x00007fffe4fe1a23 in Editor::GetClientDrawingRectangle() () from
/home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
#3 0x00007fffe4fe2341 in Editor::RectangleFromRange(Range, int) () from
/home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
#4 0x00007fffe4fe2877 in Editor::InvalidateRange(int, int) () from
/home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
#5 0x00007fffe4fe2e63 in Editor::InvalidateCaret() () from
/home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
#6 0x00007fffe4e1de3f in QsciScintillaQt::timerEvent(QTimerEvent*) ()
from /home/usr/opt/snapshot5-3/lib/qt5/lib/libqscintilla2.so.12
#7 0x00007ffff5a0b023 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#8 0x00007fffeba99acc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQt5Widgets.so.5
#9 0x00007fffeba9ef10 in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib/libQt5Widgets.so.5
#10 0x00007fffec27f79e in sipQApplication::notify(QObject*, QEvent*) ()
from
/home/usr/opt/snapshot5-3/lib/python3.4/site-packages/PyQt5/QtWidgets.so
#11 0x00007ffff59d9d1b in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007ffff5a30f6d in QTimerInfoList::activateTimers() () from
/usr/lib/libQt5Core.so.5
#13 0x00007ffff5a313b1 in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff451571d in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#15 0x00007ffff4515a08 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff4515abc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#17 0x00007ffff5a32077 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib/libQt5Core.so.5
#18 0x00007ffff59d77b2 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQt5Core.so.5
#19 0x00007ffff59df18c in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#20 0x00007fffec1e438b in meth_QApplication_exec_ () from
/home/usr/opt/snapshot5-3/lib/python3.4/site-packages/PyQt5/QtWidgets.so
#21 0x00007ffff7a46508 in call_function (oparg=<optimized out>,
pp_stack=0x7fffffffdfd0) at Python/ceval.c:4234
#22 PyEval_EvalFrameEx (f=f at entry=0x7fffdfeaac50,
throwflag=throwflag at entry=0) at Python/ceval.c:2836
#23 0x00007ffff7a46935 in fast_function (nk=<optimized out>, na=1, n=1,
pp_stack=0x7fffffffe0f0, func=<optimized out>) at Python/ceval.c:4331
#24 call_function (oparg=<optimized out>, pp_stack=0x7fffffffe0f0) at
Python/ceval.c:4259
#25 PyEval_EvalFrameEx (f=f at entry=0x693848, throwflag=throwflag at entry=0)
at Python/ceval.c:2836
#26 0x00007ffff7a46935 in fast_function (nk=<optimized out>, na=0, n=0,
pp_stack=0x7fffffffe210, func=<optimized out>) at Python/ceval.c:4331
#27 call_function (oparg=<optimized out>, pp_stack=0x7fffffffe210) at
Python/ceval.c:4259
#28 PyEval_EvalFrameEx (f=0x7ffff6b95438, throwflag=<optimized out>) at
Python/ceval.c:2836
#29 0x00007ffff7a47793 in PyEval_EvalCodeEx (_co=0xdc9ca8,
_co at entry=0x7ffff6a8c030, globals=0x0, globals at entry=0x7ffff6b92308,
locals=0x7fffe4fe16d0 <Editor::GetClientRectangle() const>,
locals at entry=0x7ffff6b92308, args=0x0, argcount=argcount at entry=0, kws=0x39,
kws at entry=0x0, kwcount=-156712912, defs=0x0, defcount=0,
kwdefs=0x0, closure=0x0) at Python/ceval.c:3585
#30 0x00007ffff7a4783b in PyEval_EvalCode (co=co at entry=0x7ffff6a8c030,
globals=globals at entry=0x7ffff6b92308, locals=locals at entry=0x7ffff6b92308)
at Python/ceval.c:773
#31 0x00007ffff7a7061e in run_mod (arena=0x68ab00, flags=0x7fffffffe470,
locals=0x7ffff6b92308, globals=0x7ffff6b92308, filename=0x7ffff6b17870,
mod=0x68af18) at Python/pythonrun.c:2180
#32 PyRun_FileExFlags (fp=<optimized out>, filename_str=<optimized out>,
start=<optimized out>, globals=0x7ffff6b92308, locals=0x7ffff6b92308,
closeit=1, flags=0x7fffffffe470) at Python/pythonrun.c:2133
#33 0x00007ffff7a71a33 in PyRun_SimpleFileExFlags (fp=0xdc9ca8,
fp at entry=0x68a8d0,
filename=0x7ffff6b325a0
"/home/baz/code/projects/editor/dev/main.py", closeit=1, flags=0x0,
flags at entry=0x7fffffffe470) at Python/pythonrun.c:1606
#34 0x00007ffff7a72833 in PyRun_AnyFileExFlags (fp=fp at entry=0x68a8d0,
filename=<optimized out>, closeit=closeit at entry=1,
flags=flags at entry=0x7fffffffe470) at Python/pythonrun.c:1292
#35 0x00007ffff7a8cff4 in run_file (p_cf=0x7fffffffe470,
filename=0x629060 L"editor/main.py", fp=0x68a8d0)
at Modules/main.c:319
#36 Py_Main (argc=argc at entry=2, argv=argv at entry=0x602010) at
Modules/main.c:751
#37 0x0000000000400a81 in main (argc=2, argv=<optimized out>) at
./Modules/python.c:69
More information about the QScintilla
mailing list