Re: Re: Strange scaling issue



On Fri, 2008-12-05 at 13:48 +0100, Till Harbaum wrote:
> Hi,
> 
> > That is pretty odd. Maybe try running it under valgrind on Linux to
> > check for any memory errors. (They can cause different problems on
> > different platforms.)
> Indeed ...
> 
> I'll check valgrind. But this always happens in a very reproducable way
> with very different mapping data to be displayed. So i am afraid this is
> now low mem situation but something being overwritten by error or so.
> I am not sure if it's easy to run valgrind on the target, but i'll check this.

I did spot two memory errors on Linux, but only when quitting:

==3805== ERROR SUMMARY: 8396 errors from 2 contexts (suppressed: 93 from
1)
==3805== 
==3805== 4198 errors in context 1 of 2:
==3805== Invalid write of size 4
==3805==    at 0x80534FF: osm_node_chain_free
(in /home/damon/src/osm2go-0.6/osm
2go)
==3805==    by 0x80535D4: osm_way_free
(in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x805551E: osm_free
(in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804D575: cleanup (in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804E506: main (in /home/damon/src/osm2go-0.6/osm2go)
==3805==  Address 0x7EF3534 is 44 bytes inside a block of size 64 free'd
==3805==    at 0x400513F: free (vg_replace_malloc.c:233)
==3805==    by 0x78242E: g_free (gmem.c:190)
==3805==    by 0x8055500: osm_free
(in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804D575: cleanup (in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804E506: main (in /home/damon/src/osm2go-0.6/osm2go)
==3805== 
==3805== 4198 errors in context 2 of 2:
==3805== Invalid read of size 4
==3805==    at 0x80534F2: osm_node_chain_free
(in /home/damon/src/osm2go-0.6/osm
2go)
==3805==    by 0x80535D4: osm_way_free
(in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x805551E: osm_free
(in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804D575: cleanup (in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804E506: main (in /home/damon/src/osm2go-0.6/osm2go)
==3805==  Address 0x7EF3534 is 44 bytes inside a block of size 64 free'd
==3805==    at 0x400513F: free (vg_replace_malloc.c:233)
==3805==    by 0x78242E: g_free (gmem.c:190)
==3805==    by 0x8055500: osm_free
(in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804D575: cleanup (in /home/damon/src/osm2go-0.6/osm2go)
==3805==    by 0x804E506: main (in /home/damon/src/osm2go-0.6/osm2go)


I didn't see any icons though. Are there any in the test project?

Damon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]