Menu

Warnings and Crashes

Help
Anonymous
2008-08-14
2013-04-30
  • Anonymous

    Anonymous - 2008-08-14

    Hi,

    Firstly I'd like to say that Gmameui is excellent.

    I am (however) having a few problems compiling and running it on Ubuntu Hardy.

    Every time I launch it I receive the following warnings and sometimes whilst changing views it crashes:

        (gmameui:12119): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
        This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
        The overwriting error message was: Key file does not have group 'i386'

        ** (gmameui:12119): CRITICAL **: gmameui_sidebar_set_with_rom: assertion `sidebar != NULL' failed

    I'm also receiving a long list of warnings whilst compiling it:

        callbacks.h:30:35: warning: extra tokens at end of #include directive
        gmameui.c:77: warning: implicit declaration of function ‘mame_options_new’
        gmameui.c:77: warning: nested extern declaration of ‘mame_options_new’
        gmameui.c:77: warning: assignment makes pointer from integer without a cast
        gmameui.c:164: warning: comparison between signed and unsigned
        gmameui.c:241: warning: ‘return’ with no value, in function returning non-void
        gmameui.c:557: warning: implicit declaration of function ‘mame_options_get_option_string’
        gmameui.c:557: warning: nested extern declaration of ‘mame_options_get_option_string’
        gmameui.c:557: warning: assignment makes pointer from integer without a cast
        gmameui.c:558: warning: assignment makes pointer from integer without a cast
        gmameui.c:559: warning: assignment makes pointer from integer without a cast
        gmameui.c:560: warning: assignment makes pointer from integer without a cast
        gmameui.c:561: warning: assignment makes pointer from integer without a cast
        gmameui.c:562: warning: assignment makes pointer from integer without a cast
        gmameui.c:563: warning: assignment makes pointer from integer without a cast
        gmameui.c:564: warning: assignment makes pointer from integer without a cast
        gmameui.c:565: warning: assignment makes pointer from integer without a cast
        gmameui.c:567: warning: assignment makes pointer from integer without a cast
        gmameui.c:630: warning: no previous prototype for ‘process_inp_function’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        interface.c:191: warning: comparison between signed and unsigned
        interface.c:241: warning: passing argument 1 of ‘gtk_check_menu_item_set_active’ from incompatible pointer type
        interface.c:357: warning: assignment from incompatible pointer type
        interface.c:358: warning: assignment from incompatible pointer type
        interface.c:359: warning: assignment from incompatible pointer type
        interface.c:364: warning: passing argument 1 of ‘gtk_widget_set_size_request’ from incompatible pointer type
        interface.c:365: warning: passing argument 1 of ‘gtk_widget_set_size_request’ from incompatible pointer type
        interface.c:487: warning: assignment from incompatible pointer type
        interface.c:507: warning: assignment from incompatible pointer type
        interface.c:508: warning: assignment from incompatible pointer type
        interface.c:510: warning: assignment from incompatible pointer type
        interface.c:542: warning: assignment from incompatible pointer type
        interface.c:556: warning: assignment from incompatible pointer type
        interface.c:570: warning: implicit declaration of function ‘gmameui_filters_list_select’
        interface.c:570: warning: nested extern declaration of ‘gmameui_filters_list_select’
        interface.c:574: warning: assignment from incompatible pointer type
        interface.c:589: warning: assignment from incompatible pointer type
        interface.c:607: warning: assignment from incompatible pointer type
        interface.c:620: warning: assignment from incompatible pointer type
        interface.c:633: warning: assignment from incompatible pointer type
        interface.c:646: warning: assignment from incompatible pointer type
        interface.c:659: warning: assignment from incompatible pointer type
        interface.c:672: warning: assignment from incompatible pointer type
        interface.c:685: warning: assignment from incompatible pointer type
        interface.c:698: warning: assignment from incompatible pointer type
        interface.c:712: warning: assignment from incompatible pointer type
        interface.c:726: warning: assignment from incompatible pointer type
        interface.c:741: warning: assignment from incompatible pointer type
        interface.c:755: warning: assignment from incompatible pointer type
        interface.c:769: warning: assignment from incompatible pointer type
        interface.c:784: warning: assignment from incompatible pointer type
        interface.c:797: warning: assignment from incompatible pointer type
        interface.c:810: warning: assignment from incompatible pointer type
        interface.c:824: warning: assignment from incompatible pointer type
        interface.c:838: warning: assignment from incompatible pointer type
        interface.c:851: warning: assignment from incompatible pointer type
        interface.c:891: warning: assignment from incompatible pointer type
        interface.c:905: warning: assignment from incompatible pointer type
        interface.c:929: warning: assignment from incompatible pointer type
        interface.c:950: warning: assignment from incompatible pointer type
        interface.c:981: warning: initialisation from incompatible pointer type
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        interface.c:221: warning: ‘widget’ may be used uninitialised in this function
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        callbacks.c:96: warning: implicit declaration of function ‘gmameui_ui_set_favourites_sensitive’
        callbacks.c:96: warning: nested extern declaration of ‘gmameui_ui_set_favourites_sensitive’
        callbacks.c:132: warning: implicit declaration of function ‘mame_options_get_dialog’
        callbacks.c:132: warning: nested extern declaration of ‘mame_options_get_dialog’
        callbacks.c:132: warning: initialisation makes pointer from integer without a cast
        callbacks.c:151: warning: passing argument 1 of ‘gtk_dialog_run’ from incompatible pointer type
        callbacks.c:307: warning: assignment from incompatible pointer type
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        io.c:346: warning: unused variable ‘rom’
        io.c:345: warning: unused variable ‘done’
        io.c:344: warning: unused variable ‘nb_rom_not_checked’
        io.c:343: warning: unused variable ‘list_pointer’
        io.c:342: warning: unused variable ‘quick_check_running’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        game_options.c:543: warning: unused variable ‘double_buffer’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        rom_entry.c:111: warning: implicit declaration of function ‘strncmp’
        rom_entry.c:137: warning: passing argument 2 of ‘mame_gamelist_add_driver’ discards qualifiers from pointer target type
        rom_entry.c:145: warning: passing argument 2 of ‘mame_gamelist_add_year’ discards qualifiers from pointer target type
        rom_entry.c:152: warning: ‘return’ with no value, in function returning non-void
        rom_entry.c:169: warning: ‘return’ with no value, in function returning non-void
        rom_entry.c:243: warning: ‘return’ with no value, in function returning non-void
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        mameio.c:307: warning: passing argument 1 of ‘get_control_type’ discards qualifiers from pointer target type
        mameio.c:319: warning: passing argument 1 of ‘get_control_type’ discards qualifiers from pointer target type
        mameio.c:331: warning: passing argument 1 of ‘get_driver_status’ discards qualifiers from pointer target type
        mameio.c:333: warning: passing argument 1 of ‘get_driver_status’ discards qualifiers from pointer target type
        mameio.c:335: warning: passing argument 1 of ‘get_driver_status’ discards qualifiers from pointer target type
        mameio.c:337: warning: passing argument 1 of ‘get_driver_status’ discards qualifiers from pointer target type
        mameio.c:515: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘XML_Size’
        mameio.c:515: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘XML_Size’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        gui.c:464: warning: unused variable ‘zipfile’
        gui.c:895: warning: no previous prototype for ‘gmameui_ui_set_favourites_sensitive’
        gui.c:910: warning: no previous prototype for ‘gmameui_ui_set_items_sensitive’
        gui.c:920: warning: passing argument 2 of ‘gtk_action_group_set_sensitive’ makes integer from pointer without a cast
        gui.c:1360: warning: passing argument 1 of ‘set_status_bar’ discards qualifiers from pointer target type
        gui.c:1488: warning: implicit declaration of function ‘process_inp_function’
        gui.c:1488: warning: nested extern declaration of ‘process_inp_function’
        gui.c:1510: warning: passing argument 1 of ‘gtk_message_dialog_format_secondary_text’ from incompatible pointer type
        gui.c:1579: warning: assignment from incompatible pointer type
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.c:666: warning: ‘change_screenshot’ defined but not used
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        gmameui-gamelist-view.c:40: warning: no previous prototype for ‘column_title’
        gmameui-gamelist-view.c:92: warning: no previous prototype for ‘set_list_sortable_column’
        gmameui-gamelist-view.c:779: warning: implicit declaration of function ‘strcmp’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        directories.c:311: warning: passing argument 4 of ‘g_signal_connect_data’ discards qualifiers from pointer target type
        directories.c:315: warning: passing argument 4 of ‘g_signal_connect_data’ discards qualifiers from pointer target type
        directories.c:701: warning: implicit declaration of function ‘gmameui_ui_set_items_sensitive’
        directories.c:701: warning: nested extern declaration of ‘gmameui_ui_set_items_sensitive’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        audit.c:180: warning: control reaches end of non-void function
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        properties.c:114: warning: implicit declaration of function ‘process_audit_romset’
        properties.c:114: warning: nested extern declaration of ‘process_audit_romset’
        properties.c:260: warning: unused variable ‘game_found’
        properties.c:258: warning: unused variable ‘l’
        properties.c:337: warning: no previous prototype for ‘show_rom_properties’
        properties.c:356: warning: passing argument 1 of ‘gtk_label_set_markup’ from incompatible pointer type
        properties.c:364: warning: assignment from incompatible pointer type
        properties.c:366: warning: passing argument 2 of ‘gtk_label_set_text’ from incompatible pointer type
        properties.c:369: warning: assignment from incompatible pointer type
        properties.c:371: warning: passing argument 2 of ‘gtk_label_set_text’ from incompatible pointer type
        properties.c:378: warning: zero-length printf format string
        properties.c:382: warning: assignment from incompatible pointer type
        properties.c:386: warning: passing argument 2 of ‘gtk_label_set_text’ from incompatible pointer type
        properties.c:389: warning: assignment from incompatible pointer type
        properties.c:391: warning: passing argument 2 of ‘gtk_label_set_text’ from incompatible pointer type
        properties.c:398: warning: assignment from incompatible pointer type
        properties.c:399: warning: passing argument 2 of ‘gtk_label_set_text’ from incompatible pointer type
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        properties.c:65: warning: ‘title’ may be used uninitialised in this function
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        options.c:975: warning: comparison between signed and unsigned
        options.c:2029: warning: passing argument 1 of ‘gtk_table_attach’ from incompatible pointer type
        options.c:2034: warning: passing argument 1 of ‘gtk_table_attach’ from incompatible pointer type
        options.c:2039: warning: passing argument 1 of ‘gtk_table_attach’ from incompatible pointer type
        options.c:2003: warning: unused variable ‘joystick_frame’
        options.c:2002: warning: unused variable ‘Xinput_trackball_table’
        options.c:2001: warning: unused variable ‘Xinput_trackball_frame’
        options.c:1998: warning: unused variable ‘mouse_frame’
        options.c:1997: warning: unused variable ‘keymaptype_label’
        options.c:1994: warning: unused variable ‘ctrlr_table’
        options.c:1993: warning: unused variable ‘ctrlr_frame’
        options.c:1992: warning: unused variable ‘keymapping_table’
        options.c:1991: warning: unused variable ‘keymapping_frame’
        options.c:1989: warning: unused variable ‘keyboard_frame’
        options.c:2759: warning: assignment discards qualifiers from pointer target type
        options.c:2799: warning: assignment discards qualifiers from pointer target type
        options.c:2813: warning: assignment discards qualifiers from pointer target type
        options.c:2815: warning: assignment discards qualifiers from pointer target type
        options.c:2761: warning: enumeration value ‘XMAME_EXEC_WIN32’ not handled in switch
        options.c:2892: warning: assignment discards qualifiers from pointer target type
        options.c:2897: warning: assignment discards qualifiers from pointer target type
        options.c:2951: warning: assignment discards qualifiers from pointer target type
        options.c:2952: warning: assignment discards qualifiers from pointer target type
        options.c:2953: warning: assignment discards qualifiers from pointer target type
        options.c:2954: warning: assignment discards qualifiers from pointer target type
        options.c:3011: warning: assignment discards qualifiers from pointer target type
        options.c:3016: warning: assignment discards qualifiers from pointer target type
        options.c:3103: warning: enumeration value ‘XMAME_EXEC_WIN32’ not handled in switch
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        options.c:2662: warning: ‘gl_vector_frame’ is used uninitialised in this function
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        options_string.c:1003: warning: assignment from incompatible pointer type
        options_string.c:1017: warning: assignment from incompatible pointer type
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        gui_prefs.c:671: warning: implicit declaration of function ‘g_mkdir’
        gui_prefs.c:671: warning: nested extern declaration of ‘g_mkdir’
        gui_prefs.c:744: warning: implicit declaration of function ‘g_key_file_save_to_file’
        gui_prefs.c:744: warning: nested extern declaration of ‘g_key_file_save_to_file’
        gui_prefs.c:909: warning: passing argument 4 of ‘g_key_file_set_string_list’ from incompatible pointer type
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        gui_prefs_dialog.c:147: warning: assignment from incompatible pointer type
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        network_game.c:512: warning: unused variable ‘rom’
        network_game.c:511: warning: unused variable ‘network_window’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        network_game.c:70: warning: ‘create_network_options_string’ defined but not used
        network_game.c:250: warning: ‘create_network_options_window’ defined but not used
        xmame_executable.c:1045: warning: ‘return’ with no value, in function returning non-void
        xmame_executable.c:1348: warning: ‘return’ with no value, in function returning non-void
        xmame_executable.c:1356: warning: ‘return’ with no value, in function returning non-void
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        mame_options.c:81: warning: no previous prototype for ‘mame_options_get_option_string’
        mame_options.c:89: warning: ‘return’ with no value, in function returning non-void
        mame_options.c:90: warning: ‘return’ with no value, in function returning non-void
        mame_options.c:103: warning: comparison between signed and unsigned
        mame_options.c:124: warning: enumeration value ‘GMAMEUI_PROPERTY_DATA_TYPE_COLOR’ not handled in switch
        mame_options.c:124: warning: enumeration value ‘GMAMEUI_PROPERTY_DATA_TYPE_FONT’ not handled in switch
        mame_options.c:187: warning: passing argument 2 of ‘add_option_to_option_list’ discards qualifiers from pointer target type
        mame_options.c:187: warning: passing argument 3 of ‘add_option_to_option_list’ discards qualifiers from pointer target type
        mame_options.c:197: warning: return type defaults to ‘int’
        mame_options.c:197: warning: no previous prototype for ‘mame_options_generate_custom_settings’
        mame_options.c:202: warning: initialisation from incompatible pointer type
        mame_options.c:227: warning: no previous prototype for ‘mame_options_get_dialog’
        mame_options.c:228: warning: unused variable ‘plugins’
        mame_options.c:282: warning: no previous prototype for ‘mame_options_new’
        mame_options.c:335: warning: passing argument 2 of ‘add_option_to_option_list’ discards qualifiers from pointer target type
        mame_options.c:342: warning: no previous prototype for ‘mame_options_set_double’
        mame_options.c:356: warning: passing argument 2 of ‘add_option_to_option_list’ discards qualifiers from pointer target type
        mame_options.c:435: warning: enumeration value ‘GMAMEUI_PROPERTY_OBJECT_TYPE_TEXT’ not handled in switch
        mame_options.c:435: warning: enumeration value ‘GMAMEUI_PROPERTY_OBJECT_TYPE_FOLDER’ not handled in switch
        mame_options.c:610: warning: enumeration value ‘GMAMEUI_PROPERTY_OBJECT_TYPE_FOLDER’ not handled in switch
        mame_options.c:689: warning: unused variable ‘key_error_msg’
        mame_options.c:1065: warning: implicit declaration of function ‘gmameui_get_icon_from_stock’
        mame_options.c:1065: warning: nested extern declaration of ‘gmameui_get_icon_from_stock’
        mame_options.c:1065: warning: assignment makes pointer from integer without a cast
        mame_options.c:1067: warning: implicit declaration of function ‘mame_options_dialog_add_page’
        mame_options.c:1067: warning: nested extern declaration of ‘mame_options_dialog_add_page’
        mame_options.c:214: warning: control reaches end of non-void function
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        mame_options_dialog.c:80: warning: implicit declaration of function ‘gmameui_cell_renderer_captioned_image_new’
        mame_options_dialog.c:80: warning: nested extern declaration of ‘gmameui_cell_renderer_captioned_image_new’
        mame_options_dialog.c:80: warning: assignment makes pointer from integer without a cast
        mame_options_dialog.c:131: warning: implicit declaration of function ‘strcmp’
        mame_options_dialog.c:235: warning: no previous prototype for ‘mame_options_dialog_add_page’
        common.h:27:1: warning: "_POSIX_C_SOURCE" redefined
        /usr/include/features.h:205:1: warning: this is the location of the previous definition
        callbacks.h:30:35: warning: extra tokens at end of #include directive
        filters_list.c:478: warning: implicit declaration of function ‘memset’
        filters_list.c:478: warning: incompatible implicit declaration of built-in function ‘memset’
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used
        gui.h:196: warning: ‘gmameui_sidebar_set_page’ declared ‘static’ but never defined
        gui.h:199: warning: ‘gmameui_sidebar_set_with_rom’ declared ‘static’ but never defined
        gui.h:202: warning: ‘gmameui_sidebar_set_history’ declared ‘static’ but never defined
        gui.h:205: warning: ‘gmameui_sidebar_set_current_page’ declared ‘static’ but never defined
        filters_list.c:302: warning: ‘filters_list_filter_func’ defined but not used
        filter.c:56: warning: passing argument 1 of ‘g_free’ discards qualifiers from pointer target type
        filter.c:61: warning: passing argument 1 of ‘((struct GObjectClass *)gmameui_filter_parent_class)->finalize’ from incompatible pointer type
        filter.c:73: warning: assignment from incompatible pointer type
        filter.c:172: warning: passing argument 1 of ‘g_free’ discards qualifiers from pointer target type
        rom_entry.h:82: warning: ‘rom_status_string_value’ defined but not used

    I've also found that all the rom state icons disappear either after launching a game or restarting the GUI.

    I really want to get Gmameui working stable so any help would be gratefully received.

    Thanks.

     
    • Andrew Burton

      Andrew Burton - 2008-08-15

      The warnings and compilation errors are fine. A little alarming to newcomers no doubt, but should not cause any issues. I'm working to reduce them, though.

      With regards to the crashes when changing views, you can compile GMAMEUI in debug mode:
      ./configure --enable-debug
      and then if you run from the console, you can get output that makes it easier to debug.

      Alternatively, you can run the following:
      gdb gmameui
      to get a stacktrace that would be even more helpful.

      Without the stracktrace of the debug output, its impossible to know what the specific cause of the crash is.

      Also, which version are you running? The latest is 0.2.4.

       
    • Anonymous

      Anonymous - 2008-08-18

      I've been trying to generate a stacktrace for you but when I make gmameui crash it manages to take the terminal with it.

      At the minute it's a bit hit and miss as to how well it runs. I might start it up and everything will run fine for 5-10 minutes but then it will suddenly close (this is what I mean by it crashing). Alternatively, I might start it up and all my view settings have been forgotten and I'm unable to use the toolbar.

      I've also noticed that the sidebar can sometimes be visible when I start gmameui even though it shows it to be hidden on the toolbar and in the View menu.

      In my first post I stated it crashed when changing views but this isn't always the case. Most of the time it will change views no problem but then suddenly, after a few goes, it crashes. Other times it can be because I expanded or collapsed something in the folder pane. And just yesterday it crashed whilst writing the gamelist file. I know this because it was the last entry in my log file before it crashed and took out the terminal.

      This might not help but I did notice I keep getting errors like this when changing views etc:

      (gdb) ** (gmameui:29908): CRITICAL **: filters_list_selection_changed_cb: assertion `filter != NULL' failed

      I'll keep trying to generate something useful for you but as you can see the problems I'm having are pretty random.

      One last thing... these problems are related to version 0.2.4.

       
      • Andrew Burton

        Andrew Burton - 2008-08-21

        Try moving your .gmameui directory to a different location and having GMAMEUI start with no previous config.

        Can you raise a bug and add the contents of your config file in .gmameui? (gmameui.ini)

        The crashes sound pretty awful. I haven't had anything near as bad as losing the terminal as well.

         
      • Andrew Burton

        Andrew Burton - 2008-08-21

        One other thing to check is to download the latest copy from CVS:

        cvs -d:pserver:anonymous@gmameui.cvs.sourceforge.net:/cvsroot/gmameui login
        cvs -z3 -d:pserver:anonymous@gmameui.cvs.sourceforge.net:/cvsroot/gmameui co -P gmameui

        since I am making a number of changes to address compilation errors.

         
    • Anonymous

      Anonymous - 2008-08-26

      I downloaded a copy from CVS a few days ago and everything seams to be running a bit better but I'm still getting random crashes. I even encountered a seg fault whilst expanding a games clones in Details Tree mode.

      I'll try to remember to post a bug report soon with my config file.

       
    • Andrew Burton

      Andrew Burton - 2008-10-01

      That would be great - without a backtrace and config file, I can't fix the problem, since I am not experiencing the crashes.

      To generate the backtrace:

      ./configure --enable-debug
      make
      gdb src/gmameui

      The config file lives in $HOME/.gmameui/gmameui.ini

       

Log in to post a comment.