Hi,
There have been a few memory related fixes checked into CVS in the last few weeks, if at all possible could you try running with the CVS version and see if the bug still exists.

Toby

On 23/08/2007, Joseph Baxter <jlb@cs.nott.ac.uk> wrote:
This is the backtrace I get when using the amcl,vfh and wavefront
drivers with one of our miabots.

Similar backtraces are collected when using stage.

(gdb) bt
#0  0xb6b039dc in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1  0xb7e305bc in Message (this=0xbfd8d814, Header=@0xbfd8d880,
    data=0x807e3b8, data_size=8380184, _queue=0xb4653028, do_deepcopy=true)
    at message.cc:78
#2  0xb7e28fc8 in Driver::Publish (this=0x805dcb0, queue=0x805e410,
    hdr=0xbfd8d880, src=0xb4653028) at driver.cc:149
#3  0xb7e29218 in Driver::Publish (this=0xb4653028, addr=
      {host = 16777343, robot = 6665, interf = 42, index = 1},
    queue=0xb4653028, type=4 '\004', subtype=2 '\002', src=0xb4653028,
    len=3026530344, timestamp=0x0) at driver.cc:217
#4  0xb7eab4de in MapTransform::ProcessMessage (this=0x805dcb0,
    resp_queue=0x805e410, hdr=0x807e398, data=0x807e3b8) at
maptransform.cc:262
#5  0xb7e29eb7 in Driver::ProcessMessages (this=0x805dcb0, maxmsgs=1)
    at driver.cc:361
#6  0xb7e2a06d in Driver::ProcessMessages (this=0xb4653028) at driver.cc:335
#7  0xb7e6c0ea in Driver::Update (this=0xb4653028) at driver.h:338
#8  0xb7e2a8d7 in Device::Request (this=0x805ddf8, resp_queue=0x805e410,
    type=3 '\003', subtype=2 '\002', src=0xb4653028, len=3026530344,
    timestamp=0xb4653028, threaded=false) at device.cc:297
#9  0xb7ea3f01 in AMCLSonar::SetupMap (this=0x805e5a8) at amcl_sonar.cc:212
#10 0xb7ea41c0 in AMCLSonar::Setup (this=0x805e5a8) at amcl_sonar.cc:109
#11 0xb7e9f8f6 in AdaptiveMCL::Setup (this=0x805de60) at amcl.cc:523
#12 0xb7e292af in Driver::Subscribe (this=0x805de60, addr=
---Type <return> to continue, or q <return> to quit---
      {host = 16777343, robot = 6665, interf = 25, index = 0}) at
driver.cc:236
#13 0xb7e2a50b in Device::Subscribe (this=0x805d7b0, sub_queue=0x8078d08)
    at device.cc:140
#14 0xb7e18fff in PlayerTCP::HandlePlayerMessage (this=0x8050048, cli=1,
    msg=0xb4653028) at playertcp.cc:1038
#15 0xb7e19870 in PlayerTCP::ParseBuffer (this=0x8050048, cli=1)
    at playertcp.cc:896
#16 0xb7e19c35 in PlayerTCP::ReadClient (this=0x8050048, cli=1)
    at playertcp.cc :791
#17 0xb7e19e9f in PlayerTCP::Read (this=0x8050048, timeout=100)
    at playertcp.cc:426
#18 0x08049e4d in main (argc=-1268436952, argv=0xb4653028) at server.cc:244


playerstage-users-request@lists.sourceforge.net wrote:
> -----------------------------
>
> Message: 4
> Date: Tue, 21 Aug 2007 07:42:06 -0700
> From: Brian Gerkey < brian@gerkey.org>
> Subject: Re: [Playerstage-users] mapscale segmentation fault
> To: playerstage-users@lists.sourceforge.net
> Message-ID: < 6CE432D9-4AFB-49B1-88B3-6455FAA756EC@gerkey.org>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>
> On Aug 21, 2007, at 5:32 AM, Joseph Baxter wrote:
>
>
>> Hello,
>>
>> When trying to use the mapscale driver I receive the following error:
>>
>> --
>> --
>> MapFile loading image file: /home/joseph/arena/arena.pgm...Done.
>> MapFile read a 82 X 125 map, at 0.020 m/pix
>> Done.
>> *** glibc detected *** malloc(): memory corruption: 0x0807b380 ***
>> Aborted
>>
>
> Can you run player inside gdb and send a backtrace?
>
>       brian.
>
>
>

--
Joseph Baxter
Automated Scheduling, Optimisation and Planning Group
School of Computer Science and Information Technology
University of Nottingham
Jubilee Campus
Wollaton Road
Nottingham
NG8 1BB

Room: B74
Tel: (0115) 84 66569

http://www.cs.nott.ac.uk/~jlb
http://www.asap.cs.nott.ac.uk/projects/cdmue/
http://www.asap.cs.nott.ac.uk/~robots


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
This email is intended for the addressee only and may contain privileged and/or confidential information