naxuroqa / Venom

a modern Tox client for the GNU/Linux desktop
GNU General Public License v3.0
282 stars 65 forks source link

Segfault closing groupchats #227

Closed stqism closed 10 years ago

stqism commented 10 years ago

OTRS email about a segfault

08/04/2014 05:10 - {removed}

Was asked to post my debug. I had been running Venom for less than 24 hours, had joined Group >Chat through invite from Group bot.

I right-clicked the Group Chat tab to close it. Clicked close and it crashed on me.

Program received signal SIGSEGV, Segmentation fault.
0x000000000042e8e5 in venom_audio_manager_free ()

The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/venom
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffefc2a700 (LWP 11497)]

(venom:11496): GLib-GIO-CRITICAL **: Timeout was reached

Program received signal SIGSEGV, Segmentation fault.
0x000000000042e8e5 in venom_audio_manager_free ()
(gdb) bt
#0  0x000000000042e8e5 in venom_audio_manager_free ()
#1  0x0000000000467b29 in ?? ()
#2  0x00007ffff72169a7 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007ffff722f006 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff722f852 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff74f061e in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x000000000042e282 in venom_main_main ()
#7  0x000000000042e308 in main ()```
zetok commented 10 years ago

I think that I've also stumbled upon this bug, though when trying to close application through tray.

Program received signal SIGSEGV, Segmentation fault.
0x0000555555572de0 in venom_audio_manager_free ()
    at /var/tmp/portage/net-im/venom-av-9999/work/venom-av-9999/src/core/AudioManager.vala:124
124     /var/tmp/portage/net-im/venom-av-9999/work/venom-av-9999/src/core/AudioManager.vala: No such file or directory.
(gdb) bt
#0  0x0000555555572de0 in venom_audio_manager_free ()
    at /var/tmp/portage/net-im/venom-av-9999/work/venom-av-9999/src/core/AudioManager.vala:124
#1  0x00005555555c2ce9 in venom_client_real_shutdown (base=0x55555589e210)
    at /var/tmp/portage/net-im/venom-av-9999/work/venom-av-9999/src/ui/Client.vala:126
#2  0x00007ffff73a1114 in _g_closure_invoke_va (closure=0x5555558c4690, 
    return_value=0x0, instance=0x55555589e210, args=0x7fffffffdb60, n_params=0, 
    param_types=0x0)
    at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/gobject/gclosure.c:831
#3  0x00007ffff73c139f in g_signal_emit_valist (instance=0x55555589e210, 
    signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffdb60)
    at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/gobject/gsignal.c:3215
#4  0x00007ffff73c209b in g_signal_emit (instance=instance@entry=0x55555589e210, 
    signal_id=<optimized out>, detail=detail@entry=0)
    at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/gobject/gsignal.c:3363
#5  0x00007ffff76c6134 in g_application_run (application=0x55555589e210, argc=1, 
    argv=0x7fffffffdf48)
    at /var/tmp/portage/dev-libs/glib-2.40.0-r1/work/glib-2.40.0/gio/gapplication.c:2120
#6  0x00005555555721e2 in venom_main_main (args=0x7fffffffdf48, args_length1=1)
    at /var/tmp/portage/net-im/venom-av-9999/work/venom-av-9999/src/Main.vala:93
#7  0x00005555555722ac in main (argc=6, argv=0x7fffffffdf48)
    at /var/tmp/portage/net-im/venom-av-9999/work/venom-av-9999/src/Main.vala:56

Reproducible: always

Steps to reproduce:

  1. Launch Venom
  2. Minimize to tray
  3. Try to close it through tray
  4. Segfault
naxuroqa commented 10 years ago

should be fixed in 7083e0d731e8627b5b012a699982577ae393f420