Bug 209019 - Random crash when add ban
Summary: Random crash when add ban
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.2-beta1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 20:01 UTC by Sébastien P.
Modified: 2009-10-02 21:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien P. 2009-09-30 20:01:51 UTC
Version:           1.2-beta1 (using KDE 4.3.1)
Compiler:          gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2 Qt: 4.5.1
KDE: 4.3.1 (KDE 4.3.1)
OS:                Linux
Installed from:    Gentoo Packages

I had a random crash when add or removeban (/ban …).

This morning, i found:
/var/log/kernel:Sep 30 12:44:10 localhost kernel: konversation[20921]: segfault at 70 ip 00007f9e34605da6 sp 00007fffbff5b1c8 error 6 in libQtCore.so.4.5.1[7f9e345a0000+1f9000]

Someone (not me) just add the ban: "[mercredi 30 septembre 2009] [12:44:10] Mode    conan-kun définit le bannissement de *!*@Fansub-IRC-F0CE4BAE.rev.gaoland.net." on irc://irc.fansub-irc.eu/SANU

Tonight, i remove a test: "[mercredi 30 septembre 2009] [19:53:22] Mode    Vous supprimez le bannissement de *CRASHABRUTI*!*@*." 
And i had this report:
"Application: Konversation (konversation), signal: Segmentation fault
[Current thread is 0 (LWP 22427)]

Thread 2 (Thread 0x7f7a00ddb950 (LWP 22428)):
#0  0x00007f7a0e622dc9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f7a0e890359 in QWaitCondition::wait () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f7a0fe28bc4 in ?? () from /usr/lib64/qt4/libQtNetwork.so.4
#3  0x00007f7a0e88f619 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f7a0e61f017 in start_thread () from /lib/libpthread.so.0
#5  0x00007f7a0d0f548d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7a12510750 (LWP 22427)):
[KCrash Handler]
#5  0x00007f79fc0e2af8 in ?? ()
#6  0x00007f7a1175c2e7 in ?? () from /usr/lib64/libkde3support.so.4
#7  0x00007f7a0dd0b415 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#8  0x00007f7a0e05ed69 in QLineEdit::event () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f7a0f842855 in KLineEdit::event () from /usr/lib64/libkdeui.so.5
#10 0x00007f7a0dcbe6ed in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#11 0x00007f7a0dcc6faa in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007f7a0f77a5cb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#13 0x00007f7a0e961ce3 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f7a0dcc5851 in QApplicationPrivate::setFocusWidget () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f7a0dd01f05 in QWidget::setFocus () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f7a0dcc80b0 in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f7a0f77a5cb in KApplication::notify () from /usr/lib64/libkdeui.so.5
#18 0x00007f7a0e961ce3 in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f7a0dcc69c8 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007f7a0dd20efc in ?? () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007f7a0dd1fa15 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f7a0dd440c4 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f7a0a2ae6b0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007f7a0a2b1d48 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007f7a0a2b1f0c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007f7a0e986bbf in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f7a0dd4398f in ?? () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007f7a0e9606e2 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f7a0e960875 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007f7a0e962874 in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#31 0x0000000000462567 in ?? ()
#32 0x00007f7a0d0435c6 in __libc_start_main () from /lib/libc.so.6
#33 0x0000000000441b19 in _start ()"

I do not try a debug mode now. I will try later if it can help.
Comment 1 Sébastien P. 2009-09-30 21:37:58 UTC
I do not have anymore backtrace using http://www.gentoo.org/proj/en/qa/backtraces.xml

I "isolate" the problem. Before the crash, I sort the ban list by date and I ban with "*" ("*test*" for example). It seam works with less "*".
Comment 2 Bernd Buschinski 2009-10-02 21:26:20 UTC
SVN commit 1030623 by buschinski:

In case we remove and add a ban at the same time we end up
comparing against a already deleted ban
BUG:209019


 M  +5 -1      channeloptionsdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1030623