Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on exiting if more than one server #87

Closed
DarthGandalf opened this issue Jul 26, 2015 · 9 comments
Closed

Crash on exiting if more than one server #87

DarthGandalf opened this issue Jul 26, 2015 · 9 comments

Comments

@DarthGandalf
Copy link
Member

Reported by Fiber^ on 26 Feb 2008 08:11:26 UTC
First crash:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1250752784 (LWP 28326)]
[KCrash handler]
#5  0x082668fd in KviMdiManager::updateContentsSize (this=0x84d1178)
    at /home/fiber/kvirc/src/kvilib/include/kvi_pointerlist.h:651
#6  0x0823ac59 in KviFrame::closeWindow (this=0x84ed8e8, wnd=0x845ef70)
    at ../ui/kvi_frame.cpp:609
#7  0x0812ee65 in KviIrcContext::closeAllDeadChannels (this=0x867bc80)
    at ../kernel/kvi_irccontext.cpp:160
#8  0x0812ef60 in ~KviIrcContext (this=0x867bc80)
    at ../kernel/kvi_irccontext.cpp:119
#9  0x08229201 in ~KviConsole (this=0x867e1b8) at ../ui/kvi_console.cpp:213
#10 0x082661b8 in ~KviMdiChild (this=0x86b6658) at ../ui/kvi_mdichild.cpp:103
#11 0x0826789a in KviMdiManager::destroyChild (this=0x84d1178, lpC=0x86b6658, 
    bFocusTopChild=true)
    at /home/fiber/kvirc/src/kvilib/include/kvi_pointerlist.h:412
#12 0x0823ac59 in KviFrame::closeWindow (this=0x84ed8e8, wnd=0x867e1b8)
    at ../ui/kvi_frame.cpp:609
#13 0x0823af0e in ~KviFrame (this=0x84ed8e8) at ../ui/kvi_frame.cpp:217
#14 0x08101684 in ~KviApp (this=0x836f330) at ../kernel/kvi_app.cpp:547
#15 0x08139ec5 in main (argc=) at ../kernel/kvi_main.cpp:409

I tried again, and again, it is reproduceable, simply by right-clicking
on a dock icon and Exit/Quit.

3rd crash:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1250023696 (LWP 30696)]
[KCrash handler]
#5  KviMdiCaption::setActive (this=0x0, bActive=false)
    at ../ui/kvi_mdicaption.cpp:153
#6  0x082671bc in KviMdiManager::focusTopChild (this=0x84c0980)
    at ../ui/kvi_mdimanager.cpp:431
#7  0x08267945 in KviMdiManager::destroyChild (this=0x84c0980, lpC=0x8562220, 
    bFocusTopChild=true) at ../ui/kvi_mdimanager.cpp:263
#8  0x0823ac59 in KviFrame::closeWindow (this=0x84e79d8, wnd=0x8539d88)
    at ../ui/kvi_frame.cpp:609
#9  0x0823af0e in ~KviFrame (this=0x84e79d8) at ../ui/kvi_frame.cpp:217
#10 0x08101684 in ~KviApp (this=0x836f328) at ../kernel/kvi_app.cpp:547
#11 0x08139ec5 in main (argc=) at ../kernel/kvi_main.cpp:409

4th:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1250507024 (LWP 30629)]
[KCrash handler]
#5  KviMdiCaption::setActive (this=0x0, bActive=false)
    at ../ui/kvi_mdicaption.cpp:153
#6  0x082671bc in KviMdiManager::focusTopChild (this=0x84d1318)
    at ../ui/kvi_mdimanager.cpp:431
#7  0x08267945 in KviMdiManager::destroyChild (this=0x84d1318, lpC=0x85407c8, 
    bFocusTopChild=true) at ../ui/kvi_mdimanager.cpp:263
#8  0x0823ac59 in KviFrame::closeWindow (this=0x84e7a68, wnd=0x853a930)
    at ../ui/kvi_frame.cpp:609
#9  0x0823af0e in ~KviFrame (this=0x84e7a68) at ../ui/kvi_frame.cpp:217
#10 0x08101684 in ~KviApp (this=0x836f330) at ../kernel/kvi_app.cpp:547
#11 0x08139ec5 in main (argc=) at ../kernel/kvi_main.cpp:409

Note that: with 1 server its quiting nicely, but with more networks (>=2) it crashes immediatly after quiting. (kvirc crashes, not sending proper quit to the servers)

Slackware 12.0 KDE 3.5.7
KVIrc:
Compiled from the current SVN around midnight.
Tue Feb 26 00:08:29 UTC 2008
3.2.6


Migrated from: https://svn.kvirc.de/kvirc/ticket/87

@DarthGandalf
Copy link
Member Author

Comment by mren on 26 Feb 2008 14:24:53
I can reproduce that bug even w/o using the dock icon, closing KVIrc w/ the X (upper right) is enough. As Fiber said, w/ 1 server everything is ok, but if you have more than that it crashes.

Here my backtrace:

(no debugging symbols found)

Using host libthread_db library "/lib/libthread_db.so.1".

(no debugging symbols found)

[...]

[KCrash handler]

#6 0x08280be0 in KviMdiCaption::setActive ()

#7 0x08284623 in KviMdiManager::focusTopChild ()

#8 0x08284e6c in KviMdiManager::destroyChild ()

#9 0x082523ff in KviFrame::closeWindow ()

#10 0x0825269c in KviFrame::~KviFrame ()

#11 0x080fd3bc in KviApp::destroyFrame ()

#12 0x0825066b in KviFrame::closeEvent ()

#13 0xb6f7640d in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3

#14 0xb702f052 in QMainWindow::event () from /usr/qt/3/lib/libqt-mt.so.3

#15 0xb6ede747 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3

#16 0xb6edf2c1 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3

#17 0xb768c4fe in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4

#18 0xb6f74c8d in QWidget::close () from /usr/qt/3/lib/libqt-mt.so.3

#19 0xb6e6e1dc in QETWidget::translateCloseEvent () from /usr/qt/3/lib/libqt-mt.so.3

#20 0xb6e70f3d in QApplication::x11ClientMessage () from /usr/qt/3/lib/libqt-mt.so.3

#21 0xb6e7e27b in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3

#22 0xb6e8e83a in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3

#23 0xb6ef4e30 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3

#24 0xb6ef4cb6 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3

#25 0xb6ede1df in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3

#26 0x0813dd07 in main ()

@DarthGandalf
Copy link
Member Author

Comment by Fiber^ on 27 Feb 2008 01:39:19
I can reproduce in SVN 1170 too:

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1250375952 (LWP 22844)]
[KCrash handler]
#5  KviMdiCaption::setActive (this=0xffff00ff, bActive=false)
    at ../ui/kvi_mdicaption.cpp:153
#6  0x082671bc in KviMdiManager::focusTopChild (this=0x84d8500)
    at ../ui/kvi_mdimanager.cpp:431
#7  0x08267945 in KviMdiManager::destroyChild (this=0x84d8500, lpC=0x8561060, 
    bFocusTopChild=true) at ../ui/kvi_mdimanager.cpp:263
#8  0x0823ac59 in KviFrame::closeWindow (this=0x84e5a08, wnd=0x85389c8)
    at ../ui/kvi_frame.cpp:609
#9  0x0823af0e in ~KviFrame (this=0x84e5a08) at ../ui/kvi_frame.cpp:217
#10 0x08101684 in ~KviApp (this=0x836f330) at ../kernel/kvi_app.cpp:547
#11 0x08139ec5 in main (argc=) at ../kernel/kvi_main.cpp:409

@DarthGandalf
Copy link
Member Author

Modified by mren on 27 Feb 2008 22:07:57
Summary: Crash on exiting thrugh the KVIrc dock icon → Crash on exiting if more than one server

@DarthGandalf
Copy link
Member Author

Comment by pragmaware on 01 Mar 2008 14:08:39
Probably solved on the current svn. Please test and report


Resolution: none → fixed
Status: new → closed

@DarthGandalf
Copy link
Member Author

Comment by mren on 01 Mar 2008 16:06:53
happens also w/ r1174, reopening...

(no debugging symbols found)

Using host libthread_db library "/lib/libthread_db.so.1".

(no debugging symbols found)

(...)

[KCrash handler]

#6 0x0824eb16 in KviFrame::consoleCount ()

#7 0x0823f41a in KviConsole::~KviConsole ()

#8 0x082834ca in KviMdiChild::~KviMdiChild ()

#9 0xb6fab00b in QWidget::~QWidget () from /usr/qt/3/lib/libqt-mt.so.3

#10 0xb7087ec5 in QViewportWidget::~QViewportWidget () from /usr/qt/3/lib/libqt-mt.so.3

#11 0xb7086ced in QScrollView::~QScrollView () from /usr/qt/3/lib/libqt-mt.so.3

#12 0x08286df3 in KviMdiManager::~KviMdiManager ()

#13 0xb6fab00b in QWidget::~QWidget () from /usr/qt/3/lib/libqt-mt.so.3

#14 0xb70926b8 in QSplitter::~QSplitter () from /usr/qt/3/lib/libqt-mt.so.3

#15 0xb6fab00b in QWidget::~QWidget () from /usr/qt/3/lib/libqt-mt.so.3

#16 0xb7068360 in QMainWindow::~QMainWindow () from /usr/qt/3/lib/libqt-mt.so.3

#17 0xb7a08143 in KMainWindow::~KMainWindow () from /usr/kde/3.5/lib/libkdeui.so.4

#18 0xb7f9c162 in KviTalMainWindow::~KviTalMainWindow () from /usr/lib/libkvilib.so.3

#19 0x0825261d in KviFrame::~KviFrame ()

#20 0x080fd44c in KviApp::destroyFrame ()

#21 0x0825059e in KviFrame::closeEvent ()

#22 0xb6fab40d in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3

#23 0xb7064052 in QMainWindow::event () from /usr/qt/3/lib/libqt-mt.so.3

#24 0xb6f13747 in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3

#25 0xb6f142c1 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3

#26 0xb76c14fe in KApplication::notify () from /usr/kde/3.5/lib/libkdecore.so.4

#27 0xb6fa9c8d in QWidget::close () from /usr/qt/3/lib/libqt-mt.so.3

#28 0xb6ea31dc in QETWidget::translateCloseEvent () from /usr/qt/3/lib/libqt-mt.so.3

#29 0xb6ea5f3d in QApplication::x11ClientMessage () from /usr/qt/3/lib/libqt-mt.so.3

#30 0xb6eb327b in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3

#31 0xb6ec383a in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3

#32 0xb6f29e30 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3

#33 0xb6f29cb6 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3

#34 0xb6f131df in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3

#35 0x0813df07 in main ()


Resolution: fixed → none
Status: closed → reopened

@DarthGandalf
Copy link
Member Author

Modified by mren on 01 Mar 2008 16:07:22
Owner: HelLViS69 → pragmaware
Status: reopened → new

@DarthGandalf
Copy link
Member Author

Comment by pragmaware on 02 Mar 2008 18:01:36
Hopefully fixed on the current svn. Please test and report.


Resolution: none → fixed
Status: new → closed

@DarthGandalf
Copy link
Member Author

Comment by anonymous on 05 Mar 2008 02:56:43
still broken here w/ latest win32 snapshot, will test today on gentoo if i have time to do so.


Resolution: fixed → none
Status: closed → reopened

@DarthGandalf
Copy link
Member Author

Comment by Pragma on 13 Mar 2008 02:17:16
Test and reopen eventually :D


Resolution: none → fixed
Status: reopened → closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant