[geos-devel] Solaris

Paul Ramsey pramsey at refractions.net
Tue Oct 28 23:09:39 EST 2003


Cool, debugging by email. What next, you going to teach me to land a 
plane over the radio? :)

 > gdb ./XMLTester
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.6"...
(gdb) run
Starting program: /var/home/office/geos/source/test/.libs/./XMLTester

Program received signal SIGABRT, Aborted.
0xef50a8f0 in _kill ()
(gdb) where
#0  0xef50a8f0 in _kill ()
#1  0xef4bb318 in abort ()
#2  0xef5e55f0 in _ZN10__cxxabiv111__terminateEPFvvE (
     handler=0xef4bb214 <abort>)
     at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#3  0xef5e5640 in _ZSt9terminatev ()
     at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#4  0xef5e57b4 in __cxa_throw (obj=0x30448, tinfo=0xef768154, dest=0)
     at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:77
#5  0xef6d4fd4 in _ZN4geos14PrecisionModelC1Eddd (this=<incomplete type>,
     newScale=0, newOffsetX=0, newOffsetY=0) at PrecisionModel.cpp:72
#6  0x15e98 in main (argC=-268436416, argV=0xeffffc38) at XMLTester.cpp:109
(gdb)


Dave Blasby wrote:

> Quoting Paul Ramsey <pramsey at refractions.net>:
> 
> 
>>Yeah, unfortunately, looks like Solaris support needs a little tweaking...
>>
> 
> 
> 1. compile geos with debugging (-g)
> 2. run it in the debugger 
>    (gdb ./SimpleWKTTester)
> 3. when it crashes, type "w" (for 'where')
> 
> Solaris is much more picky about memory mangement issues than linux, but I 
> would have thought valgrind would have picked it up.  Solaris also has 
> different byte alignments (8 byte word align for doubles on solaris vs 4 on 
> intel).
> 
> dave


-- 
       __
      /
      | Paul Ramsey
      | Refractions Research
      | Email: pramsey at refractions.net
      | Phone: (250) 885-0632
      \_




More information about the geos-devel mailing list