[Eric] Some eric4 issues
Detlev Offenbach
detlev at die-offenbachs.de
Thu Dec 19 13:50:04 GMT 2013
Hello Pete,
please note, that I implemented a work around for a pysvn issue. It was not eric4 that
was faulty.
Unfortunately I am still not able to reproduce the closing issue. I did exactly as you told
and I am not getting any backtrace. I am using the same linux release as you.
However, I am using a self compiled Qt4/PyQt4 with standard Python2. Would it be
possible for you to trace this down? A good point to start in eric4 code would be
'ViewManager.closeViewManager'. Another check you could do is, if the same happens
using the Listview view manager type.
Detlev
On Thursday 19 December 2013, 00:10:38 Hans-Peter Jansen wrote:
> Dear Detlev,
>
> I'm glad, you fixed the pysvn issue for eric4 not finding any source files
> anymore. Thanks. Meanwhile, I switched to the svn module, and noticed, that
> the files colorization depending on state doesn't work anymore for it.
>
> BTW, I reported a bug that leads to segfaults on exit for eric4, which you
> couldn't reproduce. Here's a recipe, that's perfectly reproducible for me:
>
> Start eric4, load a project with a few python files, and use that split
> view context menu option (Neue Ansicht (in neuem Abschnitt)).
>
> Close eric4. Bang. Backtraced below. This is 100% reliable for me.
> (openSUSE 13.1/x86_64), eric 4.5.17 (from home:frispete:PyQt).
>
> I guess, that splitting the view adds some object to the menu, which is not
> properly destructed on close..
>
> Let me know, if it is reproducible for you too, now.
>
> Cheers,
> Pete
>
>
> Thread 1 (Thread 0x7f1e50606700 (LWP 26461)):
> [KCrash Handler]
> #6 0x00007f1e4b7a8aca in QWidgetPrivate::deleteTLSysExtra
> (this=this at entry=0x5f391d0) at kernel/qwidget_x11.cpp:2885 #7
> 0x00007f1e4b75fa85 in QWidgetPrivate::deleteExtra
> (this=this at entry=0x5f391d0) at kernel/qwidget.cpp:1832 #8
> 0x00007f1e4b75fcad in QWidgetPrivate::~QWidgetPrivate (this=0x5f391d0,
> __in_chrg=<optimized out>) at kernel/qwidget.cpp:365 #9 0x00007f1e4bb49e75
> in ~QMenuPrivate (this=0x5f391d0, __in_chrg=<optimized out>) at
> widgets/qmenu_p.h:171 #10 QMenuPrivate::~QMenuPrivate (this=0x5f391d0,
> __in_chrg=<optimized out>) at widgets/qmenu_p.h:183 #11 0x00007f1e4df2bc35
> in cleanup (pointer=<optimized out>) at
> ../../src/corelib/tools/qscopedpointer.h:62 #12 ~QScopedPointer
> (this=0x5f39168, __in_chrg=<optimized out>) at
> ../../src/corelib/tools/qscopedpointer.h:100 #13 QObject::~QObject
> (this=0x5f39160, __in_chrg=<optimized out>) at kernel/qobject.cpp:816 #14
> 0x00007f1e4b7686ac in QWidget::~QWidget (this=0x5f39160,
> __in_chrg=<optimized out>) at kernel/qwidget.cpp:1554 #15
> 0x00007f1e4c65e989 in sipQMenu::~sipQMenu (this=0x5f39160,
> __in_chrg=<optimized out>) at sipQtGuiQMenu.cpp:316 #16 0x00007f1e4c65e9fe
> in release_QMenu (sipCppV=0x5f39160) at sipQtGuiQMenu.cpp:2785 #17
> 0x00007f1e4ccd2476 in forgetObject (sw=sw at entry=0x5f0a640) at
> siplib.c:10891 #18 0x00007f1e4ccd3599 in sipWrapper_dealloc
> (self=0x5f0a640) at siplib.c:10443 #19 0x00007f1e5013a78a in
> subtype_dealloc (self=0x5f0a640) at Objects/typeobject.c:1030 #20
> 0x00007f1e50133050 in dict_dealloc (mp=0x5d12910) at
> Objects/dictobject.c:1010 #21 0x00007f1e50133029 in dict_dealloc
> (mp=0x58f21d0) at Objects/dictobject.c:1010 #22 0x00007f1e4ccd06a7 in
> sipSimpleWrapper_clear (self=self at entry=0x5bd4a68) at siplib.c:10016 #23
> 0x00007f1e4ccd34c4 in sipWrapper_clear (self=0x5bd4a68) at siplib.c:10402
> #24 0x00007f1e5011ab5b in delete_garbage (old=0x7f1e50410260
> <generations+96>, collectable=0x7fffd4e8a3d0) at Modules/gcmodule.c:820 #25
> collect (generation=2) at Modules/gcmodule.c:984
> #26 0x00007f1e5011b039 in PyGC_Collect () at Modules/gcmodule.c:1440
> #27 0x00007f1e5011213b in Py_Finalize () at Python/pythonrun.c:444
> #28 0x00007f1e50111bd7 in Py_Exit (sts=0) at Python/pythonrun.c:1772
> #29 0x00007f1e50111d26 in handle_system_exit () at Python/pythonrun.c:1146
> #30 0x00007f1e50111d53 in PyErr_PrintEx
> (set_sys_last_vars=set_sys_last_vars at entry=1) at Python/pythonrun.c:1156
> #31 0x00007f1e50112013 in PyErr_Print () at Python/pythonrun.c:1059 #32
> 0x00007f1e5011257b in PyRun_SimpleFileExFlags (fp=fp at entry=0x1981dd0,
> filename=<optimized out>, filename at entry=0x7fffd4e8b1d8
> "/usr/lib64/python2.7/site-packages/eric4/eric4.py",
> closeit=closeit at entry=1, flags=flags at entry=0x7fffd4e8a630) at
> Python/pythonrun.c:947 #33 0x00007f1e50112aae in PyRun_AnyFileExFlags
> (fp=fp at entry=0x1981dd0, filename=filename at entry=0x7fffd4e8b1d8
> "/usr/lib64/python2.7/site-packages/eric4/eric4.py",
> closeit=closeit at entry=1, flags=flags at entry=0x7fffd4e8a630) at
> Python/pythonrun.c:747 #34 0x00007f1e5011a147 in Py_Main (argc=<optimized
> out>, argv=0x7fffd4e8a7e8) at Modules/main.c:640 #35 0x00007f1e4fad1be5 in
> __libc_start_main () from /lib64/libc.so.6 #36 0x0000000000400791 in _start
> ()
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric--
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20131219/63231dd1/attachment.html>
More information about the Eric
mailing list