Re: Re: Some problems in the migration from Classic to Phoenix (cry for help?)
Hélio Guilherme <[email protected]> Wed, 11 Jul 2018 13:01:53 -0700 (PDT)
| Newsgroups | gmane.comp.python.wxpython.devel |
|---|---|
| Message-ID | <[email protected]> |
Here it is the stacktrace. Thanks. quarta-feira, 11 de Julho de 2018 às 01:47:01 UTC+1, Scott Talbert escreveu: > > Do you mind sharing the stacktrace anyway? > > On Tue, 10 Jul 2018, Hélio Guilherme wrote: > > > > > Hi again, > > > > I am still desperate with the crashing bug (I wish it would be smashing > :) > > ). It happens on Linux, Windows and MacOS with wxPython >=3.0.3 (not > with > > 2.8.12.1). > > > > If anyone can spare time and knowledge to help me debug this, it would > be > > wonderful for the Testers Community to have a Python 3 Robot Framework > IDE > > (RIDE). > > > > I can get the stack trace (but it does no tell me anything :(). > > > > Attached is RIDE and Inspection Tool screenshot. I ask if that would be > a > > "normal" application configuration? > > > > I can produce the crash by double-clicking the "For Loop Keyword" cell > > (which would "jump" to its definition). Also attach the text file. > > > > I have no other way to create a minimal demonstrating app. > > > > Current code is at > https://github.com/HelioGuilherme66/RIDE/tree/gificons > > To call from cloned repository, use: > > invoke devel -a --debugconsole > > > > To call from installed, use: > > ride.py --debugconsole > > > > Thank you, > > Hélio > > > > quarta-feira, 7 de Fevereiro de 2018 às 23:26:13 UTC, Hélio Guilherme > > escreveu: > > Hi all, > > > > I announced already on this list that I am migrating an > > application from wxPython 2.8.12.1 to Phoenix, and at the same > > time from Python 2.7 to Python 3.6. > > > > Well, I have a lot of software design problems, that I slowly > > try to solve, but the immediate things are some bugs that I > > blame on Phoenix side. Although, they may be because the code > > was done to Classic and there may be some unnoticed differences > > in Phoenix which have impact. > > > > List of issues: > > - On Windows 10, wxPython 4.0.0, python 2.7.13: > > The selection of text on a CustomGrid cell, is not > > highlighted. (this problem existed once in Linux, GTK3+ but was > > fixed, and at the moment it was OK on Windows) It is OK on > > Windows 7. > > - On Windows 7 and 10, wxPython 4.0.0/4.0.1, python 2.7.13: > > It is not possible to type text on certain fields, like, > > Library button and Name field. The only way is to paste with > > context menu (CTRL-V also not working). No problems with GTK3+. > > On certain text fields like Add Scalar button, Name text > > field, there is no blinking cursor. No problems with GTK3+. > > It does not work detaching a floating tooltip window with > > double-click, this works fine with 2.8.12.1 (on Cell Editor, > > type Log and press CTRL-M or CTRL-SPACE). No problems with GTK3+ > > > > Finally on all platforms: > > - When we move from the flat notebook tabs to the Editor > > (Grid), it may render grayed color without cells (there is a > > workaround, to move to Text Editor and back). > > - When we navigate from Editor to project Tree, we get > > crashes (not always). > > I suspect that these are related on how it was designed. The > > Editor is being Created when we select its Tab and probably > > Destroyed when replaced. > > > > > > If by chance anyone would like to install and try this Robot > > Framework IDE, I have a release here (there is also a link to a > > Wiki page with the known Issues). > > One day when my project is bug "free", I'll start doing > > regression tests for all the Demos of wxPython ;). > > > > pip install wxPython > > pip install robotframework > > pip install pygments > > pip install > > https://github.com/HelioGuilherme66/RIDE/archive/v1.7.2.zip > > > > Thank you for your time. I am also grateful to all the > > opensource developers that makes all this possible (specifically > > GTK, wxWidgets, wxPython and robotframework/RIDE). > > > > Hélio > > > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "wxPython-dev" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > -- You received this message because you are subscribed to the Google Groups "wxPython-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
RIDE_stack_trace_Fedora28.txt
(text/plain, 8.6 KB)
[helio@unknown081196876380 RIDE]$ invoke devel
Thank you for helping developing and testing RIDE on Python 3 and wxPython 4
Please be aware of untested wxPython installation
RIDE officially supports wxPython 2.8.12.1 and 3.0.2.
Your current version is 4.0.3a1.dev3868+aa1f1e41.
There are significant changes in newer wxPython versions. Notice that RIDE is still under development for wxPython 3.0.3 and newer (wxPython-Phoenix).
Segmentation fault (core dumped)
[helio@unknown081196876380 RIDE]$ sudo coredumpctl gdb
PID: 3121 (invoke)
UID: 500 (helio)
GID: 500 (helio)
Signal: 11 (SEGV)
Timestamp: Wed 2018-07-11 20:52:48 WEST (17s ago)
Command Line: /usr/bin/python3 /usr/local/bin/invoke devel
Executable: /usr/bin/python3.6
Control Group: /user.slice/user-500.slice/session-2.scope
Unit: session-2.scope
Slice: user-500.slice
Session: 2
Owner UID: 500 (helio)
Boot ID: 6bd6dd05e15d4bce9c92bb4c77a107f1
Machine ID: 6214b72b091c47ecacea7eb29c936255
Hostname: unknown081196876380.lan
Storage: /var/lib/systemd/coredump/core.invoke.500.6bd6dd05e15d4bce9c92bb4c77a107f1.3121.1531338768000000.lz4
Message: Process 3121 (invoke) of user 500 dumped core.
Stack trace of thread 3121:
#0 0x00007f550db23ef0 _ZTI12wxEvtHandler (libwx_baseu-3.0.so.0)
GNU gdb (GDB) Fedora 8.1-19.fc28
Copyright (C) 2018 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-redhat-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 /usr/bin/python3.6...Reading symbols from /usr/bin/python3.6...(no debugging symbols found)...done.
(no debugging symbols found)...done.
warning: core file may not match specified executable file.
[New LWP 3121]
[New LWP 3122]
[New LWP 3126]
[New LWP 3123]
[New LWP 3149]
[New LWP 3150]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
warning: Loadable section ".note.gnu.property" outside of ELF segments
Core was generated by `/usr/bin/python3 /usr/local/bin/invoke devel'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f550db23ef0 in typeinfo for wxEvtHandler ()
from /usr/local/lib64/python3.6/site-packages/wx/libwx_baseu-3.0.so.0
[Current thread is 1 (Thread 0x7f552286a540 (LWP 3121))]
Missing separate debuginfos, use: dnf debuginfo-install python3-3.6.5-1.fc28.x86_64
(gdb)
(gdb) bt
#0 0x00007f550db23ef0 in typeinfo for wxEvtHandler ()
at /usr/local/lib64/python3.6/site-packages/wx/libwx_baseu-3.0.so.0
#1 0x00007f550d8823f7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
at /usr/local/lib64/python3.6/site-packages/wx/libwx_baseu-3.0.so.0
#2 0x00007f550d7f5651 in wxTimerImpl::SendEvent() ()
at /usr/local/lib64/python3.6/site-packages/wx/libwx_baseu-3.0.so.0
#3 0x00007f550ed00688 in sipwxTimer::Notify() (this=0x560b8f74ccc0) at ../../../../sip/cpp/sip_corewxTimer.cpp:115
#4 0x00007f550e021b31 in timeout_callback () at /usr/local/lib64/python3.6/site-packages/wx/libwx_gtk3u_core-3.0.so.0
#5 0x00007f550aa3b371 in g_timeout_dispatch () at /lib64/libglib-2.0.so.0
#6 0x00007f550aa3a8ad in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#7 0x00007f550aa3ac78 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#8 0x00007f550aa3afa2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#9 0x00007f550ca157fd in gtk_main () at /lib64/libgtk-3.so.0
#10 0x00007f550e0111e5 in wxGUIEventLoop::DoRun() ()
at /usr/local/lib64/python3.6/site-packages/wx/libwx_gtk3u_core-3.0.so.0
#11 0x00007f550d75f08d in wxEventLoopBase::Run() () at /usr/local/lib64/python3.6/site-packages/wx/libwx_baseu-3.0.so.0
#12 0x00007f550d728746 in wxAppConsoleBase::MainLoop() ()
at /usr/local/lib64/python3.6/site-packages/wx/libwx_baseu-3.0.so.0
#13 0x00007f550ec00983 in wxPyApp::MainLoop() (this=0x560b8ed5e2b0) at ../../../../sip/cpp/sip_corewxPyApp.cpp:316
#14 0x00007f550ec00b97 in meth_wxPyApp_MainLoop(PyObject*, PyObject*) (sipSelf=<optimized out>, sipArgs=0x7f55227a7240)
at ../../../../sip/cpp/sip_corewxPyApp.cpp:1837
#15 0x00007f5522214ee2 in _PyCFunction_FastCallDict () at /lib64/libpython3.6m.so.1.0
#16 0x00007f552228a27d in call_function () at /lib64/libpython3.6m.so.1.0
#17 0x00007f55222cf08a in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#18 0x00007f55222886fa in fast_function () at /lib64/libpython3.6m.so.1.0
#19 0x00007f552228a372 in call_function () at /lib64/libpython3.6m.so.1.0
#20 0x00007f55222cf08a in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#21 0x00007f55222876b8 in _PyEval_EvalCodeWithName () at /lib64/libpython3.6m.so.1.0
#22 0x00007f55222888c0 in fast_function () at /lib64/libpython3.6m.so.1.0
#23 0x00007f552228a372 in call_function () at /lib64/libpython3.6m.so.1.0
#24 0x00007f55222cf08a in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#25 0x00007f55222b5ca8 in PyEval_EvalCodeEx () at /lib64/libpython3.6m.so.1.0
#26 0x00007f55222b6c33 in function_call () at /lib64/libpython3.6m.so.1.0
#27 0x00007f5522219aa3 in PyObject_Call () at /lib64/libpython3.6m.so.1.0
#28 0x00007f55222d0b2e in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#29 0x00007f55222b5ca8 in PyEval_EvalCodeEx () at /lib64/libpython3.6m.so.1.0
#30 0x00007f55222b6cf6 in function_call () at /lib64/libpython3.6m.so.1.0
#31 0x00007f5522219aa3 in PyObject_Call () at /lib64/libpython3.6m.so.1.0
#32 0x00007f55222d0b2e in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#33 0x00007f55222876b8 in _PyEval_EvalCodeWithName () at /lib64/libpython3.6m.so.1.0
#34 0x00007f55222891ce in _PyFunction_FastCallDict () at /lib64/libpython3.6m.so.1.0
#35 0x00007f55222153fe in _PyObject_FastCallDict () at /lib64/libpython3.6m.so.1.0
#36 0x00007f552221bad0 in _PyObject_Call_Prepend () at /lib64/libpython3.6m.so.1.0
#37 0x00007f5522219aa3 in PyObject_Call () at /lib64/libpython3.6m.so.1.0
#38 0x00007f552228fa25 in slot_tp_call () at /lib64/libpython3.6m.so.1.0
#39 0x00007f5522219aa3 in PyObject_Call () at /lib64/libpython3.6m.so.1.0
#40 0x00007f55222d0b2e in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#41 0x00007f55222876b8 in _PyEval_EvalCodeWithName () at /lib64/libpython3.6m.so.1.0
#42 0x00007f5522288fa8 in _PyFunction_FastCallDict () at /lib64/libpython3.6m.so.1.0
#43 0x00007f55222153fe in _PyObject_FastCallDict () at /lib64/libpython3.6m.so.1.0
#44 0x00007f552221bad0 in _PyObject_Call_Prepend () at /lib64/libpython3.6m.so.1.0
#45 0x00007f5522219aa3 in PyObject_Call () at /lib64/libpython3.6m.so.1.0
#46 0x00007f55222d0b2e in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#47 0x00007f55222886fa in fast_function () at /lib64/libpython3.6m.so.1.0
#48 0x00007f552228a372 in call_function () at /lib64/libpython3.6m.so.1.0
#49 0x00007f55222cf08a in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#50 0x00007f55222876b8 in _PyEval_EvalCodeWithName () at /lib64/libpython3.6m.so.1.0
#51 0x00007f55222888c0 in fast_function () at /lib64/libpython3.6m.so.1.0
#52 0x00007f552228a372 in call_function () at /lib64/libpython3.6m.so.1.0
#53 0x00007f55222cf08a in _PyEval_EvalFrameDefault () at /lib64/libpython3.6m.so.1.0
#54 0x00007f55222b5ca8 in PyEval_EvalCodeEx () at /lib64/libpython3.6m.so.1.0
#55 0x00007f55222b6bcb in PyEval_EvalCode () at /lib64/libpython3.6m.so.1.0
#56 0x00007f55223359e2 in run_mod () at /lib64/libpython3.6m.so.1.0
#57 0x00007f5522335d8a in PyRun_FileExFlags () at /lib64/libpython3.6m.so.1.0
#58 0x00007f5522337b40 in PyRun_SimpleFileExFlags () at /lib64/libpython3.6m.so.1.0
#59 0x00007f5522338c5b in Py_Main () at /lib64/libpython3.6m.so.1.0
#60 0x0000560b8d9a9ca8 in main ()
(gdb)