Seg fault crash on startup

Help
2008-05-25
2013-04-26
  • Taylor Easum

    Taylor Easum - 2008-05-25

    First, thanks--this is a great project and a well-designed front-end for xmame.  I installed this in Ubuntu 8.04 using a .deb from GetDeb.net (http://www.getdeb.net/app/Gnome+Video+Arcade).  It worked fine for a day or two, and then stopped working altogether.  Running from a terminal, I get the following messages/errors:

    ---
    ~$ gnome-video-arcade
    Gva-Message: This program is not configured to show category information.
    Gva-Message: This program is not configured to show history information.
    Gva-Message: Database seems up-to-date; no rebuild necessary.

    (gnome-video-arcade:22861): GLib-CRITICAL **: g_strchug: assertion `string != NULL' failed

    (gnome-video-arcade:22861): GLib-CRITICAL **: g_strchomp: assertion `string != NULL' failed

    (gnome-video-arcade:22861): GLib-CRITICAL **: g_strchug: assertion `string != NULL' failed

    (gnome-video-arcade:22861): GLib-CRITICAL **: g_strchomp: assertion `string != NULL' failed
    Segmentation fault
    ---

    Following the advice given in a previous thread, I ran "gdb gnome-video-arcade" and requested a backtrace once the program crashed.  Here is the output:

    ---
    Starting program: /usr/bin/gnome-video-arcade
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    ---Type <return> to continue, or q <return> to quit---
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    [Thread debugging using libthread_db enabled]
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    ---Type <return> to continue, or q <return> to quit---
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    ---Type <return> to continue, or q <return> to quit---
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    [New Thread 0xb6c74720 (LWP 22430)]
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    [New Thread 0xb6b32b90 (LWP 22431)]
    [Thread 0xb6b32b90 (LWP 22431) exited]
    [New Thread 0xb6331b90 (LWP 22432)]
    [Thread 0xb6331b90 (LWP 22432) exited]
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    (no debugging symbols found)
    [New Thread 0xb6331b90 (LWP 22434)]
    Gva-Message: This program is not configured to show category information.
    Gva-Message: This program is not configured to show history information.
    Gva-Message: Database seems up-to-date; no rebuild necessary.

    (gnome-video-arcade:22430): GLib-CRITICAL **: g_strchug: assertion `string != NULL' failed

    (gnome-video-arcade:22430): GLib-CRITICAL **: g_strchomp: assertion `string != NULL' failed

    (gnome-video-arcade:22430): GLib-CRITICAL **: g_strchug: assertion `string != NULL' failed

    (gnome-video-arcade:22430): GLib-CRITICAL **: g_strchomp: assertion `string != NULL' failed
    ---Type <return> to continue, or q <return> to quit---

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xb6c74720 (LWP 22430)]
    0x0805eb1c in gva_main_get_last_selected_match ()
    (gdb) bt
    #0  0x0805eb1c in gva_main_get_last_selected_match ()
    #1  0x080658d6 in tree_view_add_search_expression ()
    #2  0x08065a8d in gva_tree_view_update ()
    #3  0x08065da9 in ?? ()
    #4  0xbfe08610 in ?? ()
    #5  0xffffffff in ?? ()
    #6  0xbfe08698 in ?? ()
    #7  0xb75b07db in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #8  0xb75bcf5a in g_cclosure_marshal_VOID__OBJECT ()
       from /usr/lib/libgobject-2.0.so.0
    #9  0xb75b0759 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #10 0xb75c4d1d in ?? () from /usr/lib/libgobject-2.0.so.0
    #11 0x080fb218 in ?? ()
    #12 0x00000000 in ?? ()
    (gdb)
    ---

    I hope that you can either help me fix the problem in my end, or, if this is a bug, that this information helps you fix it on your end.

    Thanks!

     
    • Matthew Barnes

      Matthew Barnes - 2008-05-25

      Thanks Taylor.  Your back trace matches the one in the other thread, which means it's the same bug.  Based on these stack traces I was able to reproduce the crash for myself and fix the bug that caused it.  I'll be releasing a new GNOME Video Arcade shortly.

      In the meantime, I posted instructions in the other thread for working around the problem until an update is available from GetDeb.net.  Please let me know if you have any questions about it.

       
    • Taylor Easum

      Taylor Easum - 2008-05-25

      Thanks for the quick reply, and for the workaround (which works for me).  I'll be sure to look for the update once it reaches getdeb.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks