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 <[email protected]> wrote:

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
Segmentation fault (core dumped)
/tmp $ taipedit
Segmentation fault (core dumped)
/tmp $ thornq
Segmentation fault (core dumped)
/tmp $ taipei
Segmentation fault (core dumped)




an egdb stacktrace for solitaire shows


0x00000ef60c5b99a4 in alloc_synth_image () from /usr/local/lib/libcards.so.0.0
(gdb) bt
#0 0x00000ef60c5b99a4 in alloc_synth_image () from /usr/local/lib/libcards.so.0.0
#1  0x00000ef60c5b4517 in card_synth () from /usr/local/lib/libcards.so.0.0
#2 0x00000ef60c5b737b in stack_set_card_size () from /usr/local/lib/libcards.so.0.0
#3  0x00000ef3e3104cbe in ?? ()
#4  0x00000ef60c5b3385 in table_loop () from /usr/local/lib/libcards.so.0.0
#5  0x00000ef3e31033bb in ?? ()
#6  0x00000ef3e310313b in ?? ()
#7  0x0000000000000000 in ?? ()




for taipei


0x00001107a0e0b9a4 in alloc_synth_image () from /usr/local/lib/libcards.so.0.0
(gdb)
(gdb) bt
#0 0x00001107a0e0b9a4 in alloc_synth_image () from /usr/local/lib/libcards.so.0.0
#1  0x00001105a020704f in ?? ()
#2  0x00001105a0206a04 in ?? ()
#3  0x00001107a0e05385 in table_loop () from /usr/local/lib/libcards.so.0.0
#4  0x00001105a02053b9 in ?? ()
#5  0x00001105a020513b in ?? ()
#6  0x0000000000000000 in ?? ()


for golf


0x0000130c0bd869a4 in alloc_synth_image () from /usr/local/lib/libcards.so.0.0
(gdb)
(gdb) bt
#0 0x0000130c0bd869a4 in alloc_synth_image () from /usr/local/lib/libcards.so.0.0
#1  0x0000130c0bd81517 in card_synth () from /usr/local/lib/libcards.so.0.0
#2 0x0000130c0bd8437b in stack_set_card_size () from /usr/local/lib/libcards.so.0.0
#3  0x000013095bc02df5 in ?? ()
#4  0x0000130c0bd80385 in table_loop () from /usr/local/lib/libcards.so.0.0
#5  0x000013095bc0239a in ?? ()
#6  0x000013095bc0213b in ?? ()
#7  0x0000000000000000 in ?? ()



Reply via email to