#730804 qgo: segmentation fault on "Error: connection closed by host"

Package:
qgo
Source:
qgo
Description:
Go client and full featured SGF editor
Submitter:
Linus Lüssing
Date:
2014-09-13 19:33:04 UTC
Severity:
important
#730804#5
Date:
2013-11-29 16:55:39 UTC
From:
To:
Hi,

a few times I've head the issue of qgo crashing:
-----
[...]

15 255(W): B5

sendText: A4 158

Not local game.

Not local game.

ERROR: connection closed by host ...
Socket Error

onConnectionError
Destroying IGS connection
Disconnecting...
Deconstructing room
zsh: segmentation fault  qgo
-----

So at some point when it was my turn I wasn't able to do a move anymore, clicking did not do anything in the GUI. A few seconds later (something between 30 to 60 seconds, so around the TCP connection timeout?), qgo crashed with a segmentation fault.

I'm not sure, it seems like either my opponent has left the game or my wifi connection was failing for a few seconds while playing against someone else on IGS.

Cheers, Linus

#730804#10
Date:
2013-12-01 15:52:39 UTC
From:
To:
And here's a calltrace gathered via gdb. It's probably not much use without debugging symbols in qgo, but well, attaching it anyways:
-------
[...]
Not local game.

ERROR: unknown Error...
Socket Error

onConnectionError
Destroying IGS connection
Disconnecting...
Deconstructing room

Program received signal SIGSEGV, Segmentation fault.
0x00000000004a3150 in ?? ()
(gdb) bt
#0  0x00000000004a3150 in ?? ()
#1  0x0000000000484be4 in ?? ()
#2  0x00007ffff63491e4 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff71e6f1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#4  0x00007ffff71ec006 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5  0x00007ffff632286d in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff6368f3d in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff63693f1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff3ed1ea6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff3ed21f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff3ed229c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ffff636971c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff63215bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff6327b41 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x0000000000426e0f in ?? ()
#15 0x00007ffff50c7995 in __libc_start_main (main=0x426cf2, argc=1, ubp_av=0x7fffffffdf88,
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdf78)
    at libc-start.c:276
#16 0x000000000041b4c9 in ?? ()
(gdb)
------- Cheers, Linus