Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#41 Crash when exiting rcon dialog

open
nobody
None
5
2008-07-03
2008-07-03
Rich Strom
No

Exiting the rcon dialog after issuing an rcon command results in a crash. This happens for me with the halflife mod natural selection. I have not tested it with other games. This is on a amd64 system running 64-bit gentoo linux. Opening and closing the dialog box without issuing a command does not cause a crash.

*** glibc detected *** xqf: munmap_chunk(): invalid pointer: 0x0000000000936e93 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b64b318eaad]
/usr/lib/libglib-2.0.so.0(g_free+0x23)[0x2b64b2c40cf3]
xqf[0x43ba4e]
xqf[0x454a72]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x299)[0x2b64b25ac0c9]
/usr/lib/libgobject-2.0.so.0[0x2b64b25be95c]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x864)[0x2b64b25bfbf4]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x80)[0x2b64b25c01b0]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x4a)[0x2b64b129c80a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0xe0)[0x2b64b11a1d00]

Discussion

  • Rich Strom
    Rich Strom
    2008-08-05

     
    Attachments
  • Rich Strom
    Rich Strom
    2008-08-05

    Logged In: YES
    user_id=1560655
    Originator: YES

    Caused by assigning rcon_challange a pointer to the local variable 'msg' in rcon.c.
    Patch attached.
    File Added: rcon.c.patch