Closed Bug 70036 Opened 25 years ago Closed 25 years ago

Switching betw. jpeg push frames causes crash

Categories

(Core :: Graphics: ImageLib, defect)

x86
All
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: wd, Assigned: pavlov)

References

()

Details

(Keywords: crash)

Attachments

(4 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i586; en-US; 0.9) Gecko/20010223 BuildID: 2001022308 When I load up the page, it shows a JPEG push webcam site. If I switch from one cam to the other, Mozilla crashes. Reproducible: Always Steps to Reproduce: 1. Go to http://dormcam.mine.nu:8080/index1.shtml 2. Wait until JPEG push video feed starts 3. Click on Cam2 link at the top 4. If necessary, click Cam1 and Cam2 links alternating Actual Results: Mozilla Crashes Expected Results: Mozilla switches between the 2 cams. To test this, either use a build which has the fix for bug 51237, or perhaps just disabling HTTP Keep-alive might work. Talkback Incident ID is TB26838918W (and TB26838935E and TB26839148Z , .....)
This also happens on my Win32 system: MOZILLA caused an invalid page fault in module IMG3250.DLL at 017f:60ae1278. Registers: EAX=021fa478 CS=017f EIP=60ae1278 EFLGS=00010206 EBX=00000090 SS=0187 ESP=0068f894 EBP=0068f8ac ECX=00c04cc4 DS=0187 ESI=00c04f10 FS=62af EDX=0068f8b8 ES=0187 EDI=00000000 GS=0000 Bytes at CS:EIP: 83 7b 4c 00 0f 84 b3 00 00 00 83 7e 48 00 0f 84 Stack dump: 00c04d40 00c04cc0 00000000 60c87bba 00c04cc4 021fa478 0068f8e4 60ae1de8 00c04f10 60a9c34d 00c04cc0 00c04d40 00c10d70 80000000 60d59668 00c10d70
Keywords: crash
OS: Linux → All
Using today's debug linux build, I get the following assertion: ###!!! ASSERTION: all buffered data should be gone: '!mBuffer', file nsMultiMixedConv.cpp, line 329 ###!!! Break: at file nsMultiMixedConv.cpp, line 329 but no crash. Could this have been fixed by the fix to bug 39987?
Using build 2001022705 on Win32, I get a crash nearly 100% of the time when switching back and forth between cam1 and cam2. I have not tested Linux on today's build yet. The thing that's not totally consistent, though, is where Windows tells me the crash is occurring. It's usually IMG3250.DLL, but I've also seen it in NSJPG.DLL, XPCOM.DLL, and MSVCRT.DLL.
Note: This may have something to do with frames, as it seems to be only when I click at the red "cam1" or "cam2" links at the top of the page. (those links are in a frame called bar.html) If I click the links below the jpeg push feed, I don't get a crash.
Ah! _Those_ links! Seeing the crash on a linux 2001-03-06 CVS build. Beginning of trace: #0 0x400531c6 in il_flush_image_data (ic=0x43146e80) at scale.cpp:170 #1 0x40049017 in NetReaderImpl::FlushImgBuffer (this=0x42f311f8) at ilNetReader.cpp:171 #2 0x4003c11a in ImageConsumer::OnStartRequest (this=0x42f31210, aRequest=0x42ffa948, aContext=0x0) at nsImageNetContextAsync.cpp:323 #3 0x40d6a3aa in nsMultiMixedConv::SendStart (this=0x4310b028, aChannel=0x43169ca8) at nsMultiMixedConv.cpp:389 (gdb) frame 0 #0 0x400531c6 in il_flush_image_data (ic=0x43146e80) at scale.cpp:170 170 if (!image->haveBits || !ic->new_data_for_fe) (gdb) p image $1 = (IL_Pixmap *) 0xdbdb0000 (gdb) p ic $2 = (il_container *) 0x43146e80 (gdb) p *image Cannot access memory at address 0xdbdb0000 (gdb) p image->haveBits Cannot access memory at address 0xdbdb004c The full stack trace is attached. We should test this again once the new imglib lands.
This is still probably a frames issue. Will keep bug until cache and new imglib land. -p
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
All pnunn bugs reassigned to Pav, who is taking over the imglib.
Assignee: pnunn → pavlov
Status: ASSIGNED → NEW
marking this fixed since a) current builds don't have working jpeg push (see bug 6074), so it can't crash and b) with the patches in bug 6074, it works fine and doesn't crash.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
There is only one cam on this site at the moment but I've seen no comments in this bug for a long time, marking verified
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: