Closed Bug 197047 Opened 22 years ago Closed 22 years ago

Assertion in imgLoader.cpp

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: tenthumbs, Assigned: jdunn)

Details

(Keywords: assertion)

With a fresh update and build from this morning using gcc 3.2.2, I get this assertion when reloading an image. Document file:///tmp/ loaded successfully Document file:///tmp/S01.png loaded successfully ###!!! ASSERTION: Cache entry without a caching channel!: \ 'cacheChan', file imgLoader.cpp, line 553 Break: at file imgLoader.cpp, line 553 Error loading URL file:///tmp/S01.png : 804b0002 Navigate to file:///tmp/ and open an image. The first load is fine but pressing reload triggers the assertion. This happens with both PNG and JPEG images.
Related to recent cache changes?
BTW, this does not happen if I retrieve the same image via http.
My recent changes were mainly dealt with clearing the cache. Did you clear the cache between loading and reloading? Oh, wait. File:// doesn't use the cache, and ImgLib only uses the memory cache. My changes were just to the disk cache. I'd be very surprised if this was due to the recent cache checkin.
I notice that bug on some sites like Renderosity (a computer artist site) where I cannot see any jpeg images. This is pretty annonying. I am using WinXP-Sp1, and a 3 hours old CVS based trunk build. Moving OS -> All ?
the assertion was removed as part of this checkin: 1.69 darin%netscape.com Apr 9 18:01 fixes bug 201295 "Changed toplevel images don't reload [file:// URLs]" r=biesi sr=pavlov
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.