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

"CrystalSpace" <[email protected]> Mon, 22 Jul 2013 08:23:32 -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:            |  
----------------------+-----------------------------------------------------

Comment(by apalazzi):

 Some more debugging info:

 {{{
 ladiun@pan:~/CS_LATEST$ uname -a
 Linux pan 3.0.68 #1 SMP Mon Mar 18 17:45:18 PDT 2013 armv7l GNU/Linux

 ladiun@pan:~/CS_LATEST$ gcc --version
 gcc (Debian 4.6.4-2) 4.6.4

 ladiun@pan:~/CS_LATEST$ svn info
 Path: .
 URL: svn://svn.code.sf.net/p/crystal/code/CS/trunk
 Repository Root: svn://svn.code.sf.net/p/crystal/code
 Repository UUID: 0c7a39be-3cd5-40b7-bf08-85d6bfde069a
 Revision: 39492
 Node Kind: directory
 Schedule: normal
 Last Changed Author: crystal-manage
 Last Changed Rev: 39492
 Last Changed Date: 2013-07-17 05:11:21 +0200 (Wed, 17 Jul 2013)
 }}}

 On another run I have:
 {{{
 Program received signal SIGBUS, Bus error.                             28%
 |
 ComputeObjectGroupLightingT (progressFactor=1, totalPrimitives=597124,
 -----| |
     progress=0x8e3bc, pass=0, enablePhotonMapper=false,
 enableRaytracer=true, |
     objectsBatch=0x2d8f88, this=0x2d9bf8, Wait=<optimized
 out>)-------------| |
     at /home/ladiun/CS_LATEST/apps/tools/lighter2/scene.h:106ctors:
 |
 106 Dire
 THREADED_CALLABLE_DECL7(SectorProcessor,ComputeObjectGroupLighting,csThreadReturn,
 }}}


 {{{
 Jul 22 10:15:36 pan kernel: [415994.247127] Alignment trap: lighter2-2.1
 (30620) PC=0x0004ab70 Instr=0xed808a00 Address=0x00498f1f FSR 0x811
 }}}

 {{{
 (gdb) info locals 0x00498f1f
 argsTC = 0x29b428
 mempool = <optimized out>
 sync = false
 Wait = false
 }}}

 My guess is that the problem lies in the CS memory allocation routines;
 I've also tried to recompile all with --disable-ptmalloc, but the result
 is the same.

-- 
Ticket URL: <http://crystalspace3d.org/trac/CS/ticket/987#comment:2>
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