[CrystalSpace] #987: lighter2 ends with bus error on armv7

"CrystalSpace" <[email protected]> Thu, 18 Jul 2013 17:17:33 -0000
Newsgroups gmane.comp.graphics.crystalspace.tracker
Message-ID <[email protected]>
#987: lighter2 ends with bus error on armv7
----------------------+-----------------------------------------------------
 Reporter:  apalazzi  |       Owner:  admin
     Type:  defect    |      Status:  new  
 Priority:  major     |   Milestone:       
Component:  tools     |     Version:  V2.1 
 Keywords:            |  
----------------------+-----------------------------------------------------
 When I run lighter2 on armv7 architecture it ends with a bus error; the
 backtrace from gdb is the following:

 #0  ComputeObjectGroupLightingT (progressFactor=1, totalPrimitives=597544,
     progress=0x7d834, pass=0, enablePhotonMapper=false,
 enableRaytracer=true,
     objectsBatch=0x4412c740, this=0x4508e1f0, Wait=<optimized out>)
     at /home/ladiun/CS_LATEST/apps/tools/lighter2/scene.h:106
 #1  ComputeObjectGroupLighting (this=0x4508e1f0, progressFactor=1,
     totalPrimitives=597544, progress=0x7d834, pass=0,
     enablePhotonMapper=false, enableRaytracer=true,
 objectsBatch=0x4412c740)
     at /home/ladiun/CS_LATEST/apps/tools/lighter2/scene.h:106
 #2  ComputeObjectGroupLighting (progressFactor=1, totalPrimitives=597544,
     progress=0x7d834, pass=0, enablePhotonMapper=false,
 enableRaytracer=true,
     objectsBatch=0x4412c740, this=0x4508e1f0)
     at /home/ladiun/CS_LATEST/apps/tools/lighter2/scene.h:106
 #3  lighter::SectorGroup::ComputeLighting (this=0x44bd5cd0,
     enableRaytracer=<optimized out>, enablePhotonMapper=<optimized out>,
     progress=...) at
 /home/ladiun/CS_LATEST/apps/tools/lighter2/scene.cpp:630

 etc...

 The kernel says:

 [102445.635105] Alignment trap: lighter2-2.1 (29772) PC=0x0004ab70
 Instr=0xed808a00 Address=0x44de7a87 FSR 0x811

 [102445.639411] Alignment trap: not handling instruction ed808a00 at
 [<0004ab70>]

 [102445.646757] Unhandled fault: alignment exception (0x811) at 0x44de7a87

 I can do some more testing if you tell me what to do...

-- 
Ticket URL: <http://www.crystalspace3d.org/trac/CS/ticket/987>
CrystalSpace <http://www.crystalspace3d.org/>
Free open-source 3D SDK.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk