To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74779
Issue #|74779
Summary|new javax.swing.JTree() fails with libjavaplug_gtk
Component|gsl
Version|current
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|pl
Reported by|sb
--- Additional comments from [EMAIL PROTECTED] Thu Feb 22 15:02:05 +
2007 ---
At least on SRC680m204 unxsoli4.pro under Gnome, calling new javax.swing.JTree()
in Java code within soffice.bin causes SEGV. It succeeds if
program/libjavaplug_gtk680si.so is removed. It fails with Java 1.5.0_07 and
1.6.0, but succeeds with Java 1.4.2_11 (those were the versions I had at hand).
To reproduce, deploy the attached JTreeComponent.uno.jar into OOo
(program/unopkg add path-to/JTreeComponent.uno.jar), create a Basic macro
sub main
dim s() as string
createunoservice(jtreecomponent).run(s)
end sub
and execute it. If successful, it prints the two lines
--- before new JTree
--- after new JTree
to stderr. Below is dbx output for an unsuccessful run:
--- before new JTree
Reading libawt.so
Reading libmlib_image.so
Reading libmawt.so
Reading libXm.so.4
Reading libXp.so.1
Reading libXt.so.4
Reading libXtst.so.1
Reading libfontmanager.so
Reading xomCTL.so.2
Reading liblayout.so.1
Reading umle.layout.so.1
Reading libnet.so
Reading libnio.so
Reading libsendfile.so.1
[EMAIL PROTECTED] ([EMAIL PROTECTED]) signal SEGV (access to address exceeded
protections) in (unknown) at
0xef60fc59
0xef60fc59: lock cmpxchgl %edx,(%ecx)
(dbx) where
current thread: [EMAIL PROTECTED]
[1] 0xef60fc59(0x0, 0x8044e1c, 0xd67a6e68, 0x8044e50, 0xd70836e0, 0x0), at
0xef60fc59
[2] 0xef6029a4(0x0, 0x0, 0x0, 0xce617078, 0x1, 0xce616f68), at 0xef6029a4
[3] 0xef6029a4(0x0, 0xce616f68, 0x8044e8c, 0xd66a48b9, 0x8044eb0, 0xd6ef7d00),
at 0xef6029a4
[4] 0xef6029a4(0xce616f68, 0x8044eb4, 0xd66a41c0, 0x8044ee8, 0xd6ef7d00, 0x0),
at 0xef6029a4
[5] 0xef602a7b(0x0, 0x0, 0xceb5b310, 0xceb6b170, 0xce616f68, 0xce616f68), at
0xef602a7b
[6] 0xef602a7b(0x0, 0x0, 0x0, 0x1, 0x0, 0x0), at 0xef602a7b
[7] 0xef6029a4(0x0, 0xceb54558, 0x0, 0xceb6b170, 0x9, 0xceb45ab8), at
0xef6029a4
[8] 0xef6029a4(0x0, 0x0, 0xd6eed108, 0x9, 0xceb3a2a8, 0x8044fc4), at
0xef6029a4
[9] 0xef602a7b(0x0, 0x0, 0x9, 0xceb3a2a8, 0x8044ff8, 0xd67a5d98), at
0xef602a7b
[10] 0xef6029a4(0x0, 0x9, 0xce680278, 0xce6802a8, 0x804502c, 0xd67a5e4f), at
0xef6029a4
[11] 0xef6029a4(0x9, 0xce6802a8, 0xce680278, 0x804505c, 0xd66fc76c,
0x8045088), at 0xef6029a4
[12] 0xef6029a4(0x0, 0xceb3a2a8, 0xce6802d8, 0x804508c, 0xd66fc6fe,
0x80450b8), at 0xef6029a4
[13] 0xef602a7b(0xce680320, 0xceb41660, 0xce6802d8, 0x80450bc, 0xd66fc685,
0x80450e4), at 0xef602a7b
[14] 0xef602a7b(0xceb41660, 0xce6802d8, 0xce6802d8, 0x80450ec, 0xd66b2bc4,
0x804511c), at 0xef602a7b
[15] 0xef602a7b(0x0, 0x0, 0xceb41660, 0xceb608b8, 0x8045120, 0xd66bd66a), at
0xef602a7b
[16] 0xef6029a4(0xceb41660, 0xceb608b8, 0x804514c, 0xd6672d60, 0x8045184,
0xd6eb6170), at 0xef6029a4
[17] 0xef6029a4(0x0, 0x0, 0x0, 0x0, 0xceb41660, 0xce680330), at 0xef6029a4
[18] 0xef6029a4(0x0, 0x0, 0x0, 0xceb41660, 0xce680330, 0x80451c0), at
0xef6029a4
[19] 0xef6029a4(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xef6029a4
[20] 0xef6029a4(0x0, 0xce680330, 0x804524c, 0xd688d9e9, 0x8045274,
0xd720b5c0), at 0xef6029a4
[21] 0xef6029a4(0x0, 0xce680330, 0x8045278, 0xd68a151a, 0x80452b8,
0xd722b3c8), at 0xef6029a4
[22] 0xef6029a4(0x0, 0xce680330, 0xce680510, 0x0, 0x0, 0x0), at 0xef6029a4
[23] 0xef6029a4(0xce680500, 0xce680510, 0x0, 0x0, 0x0, 0xceb41748), at
0xef6029a4
[24] 0xef6029a4(0x0, 0x0, 0xce680560, 0x804532c, 0xd68a09b9, 0x804535c), at
0xef6029a4
[25] 0xef602a7b(0x0, 0xceb41748, 0x0, 0xce680528, 0x8045360, 0xd689fc6f), at
0xef602a7b
[26] 0xef602a7b(0xceb37a88, 0xce680528, 0x804538c, 0xd68980b3, 0x80453b4,
0xd7220cb0), at 0xef602a7b
[27] 0xef602a7b(0xceb37a88, 0xceb60a00, 0x80453b8, 0xd689e439, 0x80453ec,
0xd7226f78), at 0xef602a7b
[28] 0xef602a7b(0x0, 0x0, 0xd7340530, 0xce6805c0, 0xce680598, 0x80453f0), at
0xef602a7b
[29] 0xef602d81(0xce680598, 0x0, 0xce6805f8, 0xd7340530, 0xceb37a88, 0x0), at
0xef602d81
[30] 0xef602a7b(0xceb37a88, 0x0, 0xd7340530, 0xce6805e0, 0x8045468,
0xd6677951), at 0xef602a7b
[31] 0xef602a7b(0xce6805e0, 0xceb37a88, 0x0, 0xd7340530, 0xceb37900,
0x80454a0), at 0xef602a7b
[32] 0xef602a7b(0x0, 0xceb37a88, 0xceb37900, 0x80454d0, 0xd68890d1,
0x80454f8), at 0xef602a7b
[33] 0xef602a7b(0xceb37a88, 0xceb37900, 0x80454fc, 0xd6888eb4, 0x8045520,
0xd7208060), at 0xef602a7b
[34] 0xef602a7b(0xceb37900, 0xceb37900, 0x8045528, 0xd263d2f4, 0x8045550,
0xd263d948), at