Closed
Bug 187029
Opened 22 years ago
Closed 15 years ago
Crash on startup on gtk2 build [@ nsImageGTK::CreateOffscreenPixmap() ]
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: andre.bugs2, Assigned: blizzard)
References
Details
(Keywords: crash)
Crash Data
[Happens with current CVS source]
I have no clue what component to file this against, so I'm just assigning it to
Blizzard since he seams to handle gtk2 issues.
No matter what build options I use, my gtk2 build crashes instantly on startup.
A gtk1.2 build works fine on the same machine. There are a few other gtk2
startup crashes reported, but none that seams to have a similar stack trace to
this one. Below is the gdb output of that crash on a debug build:
#0 0x404a0dc1 in nanosleep () from /lib/libc.so.6
#1 0x40354d0d in nanosleep () from /lib/libpthread.so.0
#2 0x404a0d50 in sleep () from /lib/libc.so.6
#3 0x08066216 in ah_crap_handler (signum=11)
at /home/andre/devel/cvs/mozilla/xpfe/bootstrap/nsSigHandlers.cpp:144
#4 0x42606086 in nsProfileLock::FatalSignalHandler (signo=11,
info=0xbfffe630, context=0xbfffe6b0)
at /home/andre/devel/cvs/mozilla/profile/src/nsProfileAccess.cpp:1776
#5 0x403567e5 in __pthread_sighandler_rt () from /lib/libpthread.so.0
#6 0x4042d890 in sigaction () from /lib/libc.so.6
#7 0x40f29f34 in nsImageGTK::CreateOffscreenPixmap (this=0x85d0438,
aWidth=26, aHeight=12)
at /home/andre/devel/cvs/mozilla/gfx/src/gtk/nsImageGTK.cpp:1542
#8 0x40f260ef in nsImageGTK::UpdateCachedImage (this=0x85d0438)
at /home/andre/devel/cvs/mozilla/gfx/src/gtk/nsImageGTK.cpp:461
#9 0x40f28461 in nsImageGTK::Optimize (this=0x85d0438, aContext=0x0)
at /home/andre/devel/cvs/mozilla/gfx/src/gtk/nsImageGTK.cpp:1779
#10 0x40f65599 in gfxImageFrame::SetMutable (this=0x85a64d0, aMutable=0)
at /home/andre/devel/cvs/mozilla/gfx/src/shared/gfxImageFrame.cpp:155
#11 0x4154a74b in imgContainerGIF::DecodingComplete (this=0x85a5e50)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/decoders/gif/imgContainerGI
F.cpp:246
#12 0x4154860d in EndGIF (aClientData=0x8587b68, aAnimationLoopCount=0)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.
cpp:329
#13 0x4154730a in gif_write (gs=0x85a6030, buf=0x8598024 "GIF89a\032", len=908)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/decoders/gif/GIF2.cpp:1075
#14 0x415482b0 in nsGIFDecoder2::ProcessData (this=0x8587b68,
data=0x8598024 "GIF89a\032", count=908, _retval=0xbfffed3c)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.
cpp:261
#15 0x41547de2 in ReadDataOut (in=0x85d0328, closure=0x8587b68,
fromRawSegment=0x8598024 "GIF89a\032", toOffset=0, count=908,
writeCount=0xbfffed3c)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.
cpp:194
#16 0x40229a7e in nsPipe::nsPipeInputStream::ReadSegments (this=0x85d0328,
writer=0x41547db4 <ReadDataOut(nsIInputStream *, void *, char const *, unsig
ned int, unsigned int, unsigned int *)>, closure=0x8587b68, count=908,
readCount=0xbfffee20)
at /home/andre/devel/cvs/mozilla/xpcom/io/nsPipe2.cpp:419
#17 0x4154835d in nsGIFDecoder2::WriteFrom (this=0x8587b68, inStr=0x85d0328,
count=908, _retval=0xbfffee20)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.
cpp:281
#18 0x41541f57 in imgRequest::OnDataAvailable (this=0x85cfd48,
aRequest=0x85cff20, ctxt=0x0, inStr=0x85d0328, sourceOffset=0, count=908)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/src/imgRequest.cpp:784
#19 0x41537c16 in ProxyListener::OnDataAvailable (this=0x85cfc48,
aRequest=0x85cff20, ctxt=0x0, inStr=0x85d0328, sourceOffset=0, count=908)
at /home/andre/devel/cvs/mozilla/modules/libpr0n/src/imgLoader.cpp:873
#20 0x40ac0511 in nsJARChannel::OnDataAvailable (this=0x85cff20,
jarCacheTransport=0x85d00dc, context=0x0, inStr=0x85d0328, sourceOffset=0,
count=908)
at /home/andre/devel/cvs/mozilla/netwerk/protocol/jar/src/nsJARChannel.cpp:6
32
#21 0x40a4916e in nsOnDataAvailableEvent::HandleEvent (this=0x85d0948)
at /home/andre/devel/cvs/mozilla/netwerk/base/src/nsStreamListenerProxy.cpp:
195
#22 0x40a2947d in nsARequestObserverEvent::HandlePLEvent (plev=0x85d0948)
at /home/andre/devel/cvs/mozilla/netwerk/base/src/nsRequestObserverProxy.cpp
#23 0x402535c4 in PL_HandleEvent (self=0x85d0948)
at /home/andre/devel/cvs/mozilla/xpcom/threads/plevent.c:663
#24 0x402533b0 in PL_ProcessPendingEvents (self=0x8315a50)
at /home/andre/devel/cvs/mozilla/xpcom/threads/plevent.c:593
#25 0x402558de in nsEventQueueImpl::ProcessPendingEvents (this=0x8315fb0)
at /home/andre/devel/cvs/mozilla/xpcom/threads/nsEventQueue.cpp:388
#26 0x41810223 in event_processor_callback (source=0x81fc5a8,
condition=G_IO_IN, data=0x8315fb0)
at /home/andre/devel/cvs/mozilla/widget/src/gtk2/nsAppShell.cpp:71
#27 0x412d429c in g_vsnprintf () from /usr/lib/libglib-2.0.so.0
#28 0x412b70b9 in g_get_current_time () from /usr/lib/libglib-2.0.so.0
#29 0x412b7e5f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x412b8233 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x412b890f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#32 0x4103d34f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#33 0x4181075a in nsAppShell::Run (this=0x8338108)
at /home/andre/devel/cvs/mozilla/widget/src/gtk2/nsAppShell.cpp:140
#34 0x42ad00ea in nsAppShellService::Run (this=0x83380c0)
at /home/andre/devel/cvs/mozilla/xpfe/appshell/src/nsAppShellService.cpp:471
#35 0x08058ea2 in main1 (argc=1, argv=0xbffff624, nativeApp=0x0)
at /home/andre/devel/cvs/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1543
#36 0x08059c0d in main (argc=1, argv=0xbffff624)
at /home/andre/devel/cvs/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1904
The only build option I used were --enable-default-toolkit=gtk2 and
ac_add_options --disable-mailnews, but I have not been able to find a
configuration in which this crash does not occur.
I'm running Debian GNU/Linux testing/unstable.
Comment 1•22 years ago
|
||
André: are you still seeing problems here?
==> gfx/gtk
Component: Browser-General → GFX: Gtk
QA Contact: asa → ian
Reporter | ||
Comment 2•22 years ago
|
||
I just tried it today, and I get no crash. I am not sure what build options I
used when reporting this bug, but lets assume that this bug is fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 3•22 years ago
|
||
Been building with gtk2 for a while and I haven't ran into it again. Verifying.
Status: RESOLVED → VERIFIED
Comment 4•19 years ago
|
||
Still crashing TB12685115, see also:
http://weblogs.mozillazine.org/bz/archives/009378.html
Incident ID: 12685115
Stack Signature libX11.so.6 + 0x1f0dd (0x405e20dd) de2036be
Product ID Firefox15
Build ID 2005111116
Trigger Time 2005-12-06 18:46:06.0
Platform LinuxIntel
Operating System Linux 2.4.25
Module libX11.so.6 + (0001f0dd)
URL visited
User Comments bzbarsky@mit.edu
Since Last Crash 0 sec
Total Uptime 0 sec
Trigger Reason SIGSEGV: Segmentation Fault: (signal 11)
Source File, Line No. N/A
Stack Trace
libX11.so.6 + 0x1f0dd (0x405e20dd)
nsImageGTK::CreateOffscreenPixmap()
nsImageGTK::UpdateCachedImage() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsImageGTK.cpp, line 458]
nsImageGTK::Optimize() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/gtk/nsImageGTK.cpp, line 1932]
gfxImageFrame::SetMutable() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/gfx/src/shared/gfxImageFrame.cpp, line 848]
imgContainerGIF::DecodingComplete() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/decoders/gif/imgContainerGIF.cpp, line 162]
nsGIFDecoder2::EndGIF() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp, line 318]
gif_write() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/decoders/gif/GIF2.cpp, line 980]
nsGIFDecoder2::ProcessData() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp, line 231]
ReadDataOut() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp, line 173]
nsPipeInputStream::ReadSegments() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/io/nsPipe3.cpp, line 764]
nsGIFDecoder2::WriteFrom() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp, line 255]
imgRequest::OnDataAvailable() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/src/imgRequest.cpp, line 886]
ProxyListener::OnDataAvailable() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libpr0n/src/imgLoader.cpp, line 893]
nsJARChannel::OnDataAvailable() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/modules/libjar/nsJARChannel.cpp, line 848]
nsInputStreamPump::OnStateTransfer() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/netwerk/base/src/nsInputStreamPump.cpp, line 440]
nsInputStreamPump::OnInputStreamReady() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/netwerk/base/src/nsInputStreamPump.cpp, line 341]
nsInputStreamReadyEvent::EventHandler()
PL_HandleEvent() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/threads/plevent.c, line 689]
PL_ProcessPendingEvents() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/threads/plevent.c, line 623]
nsEventQueueImpl::ProcessPendingEvents() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/xpcom/threads/nsEventQueue.cpp, line 421]
event_processor_callback() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp, line 67]
libglib-2.0.so.0 + 0x4542f (0x4059c42f)
libglib-2.0.so.0 + 0x23f65 (0x4057af65)
libglib-2.0.so.0 + 0x24f98 (0x4057bf98)
libglib-2.0.so.0 + 0x252ad (0x4057c2ad)
libglib-2.0.so.0 + 0x25a1f (0x4057ca1f)
libgtk-x11-2.0.so.0 + 0xd139f (0x402b439f)
nsAppShell::Run() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/widget/src/gtk2/nsAppShell.cpp, line 141]
nsAppStartup::Run() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 151]
XRE_main() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/toolkit/xre/nsAppRunner.cpp, line 2315]
main() [/builds/tinderbox/Fx-Mozilla1.8/Linux_2.4.21-27.0.4.ELsmp_Depend/mozilla/browser/app/nsBrowserApp.cpp, line 62]
libc.so.6 + 0x1554d (0x4096554d)
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
Summary: Crash on startup on gtk2 build → Crash on startup on gtk2 build [@ nsImageGTK::CreateOffscreenPixmap() ]
Updated•16 years ago
|
Product: Core → Core Graveyard
Comment 5•15 years ago
|
||
CreateOffscreenPixmap no longer exists.
Status: REOPENED → RESOLVED
Closed: 22 years ago → 15 years ago
Resolution: --- → WORKSFORME
Updated•14 years ago
|
Crash Signature: [@ nsImageGTK::CreateOffscreenPixmap() ]
You need to log in
before you can comment on or make changes to this bug.
Description
•