[Mono-bugs] [Bug 368523] Invalid read in media code.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 13 09:52:37 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=368523

User fherrera at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=368523#c6


Fernando Herrera <fherrera at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |fherrera at novell.com




--- Comment #6 from Fernando Herrera <fherrera at novell.com>  2008-06-13 07:52:37 MDT ---
I managed to run valgrind on the old desktop machine and that invalid read
dissapeared, but I got this one:

==25542== Syscall param write(buf) points to unaddressable byte(s)
==25542==    at 0xCF3BAB: (within /lib/libpthread-2.8.so)
==25542==    by 0xEB6CF21: ProgressiveSource::Write(void*, long long, int)
(pipeline.cpp:2736)
==25542==    by 0xEB5AD50: MediaElement::DataWrite(void*, int, int)
(media.cpp:1036)
==25542==    by 0xEB5AE19: MediaElement::data_write(void*, int, int, void*)
(media.cpp:1061)
==25542==    by 0xEB419CD: Downloader::InternalWrite(void*, int, int)
(downloader.cpp:286)
==25542==    by 0xEB5CF71: MmsDownloader::ProcessDataPacket(MmsHeader*,
MmsPacket*, char*, unsigned*) (mms-downloader.cpp:434)
==25542==    by 0xEB5D96D: MmsDownloader::ProcessPacket(MmsHeader*, MmsPacket*,
char*, unsigned*) (mms-downloader.cpp:202)
==25542==    by 0xEB5DCFB: MmsDownloader::Write(void*, int, int)
(mms-downloader.cpp:154)
==25542==    by 0xEB40DF7: Downloader::Write(void*, int, int)
(downloader.cpp:263)
==25542==    by 0x7EF19E2: PluginDownloader::Read(char*, unsigned)
(plugin-downloader.cpp:192)
==25542==    by 0x7EF1A52: plugin_downloader_available
(plugin-downloader.cpp:42)
==25542==    by 0x7C51F87: FF2BrowserResponse::OnDataAvailable(nsIRequest*,
nsISupports*, nsIInputStream*, unsigned, unsigned) (browser-http.inc:121)
==25542==  Address 0xa5f6716 is 0 bytes after a block of size 1,454 alloc'd
==25542==    at 0x4006AEE: malloc (vg_replace_malloc.c:207)
==25542==    by 0x42C04B3: g_malloc (in /lib/libglib-2.0.so.0.1600.3)
==25542==    by 0xEB5DD27: MmsDownloader::Write(void*, int, int)
(mms-downloader.cpp:159)
==25542==    by 0xEB40DF7: Downloader::Write(void*, int, int)
(downloader.cpp:263)
==25542==    by 0x7EF19E2: PluginDownloader::Read(char*, unsigned)
(plugin-downloader.cpp:192)
==25542==    by 0x7EF1A52: plugin_downloader_available
(plugin-downloader.cpp:42)
==25542==    by 0x7C51F87: FF2BrowserResponse::OnDataAvailable(nsIRequest*,
nsISupports*, nsIInputStream*, unsigned, unsigned) (browser-http.inc:121)
==25542==    by 0x4B81F58: nsHttpChannel::OnDataAvailable(nsIRequest*,
nsISupports*, nsIInputStream*, unsigned, unsigned) (in
/opt/gnome224/lib/firefox-2.0.0.14/components/libnecko.so)
==25542==    by 0x4B114E6: nsInputStreamPump::OnStateTransfer() (in
/opt/gnome224/lib/firefox-2.0.0.14/components/libnecko.so)
==25542==    by 0x4B115FF:
nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream*) (in
/opt/gnome224/lib/firefox-2.0.0.14/components/libnecko.so)
==25542==    by 0x40FEFF4: nsInputStreamReadyEvent::EventHandler(PLEvent*) (in
/opt/gnome224/lib/firefox-2.0.0.14/libxpcom_core.so)
==25542==    by 0x41190B6: PL_HandleEvent (in
/opt/gnome224/lib/firefox-2.0.0.14/libxpcom_core.so)
==25542== 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list