Closed Bug 70900 Opened 25 years ago Closed 25 years ago

Crash on pages containing PNG

Categories

(Core :: Graphics: ImageLib, defect)

Sun
Solaris
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: reinout, Assigned: pavlov)

References

()

Details

(Keywords: crash)

This is a bugreport against the Solaris 0.8 releases. I can't find anything related in bugzilla so I'm posting this anyway. Displaying pages with PNGs in them, like the Roadmap page, crash Mozilla when it has been launched with the component.reg file already present. Remove component.reg before launching Mozilla, and PNGs load fine.
Reporter do you have the stack trace for the crash?
Since I have no debugger at hand, no, I can't provide a stack trace. Sorry.
Got the same case for Solaris 2.6 using nightly build 2001030821 from mozilla ftp. Got core when loaded PNG at http://www.w3.org/Icons/w3c_main Here is my backtrace: GNU gdb 4.17 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "sparc-sun-solaris2.6"... (no debugging symbols found)... Core was generated by `./mozilla-bin'. Program terminated with signal 9, Killed. Reading symbols from /tmp/mozilla/./libgkgfx.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libxpcom.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libmozjs.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libjsj.so...(no debugging symbols found)... done. Reading symbols from /tmp/mozilla/./libplds4.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libplc4.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libnspr4.so... (no debugging symbols found)...done. Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libposix4.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done. Reading symbols from /opt/SUNWspro/lib/libm.so.1... (no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libaio.so.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done. Reading symbols from /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1... (no debugging symbols found)...done. Reading symbols from /usr/lib/libthread.so.1...(no debugging symbols found)... done. Reading symbols from /tmp/mozilla/components/libxpinstall.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libz.so...(no debugging symbols found)... done. Reading symbols from /tmp/mozilla/components/libnsappshell.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libjsdom.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/components/libchardet.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/components/libuconv.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/components/libwidget_gtk.so... (no debugging symbols found)...done. Reading symbols from /tmp/mozilla/./libgtksuperwin.so... (no debugging symbols found)...done. Reading symbols from /usr/local/lib/libgtk-1.2.so.0...done. Reading symbols from /usr/local/lib/libgdk-1.2.so.0...done. Reading symbols from /usr/local/lib/libgmodule-1.2.so.0...done. Reading symbols from /usr/local/lib/libglib-1.2.so.0...done. Reading symbols from /usr/openwin/lib/libXext.so.0...done. Reading symbols from /usr/openwin/lib/libX11.so.4...done. Reading symbols from /opt/BKgnome/lib/gtk/themes/engines/libpixmap.so...done. Reading symbols from /opt/BKgnome/lib/libgdk_imlib.so.1...done. Reading symbols from /tmp/mozilla/components/libpref.so...done. Reading symbols from /tmp/mozilla/components/libxpconnect.so...done. Reading symbols from /tmp/mozilla/components/librdf.so...done. Reading symbols from /tmp/mozilla/components/libembedcomponents.so...done. Reading symbols from /tmp/mozilla/components/libprofile.so...done. Reading symbols from /tmp/mozilla/components/libnecko.so...done. Reading symbols from /tmp/mozilla/components/libnsprefm.so...done. Reading symbols from /tmp/mozilla/components/libxmlextras.so...done. Reading symbols from /tmp/mozilla/components/libgfx_gtk.so...done. Reading symbols from /opt/BKgnome/lib/libimlib-png.so...done. Reading symbols from /tmp/mozilla/components/libdocshell.so...done. Reading symbols from /tmp/mozilla/components/liburiloader.so...done. Reading symbols from /tmp/mozilla/components/libgkcontent.so...done. Reading symbols from /tmp/mozilla/components/libnslocale.so...done. Reading symbols from /tmp/mozilla/components/libstrres.so...done. Reading symbols from /tmp/mozilla/components/libchrome.so...done. Reading symbols from /tmp/mozilla/components/libhtmlpars.so...done. Reading symbols from /tmp/mozilla/components/libunicharutil.so...done. Reading symbols from /tmp/mozilla/components/libjar50.so...done. Reading symbols from /tmp/mozilla/components/libcookie.so...done. Reading symbols from /tmp/mozilla/components/liboji.so...done. Reading symbols from /tmp/mozilla/components/libgkplugin.so...done. Reading symbols from /tmp/mozilla/./libgtkxtbin.so...done. Reading symbols from /usr/openwin/lib/libXt.so.4...done. Reading symbols from /usr/openwin/lib/libSM.so.6...done. Reading symbols from /usr/openwin/lib/libICE.so.6...done. Reading symbols from /tmp/mozilla/./plugins/libnullplugin.so...done. Reading symbols from /tmp/mozilla/components/libmozbrwsr.so...done. Reading symbols from /tmp/mozilla/components/libappcomps.so...done. Reading symbols from /tmp/mozilla/components/libcaps.so...done. Reading symbols from /tmp/mozilla/components/libwallet.so...done. Reading symbols from /tmp/mozilla/components/libtimer_gtk.so...done. Reading symbols from /tmp/mozilla/components/libgklayout.so...done. Reading symbols from /tmp/mozilla/components/libgkview.so...done. Reading symbols from /tmp/mozilla/components/libshistory.so...done. Reading symbols from /tmp/mozilla/components/libnsgif.so...done. Reading symbols from /tmp/mozilla/components/libeditor.so...done. Reading symbols from /tmp/mozilla/components/libtxmgr.so...done. Reading symbols from /tmp/mozilla/components/libmork.so...done. Reading symbols from /tmp/mozilla/components/liblwbrk.so...done. Reading symbols from /tmp/mozilla/components/libnspng.so...done. #0 0xec655778 in il_png_abort () (gdb) bt #0 0xec655778 in il_png_abort () #1 0xec6593dc in png_push_have_info () #2 0xec657bf8 in png_push_read_chunk () #3 0xec657944 in png_process_some_data () #4 0xec6578d0 in png_process_data () #5 0xec6554b8 in il_png_write () #6 0xec655d58 in PNGDecoder::ImgDWrite () #7 0xef768084 in IL_StreamWrite () #8 0xef7652d8 in NetReaderImpl::Write () #9 0xef75abe8 in ImageConsumer::OnDataAvailable () #10 0xed22fdf4 in ImageListener::OnDataAvailable () #11 0xeda7d5b4 in nsDocumentOpenInfo::OnDataAvailable () #12 0xedcb1664 in nsHTTPFinalListener::OnDataAvailable () #13 0xedc8d910 in InterceptStreamListener::OnDataAvailable () #14 0xedcb0208 in nsHTTPServerListener::OnDataAvailable () #15 0xedc66810 in nsOnDataAvailableEvent::HandleEvent () #16 0xedc65b20 in nsStreamObserverEvent::HandlePLEvent () #17 0xef60da98 in PL_HandleEvent () #18 0xef60d9cc in PL_ProcessPendingEvents () #19 0xef60e898 in nsEventQueueImpl::ProcessPendingEvents () #20 0xee3a6aac in nsAppShell::SetDispatchListener () #21 0xee3a67bc in keysym2ucs () #22 0xee345954 in g_io_unix_dispatch (source_data=0x1c0d90, current_time=0xeffff520, user_data=0x19f968) at giounix.c:135 #23 0xee347688 in g_main_dispatch (dispatch_time=0xeffff520) at gmain.c:656 #24 0xee347eb4 in g_main_iterate (block=0, dispatch=1) at gmain.c:877 #25 0xee3480d4 in g_main_run (loop=0x19f938) at gmain.c:935 #26 0xee24b048 in gtk_main () at gtkmain.c:476 #27 0xee3a7094 in nsAppShell::Run () #28 0xee79f1c8 in nsAppShellService::Run () #29 0x16d6c in NS_CreateNativeAppSupport () #30 0x17734 in main ()
Since this one is confirmed by Percy, I'm adding a mozilla0.9 keyword. But I do hope someone will catch this before 0.8.1.
Keywords: mozilla0.9
Seems to be related to these: Reading symbols from /opt/BKgnome/lib/gtk/themes/engines/libpixmap.so...done. Reading symbols from /opt/BKgnome/lib/libgdk_imlib.so.1...done. Reading symbols from /opt/BKgnome/lib/libimlib-png.so...done. Mozilla won't crash again after getting rid of these gtk-engines and imlib stuff. Sorry for the false alarm.
I'm using gtk-engines too. Are you saying this is an incompatibility with gtk-engines? If so, this bug should be renamed to reflect that.
Changing severity and keywords to reflect crash condition.
Severity: major → critical
Keywords: crash
Changing owner to pavlov
Assignee: pnunn → pavlov
fwiw, i cannot repro this on linux [either recent debug or verif bits from 4/12] --i can load that page w/the png image just fine. Reinout, is this still a problem for you? if so, mebbe it's solaris-only. but if this no longer crashes for you, let's resolve as wfm. thx!
it crashes only loaded over http _not_ local ! error on stdout is: Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 2209437 error_code 8 request_code 73 minor_code 0 gtk-1.2.8-32 imlib-1.9.8.1-32 glibc 2.1.3 is installed (suse 7.0 with kernel 2.4.3). additionally, sometimes gif images didn't load properly and animated gifs come a little bit fuzzy (not all). don't know if it's related (?)
ok, problem is gone with last night build 2001041321 grreat ,)
It is still a problem for me yes, because there still is no Solaris release build later than 0.8 available. Nightlies are built for 2.6 and don't work well on the Solaris 8 environment at my university.
Marking WORKSFORME. 0.9 will be out soon.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Still observing this with build 2001050310 on Solaris 8. Reopened.
Status: RESOLVED → UNCONFIRMED
Keywords: mozilla0.9.1
Resolution: WORKSFORME → ---
Summary: M0.8 - Crash on pages containing PNG → Crash on pages containing PNG
Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: mozilla0.9
Good news: I am <i>not</i> observing this crash anymore with m0.9 built for Solaris 8! Whether this is also true for current nightlies remains to be seen...
solaris/sparc build 20010509?? is good
Shall I go ahead and Mark WORKSFORME then?
Confirmed working w/build 2001051310, sparc/sun-solaris 2.6 nightly. For now. :) Let's hope it doesn't show it's ugly face again....
Status: NEW → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → WORKSFORME
I don't have a solaris machine to test on but reporter states at two different times that bug is fixed, therefore marking verified :-)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.