Re: Help



Here is the output from valgrind :

Looks like something is deleting or freeing something
that its not supposed to.


==25704== Memcheck, a.k.a. Valgrind, a memory error
detector for x86-linux.
==25704== Copyright (C) 2002-2003, and GNU GPL'd, by
Julian Seward.
==25704== Using valgrind-2.0.0, a program supervision
framework for x86-linux.
==25704== Copyright (C) 2000-2003, and GNU GPL'd, by
Julian Seward.
==25704== Estimated CPU clock rate is 2007 MHz
==25704== For more details, rerun with: -v
==25704== 
==25704== valgrind's libpthread.so: KLUDGED call to:
pthread_getschedparam
Reading service reference from file FOSfiguration.IOR

** (process:25704): WARNING **: Ignoring incoming
code_sets component
==25704== Invalid read of size 1
==25704==    at 0x402590AE: giop_recv_buffer_unuse
(giop-recv-buffer.c:471)
==25704==    by 0x4025D333: ORBit_small_invoke_stub
(orbit-small.c:641)
==25704==    by 0x4025D22F: ORBit_small_invoke_stub_n
(orbit-small.c:571)
==25704==    by 0x40270A71: ORBit_c_stub_invoke
(poa.c:2492)
==25704==    Address 0x415CBFC4 is 100 bytes inside a
block of size 104 free'd
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025F86D:
ORBit_handle_location_forward (corba-object.c:361)
==25704== 
==25704== Invalid read of size 4
==25704==    at 0x40259115: giop_recv_buffer_unuse
(giop-recv-buffer.c:472)
==25704==    by 0x4025D333: ORBit_small_invoke_stub
(orbit-small.c:641)
==25704==    by 0x4025D22F: ORBit_small_invoke_stub_n
(orbit-small.c:571)
==25704==    by 0x40270A71: ORBit_c_stub_invoke
(poa.c:2492)
==25704==    Address 0x415CBFA8 is 72 bytes inside a
block of size 104 free'd
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025F86D:
ORBit_handle_location_forward (corba-object.c:361)
==25704== 
==25704== Invalid write of size 4
==25704==    at 0x40259120: giop_recv_buffer_unuse
(giop-recv-buffer.c:473)
==25704==    by 0x4025D333: ORBit_small_invoke_stub
(orbit-small.c:641)
==25704==    by 0x4025D22F: ORBit_small_invoke_stub_n
(orbit-small.c:571)
==25704==    by 0x40270A71: ORBit_c_stub_invoke
(poa.c:2492)
==25704==    Address 0x415CBFA8 is 72 bytes inside a
block of size 104 free'd
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025F86D:
ORBit_handle_location_forward (corba-object.c:361)
==25704== 
==25704== Invalid read of size 4
==25704==    at 0x402590B8: giop_recv_buffer_unuse
(giop-recv-buffer.c:476)
==25704==    by 0x4025D333: ORBit_small_invoke_stub
(orbit-small.c:641)
==25704==    by 0x4025D22F: ORBit_small_invoke_stub_n
(orbit-small.c:571)
==25704==    by 0x40270A71: ORBit_c_stub_invoke
(poa.c:2492)
==25704==    Address 0x415CBFBC is 92 bytes inside a
block of size 104 free'd
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025F86D:
ORBit_handle_location_forward (corba-object.c:361)
==25704== 
==25704== Invalid read of size 1
==25704==    at 0x402590D7: giop_recv_buffer_unuse
(giop-recv-buffer.c:493)
==25704==    by 0x4025D333: ORBit_small_invoke_stub
(orbit-small.c:641)
==25704==    by 0x4025D22F: ORBit_small_invoke_stub_n
(orbit-small.c:571)
==25704==    by 0x40270A71: ORBit_c_stub_invoke
(poa.c:2492)
==25704==    Address 0x415CBF67 is 7 bytes inside a
block of size 104 free'd
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025F86D:
ORBit_handle_location_forward (corba-object.c:361)
==25704== 
==25704== Invalid read of size 4
==25704==    at 0x402588DB:
giop_IOP_ServiceContextList_free
(giop-recv-buffer.c:95)
==25704==    by 0x402590F7: giop_recv_buffer_unuse
(giop-recv-buffer.c:495)
==25704==    by 0x4025D333: ORBit_small_invoke_stub
(orbit-small.c:641)
==25704==    by 0x4025D22F: ORBit_small_invoke_stub_n
(orbit-small.c:571)
==25704==    Address 0x415CBF7C is 28 bytes inside a
block of size 104 free'd
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025F86D:
ORBit_handle_location_forward (corba-object.c:361)
==25704== 
==25704== Invalid free() / delete / delete[]
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025D333: ORBit_small_invoke_stub
(orbit-small.c:641)
==25704==    Address 0x415CBF60 is 0 bytes inside a
block of size 104 free'd
==25704==    at 0x40027DAF: free
(vg_replace_malloc.c:231)
==25704==    by 0x40320BF3: g_free (gmem.c:186)
==25704==    by 0x402590CC: giop_recv_buffer_unuse
(giop-recv-buffer.c:510)
==25704==    by 0x4025F86D:
ORBit_handle_location_forward (corba-object.c:361)
==25704== 
==25704== More than 30000 total errors detected.  I'm
not reporting any more.
==25704== Final error counts will be inaccurate.  Go
fix your program!
==25704== Rerun with --error-limit=no to disable this
cutoff.  Note
==25704== that errors may occur in your program
without prior warning from
==25704== Valgrind, because errors are no longer being
displayed.

--- Michael Meeks <michael@ximian.com> wrote:
> Hi there,
> 
> On Mon, 2003-11-17 at 14:20, some one wrote:
> > #0  0x401ca179 in chunk_alloc () from
> /lib/libc.so.6
> > (gdb) bt
> > #0  0x401ca179 in chunk_alloc () from
> /lib/libc.so.6
> > #1  0x401cb32b in calloc () from /lib/libc.so.6
> > #2  0x400e5adf in g_malloc0 (n_bytes=28) at
> gmem.c:153
> 
> 	Ok - this is simple heap corruption; can you grab
> valgrind,
> compile/install and then run:
> 
> 	valgrind --alignment=8 test-app
> 
> 	It should tell you where this happened, it'd be
> great to get a new
> trace.
> 
> 	Thanks,
> 
> 		Michael.
> 
> -- 
>  michael@ximian.com  <><, Pseudo Engineer, itinerant
> idiot
> 
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree



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