Hi Folks,

I'm using code in the Netscape_2000092200_BRANCH as my basis for
embedding.  Our aim is to allow people to download our webclient
software and embed netscape into java with the only requirement being
that the user has jdk 1.3.0_01 and Netscape 6 installed on their machine.

Unfortunately, I can't get embedding to work on Linux with the above
branch.  Here's the error I get:

Init the baseWindow
Create the BaseWindow...
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=16
WEBSHELL+ = 1
Creation Done.....
Show the webBrowser
in BrowserControlCanvas setBounds: x = 1 y = 68 w = 638 h = 390
Gdk-ERROR **: BadAtom (invalid Atom parameter)
  serial 455 error_code 5 request_code 20 minor_code 0
Gdk-ERROR **: Fatal IO error 9 (Bad file descriptor) on X server :0.0.
###!!! ASSERTION: nsBasicEncoder not thread-safe: 'owningThread ==
NS_CurrentThread()', file nsDebug.cpp, line 490
###!!! Break: at file nsDebug.cpp, line 490
###!!! ASSERTION: nsUnicodeEncodeHelper not thread-safe: 'owningThread
== NS_CurrentThread()', file nsDebug.cpp, line 490
###!!! Break: at file nsDebug.cpp, line 490


When I run it in gdb, here's the stack trace at the time of the crash:

Program received signal SIGSEGV, Segmentation fault. 0x4041e273 in exit
(status=1) at exit.c:64 64 exit.c: No such file or directory. (gdb) where #0 
0x4041e273 in exit (status=1) at exit.c:64 #1  0x48de6269 in gdk_x_io_error
() from /usr/lib/libgdk-1.2.so.0 #2  0x40526ef9 in _XIOError () from
/usr/X11R6/lib/libX11.so.6 #3  0x405241df in _XEventsQueued () from
/usr/X11R6/lib/libX11.so.6 #4  0x405188ea in XPending () from
/usr/X11R6/lib/libX11.so.6 #5  0x48df2359 in gdk_event_prepare () from
/usr/lib/libgdk-1.2.so.0 #6  0x48e2249a in g_main_iterate () from
/usr/lib/libglib-1.2.so.0 #7  0x48e227d9 in g_main_pending () from
/usr/lib/libglib-1.2.so.0 #8  0x48d4777c in gtk_events_pending () from
/usr/lib/libgtk-1.2.so.0 #9  0x48e6f4e5 in processEventLoop
(initContext=0x81c5340)  at NativeEventThread.cpp:365 #10 0x48e6f059 in
Java_org_mozilla_webclient_wrapper_1native_NativeEventThread_nativeProcessEve
nts (env=0x80bf68c, obj=0xbe5ffa78, webShellPtr=136074048)  at
NativeEventThread.cpp:202 #11 0x48c967f7 in
Java_org_mozilla_webclient_wrapper_1native_NativeEventThread_nativeProcessEve
nts (env=0x80bf68c, obj=0xbe5ffa78, webShellPtr=136074048)  at
NativeLoaderStub.cpp:488

Can someone please help me?

Thanks,

Ed


Sent via Deja.com
http://www.deja.com/

Reply via email to