#583950 Aisleriot: segmentation fault

Package:
aisleriot
Source:
aisleriot
Description:
GNOME solitaire card game collection
Submitter:
vittorio
Date:
2014-10-11 13:36:08 UTC
Severity:
important
#583950#5
Date:
2010-05-31 20:07:17 UTC
From:
To:
Sol game will segfault on clicking on cards reserve to reveal the three new
cards. If I reveal the three cards by clicking the icon on the toolbar, in this
case sol won't segfault. Happens all the time since a few days, I can't link it
to a particular dist-upgrade.

#583950#10
Date:
2010-06-01 08:03:17 UTC
From:
To:
Le lundi 31 mai 2010 à 22:07 +0200, vittorio a écrit :

We need a backtrace to debug crashes.
See http://wiki.debian.org/HowToGetABacktrace

You can also install bug-buddy, which will generate them for you.

Cheers,

#583950#15
Date:
2010-06-02 22:18:16 UTC
From:
To:
Thanks, here you go:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/games/sol-clutter
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0xb7976fb3 in IA__gdk_window_get_user_data (window=0x229c917, data=0xbfffe9fc)
    at /build/buildd-gtk+2.0_2.20.1-1-i386-Ixfflh/gtk+2.0-2.20.1/gdk/gdkwindow.
c:2203
2203	/build/buildd-gtk+2.0_2.20.1-1-i386-Ixfflh/gtk+2.0-2.20.1/gdk/gdkwindow.
c: No such file or directory.
	in /build/buildd-gtk+2.0_2.20.1-1-i386-Ixfflh/gtk+2.0-2.20.1/gdk/gdkwindow.c
(gdb) bt
#0  0xb7976fb3 in IA__gdk_window_get_user_data (window=0x229c917,
    data=0xbfffe9fc)
    at /build/buildd-gtk+2.0_2.20.1-1-i386-Ixfflh/gtk+2.0-2.20.1/gdk/gdkwindow.
c:2203
#1  0xb7fbc0f4 in ca_gtk_proplist_set_for_event ()
   from /usr/lib/libcanberra-gtk.so.0
#2  0xb7fbc936 in ca_gtk_play_for_event () from /usr/lib/libcanberra-gtk.so.0
#3  0x0806a5ba in ?? ()
#4  0x080591af in ?? ()
#5  0xb7df2eb6 in clutter_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libclutter-glx-1.0.so.0
#6  0xb78347a9 in g_type_class_meta_marshal (closure=0x87e7430,
    return_value=0xbfffeca4, n_param_values=2, param_values=0x0,
    invocation_hint=0xbfffec90, marshal_data=0x90)
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1
/gobject/gclosure.c:878
#7  0xb7836142 in IA__g_closure_invoke (closure=0x8106a10,
    return_value=0xbfffeca4, n_param_values=2, param_values=0x88ba828,
    invocation_hint=0xbfffec90)
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1
/gobject/gclosure.c:767
#8  0xb784c276 in signal_emit_unlocked_R (node=<value optimized out>,
    detail=<value optimized out>, instance=0x8486050,
---Type <return> to continue, or q <return> to quit---
    emission_return=0xbfffedec, instance_and_params=0x88ba828)
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1
/gobject/gsignal.c:3286
#9  0xb784da83 in IA__g_signal_emit_valist (instance=0x8486050,
signal_id=157,
    detail=0, var_args=0xbfffee50 "h\356\377\277")
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1
/gobject/gsignal.c:2991
#10 0xb784e086 in IA__g_signal_emit (instance=0x8486050, signal_id=157,
    detail=0)
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1
/gobject/gsignal.c:3038
#11 0xb7dc9ed6 in clutter_actor_event () from /usr/lib/libclutter-glx-1.0.so.0
#12 0xb7df20ca in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#13 0xb7e05678 in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#14 0xb7df33aa in ?? () from /usr/lib/libclutter-glx-1.0.so.0
#15 0xb77982f5 in g_main_dispatch (context=0x80cb450)
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:
1960
#16 IA__g_main_context_dispatch (context=0x80cb450)
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:
2513
#17 0xb779bfd8 in g_main_context_iterate (context=0x80cb450,
    block=<value optimized out>, dispatch=1, self=0x807b828)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:
2591
#18 0xb779c517 in IA__g_main_loop_run (loop=0x8880938)
    at /build/buildd-glib2.0_2.24.1-1-i386-84Pp4V/glib2.0-2.24.1/glib/gmain.c:
2799
#19 0xb7b06dc9 in IA__gtk_main ()
    at /build/buildd-gtk+2.0_2.20.1-1-i386-Ixfflh/gtk+2.0-2.20.1/gtk/gtkmain.c:
1219
#20 0x080608d7 in ?? ()
#21 0xb7f2c366 in ?? () from /usr/lib/libguile.so.17
#22 0xb7efd082 in ?? () from /usr/lib/libguile.so.17
#23 0xb7f74073 in scm_c_catch () from /usr/lib/libguile.so.17
#24 0xb7efd637 in scm_i_with_continuation_barrier ()
   from /usr/lib/libguile.so.17
#25 0xb7efd713 in scm_c_with_continuation_barrier ()
   from /usr/lib/libguile.so.17
#26 0xb7f72d89 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#27 0xb7f72dde in scm_with_guile () from /usr/lib/libguile.so.17
#28 0xb7f2c2ff in scm_boot_guile () from /usr/lib/libguile.so.17
#29 0x080605ca in ?? ()
#30 0xb7612b55 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#31 0x08053d21 in ?? ()

#583950#24
Date:
2013-08-16 14:06:35 UTC
From:
To:
Dear Maintainer,
I have segmentation fault aisleriot, when click hint (Ctrl+H).

Note that this does not happen in all games.
It constantly happens in the game Forty Thieves.
In other irregular.
Also note that it is in UTF-8 locale.
In the C or POSIX locale no error.

Sorry for my English.

#583950#29
Date:
2013-10-01 09:19:31 UTC
From:
To:
Dear  vittorio <vesposit@libero.it> !

Can you tell me, in what game you have segmentation fault? Aisleriot have too many games, I can not test all of them....

Dear Alex Karabanov <lksj@yandex.ru> !

"I have segmentation fault aisleriot, when click hint (Ctrl+H)."
Thank you for you report :
"In the C or POSIX locale no error."
I download the latest aisleriot (3.10) sources;
I try to change aisleriot locales.(/sources/po/ru.po, uk.po, ...)
I find a temprorary solution:
Delete a strings from 1855 to 2075 in your locales-file(for example, /po/ru.po); - it seems that all translations, which begin with line

#: ../games/api.scm: ...


can make segmentation fault; (so, maybe, we need to delete all lines from 1850 to 2415, all points after "#: ../games/api.scm:"? probably, yes; and we will have "Hints" partially or full in English)
than, you can create a aisleriot.mo file from edited .po; and put it to aisleriot-locales directory;

Dear Josselin Mouette <joss@debian.org>;

By the way, thank you for nice game and especially for "unlimited redeals" in Klondaik! :)

In sources, in folder /po/*.po(in all files with .po extensions; ) delete all strings, from line # 1855 to line #2075(whre exist  translations of different cards, from "the black joker" to "the king of diamonds"); and recompile aisleriot; if somebody will catch the same bug again = file api.scm is too unstable with localization; - in this case, delete all lines from #1850 to #2415(all lines with "api.scm" near), and all hints will be English only;

What a pity, I am not guru, and can not see, why api.scm is not stable with russian and ukrainian locales...

#583950#34
Date:
2014-10-11 13:36:08 UTC
From:
To:
Hey,

this is an old bug.

Could you please still reproduce this issue with newer aisleriot version
like 1:3.14.0-1 ?

I can't reproduce it here with 1:3.14.0-1.

thanks
regards
althaser