Bug#982631: aborts on assertion failure at end of game

John Scott jscott at posteo.net
Fri Feb 12 17:37:46 GMT 2021


Package: gnome-nibbles
Version: 1:3.38.1-1
Severity: normal

When you run out of lives at the end of the game, instead of showing
the scores or some more user-friendly behavior, the window immediately
closes with an assertion failure:

ERROR:linkedlist.c:1169:gee_linked_list_real_get: assertion failed: (index < this._size)
Bail out! ERROR:linkedlist.c:1169:gee_linked_list_real_get: assertion failed: (index < this._size)

The game feels rather pointless without being able to see previous
scores. Here's the backtrace:
#0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff6ef2537 in __GI_abort () at abort.c:79
#2  0x00007ffff7961dcc in g_assertion_message
    (domain=<optimized out>, file=0x7ffff7150366 "linkedlist.c", line=<optimized out>, func=<optimized out>, message=<optimized out>)
    at ../../../glib/gtestutils.c:2937
#3  0x00007ffff79bf2cb in g_assertion_message_expr
    (domain=domain at entry=0x0, file=file at entry=0x7ffff7150366 "linkedlist.c", line=line at entry=1169, func=func at entry=0x7ffff7149970 <__func__.15217> "gee_linked_list_real_get", expr=expr at entry=0x7ffff71494f8 "index < this._size") at ../../../glib/gtestutils.c:2963
#4  0x00007ffff70fea81 in gee_linked_list_real_get (base=0x555555dfa650 [GeeLinkedList], index=<optimized out>) at linkedlist.c:1169
#5  0x0000555555571eb1 in player_score_box_update_lives (self=self at entry=0x555555c592f0 [PlayerScoreBox], lives_left=lives_left at entry=0 '\000')
    at src/gnome-nibbles.p/scoreboard.c:575
#6  0x00005555555720a7 in player_score_box_update (lives_left=0 '\000', score=<optimized out>, self=0x555555c592f0 [PlayerScoreBox])
    at src/gnome-nibbles.p/scoreboard.c:526
#7  scoreboard_update (self=<optimized out>) at src/gnome-nibbles.p/scoreboard.c:278
#11 0x00007ffff7aa2c3f in <emit signal notify:lives on instance 0x555555de4530 [Worm]>
    (instance=instance at entry=0x555555de4530, signal_id=<optimized out>, detail=<optimized out>) at ../../../gobject/gsignal.c:3551
    #8  0x00007ffff7a8a0a2 in g_closure_invoke
    (closure=0x555555f26a00, return_value=return_value at entry=0x0, n_param_values=2, param_values=param_values at entry=0x7fffffffdb60, invocation_hint=invocation_hint at entry=0x7fffffffdae0) at ../../../gobject/gclosure.c:810
    #9  0x00007ffff7a9c413 in signal_emit_unlocked_R
    (node=node at entry=0x5555555a8c00, detail=detail at entry=2012, instance=instance at entry=0x555555de4530, emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7fffffffdb60) at ../../../gobject/gsignal.c:3739
    #10 0x00007ffff7aa26cf in g_signal_emit_valist
    (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args at entry=0x7fffffffdd00)
    at ../../../gobject/gsignal.c:3495
#12 0x00007ffff7a8e804 in g_object_dispatch_properties_changed (object=0x555555de4530 [Worm], n_pspecs=<optimized out>, pspecs=<optimized out>)
    at ../../../gobject/gobject.c:1206
#13 0x00007ffff7a907ca in g_object_notify_by_spec_internal (pspec=<optimized out>, object=0x555555de4530 [Worm])
    at ../../../gobject/gobject.c:1299
#14 g_object_notify_by_pspec (object=0x555555de4530 [Worm], pspec=<optimized out>) at ../../../gobject/gobject.c:1409
#15 0x000055555557620e in worm_lose_life (self=0x555555de4530 [Worm]) at src/gnome-nibbles.p/worm.c:1469
#16 worm_reset (self=self at entry=0x555555de4530 [Worm], board=0x555555b85800, board_length1=92, board_length2=66) at src/gnome-nibbles.p/worm.c:1489
#17 0x0000555555563f64 in nibbles_game_move_worms (self=<error reading variable: value has been optimized out>) at src/gnome-nibbles.p/nibbles-game.c:2028
#18 nibbles_game_main_loop_cb (self=<error reading variable: value has been optimized out>) at src/gnome-nibbles.p/nibbles-game.c:1253
#19 __lambda5_ (self=<error reading variable: value has been optimized out>) at src/gnome-nibbles.p/nibbles-game.c:1062
#20 ___lambda5__gsource_func (self=<error reading variable: value has been optimized out>) at src/gnome-nibbles.p/nibbles-game.c:1070
#21 0x00007ffff79978c4 in g_timeout_dispatch (source=0x5555568b9d30, callback=<optimized out>, user_data=<optimized out>) at ../../../glib/gmain.c:4877
#22 0x00007ffff7996d3f in g_main_dispatch (context=0x5555555b50d0) at ../../../glib/gmain.c:3325
#23 g_main_context_dispatch (context=0x5555555b50d0) at ../../../glib/gmain.c:4043
#24 0x00007ffff79970e8 in g_main_context_iterate (context=context at entry=0x5555555b50d0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
#25 0x00007ffff799719f in g_main_context_iteration (context=context at entry=0x5555555b50d0, may_block=may_block at entry=1) at ../../../glib/gmain.c:4184
#26 0x00007ffff7d2c545 in g_application_run (application=application at entry=0x5555555b3100 [Nibbles], argc=-8060, argc at entry=1, argv=argv at entry=0x7fffffffe1e8) at ../../../gio/gapplication.c:2559
#27 0x0000555555561468 in nibbles_main (args=0x7fffffffe1e8, args_length1=1) at src/gnome-nibbles.p/gnome-nibbles.c:194
#28 0x00007ffff6ef3d0a in __libc_start_main (main=0x55555555d4b0 <main>, argc=1, argv=0x7fffffffe1e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe1d8) at ../csu/libc-start.c:308
#29 0x000055555555d4ea in _start ()

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (2, 'unstable'), (1, 'testing-
debug'),(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-nibbles depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.38.0-2
ii  libc6                                        2.31-9
ii  libclutter-1.0-0                             1.26.4+dfsg-2
ii  libclutter-gtk-1.0-0                         1.8.4-4
ii  libgdk-pixbuf2.0-0                           2.40.2-2
ii  libgee-0.8-2                                 0.20.3-1
ii  libglib2.0-0                                 2.66.6-2
ii  libgnome-games-support-1-3                   1.8.0-1
ii  libgsound0                                   1.0.2-5
ii  libgtk-3-0                                   3.24.24-1
ii  libpango-1.0-0                               1.46.2-3

Versions of packages gnome-nibbles recommends:
ii  yelp  3.38.2-1

gnome-nibbles suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20210212/b6b37fe2/attachment.sig>


More information about the pkg-gnome-maintainers mailing list