--- Begin Message ---
Package: numptyphysics
Version: 0.2+svn157-0.5
Hello,
I kinda manage to make numptyphysics crash at will.
Steps to reproduce:
* Draw a line on any level, keep left mouse button clicked.
* Use keyboard "up" arrow to reset the level, eventually several times
while still holding mouse button.
* Release mouse button.
Please find attached a backtrace and a full backtrace, obtained with
debuginfod, I hope I proceeded right.
-- 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
Thread 1 "numptyphysics" received signal SIGSEGV, Segmentation fault.
Path::simplify (this=this@entry=0x5555556f5c30, threshold=threshold@entry=1) at
Path.cpp:111
Download failed: Argument invalide. Continuing without source file ./Path.cpp.
111 Path.cpp: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 Path::simplify (this=this@entry=0x5555556f5c30,
threshold=threshold@entry=1) at Path.cpp:111
#1 0x000055555556e187 in Stroke::process (this=0x5555556f5c30) at Scene.cpp:451
#2 Stroke::createBodies (this=this@entry=0x5555556f5c30, world=...) at
Scene.cpp:237
#3 0x000055555556af6c in Scene::activate (s=0x5555556f5c30,
this=0x55555560be80) at Scene.cpp:639
#4 Scene::activate (s=0x5555556f5c30, this=this@entry=0x55555560be80) at
Scene.cpp:636
#5 Scene::activateStroke (this=this@entry=0x55555560be80, s=0x5555556f5c30) at
Scene.cpp:617
#6 0x0000555555570fef in Game::onEvent (this=0x55555560bdf0, ev=...) at
Game.cpp:513
#7 0x00005555555786a9 in Widget::dispatchEvent (ev=..., this=0x55555560be30)
at Ui.cpp:84
#8 Widget::processEvent (ev=..., this=<optimized out>) at Ui.cpp:76
#9 Container::processEvent (this=<optimized out>, ev=...) at Ui.cpp:810
#10 0x0000555555571625 in non-virtual thunk to Game::processEvent(SDL_Event&)
() at Game.cpp:393
#11 0x0000555555578649 in Container::processEvent
(this=this@entry=0x7fffffffe7a0, ev=...) at Ui.cpp:795
#12 0x0000555555574b43 in App::processEvent (ev=..., this=0x7fffffffe7a0) at
App.cpp:276
#13 App::mainLoop (this=0x7fffffffe7a0) at App.cpp:311
#14 0x0000555555573886 in npmain (argc=argc@entry=1,
argv=argv@entry=0x7fffffffe978) at App.cpp:372
#15 0x0000555555562bfb in main (argc=1, argv=0x7fffffffe978) at
OsFreeDesktop.cpp:133
(gdb) bt full
#0 Path::simplify (this=this@entry=0x5555556f5c30,
threshold=threshold@entry=1) at Path.cpp:111
keepflags = <error reading variable keepflags (value requires
1433118224 bytes, which is more than max-value-size)>
k = <optimized out>
#1 0x000055555556e187 in Stroke::process (this=0x5555556f5c30) at Scene.cpp:451
thresh = 1
thresh = <optimized out>
#2 Stroke::createBodies (this=this@entry=0x5555556f5c30, world=...) at
Scene.cpp:237
n = <optimized out>
#3 0x000055555556af6c in Scene::activate (s=0x5555556f5c30,
this=0x55555560be80) at Scene.cpp:639
No locals.
#4 Scene::activate (s=0x5555556f5c30, this=this@entry=0x55555560be80) at
Scene.cpp:636
No locals.
#5 Scene::activateStroke (this=this@entry=0x55555560be80, s=0x5555556f5c30) at
Scene.cpp:617
No locals.
#6 0x0000555555570fef in Game::onEvent (this=0x55555560bdf0, ev=...) at
Game.cpp:513
used = true
#7 0x00005555555786a9 in Widget::dispatchEvent (ev=..., this=0x55555560be30)
at Ui.cpp:84
No locals.
#8 Widget::processEvent (ev=..., this=<optimized out>) at Ui.cpp:76
e = {code = Event::DRAWEND, x = 624, y = 264, c = 0 '\000', mods = 0
'\000', static g_mods = 0 '\000'}
#9 Container::processEvent (this=<optimized out>, ev=...) at Ui.cpp:810
No locals.
#10 0x0000555555571625 in non-virtual thunk to Game::processEvent(SDL_Event&)
() at Game.cpp:393
No symbol table info available.
#11 0x0000555555578649 in Container::processEvent
(this=this@entry=0x7fffffffe7a0, ev=...) at Ui.cpp:795
c = <optimized out>
i = <optimized out>
#12 0x0000555555574b43 in App::processEvent (ev=..., this=0x7fffffffe7a0) at
App.cpp:276
No locals.
#13 App::mainLoop (this=0x7fffffffe7a0) at App.cpp:311
ev = {type = 6 '\006', active = {type = 6 '\006', gain = 0 '\000',
state = 1 '\001'}, key = {type = 6 '\006', which = 0 '\000', state = 1 '\001',
keysym = {scancode = 112 'p', sym = SDLK_UNKNOWN, mod = KMOD_NONE,
unicode = 0}}, motion = {type = 6 '\006', which = 0 '\000', state = 1 '\001',
x = 624, y = 264, xrel = 0, yrel = 0}, button = {type = 6 '\006',
which = 0 '\000', button = 1 '\001', state = 0 '\000', x = 624, y = 264},
jaxis = {type = 6 '\006', which = 0 '\000', axis = 1 '\001', value =
624}, jball = {type = 6 '\006', which = 0 '\000', ball = 1 '\001', xrel = 624,
yrel = 264}, jhat = {type = 6 '\006', which = 0 '\000', hat = 1
'\001', value = 0 '\000'}, jbutton = {type = 6 '\006', which = 0 '\000',
button = 1 '\001', state = 0 '\000'}, resize = {type = 6 '\006', w
= 17302128, h = 0}, expose = {type = 6 '\006'}, quit = {type = 6 '\006'},
user = {type = 6 '\006', code = 17302128, data1 = 0x0, data2 = 0x0},
syswm = {type = 6 '\006', msg = 0x0}}
sleepMs = <optimized out>
iterationRate = 60
iterateCounter = 0
lastTick = 12652
isComplete = false
#14 0x0000555555573886 in npmain (argc=argc@entry=1,
argv=argv@entry=0x7fffffffe978) at App.cpp:372
--Type <RET> for more, q to quit, c to continue without paging--
app = {<Container> = {<WidgetParent> = {<Widget> = {_vptr.Widget =
0x5555555af370 <vtable for App+16>, m_parent = 0x0,
m_eventMap = 0x5555555c1740
<Os::getEventMap(EventMapType)::appMap>, m_pos = {tl = {x = 0, y = 0}, br = {x
= 800, y = 480}}, m_dirty = false,
m_focussed = false, m_alpha = 0, m_fitToParent = false,
m_greedyMouse = false, m_bg = 3158064, m_fg = 16317688,
m_border = 0}, <No data fields>}, m_children = {m_data =
0x555555713ae0, m_size = 1, m_capacity = 4}}, m_width = 800, m_height = 480,
m_rotate = false, m_thumbnailMode = false, m_videoMode = false,
m_testOp = "", m_quit = false, m_drawFps = false, m_drawDirty = false,
m_renderRate = 60, m_files = {m_data = 0x5555555d4f60, m_size = 0,
m_capacity = 0}, m_window = 0x5555555f06f0}
#15 0x0000555555562bfb in main (argc=1, argv=0x7fffffffe978) at
OsFreeDesktop.cpp:133
No locals.
--- End Message ---