Memory leak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory leak

MrGwen
Hi,

I've launched gst with vallgrind :

==8918== Memcheck, a memory error detector.
==8918== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==8918== Using LibVEX rev 1854, a library for dynamic binary translation.
==8918== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.      
==8918== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation
framework.
==8918== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.        
==8918== For more details, rerun with: -v                                        
==8918==
--8918-- DWARF2 CFI reader: unhandled CFI instruction 0:10
--8918-- DWARF2 CFI reader: unhandled CFI instruction 0:10
==8918== Warning: set address range perms: large range 268435456 (defined)
==8918== Invalid write of size 8
==8918==    at 0x4E5398B: alloc_symlink (sym.c:1410)
==8918==    by 0x4E53A90: intern_counted_string (sym.c:1442)
==8918==    by 0x4E538CC: _gst_intern_string (sym.c:1387)
==8918==    by 0x4E55E27: add_file_stream_object (dict.c:1249)
==8918==    by 0x4E55229: init_runtime_objects (dict.c:1109)
==8918==    by 0x4E5614F: _gst_init_dictionary_on_image_load (dict.c:1333)
==8918==    by 0x4E8B2D7: load_snapshot (save.c:505)
==8918==    by 0x4E8B143: _gst_load_from_file (save.c:451)
==8918==    by 0x4E3C5F9: _gst_initialize (files.c:494)
==8918==    by 0x4E3B548: gst_initialize (gstpub.c:142)
==8918==    by 0x401806: main (main.c:380)
==8918==  Address 0x351e9dd0 is not stack'd, malloc'd or (recently) free'd
gst: Aborted
gst: Error occurred while not in byte code interpreter!!
/opt/gst//lib/libgst.so.7[0x4ed8f34]
/lib/libc.so.6[0x53970a0]
/lib/libc.so.6(gsignal+0x35)[0x5397015]
/lib/libc.so.6(abort+0x183)[0x5398b83]
/opt/gst//lib/libgst.so.7[0x4e596fc]
/opt/gst//lib/libsigsegv.so.0[0x5160e0f]
/lib/libc.so.6[0x53970a0]
/opt/gst//lib/libgst.so.7[0x4e5398b]
/opt/gst//lib/libgst.so.7[0x4e53a91]
/opt/gst//lib/libgst.so.7[0x4e538cd]


Cheers,
Gwenael


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Memory leak

Paolo Bonzini-2
Gwenael Casaccio wrote:

> Hi,
>
> I've launched gst with vallgrind :
>
> ==8918== Memcheck, a memory error detector.
> ==8918== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
> ==8918== Using LibVEX rev 1854, a library for dynamic binary translation.
> ==8918== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.      
> ==8918== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation
> framework.
> ==8918== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.        
> ==8918== For more details, rerun with: -v                                        
> ==8918==
> --8918-- DWARF2 CFI reader: unhandled CFI instruction 0:10
> --8918-- DWARF2 CFI reader: unhandled CFI instruction 0:10
> ==8918== Warning: set address range perms: large range 268435456 (defined)
> ==8918== Invalid write of size 8
> ==8918==    at 0x4E5398B: alloc_symlink (sym.c:1410)
> ==8918==    by 0x4E53A90: intern_counted_string (sym.c:1442)
> ==8918==    by 0x4E538CC: _gst_intern_string (sym.c:1387)
> ==8918==    by 0x4E55E27: add_file_stream_object (dict.c:1249)
> ==8918==    by 0x4E55229: init_runtime_objects (dict.c:1109)
> ==8918==    by 0x4E5614F: _gst_init_dictionary_on_image_load (dict.c:1333)
> ==8918==    by 0x4E8B2D7: load_snapshot (save.c:505)
> ==8918==    by 0x4E8B143: _gst_load_from_file (save.c:451)
> ==8918==    by 0x4E3C5F9: _gst_initialize (files.c:494)
> ==8918==    by 0x4E3B548: gst_initialize (gstpub.c:142)
> ==8918==    by 0x401806: main (main.c:380)
> ==8918==  Address 0x351e9dd0 is not stack'd, malloc'd or (recently) free'd

It is a mmaped address.  It is a bug in valgrind, can you report it?

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Memory leak

Paolo Bonzini-2
In reply to this post by MrGwen
Gwenael Casaccio wrote:
> Hi,
>
> I've launched gst with vallgrind :

I think it is the same as https://bugs.kde.org/show_bug.cgi?id=115562
which has to do with Boehm GC -- I posted a small testcase there.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk