[mapserver-dev] Re: mapfile.c r8501

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Feb 5 15:23:33 EST 2009


Thanks for fixing!

>>> On 2/5/2009 at 2:01 PM, in message
<30fe546d0902051201ga24cd93m3323502703431a78 at mail.gmail.com>, Paul Ramsey
<pramsey at opengeo.org> wrote:
> Saying it wasn't obvious made it obvious. Initializing *string to NULL
> fixed everything up.
> 
> P.
> 
> On Thu, Feb 5, 2009 at 11:58 AM, Paul Ramsey <pramsey at opengeo.org> wrote:
>> Steve, your change <http://trac.osgeo.org/mapserver/changeset/8501> at
>> r8501 is causing OS/X to blow chunks. It's not immediately obvious to
>> me, perhaps it is to you.
>>
>>
>> mapserv(13879) malloc: *** error for object 0x2ef3b: Non-aligned
>> pointer being freed
>> *** set a breakpoint in malloc_error_break to debug
>>
>> Breakpoint 1, 0x91d884a9 in malloc_error_break ()
>> (gdb) bt
>> #0  0x91d884a9 in malloc_error_break ()
>> #1  0x91d83497 in szone_error ()
>> #2  0x91cad463 in szone_free ()
>> #3  0x91cad2cd in free ()
>> #4  0x00029861 in getString (s=0xbfffe72c) at mapfile.c:181
>> #5  0x0003028c in loadLayer (layer=0x180b000, map=0x180b600) at 
> mapfile.c:2776
>> #6  0x00035b3b in loadMapInternal (map=0x180b600) at mapfile.c:4561
>> #7  0x0003680e in msLoadMap (filename=0x1205880
>> "/Users/pramsey/Code/topp-benchmarks/bench.map", new_mappath=0x0) at
>> mapfile.c:4786
>> #8  0x00002cb2 in loadMap () at mapserv.c:203
>> #9  0x00005a17 in main (argc=2, argv=0xbffff750) at mapserv.c:1214
>>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the mapserver-dev mailing list