Package: numptyphysics
Version: 0.2+svn157-0.5
Severity: normal

Hello,

numptyphysics crashes when starting from the command line with an argument, 
i.e.:

    numptyphysics --help # or anything

backtrace attached.

Bye,

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 numptyphysics depends on:
ii  fonts-femkeklaver  1.0-3
ii  libc6              2.32-4
ii  libfontconfig1     2.13.1-4.2
ii  libgcc-s1          11.2.0-10
ii  libsdl-image1.2    1.2.12-12
ii  libsdl-ttf2.0-0    2.0.11-6
ii  libsdl1.2debian    1.2.15+dfsg2-6
ii  libstdc++6         11.2.0-10
ii  libx11-6           2:1.7.2-2+b1
ii  zlib1g             1:1.2.11.dfsg-2

numptyphysics recommends no packages.

numptyphysics suggests no packages.

-- no debconf information
(gdb) run
Starting program: /usr/games/numptyphysics afezf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff628a640 (LWP 278047)]
STATS:  time=17100ms
        strokes=0 (0 paused, 0 undone)
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 18446744073709551615) > 
this->size() (which is 3)

Thread 1 "numptyphysics" received signal SIGABRT, Aborted.
0x00007ffff784ce71 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff784ce71 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff7836536 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff7bfd87a in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff7c0905a in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff7c090c5 in std::terminate() () from 
/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff7c09359 in __cxa_throw () from 
/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff7c0028c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x0000555555569817 in std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> >::_M_check (
    __s=0x55555559b193 "basic_string::substr", __pos=<optimized out>, 
this=0x7fffffffe580) at /usr/include/c++/10/bits/basic_string.h:313
#8  std::__cxx11::basic_string<char, std::char_traits<char>, 
std::allocator<char> >::substr (__n=18446744073709551615, __pos=<optimized 
out>, 
    this=0x7fffffffe580) at /usr/include/c++/10/bits/basic_string.h:2835
#9  Levels::demoName[abi:cxx11](int) (this=0x555555607830, l=0) at 
Levels.cpp:309
#10 0x0000555555571b24 in Game::saveDemo (this=0x55555560c810) at Game.cpp:178
#11 Game::onTick (this=0x55555560c810, tick=17100) at Game.cpp:334
#12 0x00005555555766bd in Container::onTick (this=0x7fffffffe790, tick=17100) 
at Ui.cpp:767
#13 0x00005555555749dc in App::mainLoop (this=0x7fffffffe790) at App.cpp:307
#14 0x0000555555573886 in npmain (argc=argc@entry=2, 
argv=argv@entry=0x7fffffffe968) at App.cpp:372
#15 0x0000555555562bfb in main (argc=2, argv=0x7fffffffe968) at 
OsFreeDesktop.cpp:133

Reply via email to