Bug#873670: supertuxkart: Segmentation Fault in MusicInformation::isPlaying

Ben Longbons brlongbons at gmail.com
Tue Aug 29 23:10:42 UTC 2017


Package: supertuxkart
Version: 0.9.2+dfsg-2
Severity: important

Dear Maintainer,

For me, this occurred during extended play, in story mode, during the
3rd grand prix "to the moon and back", at the very start of the last
race (huh ...  STK keeps grand prix progress on crash), but it is
(naturally) not reproducible.

Unlike most SEGVs, this is a call through a NULL function pointer.

$ coredumpctl gdb supertuxkart
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
           PID: 27135 (supertuxkart)
           UID: 1000 (ben)
           GID: 1000 (ben)
        Signal: 11 (SEGV)
     Timestamp: Tue 2017-08-29 15:43:51 PDT (9min ago)
  Command Line: /usr/games/supertuxkart
    Executable: /usr/games/supertuxkart
 Control Group: /user.slice/user-1000.slice/session-5.scope
          Unit: session-5.scope
         Slice: user-1000.slice
       Session: 5
     Owner UID: 1000 (ben)
       Boot ID: b567089063994f90b206df689d65a202
    Machine ID: a9f5005691f11289cd92098b52b4f3f9
      Hostname: joyplim
       Storage: /var/lib/systemd/coredump/core.supertuxkart.1000.b567089063994f90b206df689d65a202.27135.1504046631000000.lz4
       Message: Process 27135 (supertuxkart) of user 1000 dumped core.

                Stack trace of thread 27135:
                #0  0x0000000000000000 n/a (n/a)

GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/games/supertuxkart...(no debugging symbols found)...done.
[New LWP 27135]
[New LWP 27163]
[New LWP 27149]
[New LWP 27147]
[New LWP 27148]
[New LWP 27153]
[New LWP 27159]
[New LWP 27146]
[New LWP 27158]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: Could not find DWO CU gallivm/.libs/lp_bld_debug.dwo(0x705e1d0e169ca1fe) referenced by CU at offset 0x14078a9 [in module /usr/lib/debug/.build-id/62/a543423306e4787e29a78fbd94c9a2cdf8ff3d.debug]

warning: Could not find DWO CU gallivm/.libs/lp_bld_misc.dwo(0x3f68ad1a054cd591) referenced by CU at offset 0x1422424 [in module /usr/lib/debug/.build-id/62/a543423306e4787e29a78fbd94c9a2cdf8ff3d.debug]
Core was generated by `/usr/games/supertuxkart'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
[Current thread is 1 (Thread 0x7f44fc0ea800 (LWP 27135))]
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x000055f45bc06cc6 in MusicInformation::isPlaying() const ()
#2  0x000055f45be1f811 in WorldStatus::update(float) ()
#3  0x000055f45be1a9aa in World::update(float) ()
#4  0x000055f45be0d7ec in LinearWorld::update(float) ()
#5  0x000055f45be1c31c in World::updateWorld(float) ()
#6  0x000055f45be06e90 in MainLoop::run() ()
#7  0x000055f45bbc3f96 in main ()
(gdb) up
#1  0x000055f45bc06cc6 in MusicInformation::isPlaying() const ()
(gdb) disassemble
Dump of assembler code for function _ZNK16MusicInformation9isPlayingEv:
   0x000055f45bc06cb0 <+0>:     push   rbx
   0x000055f45bc06cb1 <+1>:     mov    rbx,rdi
   0x000055f45bc06cb4 <+4>:     mov    rdi,QWORD PTR [rdi+0x98]
   0x000055f45bc06cbb <+11>:    test   rdi,rdi
   0x000055f45bc06cbe <+14>:    je     0x55f45bc06cca <_ZNK16MusicInformation9isPlayingEv+26>
   0x000055f45bc06cc0 <+16>:    mov    rax,QWORD PTR [rdi]
   0x000055f45bc06cc3 <+19>:    call   QWORD PTR [rax+0x40]
=> 0x000055f45bc06cc6 <+22>:    test   al,al
   0x000055f45bc06cc8 <+24>:    jne    0x55f45bc06ce8 <_ZNK16MusicInformation9isPlayingEv+56>
   0x000055f45bc06cca <+26>:    mov    rdi,QWORD PTR [rbx+0xa0]
   0x000055f45bc06cd1 <+33>:    xor    eax,eax
   0x000055f45bc06cd3 <+35>:    test   rdi,rdi
   0x000055f45bc06cd6 <+38>:    je     0x55f45bc06ce8 <_ZNK16MusicInformation9isPlayingEv+56>
   0x000055f45bc06cd8 <+40>:    mov    rax,QWORD PTR [rdi]
   0x000055f45bc06cdb <+43>:    pop    rbx
   0x000055f45bc06cdc <+44>:    mov    rax,QWORD PTR [rax+0x40]
   0x000055f45bc06ce0 <+48>:    jmp    rax
   0x000055f45bc06ce2 <+50>:    nop    WORD PTR [rax+rax*1+0x0]
   0x000055f45bc06ce8 <+56>:    pop    rbx
   0x000055f45bc06ce9 <+57>:    ret
End of assembler dump.

(as usual, RIP is pointing to where it *would* be if the function returned)

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

Kernel: Linux 4.12.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages supertuxkart depends on:
ii  libbluetooth3             5.45-1
ii  libbz2-1.0                1.0.6-8.1
ii  libc6                     2.24-14
ii  libcurl3-gnutls           7.55.0-1
ii  libenet7                  1.3.12+ds-2+b1
ii  libfreetype6              2.8-0.2
ii  libfribidi0               0.19.7-1+b1
ii  libgcc1                   1:7.2.0-1
ii  libgl1-mesa-glx [libgl1]  13.0.6-1+b2
ii  libglu1-mesa [libglu1]    9.0.0-2.1
ii  libgomp1                  7.2.0-1
ii  libjpeg62-turbo           1:1.5.1-2
ii  libogg0                   1.3.2-1+b1
ii  libopenal1                1:1.17.2-4+b2
ii  libpng16-16               1.6.31-1
ii  libstdc++6                7.2.0-1
ii  libvorbis0a               1.3.5-4
ii  libvorbisfile3            1.3.5-4
ii  libx11-6                  2:1.6.4-3
ii  libxext6                  2:1.3.3-1+b2
ii  libxrandr2                2:1.5.1-1
ii  supertuxkart-data         0.9.2+dfsg-2
ii  zlib1g                    1:1.2.8.dfsg-5

supertuxkart recommends no packages.

supertuxkart suggests no packages.

-- no debconf information



More information about the Pkg-games-devel mailing list