FS#35279 - [gnome-chess] segfault on gnome-chess 3.8.2-1

Attached to Project: Arch Linux
Opened by Luis Henrique Mello (lmello) - Tuesday, 14 May 2013, 17:05 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 16 May 2013, 13:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This build segfaults upon starting.

Additional info:
* gnome-chess 3.8.2-1
* gdb output:

Starting program: /usr/bin/gnome-chess /usr/bin/gnome-chess
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffeaecc700 (LWP 1462)]
[New Thread 0x7fffe91e1700 (LWP 1463)]
1.1: error: Unexpected character

^

Program received signal SIGSEGV, Segmentation fault.
0x000000000041280c in ?? ()

This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 16 May 2013, 13:42 GMT
Reason for closing:  Upstream
Additional comments about closing:  gnome-chess can segfault when no AIs (such as gnuchess) are installed. This should get fixed upstream.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 14 May 2013, 20:32 GMT
Works for me.
Comment by Luis Henrique Mello (lmello) - Wednesday, 15 May 2013, 05:47 GMT
User gpdas has had this problem also, albeit with a different gdb output:

Thread 3 (Thread 0x7fffe9169700 (LWP 27475)):
#0 0x00007ffff519208d in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ffff64ae1f4 in g_main_context_iterate.isra.22 () from /usr/lib/libglib-2.0.so.0
#2 0x00007ffff64ae2fc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007fffe91709fd in dconf_gdbus_worker_thread (user_data=0x757960) at dconf-gdbus-thread.c:81
#4 0x00007ffff64d2245 in g_thread_proxy () from /usr/lib/libglib-2.0.so.0
#5 0x00007ffff5469dd2 in start_thread (arg=0x7fffe9169700) at pthread_create.c:308
#6 0x00007ffff519acdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fffeae41700 (LWP 27474)):
#0 0x00007ffff519208d in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ffff64ae1f4 in g_main_context_iterate.isra.22 () from /usr/lib/libglib-2.0.so.0
#2 0x00007ffff64ae65a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0x00007ffff6c9d166 in gdbus_shared_thread_func () from /usr/lib/libgio-2.0.so.0
#4 0x00007ffff64d2245 in g_thread_proxy () from /usr/lib/libglib-2.0.so.0
#5 0x00007ffff5469dd2 in start_thread (arg=0x7fffeae41700) at pthread_create.c:308
#6 0x00007ffff519acdd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ffff7fa88c0 (LWP 27470)):
#0 application_start_new_game (self=0x880160) at gnome-chess.c:6178
#1 0x0000000000414bc9 in application_real_startup (base=0x880160) at gnome-chess.c:1303
#2 0x00007ffff6774687 in _g_closure_invoke_va () from /usr/lib/libgobject-2.0.so.0
#3 0x00007ffff678c778 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#4 0x00007ffff678d462 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff6c6c49a in g_application_register () from /usr/lib/libgio-2.0.so.0
#6 0x00007ffff6c6c7d8 in g_application_real_local_command_line () from /usr/lib/libgio-2.0.so.0
#7 0x00007ffff6c6ca9c in g_application_run () from /usr/lib/libgio-2.0.so.0
#8 0x0000000000417c8e in gnome_chess_main (args=0x7fffffffe788, args_length1=1) at gnome-chess.c:6489
#9 0x00007ffff50d6a15 in __libc_start_main (main=0x40dd50 <main>, argc=1, ubp_av=0x7fffffffe788, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe778) at libc-start.c:258
#10 0x000000000040dd99 in _start () at ../sysdeps/x86_64/start.S:123
Comment by gpdas (gpdas) - Wednesday, 15 May 2013, 17:35 GMT
it still segfaults for me. reported it upstream https://bugzilla.gnome.org/show_bug.cgi?id=700330 .

in gnome-chess.install, is '/' missing before 'usr'?

post_install() {
glib-compile-schemas usr/share/glib-2.0/schemas
update-desktop-database -q
gtk-update-icon-cache -f -q usr/share/icons/hicolor
}
Comment by Jan Alexander Steffens (heftig) - Wednesday, 15 May 2013, 17:50 GMT
No, the paths are fine.
Comment by gpdas (gpdas) - Thursday, 16 May 2013, 13:38 GMT
Luis, do you have any chess AIs like gnuchess installed in the machine?

as per suggestion at the upstream bug request, by changing the opponent in the dconf (org.gnome.gnome-chess.opponent) to "GNUChess" or anything rather than "", will enable get out of the segfault. Once this is done, it will start working.

Loading...