Segmentation faults are not very frequent, at least when I search this
forum.
I receive one in the terminal window whenever I load Leo with python 3.5.2
and PyQt 5.7.0 and the python_terminal plugin. I isolated it by disabling
all other plugins and then enabling it.
My configuration:
Leo Log Window
Leo 5.4-devel, build 20160722143100, Fri, Jul 22, 2016 2:31:00 PM
Git repo info: branch = master, commit = aca8d416ec35
Python 3.5.2, PyQt version 5.7.0
linux
GDB output with backtrace with plugin enabled.
chris@quest ~/Working/leo/leo-editor $ python3 ./launchLeo.py
setting leoID from os.getenv('USER'): 'chris'
reading settings in /working/leo/leo-editor/leo/config/leoSettings.leo
reading settings in /home/chris/.leo/myLeoSettings.leo
Segmentation fault
chris@quest ~/Working/leo/leo-editor $ gdb python3
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python3...(no debugging symbols found)...done.
(gdb) run ./launchLeo.py
Starting program: /usr/bin/python3 ./launchLeo.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
setting leoID from os.getenv('USER'): 'chris'
reading settings in /working/leo/leo-editor/leo/config/leoSettings.leo
reading settings in /home/chris/.leo/myLeoSettings.leo
[New Thread 0x7fffd3bbf700 (LWP 31668)]
[New Thread 0x7fffd1382700 (LWP 31669)]
[New Thread 0x7fffc8248700 (LWP 31670)]
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x000000000057d120 in PyModule_GetState ()
(gdb) backtrace
#0 0x000000000057d120 in PyModule_GetState ()
#1 0x00007fffc721c766 in ?? () from
/usr/lib/python3.5/lib-dynload/readline.cpython-35m-x86_64-linux-gnu.so
#2 0x00007fffd17de3e1 in rl_initialize () from
/usr/lib/x86_64-linux-gnu/libedit.so.2
#3 0x00007fffc721dd96 in PyInit_readline () from
/usr/lib/python3.5/lib-dynload/readline.cpython-35m-x86_64-linux-gnu.so
#4 0x0000000000605c0e in _PyImport_LoadDynamicModuleWithSpec ()
#5 0x00000000006061c8 in ?? ()
#6 0x00000000004e11c6 in PyCFunction_Call ()
#7 0x00000000005215f7 in PyEval_EvalFrameEx ()
#8 0x0000000000523d29 in ?? ()
#9 0x000000000051fd83 in PyEval_EvalFrameEx ()
#10 0x000000000051f254 in PyEval_EvalFrameEx ()
#11 0x000000000051f254 in PyEval_EvalFrameEx ()
#12 0x000000000051f254 in PyEval_EvalFrameEx ()
#13 0x000000000051f254 in PyEval_EvalFrameEx ()
#14 0x0000000000524b3b in PyEval_EvalCodeEx ()
#15 0x00000000004e3223 in ?? ()
#16 0x00000000005bc727 in PyObject_Call ()
#17 0x00000000005bd54a in _PyObject_CallMethodIdObjArgs ()
#18 0x0000000000529f03 in PyImport_ImportModuleLevelObject ()
#19 0x00000000005429d8 in ?? ()
#20 0x00000000004e1137 in PyCFunction_Call ()
#21 0x00000000005bc727 in PyObject_Call ()
#22 0x000000000051a290 in PyEval_CallObjectWithKeywords ()
#23 0x000000000051dac9 in PyEval_EvalFrameEx ()
#24 0x0000000000523d29 in ?? ()
#25 0x00000000005249ef in PyEval_EvalCode ()
#26 0x0000000000542dc8 in ?? ()
#27 0x00000000004e11c6 in PyCFunction_Call ()
#28 0x00000000005215f7 in PyEval_EvalFrameEx ()
#29 0x0000000000523d29 in ?? ()
#30 0x000000000051fd83 in PyEval_EvalFrameEx ()
#31 0x000000000051f254 in PyEval_EvalFrameEx ()
#32 0x000000000051f254 in PyEval_EvalFrameEx ()
#33 0x000000000051f254 in PyEval_EvalFrameEx ()
#34 0x0000000000524b3b in PyEval_EvalCodeEx ()
#35 0x00000000004e3223 in ?? ()
#36 0x00000000005bc727 in PyObject_Call ()
#37 0x00000000005bd54a in _PyObject_CallMethodIdObjArgs ()
#38 0x0000000000529f03 in PyImport_ImportModuleLevelObject ()
#39 0x00000000005429d8 in ?? ()
#40 0x00000000004e1137 in PyCFunction_Call ()
#41 0x00000000005bc727 in PyObject_Call ()
#42 0x000000000051a290 in PyEval_CallObjectWithKeywords ()
#43 0x000000000051dac9 in PyEval_EvalFrameEx ()
#44 0x0000000000523d29 in ?? ()
#45 0x00000000005249ef in PyEval_EvalCode ()
#46 0x0000000000542dc8 in ?? ()
#47 0x00000000004e11c6 in PyCFunction_Call ()
#48 0x00000000005215f7 in PyEval_EvalFrameEx ()
#49 0x0000000000523d29 in ?? ()
#50 0x000000000051fd83 in PyEval_EvalFrameEx ()
#51 0x000000000051f254 in PyEval_EvalFrameEx ()
#52 0x000000000051f254 in PyEval_EvalFrameEx ()
#53 0x000000000051f254 in PyEval_EvalFrameEx ()
#54 0x0000000000524b3b in PyEval_EvalCodeEx ()
#55 0x00000000004e3223 in ?? ()
#56 0x00000000005bc727 in PyObject_Call ()
#57 0x00000000005bd54a in _PyObject_CallMethodIdObjArgs ()
#58 0x0000000000529f03 in PyImport_ImportModuleLevelObject ()
#59 0x00000000005429d8 in ?? ()
#60 0x00000000004e1137 in PyCFunction_Call ()
#61 0x000000000051aec4 in PyEval_EvalFrameEx ()
#62 0x0000000000523d29 in ?? ()
#63 0x000000000051f93f in PyEval_EvalFrameEx ()
#64 0x000000000051f254 in PyEval_EvalFrameEx ()
#65 0x000000000051f254 in PyEval_EvalFrameEx ()
#66 0x0000000000523d29 in ?? ()
#67 0x000000000051fd83 in PyEval_EvalFrameEx ()
#68 0x0000000000523d29 in ?? ()
#69 0x000000000051f93f in PyEval_EvalFrameEx ()
#70 0x0000000000523d29 in ?? ()
#71 0x000000000051f93f in PyEval_EvalFrameEx ()
#72 0x0000000000523d29 in ?? ()
#73 0x00000000005249ef in PyEval_EvalCode ()
#74 0x0000000000601402 in ?? ()
#75 0x000000000060393a in PyRun_FileExFlags ()
#76 0x0000000000603b2c in PyRun_SimpleFileExFlags ()
#77 0x000000000063dc06 in Py_Main ()
#78 0x00000000004cfb91 in main ()
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.