[ gpsdrive ] [gpsdrive] gps drive memory corruption

Jan-Benedict Glaw jbglaw at lug-owl.de
Sun Feb 1 07:18:01 AKST 2009


On Sun, 2009-02-01 08:12:27 -0800, belasco <danbelasco at yahoo.co.uk> wrote:
> Can't connect to local MySQL server through socket
> '/var/run/mysqld/mysqld.sock' (2)
> Creating main window
> /home/daniel/.gpsdrive/way.txt: No such file or directory
> Using Mapnik config-file: /usr/share/gpsdrive/mapnik/osm.xml
> *** glibc detected *** gpsdrive: malloc(): memory corruption: 0x0a00d1e0 ***
> 
> I've googled this error and drawn a blank. Also drawn a blank on this list.
> 
> Anyone had similar problems?

Please re-compile gpsdrive and make sure CFLAGS contains the `-g'
switch. Link it, but don't let make `strip' it. With the resulting
binary, use libefence:

you at host:...$ LD_PRELOAD=libefence.so ./gpsdrive

That'll hopefully tell us something about the source of memory
corruption.  (If you compiled eg. Mapnik or other stuff by yourself, I
guess that it's a header file conflict, eg. that you're using an "old"
library (that came with your system), while you used the newer header
files for compiling gpsdrive, or the other way around.)

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:              Fortschritt bedeutet, einen Schritt so zu machen,
the second  :                   daß man den nächsten auch noch machen kann.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.gpsdrivers.org/pipermail/gpsdrive/attachments/20090201/3830fd2e/attachment.bin>


More information about the GPSdrive mailing list