games/ace crashes

2019-10-01 Thread Solene Rapenne
on amd64, few days old snap (I can't upgrade now for some reasons..) >From games/ace a lot of binaries produce a segmentation fault: /tmp $ canfield Segmentation fault (core dumped) /tmp $ freecell Segmentation fault (core dumped) /tmp $ golf Segmentation fault (core dumped) /tmp $ solitaire Segm

Re: games/ace crashes

2019-10-01 Thread Anthony J. Bentley
Hi Solene, Solene Rapenne writes: > 0x0ef60c5b99a4 in alloc_synth_image () from /usr/local/lib/libcards.so.0. > 0 > (gdb) bt > #0 0x0ef60c5b99a4 in alloc_synth_image () from /usr/local/lib/libcards.s > o.0.0 > #1 0x0ef60c5b4517 in card_synth () from /usr/local/lib/libcards.so.0.0 > #

Re: games/ace crashes

2019-10-02 Thread Stuart Henderson
Do you get a more useful stack trace if you build it with DEBUG=-g? -- Sent from a phone, apologies for poor formatting. On 1 October 2019 17:05:08 Solene Rapenne wrote: on amd64, few days old snap (I can't upgrade now for some reasons..) From games/ace a lot of binaries produce a segmentat

Re: games/ace crashes

2019-10-02 Thread Solene Rapenne
On Wed, Oct 02, 2019 at 12:40:33AM -0600, Anthony J. Bentley wrote: > Hi Solene, > > Solene Rapenne writes: > > 0x0ef60c5b99a4 in alloc_synth_image () from > > /usr/local/lib/libcards.so.0. > > 0 > > (gdb) bt > > #0 0x0ef60c5b99a4 in alloc_synth_image () from > > /usr/local/lib/libcards

Re: games/ace crashes

2019-10-02 Thread Charlene Wendling
On Tue, 1 Oct 2019 18:04:49 +0200 Solene Rapenne wrote: > on amd64, few days old snap (I can't upgrade now for some reasons..) The build log complains about: imagelib.c:109:17: warning: implicit declaration of function 'malloc' is invalid in C99 [-Wimplicit-function-declaration] Clang uses C11

Re: games/ace crashes

2019-10-02 Thread Solene Rapenne
On Wed, Oct 02, 2019 at 03:40:08PM +0200, Charlene Wendling wrote: > On Tue, 1 Oct 2019 18:04:49 +0200 > Solene Rapenne wrote: > > > on amd64, few days old snap (I can't upgrade now for some reasons..) > > The build log complains about: > > imagelib.c:109:17: warning: implicit declaration of fun