This happens either with no config when you answer “yes” to the mame binary path prompt, or when you answer “no” and go to Options → Directories afterwards. Tested on Fedora 11 x86_64. Backtrace is attached.
Hmm, I have good news and bad news. The good news is that the same x86_64 build works on Fedora 12 x86_64. The bad news is I am thus no longer able to reproduce the issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
#0 __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
#1 0x0000003837a61d12 in g_strdup (str=0x1 <Address 0x1 out of bounds>) at gstrfuncs.c:99
#2 0x0000003f1a88db85 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#3 0x0000003f1a889ca6 in gtk_builder_add_objects_from_file () from /usr/lib64/libgtk-x11-2.0.so.0
#4 0x000000000041b1fd in mame_directories_dialog_init (dialog=0x86ca90 [MameDirectoriesDialog])
at directories.c:170
the line 170 , seems that is here:
if (!gtk_builder_add_objects_from_file (priv->builder,
GLADEDIR "directories.builder",
(gchar **) object_names,
&error)) {
#5 0x0000003839a31e13 in g_type_create_instance (type=9735264) at gtype.c:1892
#6 0x0000003839a1202c in g_object_constructor (type=<optimized out>, n_construct_properties=2,
construct_params=0x8b7b30) at gobject.c:1629
#7 0x000000000041b157 in mame_directories_dialog_constructor (type=9735264, n_construct_properties=
2, construct_properties=0x8b7b30) at directories.c:102
#8 0x0000003839a14914 in g_object_newv (object_type=<optimized out>, n_parameters=7702080,
parameters=<optimized out>) at gobject.c:1493
#9 0x0000003839a157e6 in g_object_new_valist (object_type=9735264,
first_property_name=<optimized out>, var_args=0x7fffffffd8c8) at gobject.c:1610
#10 0x0000003839a15af4 in g_object_new (object_type=9735264, first_property_name=0x434ef1 "title")
at gobject.c:1325
#11 0x000000000041bc49 in mame_directories_dialog_new (parent=0x69d250 [GtkWindow])
at directories.c:423
#12 0x000000000040ca1a in main (argc=1, argv=0x7fffffffdaf8) at gmameui.c:142
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
39 movdqu (%rdi), %xmm1
(gdb) bt
#0 __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
#1 0x0000003837a61d12 in g_strdup (str=0x1 <Address 0x1 out of bounds>) at gstrfuncs.c:99
#2 0x0000003f1a88db85 in _gtk_builder_parser_parse_buffer (builder=0x940940 [GtkBuilder], filename=
0x4356d0 "/usr/share/gmameui/glade/directories.builder", buffer=
0x9819f0 "<?xml version=\"1.0\"?>\n<interface>\n <!-- interface-requires gtk+ 2.12 -->\n <!-- interface-naming-policy toplevel-contextual -->\n <object class=\"GtkDialog\" id=\"directories_selection\">\n <property n"..., length=82501, requested_objs=<optimized out>, error=0x7fffffffd3b8)
at gtkbuilderparser.c:1149
#3 0x0000003f1a889ca6 in IA__gtk_builder_add_objects_from_file (builder=0x940940 [GtkBuilder],
filename=0x4356d0 "/usr/share/gmameui/glade/directories.builder", object_ids=0x7fffffffd450,
error=0x7fffffffd470) at gtkbuilder.c:745
#4 0x000000000041b1fd in mame_directories_dialog_init (dialog=0x86ca90 [MameDirectoriesDialog])
at directories.c:170
#5 0x0000003839a31e13 in g_type_create_instance (type=9948992) at gtype.c:1892
#6 0x0000003839a1202c in g_object_constructor (type=<optimized out>, n_construct_properties=2,
construct_params=0x8b7910) at gobject.c:1629
#7 0x000000000041b157 in mame_directories_dialog_constructor (type=9948992, n_construct_properties=
2, construct_properties=0x8b7910) at directories.c:102
#8 0x0000003839a14914 in g_object_newv (object_type=<optimized out>, n_parameters=7989408,
parameters=<optimized out>) at gobject.c:1493
#9 0x0000003839a157e6 in g_object_new_valist (object_type=9948992,
first_property_name=<optimized out>, var_args=0x7fffffffd8c8) at gobject.c:1610
#10 0x0000003839a15af4 in g_object_new (object_type=9948992, first_property_name=0x434ef1 "title")
at gobject.c:1325
#11 0x000000000041bc49 in mame_directories_dialog_new (parent=0x69d250 [GtkWindow])
at directories.c:423
---Type <return> to continue, or q <return> to quit---
#12 0x000000000040ca1a in main (argc=1, argv=0x7fffffffdaf8) at gmameui.c:142
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
both mentioned backtraces. First one from a yes answer, second one from no and going to options → dirs
I need a bit more information to help with this.
Looks like you're running 64 bit; did you compile/install from source, or did you use a repository (Fedora/Ubuntu/Debian/etc)?
Also, is the /usr/share/gmameui/glade/directories.builder file installed? There should be a number of .glade and .builder files in that directory.
Sorry - you mentioned Fedora x64 in the original post, I missed it.
Can you confirm that the .glade and .builder files are there?
I'm using an RPM, but I built it myself - I was trying to update it to the latest gmameui version.
$ rpm -ql gmameui | grep glade
/usr/share/gmameui/glade
/usr/share/gmameui/glade/audit_window.glade
/usr/share/gmameui/glade/directories.builder
/usr/share/gmameui/glade/filter_bar.glade
/usr/share/gmameui/glade/gmameui_prefs.glade
/usr/share/gmameui/glade/options.glade
/usr/share/gmameui/glade/options_legacy.glade
/usr/share/gmameui/glade/rom_info.builder
/usr/share/gmameui/glade/sidebar.glade
In case that matters, the same RPM built for i586 works. So it seems the problem is x86_64-related.
Hmm, I have good news and bad news. The good news is that the same x86_64 build works on Fedora 12 x86_64. The bad news is I am thus no longer able to reproduce the issue.
still the same on Fedora 16 x86_64
#0 __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
#1 0x0000003837a61d12 in g_strdup (str=0x1 <Address 0x1 out of bounds>) at gstrfuncs.c:99
#2 0x0000003f1a88db85 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#3 0x0000003f1a889ca6 in gtk_builder_add_objects_from_file () from /usr/lib64/libgtk-x11-2.0.so.0
#4 0x000000000041b1fd in mame_directories_dialog_init (dialog=0x86ca90 [MameDirectoriesDialog])
at directories.c:170
the line 170 , seems that is here:
if (!gtk_builder_add_objects_from_file (priv->builder,
GLADEDIR "directories.builder",
(gchar **) object_names,
&error)) {
#5 0x0000003839a31e13 in g_type_create_instance (type=9735264) at gtype.c:1892
#6 0x0000003839a1202c in g_object_constructor (type=<optimized out>, n_construct_properties=2,
construct_params=0x8b7b30) at gobject.c:1629
#7 0x000000000041b157 in mame_directories_dialog_constructor (type=9735264, n_construct_properties=
2, construct_properties=0x8b7b30) at directories.c:102
#8 0x0000003839a14914 in g_object_newv (object_type=<optimized out>, n_parameters=7702080,
parameters=<optimized out>) at gobject.c:1493
#9 0x0000003839a157e6 in g_object_new_valist (object_type=9735264,
first_property_name=<optimized out>, var_args=0x7fffffffd8c8) at gobject.c:1610
#10 0x0000003839a15af4 in g_object_new (object_type=9735264, first_property_name=0x434ef1 "title")
at gobject.c:1325
#11 0x000000000041bc49 in mame_directories_dialog_new (parent=0x69d250 [GtkWindow])
at directories.c:423
#12 0x000000000040ca1a in main (argc=1, argv=0x7fffffffdaf8) at gmameui.c:142
other back trace:
Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
39 movdqu (%rdi), %xmm1
(gdb) bt
#0 __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:39
#1 0x0000003837a61d12 in g_strdup (str=0x1 <Address 0x1 out of bounds>) at gstrfuncs.c:99
#2 0x0000003f1a88db85 in _gtk_builder_parser_parse_buffer (builder=0x940940 [GtkBuilder], filename=
0x4356d0 "/usr/share/gmameui/glade/directories.builder", buffer=
0x9819f0 "<?xml version=\"1.0\"?>\n<interface>\n <!-- interface-requires gtk+ 2.12 -->\n <!-- interface-naming-policy toplevel-contextual -->\n <object class=\"GtkDialog\" id=\"directories_selection\">\n <property n"..., length=82501, requested_objs=<optimized out>, error=0x7fffffffd3b8)
at gtkbuilderparser.c:1149
#3 0x0000003f1a889ca6 in IA__gtk_builder_add_objects_from_file (builder=0x940940 [GtkBuilder],
filename=0x4356d0 "/usr/share/gmameui/glade/directories.builder", object_ids=0x7fffffffd450,
error=0x7fffffffd470) at gtkbuilder.c:745
#4 0x000000000041b1fd in mame_directories_dialog_init (dialog=0x86ca90 [MameDirectoriesDialog])
at directories.c:170
#5 0x0000003839a31e13 in g_type_create_instance (type=9948992) at gtype.c:1892
#6 0x0000003839a1202c in g_object_constructor (type=<optimized out>, n_construct_properties=2,
construct_params=0x8b7910) at gobject.c:1629
#7 0x000000000041b157 in mame_directories_dialog_constructor (type=9948992, n_construct_properties=
2, construct_properties=0x8b7910) at directories.c:102
#8 0x0000003839a14914 in g_object_newv (object_type=<optimized out>, n_parameters=7989408,
parameters=<optimized out>) at gobject.c:1493
#9 0x0000003839a157e6 in g_object_new_valist (object_type=9948992,
first_property_name=<optimized out>, var_args=0x7fffffffd8c8) at gobject.c:1610
#10 0x0000003839a15af4 in g_object_new (object_type=9948992, first_property_name=0x434ef1 "title")
at gobject.c:1325
#11 0x000000000041bc49 in mame_directories_dialog_new (parent=0x69d250 [GtkWindow])
at directories.c:423
---Type <return> to continue, or q <return> to quit---
#12 0x000000000040ca1a in main (argc=1, argv=0x7fffffffdaf8) at gmameui.c:142
I found that is fixed on cvs (gmameui/gmameui)
you may check http://www.serjux.com/gmameui/ or later in rpmfusion.org I hope.
all modifications I'm putting here: https://github.com/sergiomb2/gmameui