Closed Bug 74283 Opened 24 years ago Closed 24 years ago

Transparent gif rendered as black

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 73978

People

(Reporter: db, Assigned: pavlov)

References

()

Details

(Whiteboard: DUPEME [imglib])

Attachments

(2 files)

Look at the 4 small images in the top of the page. The transparent part is now drawn as black making them unusable and text unreadable. It worked with mozilla a couple of days ago but not with mozilla 2001033121 (in linux).
Whiteboard: DUPEME
Perhaps a dupe of bug 73978?
<http://www.komplett.se/> doesn't show any problem on 2001040705/Linux.
I tried with 2001040705 and the transparent part is still black and broken. Here is the link to only one of the images that are not rendered as it should: http://www.komplett.se/k/img/sv/1/active.gif Since libpr0n was included in mozilla this image is black in the top-left and top-right corner.
Works for me Linux build 2001040821
For me since the libpr0n the images have been very strange. No problem before. I'll attach two images how it can look. Now the images disappears sometimes. Sometimes the wrong colors and sometimes something else. Take a look on my images attached and compare with your mozilla or mozilla 2 weeks ago when it worked for me too. It's only some images that are bad. Others always, always works. Sometimes I also get a crash. I don't know if it's the same bug as for the images. But this is a backtrace after it crashed on the page above. I klicked a number of times on the four images in the top and boom (but not always, so this might be hard to recreate). The backtrace is from the nighly build names sea (i don't know what sea is) since someone told me that it might generate better backtraces. I have no idea if that is true or not: Error loading URL http://www.komplett.se/: 804b0002 Document http://www.komplett.se/loader.asp?sz=l&wi=1152&he=854&cd=24&aw=1152&ah=854 loaded successfully Program received signal SIGSEGV, Segmentation fault. 0x40acc3b1 in nsHTMLImageElement::OnStartContainer () from /tmp/mozilla/components/libgkcontent.so (gdb) backtrace #0 0x40acc3b1 in nsHTMLImageElement::OnStartContainer () from /tmp/mozilla/components/libgkcontent.so #1 0x40fbe645 in imgRequestProxy::OnStartContainer () from /tmp/mozilla/components/libimglib2.so #2 0x40fbcd5c in imgRequest::AddObserver () from /tmp/mozilla/components/libimglib2.so #3 0x40fbe3f0 in imgRequestProxy::Init () from /tmp/mozilla/components/libimglib2.so #4 0x40fbc64d in imgLoader::LoadImage () from /tmp/mozilla/components/libimglib2.so #5 0x40accdc0 in nsHTMLImageElement::SetSrcInner () from /tmp/mozilla/components/libgkcontent.so #6 0x40acbde0 in nsHTMLImageElement::SetProperty () from /tmp/mozilla/components/libgkcontent.so #7 0x4047098d in nsJSUtils::nsCallJSScriptObjectSetProperty () from /tmp/mozilla/./libjsdom.so #8 0x4049eec9 in SetHTMLImageElementProperty () from /tmp/mozilla/./libjsdom.so #9 0x401463bd in js_SetProperty () from /tmp/mozilla/./libmozjs.so #10 0x4013a20b in js_Interpret () from /tmp/mozilla/./libmozjs.so #11 0x40133d30 in js_Invoke () from /tmp/mozilla/./libmozjs.so #12 0x40133f2c in js_InternalInvoke () from /tmp/mozilla/./libmozjs.so #13 0x40118d2f in JS_CallFunctionValue () from /tmp/mozilla/./libmozjs.so #14 0x40452530 in nsJSContext::CallEventHandler () from /tmp/mozilla/./libjsdom.so #15 0x404879c6 in nsJSEventListener::HandleEvent () from /tmp/mozilla/./libjsdom.so #16 0x40a9411f in nsEventListenerManager::HandleEventSubType () from /tmp/mozilla/components/libgkcontent.so #17 0x40a9546c in nsEventListenerManager::HandleEvent () from /tmp/mozilla/components/libgkcontent.so #18 0x40460609 in GlobalWindowImpl::HandleDOMEvent () from /tmp/mozilla/./libjsdom.so #19 0x40bdb8bd in DocumentViewerImpl::LoadComplete () from /tmp/mozilla/components/libgkcontent.so #20 0x40a13d90 in nsDocShell::EndPageLoad () from /tmp/mozilla/components/libdocshell.so #21 0x40a1b7b6 in nsWebShell::EndPageLoad () from /tmp/mozilla/components/libdocshell.so #22 0x40a13bb3 in nsDocShell::OnStateChange () from /tmp/mozilla/components/libdocshell.so #23 0x40a1b6f1 in nsWebShell::OnStateChange () from /tmp/mozilla/components/libdocshell.so #24 0x409bc9eb in nsDocLoaderImpl::FireOnStateChange () from /tmp/mozilla/components/liburiloader.so #25 0x409bbe2a in nsDocLoaderImpl::doStopDocumentLoad () from /tmp/mozilla/components/liburiloader.so #26 0x409bbd06 in nsDocLoaderImpl::DocLoaderIsEmpty () from /tmp/mozilla/components/liburiloader.so #27 0x409bbb77 in nsDocLoaderImpl::OnStopRequest () from /tmp/mozilla/components/liburiloader.so #28 0x408c0fbb in nsLoadGroup::RemoveRequest () from /tmp/mozilla/components/libnecko.so #29 0x40e78730 in PresShell::RemoveDummyLayoutRequest () from /tmp/mozilla/components/libgklayout.so #30 0x40e78597 in PresShell::DoneRemovingReflowCommands () from /tmp/mozilla/components/libgklayout.so #31 0x40e74796 in PresShell::CancelReflowCommandInternal () from /tmp/mozilla/components/libgklayout.so #32 0x40e747c8 in PresShell::CancelReflowCommand () from /tmp/mozilla/components/libgklayout.so #33 0x40e46ff4 in nsBlockFrame::ReflowDirtyChild () from /tmp/mozilla/components/libgklayout.so #34 0x40e62675 in nsInlineFrame::ReflowDirtyChild () from /tmp/mozilla/components/libgklayout.so #35 0x40e62675 in nsInlineFrame::ReflowDirtyChild () from /tmp/mozilla/components/libgklayout.so #36 0x40e5c3ea in nsImageFrame::OnStartContainer () from /tmp/mozilla/components/libgklayout.so #37 0x40e5f0e4 in nsImageListener::OnStartContainer () from /tmp/mozilla/components/libgklayout.so #38 0x40fbe645 in imgRequestProxy::OnStartContainer () from /tmp/mozilla/components/libimglib2.so #39 0x40fbd427 in imgRequest::OnStartContainer () from /tmp/mozilla/components/libimglib2.so #40 0x40fd97e3 in BeginGIF () from /tmp/mozilla/components/libimggif.so #41 0x40fd88db in gif_write () from /tmp/mozilla/components/libimggif.so #42 0x40fd970f in nsGIFDecoder2::ProcessData () from /tmp/mozilla/components/libimggif.so #43 0x40fd96ce in ReadDataOut () from /tmp/mozilla/components/libimggif.so #44 0x400b0c6e in nsInputStreamTee::WriteSegmentFun () from /tmp/mozilla/./libxpcom.so #45 0x400ac7f9 in nsPipe::nsPipeInputStream::ReadSegments () from /tmp/mozilla/./libxpcom.so #46 0x400b0ef3 in nsInputStreamTee::ReadSegments () from /tmp/mozilla/./libxpcom.so #47 0x40fd9747 in nsGIFDecoder2::WriteFrom () from /tmp/mozilla/components/libimggif.so #48 0x40fbde0d in imgRequest::OnDataAvailable () from /tmp/mozilla/components/libimglib2.so #49 0x408fbb8e in nsHTTPFinalListener::OnDataAvailable () from /tmp/mozilla/components/libnecko.so #50 0x408c7f6d in nsStreamListenerTee::OnDataAvailable () from /tmp/mozilla/components/libnecko.so #51 0x408faa3e in nsHTTPServerListener::OnDataAvailable () from /tmp/mozilla/components/libnecko.so #52 0x408b881e in nsOnDataAvailableEvent::HandleEvent () from /tmp/mozilla/components/libnecko.so #53 0x408b80f8 in nsARequestObserverEvent::HandlePLEvent () from /tmp/mozilla/components/libnecko.so #54 0x400c0a77 in PL_HandleEvent () from /tmp/mozilla/./libxpcom.so #55 0x400c0996 in PL_ProcessPendingEvents () from /tmp/mozilla/./libxpcom.so #56 0x400c1879 in nsEventQueueImpl::ProcessPendingEvents () from /tmp/mozilla/./libxpcom.so #57 0x404f6643 in event_processor_callback () from /tmp/mozilla/components/libwidget_gtk.so #58 0x404f63bd in our_gdk_io_invoke () from /tmp/mozilla/components/libwidget_gtk.so #59 0x40698360 in g_io_unix_dispatch () from /usr/lib/libglib-1.2.so.0 #60 0x40699bf6 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0 #61 0x4069a213 in g_main_iterate () from /usr/lib/libglib-1.2.so.0 #62 0x4069a3dc in g_main_run () from /usr/lib/libglib-1.2.so.0 #63 0x405b876c in gtk_main () from /usr/lib/libgtk-1.2.so.0 #64 0x404f6b3c in nsAppShell::Run () from /tmp/mozilla/components/libwidget_gtk.so #65 0x403bfdba in nsAppShellService::Run () from /tmp/mozilla/components/libnsappshell.so #66 0x804d4f4 in main1 () #67 0x804dd85 in main ()
Attached image Corrupted images at top of page (deleted) —
It's only gif-images that is wrong. Normal and animated. Jpegs are always good and gif images are always wrong. Is mozilla using some other library to load gif's or is it an internal function. If it's something external I know what to look for and I can try to upgrade.
pavlov, dupe of 73978?
Whiteboard: DUPEME → DUPEME [imglib]
I've problem with http://fcron.free.fr about images too with my mozilla 2001041405 . But not every gif are wrong : only a few. I don't know why. The animated gif on top left has not the appropriate background (black instead of transparent), and some part of the image seems to stay at screen even if it shouldn't. Maybe the status should be set as "new".
I read that the nightly build does not use gdk-pixbuf while most people who build it from cvs do use gdk-pixbuf. My guess is that this is why it works for some and not for others. Confirm anyone?
I see this as well with Build ID: 2001042504 / Win2000. Look at the picture of Winnie the Puh at the bottom of this page: <http://www.nemesis.se/boa/BoasHemsida>. The transparent background of the picture is rendered as black. Somebody should really bump the status of this one...
This is a dup of 73978, which should be fixed now *** This bug has been marked as a duplicate of 73978 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: