On Sat, Feb 13, 2010 at 11:20 AM, Ville M. Vainio <[email protected]> wrote:
> On Sat, Feb 13, 2010 at 5:14 PM, Kent Tenney <[email protected]> wrote:
>
>> create new Leo file
>>
>> create node @auto /tmp/foo.txt
>>
>> <ctrl-s>
>>
>> at prompt, save as /tmp/foo.leo
>
> No segfault for me. If you can reproduce this, can you try seeing
> where this segfaults in gdb?
>
> Quick instructions:
>
> $ gdb python
> (gdb) run launchLeo.py
>
> ... make it crash ...
The terminal says:
=============================
(gdb) run launchLeo.py
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/python launchLeo.py
[Thread debugging using libthread_db enabled]
*** isPython3: False
Leo 4.7 rc 1, build 2949, February 12, 2010
Python 2.6.4, qt version 4.5.2
linux2
reading settings in
/home/ktenney/work/download/leo-editor/leo/config/leoSettings.leo
using menus from: leoSettings.leo
reading /home/ktenney/.leo/.leoRecentFiles.txt
Can not import Tkinter from plugin plugins_menu
Warning: plugin 'plugins_menu' failed to import 'Tkinter'
opening default_leo_file: /home/ktenney/.leo/workbook.leo
@enabled-plugins found in leoSettings.leo
[New Thread 0x7fffe32c7910 (LWP 12846)]
[New Thread 0x7fffe2ac6910 (LWP 12847)]
[New Thread 0x7fffe22c5910 (LWP 12848)]
[New Thread 0x7fffe1ac4910 (LWP 12849)]
[Thread 0x7fffe22c5910 (LWP 12848) exited]
[Thread 0x7fffe2ac6910 (LWP 12847) exited]
[Thread 0x7fffe1ac4910 (LWP 12849) exited]
[New Thread 0x7fffe1ac4910 (LWP 12892)]
wrote recent file: /home/ktenney/.leo/.leoRecentFiles.txt
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff49b5ef8 in QWidget::setFocus (this=0x2dd45a0,
reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:5697
5697 kernel/qwidget.cpp: No such file or directory.
in kernel/qwidget.cpp
(gdb)
==================================
Result of ``bt``
=====================================
(gdb) bt
#0 0x00007ffff49b5ef8 in QWidget::setFocus (this=0x2dd45a0,
reason=Qt::OtherFocusReason) at kernel/qwidget.cpp:5697
#1 0x00007ffff5861e97 in ?? ()
from /usr/lib/pymodules/python2.6/PyQt4/QtGui.so
#2 0x00000000004a290d in PyEval_EvalFrameEx ()
#3 0x00000000004a2e47 in PyEval_EvalFrameEx ()
#4 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#5 0x00000000004a245f in PyEval_EvalFrameEx ()
#6 0x00000000004a2e47 in PyEval_EvalFrameEx ()
#7 0x00000000004a2e47 in PyEval_EvalFrameEx ()
#8 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#9 0x00000000004a245f in PyEval_EvalFrameEx ()
#10 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#11 0x00000000004a245f in PyEval_EvalFrameEx ()
#12 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#13 0x00000000004a245f in PyEval_EvalFrameEx ()
#14 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#15 0x00000000004a245f in PyEval_EvalFrameEx ()
#16 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#17 0x000000000052be30 in ?? ()
#18 0x000000000041d6e7 in PyObject_Call ()
#19 0x00000000004254ff in ?? ()
#20 0x000000000041d6e7 in PyObject_Call ()
---Type <return> to continue, or q <return> to quit---
#21 0x000000000049c623 in PyEval_CallObjectWithKeywords ()
#22 0x00007ffff0ff079b in ?? () from /usr/lib/pymodules/python2.6/sip.so
#23 0x00007ffff0ca7928 in ?? ()
from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#24 0x00007ffff0d57503 in ?? ()
from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#25 0x00007ffff44d8f47 in
QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value
optimized out>, receiver=0x2dd45a0, event=0x7fffffffb940)
at kernel/qcoreapplication.cpp:726
#26 0x00007ffff496cecc in QApplicationPrivate::notify_helper (this=0x1bf5140,
receiver=0x2dd45a0, e=0x7fffffffb940) at kernel/qapplication.cpp:4052
#27 0x00007ffff4974ce3 in QApplication::notify (this=<value optimized out>,
receiver=0x2dd45a0, e=0x7fffffffb940) at kernel/qapplication.cpp:3662
#28 0x00007ffff587a013 in ?? ()
from /usr/lib/pymodules/python2.6/PyQt4/QtGui.so
#29 0x00007ffff44d9c2c in QCoreApplication::notifyInternal (this=0x1d036c0,
receiver=0x2dd45a0, event=0x7fffffffb940)
at kernel/qcoreapplication.cpp:610
#30 0x00007ffff49fddfa in QKeyMapper::sendKeyEvent (keyWidget=0x2dd45a0,
grab=<value optimized out>, type=QEvent::KeyPress, code=83,
modifiers=<value optimized out>, text=..., autorepeat=false, count=1,
nativeScanCode=39, nativeVirtualKey=115, nativeModifiers=4)
at kernel/qkeymapper_x11.cpp:1861
---Type <return> to continue, or q <return> to quit---
#31 0x00007ffff4a00370 in QKeyMapperPrivate::translateKeyEvent (
this=0x1f948a0, keyWidget=0x2dd45a0, event=<value optimized out>, grab=7)
at kernel/qkeymapper_x11.cpp:1831
#32 0x00007ffff49d8493 in QApplication::x11ProcessEvent (
this=<value optimized out>, event=0x7fffffffd720)
at kernel/qapplication_x11.cpp:3443
#33 0x00007ffff4a01d0c in x11EventSourceDispatch (s=<value optimized out>,
callback=<value optimized out>, user_data=<value optimized out>)
at kernel/qguieventdispatcher_glib.cpp:146
#34 0x00007ffff2eb2bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x00007ffff2eb6598 in ?? () from /lib/libglib-2.0.so.0
#36 0x00007ffff2eb66c0 in g_main_context_iteration ()
from /lib/libglib-2.0.so.0
#37 0x00007ffff45021a6 in QEventDispatcherGlib::processEvents (this=0x1310030,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#38 0x00007ffff4a014be in QGuiEventDispatcherGlib::processEvents (
this=0x2dd45a0, flags=<value optimized out>)
at kernel/qguieventdispatcher_glib.cpp:202
#39 0x00007ffff44d8532 in QEventLoop::processEvents (
this=<value optimized out>, flags=DWARF-2 expression error:
DW_OP_reg operations must be used either alone or in conjuction with
DW_OP_piece.
) at kernel/qeventloop.cpp:149
#40 0x00007ffff44d8904 in QEventLoop::exec (this=0x7fffffffda50,
flags=DWARF-2 expression error: DW_OP_reg operations must be used
either alone or in conjuction with DW_OP_piece.
)
at kernel/qeventloop.cpp:201
#41 0x00007ffff44daab9 in QCoreApplication::exec ()
---Type <return> to continue, or q <return> to quit---
at kernel/qcoreapplication.cpp:888
#42 0x00007ffff587aaff in ?? ()
from /usr/lib/pymodules/python2.6/PyQt4/QtGui.so
#43 0x00000000004a290d in PyEval_EvalFrameEx ()
#44 0x00000000004a2e47 in PyEval_EvalFrameEx ()
#45 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#46 0x00000000004a245f in PyEval_EvalFrameEx ()
#47 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#48 0x00000000004a41b2 in PyEval_EvalCode ()
#49 0x00000000004c33a0 in PyRun_FileExFlags ()
#50 0x00000000004c3564 in PyRun_SimpleFileExFlags ()
#51 0x0000000000418ab7 in Py_Main ()
#52 0x00007ffff6fd0abd in __libc_start_main () from /lib/libc.so.6
#53 0x0000000000417ca9 in _start ()
(gdb)
==========================================
Thanks,
Kent
>
> (gdb) bt
>
> => You'll see the stack trace.
>
> Be sure to install debug symbols for qt before trying it (unless your
> distro has them already).
>
> --
> Ville M. Vainio
> http://tinyurl.com/vainio
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/leo-editor?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.