Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 273400 - Copy/paste gtk_clipboard blocks main thread (freezes eclipse)
Summary: Copy/paste gtk_clipboard blocks main thread (freezes eclipse)
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4.1   Edit
Hardware: Sun Solaris-GTK
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Bogdan Gheorghe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-23 06:08 EDT by Jerome CLA
Modified: 2017-12-06 00:12 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome CLA 2009-04-23 06:08:28 EDT
Hi,

When copy/pasting from external application (Firefox) eclipse locks. 
Seems related to bug 241957 however this is for solaris-gtk. 
It takes about 5 min. before eclipse unfreezes. 

jstack blocking thread in native code:
"main" prio=3 tid=0x0806fc00 nid=0x2 runnable [0xfe46c000..0xfe46ed48]
   java.lang.Thread.State: RUNNABLE
        at org.eclipse.swt.internal.gtk.OS._gtk_clipboard_wait_for_contents(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_clipboard_wait_for_contents(OS.java:4208)
        at org.eclipse.swt.dnd.Clipboard.gtk_clipboard_wait_for_contents(Clipboard.java:617)
        at org.eclipse.swt.dnd.Clipboard.getContents(Clipboard.java:293)
        at org.eclipse.swt.custom.StyledText.getClipboardContent(StyledText.java:3211)
        at org.eclipse.swt.custom.StyledText.paste(StyledText.java:5918)
        at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3747)
        at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:891)
        at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1506)
        at org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.doOperation(JavaSourceViewer.java:186)
        at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:194)
        at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.doPasteWithImportsOperation(ClipboardOperationAction.java:501)
        at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.internalDoOperation(ClipboardOperationAction.java:287)
        at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction$1.run(ClipboardOperationAction.java:258)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jdt.internal.ui.javaeditor.ClipboardOperationAction.run(ClipboardOperationAction.java:256)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
        at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:472)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:882)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:571)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:512)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:127)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1436)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1157)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1167)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1194)
        at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:698)
        at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2765)
        at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:702)
        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1543)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:4506)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099)
        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5792)
        at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177)
        at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
        at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1550)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1212)



Details OS:
uname -a
SunOS svddev02 5.10 Generic_138889-03 i86pc i386 i86pc

jinfo:

Debugger attached successfully.
Server compiler detected.
JVM version is 11.0-b16
Java System Properties:

java.vendor = Sun Microsystems Inc.
sun.java.launcher = SUN_STANDARD
org.osgi.supports.framework.extension = true
sun.management.compiler = HotSpot Tiered Compilers
https.proxyHost = svdprx01
osgi.framework.beginningstartlevel = 1
https.proxySet = true
os.name = SunOS
sun.boot.class.path = /opt/jdk1.6.0_11/jre/lib/resources.jar:/opt/jdk1.6.0_11/jre/lib/rt.jar:/opt/jdk1.6.0_11/jre/lib/sunrsasign.jar:/opt/jdk1.6.0_11/jre/lib/jsse.jar:/opt/jdk1.6.0_11/jre/lib/jce.jar:/opt/jdk1.6.0_11/jre/lib/charsets.jar:/opt/jdk1.6.0_11/jre/classes
osgi.ws = gtk
sun.desktop = gnome
java.vm.specification.vendor = Sun Microsystems Inc.
java.runtime.version = 1.6.0_11-b03
osgi.instance.area = file:/export/home/project/workspace_dss/
http.proxyPort = 8000
user.name = project
org.osgi.framework.system.packages = javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views ,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
eclipse.launcher = /opt/eclipse-3.4.1/eclipse.bin
org.osgi.framework.language = en
user.language = en
org.osgi.framework.processor = x86
osgi.syspath = /opt/eclipse-3.4.1/plugins
sun.boot.library.path = /opt/jdk1.6.0_11/jre/lib/i386
osgi.manifest.cache = /export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/org.eclipse.osgi/manifests
osgi.compatibility.bootdelegation = true
eof = eof
java.version = 1.6.0_11
org.osgi.framework.os.name = SunOS
user.timezone = Europe/Amsterdam
sun.arch.data.model = 32
osgi.bundles = org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start
http.nonProxyHosts = 127.0.0.1|localhost|svdscm01
java.endorsed.dirs = /opt/jdk1.6.0_11/jre/lib/endorsed
java.rmi.server.randomIDs = true
sun.cpu.isalist =
sun.jnu.encoding = ISO646-US
file.encoding.pkg = sun.io
org.osgi.framework.vendor = Eclipse
file.separator = /
java.specification.name = Java Platform API Specification
java.class.version = 50.0
org.eclipse.equinox.launcher.splash.location = /opt/eclipse-3.4.1/plugins/org.eclipse.platform_3.3.101.v200809111700/splash.bmp
java.home = /opt/jdk1.6.0_11/jre
osgi.os = solaris
eclipse.commands = -os
solaris
-ws
gtk
-arch
x86
-showsplash
-launcher
/opt/eclipse-3.4.1/eclipse.bin
-name
Eclipse.bin
--launcher.library
/opt/eclipse-3.4.1/plugins/org.eclipse.equinox.launcher.gtk.solaris.x86_1.0.101.R34x_v20080731/eclipse_1115.so
-startup
/opt/eclipse-3.4.1/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-exitdata
2900005b
-vm
/opt/jdk1.6.0/bin/java

java.vm.info = mixed mode
osgi.splashLocation = /opt/eclipse-3.4.1/plugins/org.eclipse.platform_3.3.101.v200809111700/splash.bmp
os.version = 5.10
https.proxyPort = 8000
osgi.arch = x86
https.nonProxyHosts = 127.0.0.1|localhost|svdscm01
osgi.sharedConfiguration.area = file:/opt/eclipse-3.4.1/configuration/
path.separator = :
java.vm.version = 11.0-b16
org.osgi.supports.framework.fragment = true
osgi.framework.shape = jar
http.proxySet = true
osgi.instance.area.default = file:/export/home/project/workspace/
java.awt.printerjob = sun.print.PSPrinterJob
sun.io.unicode.encoding = UnicodeBig
org.osgi.framework.version = 1.4.0
osgi.install.area = file:/opt/eclipse-3.4.1/
osgi.framework = file:/opt/eclipse-3.4.1/plugins/org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
user.home = /export/home/project
osgi.bundlestore = /export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/org.eclipse.osgi/bundles
osgi.splashPath = platform:/base/plugins/org.eclipse.platform
osgi.nl = en
java.specification.vendor = Sun Microsystems Inc.
java.library.path = /opt/jdk1.6.0_11/jre/lib/i386/server:/opt/jdk1.6.0_11/jre/lib/i386:/opt/jdk1.6.0_11/jre/../lib/i386:/usr/jdk/packages/lib/i386:/lib:/usr/lib
java.vendor.url = http://java.sun.com/
org.osgi.framework.os.version = 5.10.0
eclipse.startTime = 1240408393923
java.vm.vendor = Sun Microsystems Inc.
java.runtime.name = Java(TM) SE Runtime Environment
java.class.path = /opt/eclipse-3.4.1/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
eclipse.vm = /opt/jdk1.6.0/bin/java
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.version = 1.0
sun.cpu.endian = little
sun.os.patch.level = unknown
java.io.tmpdir = /var/tmp/
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
http.proxyHost = svdprx01
eclipse.product = org.eclipse.platform.ide
jna.platform.library.path = /usr/lib/32:/lib/32:/usr/lib:/lib
eclipse.home.location = file:/opt/eclipse-3.4.1/
os.arch = x86
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.ext.dirs = /opt/jdk1.6.0_11/jre/lib/ext:/usr/jdk/packages/lib/ext
user.dir = /export/home/project
org.osgi.supports.framework.requirebundle = true
line.separator =

java.vm.name = Java HotSpot(TM) Server VM
eclipse.ee.install.verify = false
file.encoding = ISO646-US
osgi.framework.version = 3.4.2.R34x_v20080826-1230
eclipse.buildId = I20070625-1500
eclipse.vmargs = -XX:MaxPermSize=256m
-jar
/opt/eclipse-3.4.1/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar

java.specification.version = 1.6
org.osgi.framework.executionenvironment = OSGi/Minimum-1.0,OSGi/Minimum-1.1,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
osgi.logfile = /export/home/project/workspace_dss/.metadata/.log
osgi.configuration.area = file:/export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/

VM Flags:

-XX:MaxPermSize=256m


jmap:
Attaching to process ID 20633, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 11.0-b16
0x08050000      50K     /opt/jdk1.6.0_11/bin/java
0xa4ec0000      127K    /usr/sfw/lib/libcrypto_extra.so.0.9.7
0xa4ee0000      135K    /usr/sfw/lib/libssl_extra.so.0.9.7
0xa4f00000      58K     /usr/lib/libORBitCosNaming-2.so.0.0.0
0xa4f20000      79K     /usr/openwin/lib/libICE.so.6
0xa4f40000      36K     /usr/openwin/lib/libSM.so.6
0xa4f60000      117K    /usr/lib/libjpeg.so.62.0.0
0xa4f90000      88K     /usr/lib/libart_lgpl_2.so.2.3.16
0xa4fc0000      186K    /usr/lib/libgnomecanvas-2.so.0.600.0
0xa5000000      27K     /usr/lib/libgailutil.so.17.0.5
0xa5020000      409K    /usr/lib/libbonoboui-2.so.0.0.0
0xa5090000      34K     /usr/lib/libgnome-keyring.so.0.0.0
0xa50b0000      26K     /usr/lib/libpopt.so.0.0.0
0xa50d0000      134K    /usr/lib/libaudiofile.so.0.0.2
0xa5100000      34K     /usr/lib/libesd.so.0.2.32
0xa5120000      1147K   /usr/sfw/lib/libcrypto.so.0.9.7
0xa5240000      1253K   /usr/sfw/lib/libssl.so.0.9.7
0xa5290000      1220K   /usr/lib/libxml2.so.2
0xa53c0000      280K    /lib/libresolv.so.2
0xa5410000      349K    /usr/lib/libORBit-2.so.0.0.0
0xa5470000      95K     /usr/lib/libbonobo-activation.so.4.0.0
0xa54a0000      411K    /usr/lib/libbonobo-2.so.0.0.0
0xa5510000      222K    /usr/lib/libgconf-2.so.4.1.0
0xa5560000      626K    /usr/lib/libgnomeui-2.so.0.600.1
0xa5600000      399K    /usr/lib/libgnomevfs-2.so.0.600.0
0xa5670000      116K    /var/tmp/jna4336977349239455828.tmp
0xa56d0000      86K     /usr/lib/libgnome-2.so.0.600.0
0xa5700000      13K     /export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/org.eclipse.osgi/bundles/21/1/.cp/libswt-gnome-gtk-3449.so
0xa5720000      6K      /usr/lib/iconv/646%UTF-8.so
0xa5740000      4K      /usr/lib/iconv/UTF-8%646.so
0xa5760000      20K     /lib/libpthread.so.1
0xa5a40000      3K      /opt/jdk1.6.0_11/jre/lib/i386/librmi.so
0xa5f00000      28K     /export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/org.eclipse.osgi/bundles/21/1/.cp/libswt-atk-gtk-3449.so
0xa6020000      30K     /opt/jdk1.6.0_11/jre/lib/i386/libmanagement.so
0xa6040000      39K     /opt/jdk1.6.0_11/jre/lib/i386/libinstrument.so
0xa60e0000      26K     /usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so
0xa6150000      7K      /export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/org.eclipse.osgi/bundles/106/1/.cp/os/solaris/x86/liblocalfile_1_0_0.so0xa61c0000      7K      /usr/lib/pango/1.4.0/modules/pango-basic-fc.so
0xa62f0000      54K     /usr/X11/lib/libXcursor.so.1
0xa6340000      6K      /usr/lib/iconv/8859-1%UTF-8.so
0xa6360000      135K    /usr/lib/libpng12.so.0.18.0
0xa6390000      15K     /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.so
0xa63b0000      21K     /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.so
0xa63d0000      21K     /usr/openwin/lib/libXtst.so.1
0xa63f0000      12K     /usr/lib/libgthread-2.0.so.0.400.1
0xa6410000      366K    /export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/org.eclipse.osgi/bundles/21/1/.cp/libswt-pi-gtk-3449.so
0xa6480000      171K    /export/home/project/.eclipse/org.eclipse.platform_3.4.0_1140858101/configuration/org.eclipse.osgi/bundles/21/1/.cp/libswt-gtk-3449.so
0xa6600000      2796K   /usr/lib/libgtk-x11-2.0.so.0.400.9
0xa68c0000      311K    /usr/lib/security/pkcs11_softtoken.so.1
0xa6910000      40K     /usr/lib/libcryptoutil.so.1
0xa6930000      132K    /usr/lib/libpkcs11.so.1
0xa6960000      57K     /opt/jdk1.6.0_11/jre/lib/i386/libj2pkcs11.so
0xa6980000      9K      /lib/libsendfile.so.1
0xa69a0000      45K     /lib/libaio.so.1
0xa69c0000      45K     /lib/librt.so.1
0xa69e0000      32K     /opt/jdk1.6.0_11/jre/lib/i386/libnio.so
0xa6a00000      37881K  /usr/lib/libmlib/libmlib_sse2.so.2
0xa8b40000      73K     /opt/jdk1.6.0_11/jre/lib/i386/libnet.so
0xa8b70000      10K     /usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-bmp.so
0xa8b90000      238K    /usr/sfw/lib/libexpat.so.1.5.2
0xa8be0000      50K     /usr/lib/gtk-2.0/2.4.0/engines/libblueprint.so
0xa8c00000      20530K  /usr/lib/libmlib.so.2
0xa9d40000      5K      /usr/lib/iconv/UTF-8%8859-1.so
0xa9d60000      102K    /usr/lib/libatk-1.0.so.0.700.3
0xa9d90000      65K     /usr/lib/libz.so.1
0xa9db0000      162K    /usr/lib/libpangoft2-1.0.so.0.501.1
0xa9df0000      92K     /usr/lib/libgdk_pixbuf-2.0.so.0.400.9
0xa9e20000      1298K   /usr/openwin/lib/libX11.so.4
0xa9f70000      347K    /usr/lib/libfontconfig.so.1
0xa9fc0000      30K     /usr/openwin/sfw/lib/libXrender.so.1
0xa9fe0000      730K    /usr/sfw/lib/libfreetype.so.6.3.19
0xaa090000      77K     /usr/openwin/lib/libXft.so.2
0xaa0b0000      47K     /usr/lib/libpangox-1.0.so.0.501.1
0xaa0d0000      225K    /usr/lib/libpango-1.0.so.0.501.1
0xaa120000      19K     /usr/lib/libpangoxft-1.0.so.0.501.1
0xaa140000      9K      /usr/lib/libgmodule-2.0.so.0.400.1
0xaa160000      94K     /usr/openwin/lib/libXext.so.0
0xaa190000      34K     /usr/openwin/lib/libXi.so.5
0xaa1b0000      452K    /usr/lib/libgdk-x11-2.0.so.0.400.9
0xaa230000      555K    /usr/lib/libglib-2.0.so.0.400.1
0xaa2d0000      250K    /usr/lib/libgobject-2.0.so.0.400.1
0xaaca0000      45K     /usr/X11/lib/libXrandr.so.2
0xfb010000      69K     /opt/eclipse-3.4.1/plugins/org.eclipse.equinox.launcher.gtk.solaris.x86_1.0.101.R34x_v20080731/eclipse_1115.so
0xfe320000      72K     /opt/jdk1.6.0_11/jre/lib/i386/libzip.so
0xfe350000      188K    /opt/jdk1.6.0_11/jre/lib/i386/libjava.so
0xfe390000      55K     /opt/jdk1.6.0_11/jre/lib/i386/libverify.so
0xfe3e0000      44K     /opt/jdk1.6.0_11/jre/lib/i386/native_threads/libhpi.so
0xfe4b0000      19K     /lib/libmp.so.2
0xfe4d0000      73K     /lib/libmd.so.1
0xfe4f0000      37K     /lib/libgen.so.1
0xfe510000      38K     /lib/libuutil.so.1
0xfe530000      118K    /lib/libscf.so.1
0xfe560000      711K    /lib/libnsl.so.1
0xfe600000      9107K   /opt/jdk1.6.0_11/jre/lib/i386/server/libjvm.so
0xfed40000      329K    /lib/libm.so.2
0xfeda0000      15K     /lib/libdoor.so.1
0xfedc0000      65K     /usr/lib/libCrun.so.1
0xfedf0000      13K     /lib/libm.so.1
0xfee10000      81K     /lib/libsocket.so.1
0xfee30000      1378K   /lib/libc.so.1
0xfef60000      6K      /lib/libdl.so.1
0xfef80000      38K     /opt/jdk1.6.0_11/jre/lib/i386/jli/libjli.so
0xfefa0000      2K      /usr/lib/libsched.so.1
0xfefb0000      23K     /lib/libthread.so.1
0xfefc4000      209K    /lib/ld.so.1
Comment 1 Bogdan Gheorghe CLA 2009-04-23 15:12:26 EDT
Any repro steps for this?
Comment 2 Jerome CLA 2009-04-24 05:04:12 EDT
Hi,

It seems to happen when there is non-charater (non string) in the clipboard; e.g. formatted text, binary data, etc. 
When it hangs I start xclipboard and I get the following output

> xclipboard
Warning: Cannot convert string "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-courier-medium-r-normal--*-120-*-*-*-*-iso8859-1" to type FontStruct

Then it responds with an "error" message dialog "CLIPBOARD selected conversion failed".
However when I paste the same content in a gnome terminal it just prints the following output
start (CTRL+V)

            formType.getFixedLineNumberingPlan()

^C
end

So it seems when xclipboard cannot render the content this block will occur. I assume that it is waiting on native parsing of the clipboard. trying to convert the clipboard data to a string / char[].
Comment 3 Jerome CLA 2009-04-27 13:45:29 EDT
Hi,

When blocked pstack returns the folling for this thread. 
pstack info nid=0x2 (lwp 2):
feed9d67 pollsys  (8884bd8, 4, fe46c610, 0)
 fee7f532 poll     (8884bd8, 4, 140) + 52
 aa26329e g_main_context_iterate () + 39d

Cheers,

Jerome
Comment 4 Jerome CLA 2009-05-01 04:32:37 EDT
Hi,

Any update needed or /dev/null?

Cheers,

Jerome
Comment 5 Martin Oberhuber CLA 2013-09-20 11:43:08 EDT
FYI, probably related bugs:

This one has a small c program that prints the clipboard owner, might help diagnosing such problems
https://bugs.eclipse.org/bugs/show_bug.cgi?id=74498#c6

This one is also about gtk_clipboard_wait_for_contents but more recent
https://bugs.eclipse.org/bugs/show_bug.cgi?id=241957
Comment 6 Alexander Kurtakov CLA 2017-12-06 00:12:44 EST
SWT no longer provides Solaris builds.