I am using Fedora 11 x86_64.
I have been using terminator without incident for the past year.
I am using it with:
03:00 Tue Nov 17 root:~ $ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-30.b16.fc11-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
I hope you don’t tell me to install Sun Java.
Anyway, recently without warning I get this upon clicking on a terminator window:
Uncaught exception
An error occurred in Terminator:
Exception RuntimeError: Java failed with #<Process::Status: pid=5208,exited(1)>
Command line was:
java -Xmx1g -Dorg.jessies.libraryDirectories=/usr/share/software.jessies.org/terminator/Resources/terminator/.generated/amd64_Linux/lib:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/.generated/amd64_Linux/lib -Dorg.jessies.binaryDirectory=/usr/share/software.jessies.org/terminator/Resources/salma-hayek/.generated/amd64_Linux/bin -Dorg.jessies.terminator.dotDirectory=/home/richards/.terminator -Dorg.jessies.terminator.logDirectory=/home/richards/.terminator/logs -Dorg.jessies.terminator.serverPortFileName=/home/richards/.terminator/terminator-server-port_0.0 -Dorg.jessies.terminator.optionsFile=/home/richards/.terminator/options -De.gui.HelpMenu.hasManual=true -De.gui.HelpMenu.supportAddress=terminat...@googlegroups.com -De.gui.HelpMenu.supportSite=http://groups.google.com/group/terminator-users -Djava.class.path=/usr/share/software.jessies.org/terminator/Resources/terminator/.generated/classes.jar:/usr/share/software.jessies.org/terminator/Resources/terminator/.generated/classes:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/.generated/classes:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/lib/jars/AppleJavaExtensions.jar:/usr/share/software.jessies.org/terminator/Resources/salma-hayek/lib/jars/swing-worker-1.2.jar -Dgnome.DESKTOP_STARTUP_ID=gnome-panel-2565-Richards-terminator-6_TIME7120686 -De.util.Log.filename=/home/richards/.terminator/logs/terminator-5191.log -De.util.Log.applicationName=Terminator -Dorg.jessies.aboutBoxIcon=/usr/share/software.jessies.org/terminator/Resources/terminator/lib/terminator-128.png -Dorg.jessies.frameIcon=/usr/share/software.jessies.org/terminator/Resources/terminator/lib/terminator-32.png -Dorg.jessies.projectRoot=/usr/share/software.jessies.org/terminator/Resources/terminator -Djava.awt.Window.locationByPlatform=true -Dswing.boldMetal=false terminator/Terminator
at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/invoke-java.rb:459:in `launch'
at /usr/bin/terminator:97:in `launch0'
at /usr/bin/terminator:21:in `launch'
at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:122:in `call'
at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:122:in `initialize'
at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:134:in `new'
at /usr/share/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:134:in `report_exceptions'
at /usr/bin/terminator:21:in `launch'
at /usr/bin/terminator:214
Does this file contain any clue?
/home/richards/.terminator/logs/terminator-5191.log
(Again, this time with the OP.)
Does this file contain any clue?
/home/richards/.terminator/logs/terminator-5191.log
From: terminat...@googlegroups.com [mailto:terminat...@googlegroups.com] On Behalf Of Richards, Thomas
Sent: Tuesday, November 17, 2009
00:01
To: terminat...@googlegroups.com
Subject: [terminator-users]
Terminator keeps crshing, all of a sudden!
I am using Fedora 11 x86_64.
When the selection is text, we count the characters in it to provide on the popup menu. If it's numerical, we provide it in different bases.
> at terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorMenuItemProvider.java:78)
The message is coming from this code:
private String getSystemSelection() {
String result = "";
try {
Clipboard selection = terminalPane.getToolkit().getSystemSelection();
if (selection == null) {
selection = terminalPane.getToolkit().getSystemClipboard();
}
Transferable transferable = selection.getContents(null);
result = (String) transferable.getTransferData(DataFlavor.stringFlavor);
} catch (Exception ex) {
Log.warn("Couldn't get system selection", ex);
}
return result;
}
That traps the exception and returns an empty string. It logs it, because we've had problems operating with other programs before. These have usually turned out to be bugs in the other program. Perhaps it's time to silence the warning.
> Terminator seems to have thrown the same exception many, many times during the same session and then finally crashed.
Given that exception is cleanly handled, the crash must have been something else, so perhaps the end of the log is actually the more interesting part (though usually the start of the problem is the key). I'm certainly open to large attachments, if there's nothing confidential in there.
From: Richards, Thomas
[mailto:Ric...@UPMC.EDU]
Sent: Wednesday, November 18, 2009
16:12
To: Martin
Dorey; Elliott Hughes
Cc: terminat...@googlegroups.com
Subject: RE: Terminator keeps
crshing, all of a sudden!
Thanks for the suggestions, Martin and Elliott.
Terminator seems to have thrown the same exception many, many times during the same session and then finally crashed.
I truncated the output to two instances of this “failure to get system selection”.
There are perhaps 50 such instances in all.
I was pasting commands into a running program.
In the meantime I did uninstall OpenJDK and install Sun JRE.
So far I have had no problems but I look forward to your interpretations of the log file below.
Terminator has improved my work immensely with its beautiful wide scrolling display and I sincerely hope it never crashes again for me with this better set-up.
Tom
2009-11-16T09:07:25.550-0500 Terminator: Java 1.6.0_0 (VM 14.0-b16, runtime 1.6.0_0-b16)
2009-11-16T09:07:25.555-0500 Terminator: Linux 2.6.30.9-96.fc11.x86_64/amd64 x2
2009-11-16T09:07:25.555-0500 Terminator: Revision 1568 (3135)
2009-11-16T09:07:25.555-0500 Terminator: Built 2009-07-22T09:25:48-07:00
2009-11-16T09:07:26.223-0500 Terminator: Created PtyProcess[pid=5231,fd=34,pty="/dev/pts/2"] and logging to /home/richards/.terminator/logs/2009-11-16T090726.207-0500-%2Fbin%2Fbash.txt
2009-11-16T09:07:26.530-0500 Terminator: echo localhost:42243 > /home/richards/.terminator/terminator-server-port_0.0
2009-11-16T09:18:16.229-0500 Terminator: Couldn't get system selection
Associated exception:
java.awt.datatransfer.UnsupportedFlavorException: Unicode String
at sun.awt.datatransfer.ClipboardTransferable.getTransferData(ClipboardTransferable.java:160)
at terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorMenuItemProvider.java:78)
at terminator.view.TerminatorMenuItemProvider.addInfoItems(TerminatorMenuItemProvider.java:46)
at terminator.view.TerminatorMenuItemProvider.provideMenuItems(TerminatorMenuItemProvider.java:40)
at terminator.view.JTerminalPane$1.provideMenuItems(JTerminalPane.java:134)
at e.gui.EPopupMenu.showPopupMenu(EPopupMenu.java:144)
at e.gui.EPopupMenu.access$300(EPopupMenu.java:15)
at e.gui.EPopupMenu$2.run(EPopupMenu.java:130)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at e.debug.EventDispatchThreadHangMonitor.dispatchEvent(EventDispatchThreadHangMonitor.java:191)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
2009-11-16T10:01:59.894-0500 Terminator: Couldn't get system selection
Associated exception:
java.awt.datatransfer.UnsupportedFlavorException: Unicode String
at sun.awt.datatransfer.ClipboardTransferable.getTransferData(ClipboardTransferable.java:160)
at terminator.view.TerminatorMenuItemProvider.getSystemSelection(TerminatorMenuItemProvider.java:78)
at terminator.view.TerminatorMenuItemProvider.addInfoItems(TerminatorMenuItemProvider.java:46)
at terminator.view.TerminatorMenuItemProvider.provideMenuItems(TerminatorMenuItemProvider.java:40)
at terminator.view.JTerminalPane$1.provideMenuItems(JTerminalPane.java:134)
at e.gui.EPopupMenu.showPopupMenu(EPopupMenu.java:144)
at e.gui.EPopupMenu.access$300(EPopupMenu.java:15)
at e.gui.EPopupMenu$2.run(EPopupMenu.java:130)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:602)
at e.debug.EventDispatchThreadHangMonitor.dispatchEvent(EventDispatchThreadHangMonitor.java:191)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
> To me it looks as though the log just ends when Terminator crashes.
Yeah, me too. Guess I was wrong then - I guess the JVM did quit on us. I wonder if it pooped out an hs_err_pid<n>.log file. Still, if the Sun JRE holds up, I doubt it's worth the effort...
From: Richards, Thomas
[mailto:Ric...@UPMC.EDU]
Sent: Thursday, November 19, 2009
12:45
To: Martin
Dorey; Elliott Hughes
Cc: terminat...@googlegroups.com
Subject: RE: Terminator keeps
crshing, all of a sudden!
Thanks for the help.
I attach the log file you specified.
To me it looks as though the log just ends when Terminator crashes.
I was using R (www.r-project.org) in the Terminator windows every time it crashed.
Maybe there is a bug in that program, but I wouldn’t begin to know how to identify it.
For a year all worked perfectly, even with pasting in huge swaths of R statements from Xemacs.
But for the past two weeks every time I’d pasted in a large number of R statements, Terminator crashed.
It must be a recent Fedora upgrade, coupled with a recent R upgrade, to their version 2.10.0, coupled with my openJDK, which I have now uninstalled in favor of Sun JRE, as I mentioned.
So far no crashes; I will keep my eyes open.
Thanks again.
I simply REQUIRE Terminator in my work in data analysis. No other terminal is this great.
I hope R can play nicely with Terminator in Fedora 12 and forward.
Just ensure that the "java" that's first on the PATH when it's run is Sun Java.
From: Richards, Thomas
[mailto:Ric...@UPMC.EDU]
Sent: Thursday, November 19, 2009
14:00
To: Martin
Dorey; Elliott Hughes
Cc: terminat...@googlegroups.com
Subject: RE: Terminator keeps
crshing, all of a sudden!
No files like hs_err* on this machine.
OK, next perplexing item for me, FAQ for you.
I had to uninstall weka to uninstall openJDK.
I just reinatalled weka, which seems to depend on openJDK in Fedora 11.
How do ensure that Terminator always uses Sun JRE and not openJDK?
No files like hs_err* on this machine.
OK, next perplexing item for me, FAQ for you.
I had to uninstall weka to uninstall openJDK.
I just reinatalled weka, which seems to depend on openJDK in Fedora 11.
How do ensure that Terminator always uses Sun JRE and not openJDK?
Thanks for the help.
I attach the log file you specified.
To me it looks as though the log just ends when Terminator crashes.
I was using R (www.r-project.org) in the Terminator windows every time it crashed.
Maybe there is a bug in that program, but I wouldn’t begin to know how to identify it.
For a year all worked perfectly, even with pasting in huge swaths of R statements from Xemacs.
But for the past two weeks every time I’d pasted in a large number of R statements, Terminator crashed.
It must be a recent Fedora upgrade, coupled with a recent R upgrade, to their version 2.10.0, coupled with my openJDK, which I have now uninstalled in favor of Sun JRE, as I mentioned.
So far no crashes; I will keep my eyes open.
Thanks again.
I simply REQUIRE Terminator in my work in data analysis. No other terminal is this great.
I hope R can play nicely with Terminator in Fedora 12 and forward.
From: Martin Dorey
[mailto:mdo...@bluearc.com]
Sent: Wednesday, November 18, 2009 7:25 PM