Closed Bug 80571 Opened 25 years ago Closed 25 years ago

clicking on img causes crash as referred page is loading

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 80203

People

(Reporter: renelanz, Assigned: karnaze)

References

()

Details

(Keywords: crash)

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0-4GB i686; en-US; rv:0.9) Gecko/20010511 BuildID: MOZILLA_0_9_RELEASE from CVS Netscape 4.76 has no problems with this page but Mozilla 0.9 crashes My "debug-build" is stripped, so it would be great if anyone could reproduce this for a stack trace. (I don't have java-support installed) Reproducible: Always Steps to Reproduce: 1. Load the page mentioned 2. Click on "flowers" at the left 3. boom Actual Results: crash Expected Results: display the page rene@java:~ > /usr/src/mozilla_0.9.debug/bin/mozilla http://www.toronto.com/E/F/TORON/0020/07/35/ /usr/src/mozilla_0.9.debug/bin/run-mozilla.sh /usr/src/mozilla_0.9.debug/bin/mozilla-bin http://www.toronto.com/E/F/TORON/0020/07/3 5/ MOZILLA_FIVE_HOME=/usr/src/mozilla_0.9.debug/bin LD_LIBRARY_PATH=/usr/src/mozilla_0.9.debug/bin:/usr/src/mozilla_0.9.debug/bin/plugins LIBRARY_PATH=/usr/src/mozilla_0.9.debug/bin:/usr/src/mozilla_0.9.debug/bin/components SHLIB_PATH=/usr/src/mozilla_0.9.debug/bin:/opt/mozilla/ LIBPATH=/usr/src/mozilla_0.9.debug/bin:/opt/mozilla/ ADDON_PATH=/usr/src/mozilla_0.9.debug/bin:/opt/mozilla/ MOZ_PROGRAM=/usr/src/mozilla_0.9.debug/bin/mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= Type Manifest File: /usr/src/mozilla_0.9.debug/bin/components/xpti.dat nsNativeComponentLoader: autoregistering begins. nsNativeComponentLoader: autoregistering succeeded nNCL: registering deferred (0) Initialized app shell component {18c2f989-b09f-11d2-bcde-00805f0e1353}, rv=0x00000000 GFX: dpi=96 t2p=0.0666667 p2t=15 depth=16 WEBSHELL+ = 1 WARNING: CSSLoaderImpl::LoadAgentSheet: Load of URL 'file:///home/rene/.mozilla/rene/4zwzil8o.slt/chrome/userChrome.css' failed. E rror code: 18, file nsCSSLoader.cpp, line 1534 WARNING: CSSLoaderImpl::LoadAgentSheet: Load of URL 'file:///home/rene/.mozilla/rene/4zwzil8o.slt/chrome/userContent.css' failed. Error code: 18, file nsCSSLoader.cpp, line 1534 nsPluginHostImpl ctor ********** Got plugins path: /usr/src/mozilla_0.9.debug/bin/plugins IsPluginFile(/usr/src/mozilla_0.9.debug/bin/plugins/libnullplugin.so) LoadPlugin() /usr/src/mozilla_0.9.debug/bin/plugins/libnullplugin.so returned 8283c28 GetMIMEDescription() returned "*:.*:All types" Registering plugin 0 for: "*","All types",".*" IsPluginFile(/usr/local/lib/netscape/plugins/plugger.so) LoadPlugin() /usr/local/lib/netscape/plugins/plugger.so returned 82838c8 GetMIMEDescription() returned "video/mpeg: mpeg, mpg, mpe: MPEG animation;video/x-mpeg: mpeg, mpg, mpe: MPEG animation;video/quickt ime: mov,qt: Quicktime animation;video/x-quicktime: mov,qt: Quicktime animation;video/dl: dl: DL animation;video/x-dl: dl: DL anima tion;video/sgi-movie: movie,movi,mv: SGI animation;video/x-sgi-movie: movie,movi,mv: SGI animation;video/anim: iff,anim5,anim3,anim 7: IFF animation;video/x-anim: iff,anim5,anim3,anim7: IFF animation;video/msvideo: avi: AVI animation;video/x-msvideo: avi: AVI ani mation;video/fli: fli, flc: FLI animation;video/x-fli: fli, flc: FLI animation;audio/mid: midi,mid: MIDI audio file;audio/x-mid: mi di,mid: MIDI audio file;audio/midi: midi,mid: MIDI audio file;audio/x-midi: midi,mid: MIDI audio file;audio/mod: mod: Soundracker a udio Module;audio/x-mod: mod: Soundracker audio Module;audio/mpeg2: mp2: MPEG audio;audio/x-mpeg2: mp2: MPEG audio;audio/mpeg3: mp3 : MPEG audio;audio/x-mpeg3: mp3: MPEG audio;audio/mpeg: mpa,abs,mpega: MPEG audio;audio/x-mpeg: mpa,abs,mpega: MPEG audio;audio/x-s idtune: psid,sid,dat: Commodore 64 audio;audio/psid: psid,sid,dat: Commodore 64 audio;audio/x-psid: psid,sid,dat: Commodore 64 audi o;audio/basic: au,snd: Basic audio file;audio/x-basic: au,snd: Basic audio file;audio/wav:wav:Microsoft wave file;audio/x-wav:wav:M icrosoft wave file;image/tiff: tiff,tif: TIFF image;image/x-tiff: tiff,tif: TIFF image;image/png: png: PNG image;image/x-png: png: PNG image;image/sun-raster: rs: SUN raster image;image/x-sun-raster: rs: SUN raster image;audio/mpeg-url: m3u: MPEG music resource locator;audio/x-mpeg-url: m3u: MPEG music resource locator;audio/mpegurl: m3u: MPEG music resource locator;audio/x-mpegurl: m3u: MP EG music resource locator" Registering plugin 0 for: "video/mpeg"," MPEG animation"," mpeg, mpg, mpe" Registering plugin 1 for: "video/x-mpeg"," MPEG animation"," mpeg, mpg, mpe" Registering plugin 2 for: "video/quicktime"," Quicktime animation"," mov,qt" Registering plugin 3 for: "video/x-quicktime"," Quicktime animation"," mov,qt" Registering plugin 4 for: "video/dl"," DL animation"," dl" Registering plugin 5 for: "video/x-dl"," DL animation"," dl" Registering plugin 6 for: "video/sgi-movie"," SGI animation"," movie,movi,mv" Registering plugin 7 for: "video/x-sgi-movie"," SGI animation"," movie,movi,mv" Registering plugin 8 for: "video/anim"," IFF animation"," iff,anim5,anim3,anim7" Registering plugin 9 for: "video/x-anim"," IFF animation"," iff,anim5,anim3,anim7" Registering plugin 10 for: "video/msvideo"," AVI animation"," avi" Registering plugin 11 for: "video/x-msvideo"," AVI animation"," avi" Registering plugin 12 for: "video/fli"," FLI animation"," fli, flc" Registering plugin 13 for: "video/x-fli"," FLI animation"," fli, flc" Registering plugin 14 for: "audio/mid"," MIDI audio file"," midi,mid" Registering plugin 15 for: "audio/x-mid"," MIDI audio file"," midi,mid" Registering plugin 16 for: "audio/midi"," MIDI audio file"," midi,mid" Registering plugin 17 for: "audio/x-midi"," MIDI audio file"," midi,mid" Registering plugin 18 for: "audio/mod"," Soundracker audio Module"," mod" Registering plugin 19 for: "audio/x-mod"," Soundracker audio Module"," mod" Registering plugin 20 for: "audio/mpeg2"," MPEG audio"," mp2" Registering plugin 21 for: "audio/x-mpeg2"," MPEG audio"," mp2" Registering plugin 22 for: "audio/mpeg3"," MPEG audio"," mp3" Registering plugin 23 for: "audio/x-mpeg3"," MPEG audio"," mp3" Registering plugin 24 for: "audio/mpeg"," MPEG audio"," mpa,abs,mpega" Registering plugin 25 for: "audio/x-mpeg"," MPEG audio"," mpa,abs,mpega" Registering plugin 26 for: "audio/x-sidtune"," Commodore 64 audio"," psid,sid,dat" Registering plugin 27 for: "audio/psid"," Commodore 64 audio"," psid,sid,dat" Registering plugin 28 for: "audio/x-psid"," Commodore 64 audio"," psid,sid,dat" Registering plugin 29 for: "audio/basic"," Basic audio file"," au,snd" Registering plugin 30 for: "audio/x-basic"," Basic audio file"," au,snd" Registering plugin 31 for: "audio/wav","Microsoft wave file","wav" Registering plugin 32 for: "audio/x-wav","Microsoft wave file","wav" Registering plugin 33 for: "image/tiff"," TIFF image"," tiff,tif" Registering plugin 34 for: "image/x-tiff"," TIFF image"," tiff,tif" Registering plugin 35 for: "image/png"," PNG image"," png" Registering plugin 36 for: "image/x-png"," PNG image"," png" Registering plugin 37 for: "image/sun-raster"," SUN raster image"," rs" Registering plugin 38 for: "image/x-sun-raster"," SUN raster image"," rs" Registering plugin 39 for: "audio/mpeg-url"," MPEG music resource locator"," m3u" Registering plugin 40 for: "audio/x-mpeg-url"," MPEG music resource locator"," m3u" Registering plugin 41 for: "audio/mpegurl"," MPEG music resource locator"," m3u" Registering plugin 42 for: "audio/x-mpegurl"," MPEG music resource locator"," m3u" IsPluginFile(/opt/netscape/plugins/libflashplayer.so) LoadPlugin() /opt/netscape/plugins/libflashplayer.so returned 8295958 GetMIMEDescription() returned "application/x-shockwave-flash:swf:Shockwave Flash;application/futuresplash:spl:FutureSplash Player" Registering plugin 0 for: "application/x-shockwave-flash","Shockwave Flash","swf" Registering plugin 1 for: "application/futuresplash","FutureSplash Player","spl" IsPluginFile(/opt/netscape/plugins/ShockwaveFlash.class) LoadPlugin() /opt/netscape/plugins/ShockwaveFlash.class returned 0 WEBSHELL+ = 2 Disabling View Source StyleSheet Enabling Quirk StyleSheet Note: verifyreflow is disabled Style Data Sharing is Enabled :) Note: styleverifytree is disabled Note: frameverifytree is disabled Disabling View Source StyleSheet Start reading in bookmarks.html Finished reading in bookmarks.html (3885931 microseconds) WEBSHELL+ = 3 Disabling View Source StyleSheet Enabling Quirk StyleSheet ###!!! ASSERTION: New URI failed: 'Error', file nsProtocolProxyService.cpp, line 302 ###!!! Break: at file nsProtocolProxyService.cpp, line 302 Disabling View Source StyleSheet blank Enabling Quirk StyleSheet WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 ###!!! ASSERTION: You can't draw an image with a 0 width or height!: 'aSWidth > 0 && aDWidth > 0 && aSHeight > 0 && aDHeight > 0', file nsImageGTK.cpp, line 546 ###!!! Break: at file nsImageGTK.cpp, line 546 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WEBSHELL+ = 4 Disabling View Source StyleSheet Document http://www.toronto.com/E/F/TORON/0020/07/35/ loaded successfully ###!!! ASSERTION: Parent content null in the upward hint of FPRC : 'parentContent', file nsXULTreeOuterGroupFrame.cpp, line 1017 ###!!! Break: at file nsXULTreeOuterGroupFrame.cpp, line 1017 ###!!! ASSERTION: You can't draw an image with a 0 width or height!: 'aSWidth > 0 && aDWidth > 0 && aSHeight > 0 && aDHeight > 0', file nsImageGTK.cpp, line 546 ###!!! Break: at file nsImageGTK.cpp, line 546 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 WARNING: alpha bitmask not scaled! , file nsImageGTK.cpp, line 433 Disabling View Source StyleSheet nsWidget::~nsWidget() of toplevel: 13 widgets still exist. Enabling Quirk StyleSheet /usr/src/mozilla_0.9.debug/bin/run-mozilla.sh: line 73: 1576 Segmentation fault $prog ${1+"$@"}
Keywords: crash
Summary: browser crashes if I click on "flowers" in the left img → crash if I click on "flowers" in the left img
WORKSFORME on Mozilla 0.9 Mozilla/5.0 (X11; U; Linux 2.2.14-5.0 i686; en-US; rv:0.9) Gecko/20010505
I investigated further and played around with the plugins. With only the default pluggin, the page crashes. After installing JRE or flash the page crashes too. Hence it seems not to be dependend on that. I created a new profile, it didn't help either. By clicking on the "flower" img, a search is started. The browser does not crash until the result is ready to be displayed. By just starting the search with the url below, everything is just fine. http://www.toronto.com/page/gen?keywords=florists&areas_id=&_template=%2Fsearch%2Fresult_list.html So, it is maybe the combination of the page reported on top and the resulting search by clicking on the image? Compiled with: export MOZ_NSS_AUTOCONF=1 ./configure --disable-tests --disable-verbose-config-defs --with-extensions=default,irc --enable-bidi --enable-mathml --enable-svg --enable-optimize --enable-strip-libs --enable-lea --enable-crypto
Attached file Reduced testcase —
o The reduced testcase (tar.gz) contains index.html and 19.jpg. If you load index.html, click where the "flower" img would be, the search starts and the browser crashes afterwards. o Move 19.jpg away so it will not be loaded. Click again and everything works! It is a little bit strange, that an jpg is animated, isn't it? --> file 19.jpg reports you a gif. I conclude, that mozilla has difficulties with a file named xxx.jpg which is a (animated) gif in fact!!! Changing summary.
Summary: crash if I click on "flowers" in the left img → crash, xxx.jpg is an animated gif in fact
wfm with win2k build 20010513.. (CVS) Is mozilla crashing if you load the Gif alone ? (IF yes -=> Imagelib)
Confirming crash with current cvs on Linux with attached test case. Is this a dup of 80203?
Verified on build: 2001-05-14-04-Trunk platform: WinNT clicking on Flowers, does not cause crash.
Marking it as WFM.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Still crashes with Linux. cvs trunk from 2001-05-15. On both Debug and optimized builds. Both the wfm's are on win32..... Linux only ??? Still think this is a dup of #80203.
Okay ... fresh stack trace from nightly 2001051421 on linux (Redhat 7). Clicking on where flowers should be crashes with.... #0 0x40c95d1d in nsFrame::Invalidate () from /home/hpradhan/nightly/install/components/libgklayout.so #1 0x40ca3211 in nsImageFrame::FrameChanged () from /home/hpradhan/nightly/install/components/libgklayout.so #2 0x40ca5887 in nsImageListener::FrameChanged () from /home/hpradhan/nightly/install/components/libgklayout.so #3 0x40fbd3fe in imgRequestProxy::FrameChanged () from /home/hpradhan/nightly/install/components/libimglib2.so #4 0x40fbbee5 in imgRequest::FrameChanged () from /home/hpradhan/nightly/install/components/libimglib2.so #5 0x40fb9e4e in imgContainer::Notify () from /home/hpradhan/nightly/install/components/libimglib2.so #6 0x407ff212 in nsTimerGtk::FireTimeout () from /home/hpradhan/nightly/install/components/libtimer_gtk.so #7 0x407ff3dd in process_timers () from /home/hpradhan/nightly/install/components/libtimer_gtk.so #8 0x407ff463 in TimerCallbackFunc () from /home/hpradhan/nightly/install/components/libtimer_gtk.so #9 0x406cc983 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0 #10 0x406cb987 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0 #11 0x406cc001 in g_main_iterate () from /usr/lib/libglib-1.2.so.0 #12 0x406cc1cc in g_main_run () from /usr/lib/libglib-1.2.so.0 #13 0x405e5e57 in gtk_main () from /usr/lib/libgtk-1.2.so.0 #14 0x40517fdc in nsAppShell::Run () from /home/hpradhan/nightly/install/components/libwidget_gtk.so #15 0x404f8cea in nsAppShellService::Run () from /home/hpradhan/nightly/install/components/libnsappshell.so #16 0x0804d1c4 in main1 () #17 0x0804da15 in main () #18 0x401f0f31 in __libc_start_main (main=0x804d8e8 <main>, argc=1, ubp_av=0xbffff814, init=0x804a0e0 <_init>, fini=0x804f3d0 <_fini>, rtld_fini=0x4000e274 <_dl_fini>, stack_end=0xbffff80c) at ../sysdeps/generic/libc-start.c:129
o I tried today on NT (official 0.9) and it does not crash (which was never implied by setting OS to LINUX). Therefore reopening bug. o Harshal, Mozilla sometimes crashes on Linux if I simply load 19.jpg and switch to another site. Can you confirm that? o If so, we might change the component to ImageLib?
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
o I also got a stacktrace on Suse 7.1 (Kernel 2.4), the same as Harshal produced. Up to now I only got the crash if I clicked on flowers so the browser really went to this toronto-site for a search: http://www.toronto.com/page/gen?keywords=florists&areas_id=&_template=%2Fsearch%2Fresult_list.html o I also tried loading the page as usual, but instead of clicking on flowers I entered the search-url manually. The browser does not crash. -> Crash only, if the search is triggered by clicking on the img thus referring to the search-url. I hope this helps, would be great if someone would look into this. ---- #0 0x3b760001 in ?? () #1 0x418f06f6 in nsImageFrame::FrameChanged (this=0x893c548, aContainer=0x88e3dd0, aPresContext=0x894d808, aNewFrame=0x88e3a40, aDirtyRect=0xbfffefa8) at nsImageFrame.cpp:514 #2 0x418f58dc in nsImageListener::FrameChanged (this=0x893d580, aContainer=0x88e3dd0, aContext=0x894d808, newframe=0x88e3a40, dirtyRect=0xbfffefa8) at nsImageFrame.cpp:1938 #3 0x4164873a in imgRequestProxy::FrameChanged (this=0x893d5b8, container=0x88e3dd0, cx=0x0, newframe=0x88e3a40, dirtyRect=0xbfffefa8) at imgRequestProxy.cpp:239 #4 0x416452eb in imgRequest::FrameChanged (this=0x89e4280, container=0x88e3dd0, cx=0x0, newframe=0x88e3a40, dirtyRect=0xbfffefa8) at imgRequest.cpp:393 #5 0x41640274 in imgContainer::Notify (this=0x88e3dd0, timer=0x8b10a58) at imgContainer.cpp:428 #6 0x416c74e8 in nsTimerGtk::FireTimeout (this=0x8b10a58) at nsTimerGtk.cpp:186 #7 0x416c7731 in process_timers (array=0x82e58b8) at nsTimerGtk.cpp:256 #8 0x416c7812 in TimerCallbackFunc (data=0x0) at nsTimerGtk.cpp:278 #9 0x4094fbb3 in g_timeout_dispatch () from /usr/lib/libglib-1.2.so.0 #10 0x4094ebe6 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0 #11 0x4094f213 in g_main_iterate () from /usr/lib/libglib-1.2.so.0 #12 0x4094f3dc in g_main_run () from /usr/lib/libglib-1.2.so.0 #13 0x4086e04c in gtk_main () from /usr/lib/libgtk-1.2.so.0 #14 0x40786506 in nsAppShell::Run (this=0x809a150) at nsAppShell.cpp:360 #15 0x40737cff in nsAppShellService::Run (this=0x80b1130) at nsAppShellService.cpp:407 #16 0x8051dbb in main1 (argc=2, argv=0xbffff41c, nativeApp=0x0) at nsAppRunner.cpp:1005 #17 0x8052bbb in main (argc=2, argv=0xbffff41c) at nsAppRunner.cpp:1309 #18 0x402b4baf in __libc_start_main () from /lib/libc.so.6
Trying different Component, as the SEGV is in libgklayout.so. Also adapting summary.
Component: HTML Element → Layout
Summary: crash, xxx.jpg is an animated gif in fact → clicking on img causes crash as referred page is loading
Changed component to layout
Assignee: clayton → karnaze
QA Contact: bsharma → petersen
Rene, I'm pretty sure this is the same as bug #80203, which looks to be getting deserved attention. Please mark accordingly and close.
*** This bug has been marked as a duplicate of 80203 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: