Bug 366370

Summary: Konverstatio crash when using TOR
Product: [Applications] konversation Reporter: shured <shured1>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED DUPLICATE    
Severity: crash CC: hein, shured1
Priority: NOR Keywords: drkonqi
Version: 1.6.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description shured 2016-08-03 08:10:25 UTC
Application: konversation (1.6.1)

Qt Version: 5.6.1
Frameworks Version: 5.24.0
Operating System: Linux 4.5.7-202.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

-- Information about the crash:
- What I was doing when the application crashed:
After start over Konverstation and loggon on to IRC server, I tried to edit the connection details of the IRC server. This resulted in a crash

- Custom settings of the application:
I connect to the server using the TOR network

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5e63eee940 (LWP 26144))]

Thread 3 (Thread 0x7f5e4f454700 (LWP 26146)):
#0  0x00007f5e71b52b1d in poll () at /lib64/libc.so.6
#1  0x00007f5e6e1bd18c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f5e6e1bd29c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f5e72947b5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f5e728f825a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f5e72758bd4 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f5e72b4c675 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f5e7275d00c in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f5e7074f61a in start_thread () at /lib64/libpthread.so.0
#9  0x00007f5e71b5e59d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f5e4e03c700 (LWP 26147)):
#0  0x00007f5e71b52b1d in poll () at /lib64/libc.so.6
#1  0x00007f5e6e1bd18c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f5e6e1bd29c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f5e72947b5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f5e728f825a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f5e72758bd4 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f5e7275d00c in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#7  0x00007f5e7074f61a in start_thread () at /lib64/libpthread.so.0
#8  0x00007f5e71b5e59d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f5e63eee940 (LWP 26144)):
[KCrash Handler]
#6  0x0000560c3ba0ebae in Konversation::ServerDialog::setServerSettings(Konversation::ServerSettings const&) ()
#7  0x0000560c3ba118ae in Konversation::ServerGroupDialog::editServer() ()
#8  0x0000560c3ba11b39 in Konversation::ServerGroupDialog::execAndEditServer(Konversation::ServerSettings) ()
#9  0x0000560c3ba1c56e in Konversation::ServerListDialog::slotEdit() ()
#10 0x00007f5e72920b1e in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#11 0x00007f5e73310952 in QAbstractButton::clicked(bool) () at /lib64/libQt5Widgets.so.5
#12 0x00007f5e73310ba4 in QAbstractButtonPrivate::emitClicked() () at /lib64/libQt5Widgets.so.5
#13 0x00007f5e73312657 in QAbstractButtonPrivate::click() () at /lib64/libQt5Widgets.so.5
#14 0x00007f5e733127d4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#15 0x00007f5e732584c8 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#16 0x00007f5e7321310c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007f5e73218e9e in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f5e728f93ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#19 0x00007f5e73217b95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#20 0x00007f5e73272b60 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#21 0x00007f5e732754b3 in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#22 0x00007f5e7321310c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#23 0x00007f5e73218646 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#24 0x00007f5e728f93ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#25 0x00007f5e72cbce7b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#26 0x00007f5e72cbe9b5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#27 0x00007f5e72c9f55b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#28 0x00007f5e5d3625b0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#29 0x00007f5e6e1bce5a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#30 0x00007f5e6e1bd1f0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#31 0x00007f5e6e1bd29c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#32 0x00007f5e72947b3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#33 0x00007f5e728f825a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#34 0x00007f5e728ffbdc in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#35 0x0000560c3b9445f2 in main ()

Reported using DrKonqi
Comment 1 shured 2016-08-03 08:22:06 UTC
when starting from commandline the crash results in the following lines on the console

QXcbConnection: XCB error: 3 (BadWindow), sequence: 1699, resource id: 25166062, major code: 40 (TranslateCoords), minor code: 0
QIODevice::write (KTcpSocket, "serverSocket"): device not open
KCrash: Application 'konversation' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
QSocketNotifier: Invalid socket 13 and type 'Read', disabling...
Comment 2 shured 2016-08-03 16:52:46 UTC
I've removed the konversationrc files from the .config. and session directory. Started konversation, got the default host, clicked the + to open the hosts, clicked hosts and edit... crash...
Comment 3 Eike Hein 2016-08-03 18:45:32 UTC

*** This bug has been marked as a duplicate of bug 366374 ***