[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-ports
Subject: Re: New: games/numptyphysics
From: David Coppa <dcoppa () gmail ! com>
Date: 2009-01-29 8:12:38
Message-ID: a6e8c9420901290012j6a69ac2cr3586677075e8cab1 () mail ! gmail ! com
[Download RAW message or body]
I'm not sparc expert at all but I'd suspect endianess problems...
This looks suspicious:
d = {x = 0, y = 4.98500718e-39}
...
...
x = -nan(0x7f6121), y = -3.11687118e-15}, I = 1.43043748e-38}
Isn't it?
ciao
-david-
On Thu, Jan 29, 2009 at 8:52 AM, Alex Popov <alex@seidlitz.ca> wrote:
> Sorry for not getting back to you earlier. Attached is the backtrace on sparc64.
>
> // Alex
>
>
> This GDB was configured as "sparc64-unknown-openbsd4.4"...
> (gdb) start
> Breakpoint 1 at 0x12a4b8: file OsFreeDesktop.cpp, line 57.
> Starting program: /usr/local/bin/numptyphysics
> main (argc=1, argv=0xffffffffffff7108) at OsFreeDesktop.cpp:57
> 57 npmain(argc,argv);
> (gdb) bt full
> #0 main (argc=1, argv=0xffffffffffff7108) at OsFreeDesktop.cpp:57
> No locals.
> (gdb) c
> Continuing.
>
> Program received signal SIGBUS, Bus error.
> 0x000000000014091c in b2PairManager (this=0x4d4f4004)
> at Box2D/Source/Collision/b2PairManager.cpp:78
> 78 m_pairs[i].userData = NULL;
> (gdb) bt full
> #0 0x000000000014091c in b2PairManager (this=0x4d4f4004)
> at Box2D/Source/Collision/b2PairManager.cpp:78
> i = 0
> #1 0x000000000012f32c in b2BroadPhase (this=0x4d4f4004,
> worldAABB=@0xffffffffffff6a50, callback=0x4075f2a8)
> at Box2D/Source/Collision/b2BroadPhase.cpp:68
> d = {x = 0, y = 4.98500718e-39}
> #2 0x00000000001380e0 in b2World (this=0x40746000,
> worldAABB=@0xffffffffffff6a50, gravity=@0xffffffffffff6a40, doSleep=true)
> at Box2D/Source/Dynamics/b2World.cpp:59
> mem = (void *) 0x4d4f4004
> bd = {massData = {mass = -nan(0x7fffff), center = {
> x = -nan(0x7f6121), y = -3.11687118e-15}, I = 1.43043748e-38},
> userData = 0xffffffffffff6121, position = {x = -3.11687118e-15,
> y = 1.43043748e-38}, angle = 0, linearDamping = 0, angularDamping = 0,
> allowSleep = 80, isSleeping = false, fixedRotation = 197, isBullet = false}
> #3 0x0000000000110270 in Scene (this=0xffffffffffff6d00, noWorld=false)
> at Game.cpp:534
> worldAABB = {lowerBound = {x = -100, y = -100}, upperBound = {
> x = 100, y = 100}}
> gravity = {x = 0, y = 10}
> doSleep = true
> #4 0x0000000000110a20 in Game (this=0xffffffffffff6cd0, width=800,
> height=480) at Game.cpp:1018
> No locals.
> #5 0x000000000010f4f8 in npmain (argc=1, argv=0xffffffffffff7108)
> at Game.cpp:1550
> game = {<GameControl> = {_vptr.GameControl = 0x25f2c8,
> m_quit = false, m_edit = false, m_refresh = true, m_fade = false,
> m_colour = 2, m_strokeFixed = false, m_strokeSleep = false,
> m_strokeDecor = false, m_levels = {m_levels = {m_data = 0x49854050,
> m_size = 0, m_capacity = 0}}, m_level = 0},
> m_scene = {<b2ContactListener> = {_vptr.b2ContactListener = 0x25f310},
> m_world = 0x0, m_strokes = {m_data = 0x49854110, m_size = 0,
> m_capacity = 0}, m_title = {static npos = 0,
> _M_dataplus = {<std::allocator<char>> = {<No data fields>},
> _M_p = 0x4e618ed8 ""}, static _S_empty_rep_storage = {0, 0, 3, 0}},
> m_author = {static npos = 0,
> _M_dataplus = {<std::allocator<char>> = {<No data fields>},
> _M_p = 0x4e618ed8 ""}, static _S_empty_rep_storage = {0, 0, 3, 0}},
> m_bg = {static npos = 0,
> _M_dataplus = {<std::allocator<char>> = {<No data fields>},
> _M_p = 0x4e618ed8 ""}, static _S_empty_rep_storage = {0, 0, 3, 0}},
> m_bgImage = 0x0, static g_bgImage = 0x0, m_protect = 0},
> m_createStroke = 0xffff00000000, m_moveStroke = 0xffffffffffff6d68,
> m_overlays = {m_data = 0xa76098204f3a8383, m_size = 0, m_capacity = 0},
> m_window = {<Canvas> = {_vptr.Canvas = 0x0, m_state = 0xffffffff,
> m_bgColour = 0, m_bgImage = 0x105398, m_clip = {tl = {x = 0,
> y = 1172733952}, br = {x = 0, y = 4631104}}}, <No data fields>},
> m_pauseOverlay = 0x0, m_editOverlay = 0xffffffffffff6e28, m_recorder = {
> m_running = false, m_log = {<Array<DemoEntry>> = {m_data = 0x4883c158,
> m_size = 0, m_capacity = 1342227712}, <No data fields>},
> m_lastTick = 0, m_lastTickTime = 1216594264}, m_player = {
> m_playing = false, m_log = 0x9a, m_index = 0, m_lastTick = 0,
> m_lastTickTime = 0}, m_os = 0x0}
> thumbnailMode = false
> files = {m_data = 0x49854030, m_size = 0, m_capacity = 0}
> rotate = false
> width = 800
> height = 480
> #6 0x000000000012a4d0 in main (argc=1, argv=0xffffffffffff7108)
> at OsFreeDesktop.cpp:57
> No locals.
> (gdb)
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic