Re: [Flightgear-devel] segfault by canvas

2012-08-03 Thread James Turner




On 2 Aug 2012, at 20:32, Erik Hofman e...@ehofman.com wrote:

 Hi,
 
 Seems like Canvas causes a reproducible segfault with the latest git 
 version (master). I'm using 32 bit Ubuntu 12.04

Yep, this is my fault for causing a naming clash. Just comment out 
initNasalCanvas in NasalSys.cxx for now, I'll push a real fix in an hour or so. 

James

 
 Program received signal SIGSEGV, Segmentation fault.
 0x0884a935 in resize ()
 (gdb) bt
 #0  0x0884a935 in resize ()
 #1  0x0884b21d in naiHash_newsym ()
 #2  0x08843149 in setupArgs.isra.3 ()
 #3  0x088468e9 in naCall ()
 #4  0x084f0278 in FGNasalSys::callMethod (this=0x134af378, code=..., 
 self=...,
 argc=0, args=0x0, locals=...)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:121
 #5  0x084f0e40 in call (locals=..., args=0x0, argc=0, code=...,
 this=0x134af378)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:106
 #6  FGNasalSys::createModule (this=0x134af378, moduleName=0x134cf1b4 
 canvas,
 fileName=0x15b0ffdc /export/home/fgfs/fgdata/Nasal/canvas/svg.nas,
 src=0x15c0c990 # Parse an xml file into a canvas group 
 element\n#\n# @param groupThe canvas.Group instance to append the 
 parsed elements to\n# @param path The path of the svg file (absolute 
 or relative to FG_RO...,
 len=11459, cmdarg=0x0, argc=0, args=0x0)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:793
 #7  0x084f12fa in loadModule (module=optimized out, file=...,
 this=optimized out)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:764
 #8  FGNasalSys::loadPropertyScripts (this=0x134af378, n=0x134cf1c0)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:698
 
 
 -- 
 http://www.adalin.com - Hardware accelerated AeonWave and OpenAL
 for Windows and Linux
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] segfault by canvas

2012-08-03 Thread Erik Hofman
On 08/03/2012 09:45 AM, James Turner wrote:




 On 2 Aug 2012, at 20:32, Erik Hofman e...@ehofman.com wrote:

 Hi,

 Seems like Canvas causes a reproducible segfault with the latest git
 version (master). I'm using 32 bit Ubuntu 12.04

 Yep, this is my fault for causing a naming clash. Just comment out 
 initNasalCanvas in NasalSys.cxx for now, I'll push a real fix in an hour or 
 so.

Ah great, that saves me a ,lot of time searching for the problem.

Erik

-- 
http://www.adalin.com - Hardware accelerated AeonWave and OpenAL
 for Windows and Linux

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] segfault by canvas

2012-08-02 Thread Erik Hofman
Hi,

Seems like Canvas causes a reproducible segfault with the latest git 
version (master). I'm using 32 bit Ubuntu 12.04:

Program received signal SIGSEGV, Segmentation fault.
0x0884a935 in resize ()
(gdb) bt
#0  0x0884a935 in resize ()
#1  0x0884b21d in naiHash_newsym ()
#2  0x08843149 in setupArgs.isra.3 ()
#3  0x088468e9 in naCall ()
#4  0x084f0278 in FGNasalSys::callMethod (this=0x134af378, code=..., 
self=...,
 argc=0, args=0x0, locals=...)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:121
#5  0x084f0e40 in call (locals=..., args=0x0, argc=0, code=...,
 this=0x134af378)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:106
#6  FGNasalSys::createModule (this=0x134af378, moduleName=0x134cf1b4 
canvas,
 fileName=0x15b0ffdc /export/home/fgfs/fgdata/Nasal/canvas/svg.nas,
 src=0x15c0c990 # Parse an xml file into a canvas group 
element\n#\n# @param groupThe canvas.Group instance to append the 
parsed elements to\n# @param path The path of the svg file (absolute 
or relative to FG_RO...,
 len=11459, cmdarg=0x0, argc=0, args=0x0)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:793
#7  0x084f12fa in loadModule (module=optimized out, file=...,
 this=optimized out)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:764
#8  FGNasalSys::loadPropertyScripts (this=0x134af378, n=0x134cf1c0)
 at /home/erik/src/fgfs/flightgear/src/Scripting/NasalSys.cxx:698


-- 
http://www.adalin.com - Hardware accelerated AeonWave and OpenAL
 for Windows and Linux

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel