[xlib] Implement Plugin Downloader Plugin

RESOLVED WONTFIX

Status

()

Core
Plug-ins
P3
critical
RESOLVED WONTFIX
17 years ago
4 years ago

People

(Reporter: timeless, Assigned: pocemit)

Tracking

({crash})

Trunk
Sun
SunOS
crash
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(5 attachments)

(Reporter)

Description

17 years ago
running chofmann [title is url.51] to mix xserver, w/ twm windowmanager.

Program received signal SIGSEGV, Segmentation fault.

#0  nsToolkit::GetSharedGC (this=0x0, display=0x17ab28, d=0)
    at /tmp/mozilla/widget/src/xlib/nsToolkit.cpp:58
#1  0xfdd363f4 in nsWidget::GetNativeData (this=0x145fd88, aDataType=1)
    at /tmp/mozilla/widget/src/xlib/nsWidget.cpp:584
#2  0xfd9bbddc in nsRenderingContextXlib::Init (this=0x14a5c60, 
aContext=0xe367f8,
    aWindow=0x145fd88) at 
/tmp/mozilla/gfx/src/xlib/nsRenderingContextXlib.cpp:202
#3  0xff340d3c in DeviceContextImpl::InitRenderingContext (this=0xe367f8, 
aContext=0x14a5c60,
    aWin=0x145fd88) at /tmp/mozilla/gfx/src/nsDeviceContext.cpp:242
#4  0xff340c80 in DeviceContextImpl::CreateRenderingContext (this=0xe367f8, 
aWidget=0x145fd88,
    aContext=@0xffbe5234) at /tmp/mozilla/gfx/src/nsDeviceContext.cpp:230
#5  0xfd9a69d0 in nsDeviceContextXlib::CreateRenderingContext (this=0xe367f8, 
aWidget=0x145fd88,
    aContext=@0xffbe5234) at /tmp/mozilla/gfx/src/xlib/nsDeviceContextXlib.h:43
#6  0xfc97e9a8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#7  0xfc97a218 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#8  0xfd2b36e4 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkcontent.so
#9  0xfd2afee0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkcontent.so
#10 0xfde3ffc8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libhtmlpars.so
#11 0xfde5be9c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libhtmlpars.so
#12 0xfde5c084 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libhtmlpars.so
#13 0xfd2c2bdc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkcontent.so
#14 0xfd44c8c0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkcontent.so
#15 0xfd833534 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#16 0xfd833ec4 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#17 0xfd850678 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#18 0xfc9ad6ec in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#19 0xfc929edc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#20 0xfcaee268 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#21 0xfc924ae0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#22 0xfcaee268 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#23 0xfc924ae0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#24 0xfc95ca24 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#25 0xfc9109c8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#26 0xfcaee268 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#27 0xfc924ae0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#28 0xfcaee268 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#29 0xfc924ae0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#30 0xfcabad98 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#31 0xfcaee268 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#32 0xfc924ae0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#33 0xfc9a4f5c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#34 0xfc93978c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#35 0xfc9792d4 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#36 0xfd44c6dc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkcontent.so
#37 0xfd44d8e0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkcontent.so
#38 0xfc98312c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#39 0xfc983444 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#40 0xfd44c0c4 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkcontent.so
#41 0xfd83aa58 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#42 0xfd84c6b8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#43 0xfd83a644 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#44 0xfddcc228 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#45 0xfddcb054 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#46 0xfddcaf28 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#47 0xfddcaf44 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#48 0xfddcac98 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#49 0xfe0114d8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libnecko.so
#50 0xfe010b00 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libnecko.so
#51 0xfddca298 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#52 0xfddca1fc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#53 0xfddc8480 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/liburiloader.so
#54 0xfd82ae50 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#55 0xfd83e930 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#56 0xfd82a4d8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#57 0xfd848b08 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libdocshell.so
#58 0xfcce291c in nsTimerXlib::Fire (this=0x1080dc8)
    at /tmp/mozilla/widget/timer/src/unix/xlib/nsTimerXlib.cpp:211
#59 0xfcce2bac in nsTimerXlib::ProcessTimeouts (array=0x58c960)
    at /tmp/mozilla/widget/timer/src/unix/xlib/nsTimerXlib.cpp:281
#60 0xfcce3270 in NS_ProcessTimeouts (aDisplay=0x17ab28)
    at /tmp/mozilla/widget/timer/src/unix/xlib/nsTimerXlib.cpp:438
#61 0xfdd27ec8 in CallProcessTimeoutsProc (aDisplay=0x17ab28)
    at /tmp/mozilla/widget/src/xlib/nsAppShell.cpp:233
#62 0xfdd28f04 in nsAppShell::DispatchNativeEvent (this=0x135f970, 
aRealEvent=1, aEvent=0x159c1b8)
    at /tmp/mozilla/widget/src/xlib/nsAppShell.cpp:528
#63 0xfe236f08 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libnsappshell.so
#64 0xfe2462d0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libnsappshell.so
#65 0xfe234ba4 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libnsappshell.so
#66 0xfec8fea8 in ?? ()
   from /tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libembedcomponents.so
#67 0xfec8ddd0 in ?? ()
   from /tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libembedcomponents.so
#68 0xfec8c620 in ?? ()
   from /tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libembedcomponents.so
#69 0xfec8a560 in ?? ()
   from /tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libembedcomponents.so
#70 0xfec88394 in ?? ()
   from /tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libembedcomponents.so
#71 0xfd72404c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkplugin.so
#72 0xfd72e4dc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgkplugin.so
#73 0xfc96a608 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#74 0xfc969510 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#75 0xfc960c04 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#76 0xfc9173d4 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#77 0xfc917048 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#78 0xfc916d98 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#79 0xfc916b7c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#80 0xfc914920 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#81 0xfc913db0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#82 0xfc911880 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#83 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#84 0xfca535dc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#85 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#86 0xfca6e60c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#87 0xfca6f75c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#88 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#89 0xfca70f3c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#90 0xfca73658 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#91 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#92 0xfca6102c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#93 0xfca5d528 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#94 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#95 0xfca69168 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#96 0xfca6b248 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#97 0xfc91e908 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#98 0xfc91e038 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#99 0xfc9161f0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#100 0xfc9143f8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#101 0xfc913db0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#102 0xfc911880 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#103 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#104 0xfca535dc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#105 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#106 0xfca6e60c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#107 0xfca6f75c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#108 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#109 0xfca70f3c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#110 0xfca73658 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#111 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#112 0xfca6102c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#113 0xfca5d528 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#114 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#115 0xfca69168 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#116 0xfca6b248 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#117 0xfc91e908 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#118 0xfc91e038 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#119 0xfc9161f0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#120 0xfc9143f8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#121 0xfc913db0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#122 0xfc911880 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#123 0xfc91e908 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#124 0xfc91e038 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#125 0xfc9161f0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#126 0xfc9143f8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#127 0xfc913db0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#128 0xfc911880 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#129 0xfc91e908 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#130 0xfc91e038 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#131 0xfc9161f0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#132 0xfc9143f8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#133 0xfc913db0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#134 0xfc911880 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#135 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#136 0xfc944b7c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#137 0xfcaa1d00 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#138 0xfcaa10bc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#139 0xfca9cdc8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#140 0xfca789d0 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#141 0xfca9cdc8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#142 0xfcaa5000 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#143 0xfc9a9604 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#144 0xfc9a9a10 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#145 0xfc9a9668 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#146 0xfca9cdc8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#147 0xfcaba46c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#148 0xfc9a8568 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#149 0xfc926798 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#150 0xfc9a5f44 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#151 0xfc946f74 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#152 0xfc986898 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#153 0xfc986abc in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#154 0xfcbbbe7c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#155 0xfc98654c in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libgklayout.so
#156 0xff0d4b30 in PL_HandleEvent (self=0x1322e20) at 
/tmp/mozilla/xpcom/threads/plevent.c:590
#157 0xff0d4990 in PL_ProcessPendingEvents (self=0xd6de8)
    at /tmp/mozilla/xpcom/threads/plevent.c:520
#158 0xff0d6400 in nsEventQueueImpl::ProcessPendingEvents (this=0x133c50)
    at /tmp/mozilla/xpcom/threads/nsEventQueue.cpp:374
#159 0xfdd28944 in HandleQueueXtProc (ptr=0x133c50, source_fd=0x51bfec, 
id=0xffbef46c)
    at /tmp/mozilla/widget/src/xlib/nsAppShell.cpp:408
#160 0xfdcbb8f0 in ?? () from /usr/local/X11R6.3/lib/libXt.so.6.0
#161 0xfdcbbd80 in ?? () from /usr/local/X11R6.3/lib/libXt.so.6.0
#162 0xfdd28a84 in nsAppShell::Run (this=0x195a70)
    at /tmp/mozilla/widget/src/xlib/nsAppShell.cpp:444
#163 0xfe240da8 in ?? () from 
/tmp/obj-sparc-sun-solaris2.7/dist/bin/components/libnsappshell.so
#164 0x1ef54 in main1 (argc=1, argv=0xffbef8ec, nativeApp=0x0)
    at /tmp/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1290
#165 0x20020 in main (argc=1, argv=0xffbef8ec) at 
/tmp/mozilla/xpfe/bootstrap/nsAppRunner.cpp:1599

(gdb) print mGC
Cannot access memory at address 0x4.
(gdb) print this
$1 = (nsToolkit *) 0x0
(gdb) up
#1  0xfdd363f4 in nsWidget::GetNativeData (this=0x145fd88, aDataType=1)
    at /tmp/mozilla/widget/src/xlib/nsWidget.cpp:584
584         return (void 
*)NS_STATIC_CAST(nsToolkit*,mToolkit)->GetSharedGC(mDisplay, mBaseWindow);
(gdb) print this
$2 = (nsWidget *) 0x145fd88
(gdb) print mToolkit
$3 = (nsIToolkit *) 0x0

 583 pocemit  1.72     NS_ASSERTION(nsnull != mToolkit, "NULL toolkit, unable 
to get a GC");
 584                   return (void 
*)NS_STATIC_CAST(nsToolkit*,mToolkit)->GetSharedGC(mDisplay, mBaseWindow);

pocemit: please pick something to do for when mToolkit is null, it's nice to 
assert it, but deciding to dereference it anyways is just bad...

nsRenderingContextXlib::Init(nsIDeviceContext* aContext, nsIWidget *aWindow)
(gdb) print *mDisplay
$12 = <incomplete type>
(Reporter)

Updated

17 years ago
Blocks: 79119
Severity: normal → critical
Keywords: crash
QA Contact: shrir → timeless
(Assignee)

Comment 1

17 years ago
What follows is a new dir for mozilla/modules/plugin/default, called "xlib".
What it does, is nullplugin implementation using Xt/Xaw/Xlib.
Yes, it works, but it requires patches from 84568.
Status: NEW → ASSIGNED
Depends on: 84568
Priority: -- → P3
Target Milestone: --- → mozilla0.9.4
(Assignee)

Comment 2

17 years ago
Created attachment 43900 [details]
the patch in a tarball
(Assignee)

Comment 3

17 years ago
I don't know how to adjust the higher level makefiles to compile this, and I
don't know how to get this compiled when building xlib. But it needs to somehow
happen.
perhaps christopher seawood knows?
(Assignee)

Comment 4

17 years ago
what's with that URL? That was the ToolKit crash fixed in bug 91961
removing "URL", changing description slightly
Summary: [xlib] No Plugin Downloader Plugin can be fatal → [xlib] Implement Plugin Downloader Plugin
(Assignee)

Updated

17 years ago
Keywords: patch, review

Comment 5

17 years ago
Check for MOZ_ENABLE_XLIB as appropriate in the makefiles. 
(Reporter)

Updated

17 years ago
Depends on: 92727
So now the xlib toolkit requires Xt _and_ Xaw.  Are you kidding me?
(Assignee)

Comment 7

17 years ago
Both of which have been part of standard X11 distribution for ages...
When GTK (And with version 2.0, probably never) becomes part of the tarball you
download from ftp.x.org....

Anyway, if someone wants to have this sit here, it's fine with me.
I am nothing more than a bored (and probably incompetent) coder.

But, talking about it isn't going to do anything.
If there is indeed a bug open on making nullplugin in XUL, perhaps it should be
brought back to life and work started on it.
(Assignee)

Comment 8

17 years ago
anyone else feels like implementing this dialog in pure xlib, feel free to take
this bug from me.
I would love to see the results.
(Reporter)

Comment 9

17 years ago
and it requires a C++ compiler for the .c files because of // XXX
changing to correct C /* XXX */ fixes that...

Comment 10

17 years ago
pocemit:
Why do we need Xaw (may be a silly question; no... I haven't looked at the patch
yet...) ?
(Assignee)

Comment 11

17 years ago
Well, Shell is part of Xt, but Command and Dialog are part of Xaw.
If you know how to implement clickable buttons and a Dialog box that doesnt
require a lot of support code in Xt/Xlib, feel free to do so.
(Assignee)

Comment 12

17 years ago
oh, that "// XXX" was my mistake, leftover from commenting out code to get it to
compile.
Filing new "patch"
(Assignee)

Comment 13

17 years ago
Created attachment 43961 [details]
patch v2, removing C++isms.

Comment 14

17 years ago
For what is that dialog used for ?
(Assignee)

Comment 15

17 years ago
Created attachment 43962 [details]
ugh, it's This->shell, not dialog... Sorry. (latest patch)
(Assignee)

Comment 16

17 years ago
It is used to ask to download the plugin
(Screenshot at http://211.9.115.254/nullxlib.png)
(Assignee)

Comment 17

17 years ago
Created attachment 44393 [details]
new version of the plugin, comments below (THANKS TIMELESS)
(Assignee)

Comment 18

17 years ago
Okay, this is result of some ideas timeless and me discussed on irc.

The "popup" dialog is gone away with - instead replaced by a dynamic status line
that tells the user to "Click here to get plugin for blah/blah" when they mouse
over the plugin area.

Cool!

new version, so r=/sr= needed.

Comment 19

17 years ago
Patch looks good. r=Tomi.Leppikangas@oulu.fi

I'll attach patch form allmakefiles.sh and modules/plugin/Makefile.in to
get this code compiled with default build.

Comment 20

17 years ago
Created attachment 44465 [details] [diff] [review]
patch for makefiles to get default plugin compiled in xlib

Comment 21

17 years ago
this is late for 0.9.4. better if it landed early in 0.9.5.  let me know if this
is wrong. thanks -chofmann
Target Milestone: mozilla0.9.4 → mozilla0.9.5

Comment 22

17 years ago
0.9.5 is out the door. bumping TM up by one.
Target Milestone: mozilla0.9.5 → mozilla0.9.6

Comment 23

17 years ago
pocemit:
Wanna file an updated patch, please ?
I'd like to get it "in" ASAP ...
(Reporter)

Comment 24

17 years ago
at this point there's much less need for this, the plugin downloader xbl impl 
is really close to done, we should just work on getting it in...

Comment 25

17 years ago
timeless:
> at this point there's much less need for this, the plugin downloader xbl impl 
> is really close to done, we should just work on getting it in...

I want to ship the next milestone with a working plugin support. Is it guranteed
that the stuff is "in" then ?
Otherwise I'd like to get this one fixed ...

Comment 26

17 years ago
0.9.6 is long gone. -> 0.9.7
Target Milestone: mozilla0.9.6 → mozilla0.9.7
(Assignee)

Comment 27

17 years ago
gisburn, want to update this since you finally got that xlib plugin hack in?
Take the version I did that updates the statusbar - it makes things look so much
better than the ever-annoying gtk
popup-the-window-and-don't-provide-a-checkbox-to-disable-the-damn-thing version.
Amount of changes should be minimal.
Not sure how to coordinate the build stuff though.

Comment 28

17 years ago
0.9.7 is now out till 20020107.
but plugin doesn't work more under xlib toolkit.

Comment 29

17 years ago
status? Needs retargeting
Keywords: mozilla1.0
(Reporter)

Comment 30

17 years ago
ok, at this point we have two concerns: one is that the XBL plugin replacement 
keeps slipping and two is that there are branches trying to ship, someone can 
take an r=timeless and try to get this for the 0.9.9 branch if they like.

attinasi: the plugin implementation that we worked on here is actually better 
than what users will get when we first move to xbl, and until something happens 
(certainly nothing wrt XBL will happen for 0.9.9) the xlib port is really 
unhappy when it encounters a plugin, would you sr this (with float to an 
updated patch)?
Keywords: mozilla0.9.9
QA Contact: timeless → timeless
Target Milestone: mozilla0.9.7 → mozilla0.9.9
Keywords: mozilla0.9.9, mozilla1.0
Target Milestone: mozilla0.9.9 → ---
Xlib port has been removed from trunk (bug 326152)

-> WONTFIX
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.