Problem with Terminator

68 views
Skip to first unread message

harrowq

unread,
May 16, 2018, 4:37:37 PM5/16/18
to terminat...@googlegroups.com

---------------------------

Uncaught exception

---------------------------

An error occurred in Terminator:

 

Exception RuntimeError: Java failed with #<Process::Status: pid 22460 exit 127>

 

Please send us the contents of the application log, from /home/USER/.terminator/logs/terminator-28484.log.

 

An idea of what you were doing when Java exited might be useful.

 

Command line was:

/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygwin/bin/java-launcher -Xmx256m -Dorg.jessies.libraryDirectories=C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\lib;C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\i386_Cygwin\lib -Dorg.jessies.binaryDirectory=C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\bin -Dorg.jessies.terminator.dotDirectory=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator -Dorg.jessies.terminator.logDirectory=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\logs -Dorg.jessies.terminator.serverPortFileName=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\terminator-server-port127.0.0.1_0.0 -Dorg.jessies.terminator.optionsFile=G:\ORACLE_TOOLS\CYGWIN\home\USER\.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=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\classes.jar;C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\classes;C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\classes;C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\lib\jars\AppleJavaExtensions.jar;C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\lib\jars\swing-worker-1.2.jar -De.util.Log.filename=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\logs\terminator-28484.log -De.util.Log.applicationName=Terminator -Dorg.jessies.aboutBoxIcon=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\lib\terminator-128.png -Dorg.jessies.frameIcon=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\lib\terminator-128.png -Dorg.jessies.projectRoot=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator -Dorg.jessies.supportRoot=C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek -Djava.awt.Window.locationByPlatform=true -Dswing.boldMetal=false -Dsun.java2d.d3d=false terminator/Terminator

 

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/invoke-java.rb:538:in `launch'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:97:in `launch0'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in `block in launch'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:155:in `initialize'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:167:in `new'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:167:in `report_exceptions'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:21:in `launch'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin/terminator:218:in `<main>'

 

Package 27.151.7063

Revision 7063 (7063)

Built 2018-02-16T15:57:00-08:00

 

Please mail this error message to terminat...@googlegroups.com.

You can copy it to the clipboard with Ctrl-C.

Windows won't let you select the text but Ctrl-C works anyway.

---------------------------

OK  

---------------------------

Martin Dorey

unread,
May 17, 2018, 12:33:40 AM5/17/18
to har...@gmx.de, terminat...@googlegroups.com
Pretty recent installation. 32 bit, haven't seen one of those for a while.  I don't see a smoking gun.  Perhaps the cited log would be useful:

/home/USER/.terminator/logs/terminator-28484.log

Although perhaps our correspondent means us to take its absence as implying that it was empty, as it so often is when Java won't start at all?  I wonder if it was a one-off or happened every time.

--
You received this message because you are subscribed to the Google Groups "terminator-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terminator-use...@googlegroups.com.
To post to this group, send email to terminat...@googlegroups.com.
Visit this group at https://groups.google.com/group/terminator-users.
For more options, visit https://groups.google.com/d/optout.

harrowq

unread,
May 17, 2018, 3:04:18 PM5/17/18
to Martin Dorey, terminat...@googlegroups.com

Unfortunately this log file was empty every time L

And yes, it happens every time I try to start Terminator.

Java is the most current version.

Could a 64bit installation be a better fit?

 

Thanks in advance

Message has been deleted

Martin Dorey

unread,
May 19, 2018, 3:55:51 PM5/19/18
to Egon Winnooui, har...@gmx.de, terminat...@googlegroups.com
The bit width of Terminator, Cygwin and Java would all need to be the same, but I'd hope that violating that would lead to a more useful error message.

Jonathan Teh recently noted that our Java version checking didn't support Java 10.  We fixed that for Linux but it's not impossible there's some extra Windows-specific code that we missed.  Again, I'd hope for a better message if that were the cause.

Looking at the code again, I'm reminded that we hack about with Cygwin's exception handlers.  That's prone to break with Cygwin changes and is likely to fail cryptically if it fails at all.  I haven't updated Cygwin recently.  I would have liked to have tried it but my Windows box seems to be permanently unusually slow thanks, I think, to installing Windows patches.

I vaguely remember that, in situations like this, we might produce more progress reporting if you were to run the bin/terminator script from a Cygwin console window rather than double-clicking on the icon.

Sorry that took so long for a not very useful reply,

On Thu, May 17, 2018 at 12:04 <weisserstr...@gmail.com> wrote:

Unfortunately this log file was empty every time L

And yes, it happens every time I try to start Terminator.

Java is the most current version.

Could a 64bit installation be a better fit?

 

Thanks in advance



harrowq

unread,
May 19, 2018, 5:05:32 PM5/19/18
to Martin Dorey, terminat...@googlegroups.com

OK, following the output from Cygwin console window ... I hope it helps more …

 

USER@MACHINE /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/bin

$ ./terminator

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygwin/lib'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\lib

Status was:

#<Process::Status: pid 14872 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/.generated/i386_Cygwin/lib'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\i386_Cygwin\lib

Status was:

#<Process::Status: pid 5508 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygwin/bin'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\bin

Status was:

#<Process::Status: pid 10372 exit 0>

Running:

cygpath --windows '/home/USER/.terminator'

Produced:

G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator

Status was:

#<Process::Status: pid 12372 exit 0>

Running:

cygpath --windows '/home/USER/.terminator/logs'

Produced:

G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\logs

Status was:

#<Process::Status: pid 4252 exit 0>

Running:

cygpath --windows '/home/USER/.terminator/terminator-server-port'

Produced:

G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\terminator-server-port

Status was:

#<Process::Status: pid 8844 exit 0>

Running:

cygpath --windows '/home/USER/.terminator/options'

Produced:

G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\options

Status was:

#<Process::Status: pid 2932 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/.generated/classes.jar'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\classes.jar

Status was:

#<Process::Status: pid 3232 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/.generated/classes'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\classes

Status was:

#<Process::Status: pid 12732 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/.generated/classes'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\classes

Status was:

#<Process::Status: pid 14568 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/lib/jars/AppleJavaExtensions.jar'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\lib\jars\AppleJavaExtensions.jar

Status was:

#<Process::Status: pid 7896 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/lib/jars/swing-worker-1.2.jar'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\lib\jars\swing-worker-1.2.jar

Status was:

#<Process::Status: pid 13640 exit 0>

Running:

cygpath --windows '/home/USER/.terminator/logs/terminator-14868.log'

Produced:

G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\logs\terminator-14868.log

Status was:

#<Process::Status: pid 11304 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/lib/terminator-128.png'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\lib\terminator-128.png

Status was:

#<Process::Status: pid 14560 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator/lib/terminator-128.png'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\lib\terminator-128.png

Status was:

#<Process::Status: pid 7500 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/terminator'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator

Status was:

#<Process::Status: pid 13128 exit 0>

Running:

cygpath --windows '/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek'

Produced:

C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek

Status was:

#<Process::Status: pid 5196 exit 0>

 

Then an additional window opens which contains this messages:

(unfortunately still no contents in terminator…log file

 

---------------------------

Uncaught exception

---------------------------

An error occurred in Terminator:

 

Exception RuntimeError: Java failed with #<Process::Status: pid 8716 exit 127>

 

Please send us the contents of the application log, from /home/USER/.terminator/logs/terminator-14868.log.

 

An idea of what you were doing when Java exited might be useful.

 

Command line was:

/cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/.generated/i386_Cygwin/bin/java-launcher -Xmx256m -Dorg.jessies.libraryDirectories=C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\lib;C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\i386_Cygwin\lib -Dorg.jessies.binaryDirectory=C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\bin -Dorg.jessies.terminator.dotDirectory=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator -Dorg.jessies.terminator.logDirectory=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\logs -Dorg.jessies.terminator.serverPortFileName=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\terminator-server-port -Dorg.jessies.terminator.optionsFile=G:\ORACLE_TOOLS\CYGWIN\home\USER\.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=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\classes.jar;C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\.generated\classes;C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\classes;C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\lib\jars\AppleJavaExtensions.jar;C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\lib\jars\swing-worker-1.2.jar -De.util.Log.filename=G:\ORACLE_TOOLS\CYGWIN\home\USER\.terminator\logs\terminator-14868.log -De.util.Log.applicationName=Terminator -Dorg.jessies.aboutBoxIcon=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\lib\terminator-128.png -Dorg.jessies.frameIcon=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\lib\terminator-128.png -Dorg.jessies.projectRoot=C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator -Dorg.jessies.supportRoot=C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek -Djava.awt.Window.locationByPlatform=true -Dswing.boldMetal=false -Dsun.java2d.d3d=false terminator/Terminator

 

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/invoke-java.rb:538:in `launch'

                at ./terminator:97:in `launch0'

                at ./terminator:21:in `block in launch'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:155:in `initialize'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:167:in `new'

                at /cygdrive/c/Program Files (x86)/software.jessies.org/terminator/Resources/salma-hayek/bin/show-alert.rb:167:in `report_exceptions'

                at ./terminator:21:in `launch'

                at ./terminator:218:in `<main>'

Martin Dorey

unread,
May 19, 2018, 5:16:21 PM5/19/18
to harrowq, terminat...@googlegroups.com
I hope it helps more …

Perhaps it eliminates some possibilities, but still leaves us starting our Cygwin program java-launcher, which produces no output before exiting with a failure.  A nice reproducible failure makes it a good candidate for some printf debugging but rebuilding that C++ is non-trivial.  I wonder if I could trouble you for the exact version of your 32 bit Cygwin?

harrowq

unread,
May 21, 2018, 3:35:00 PM5/21/18
to Martin Dorey, terminat...@googlegroups.com

Hi Martin,

 

my Cygwin version is:

 

$ uname -a

CYGWIN_NT-10.0 MACHINE 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Martin Dorey

unread,
May 22, 2018, 3:59:39 PM5/22/18
to harrowq, terminator-users
Thanks.  Mine was:

mdorey@VXD0141 ~
$ uname -a
CYGWIN_NT-6.1-WOW VXD0141 2.6.1(0.305/5/3) 2016-12-16 11:50 i686 Cygwin

mdorey@VXD0141 ~
$

That was working for me.  I don't see anything scary at https://cygwin.com/cygwin-ug-net/ov-new.html between those versions.  Having updated, it still works for me with:

mdorey@VXD0141 ~
$ uname -a
CYGWIN_NT-6.1-WOW VXD0141 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin

mdorey@VXD0141 ~

Hmm, looks like I'm running a pretty stale version of Terminator, somehow.

2018-05-22T11:21:28.961-0700 Terminator: Java 1.8.0_171 (VM 25.171-b11, runtime 1.8.0_171-b11)
2018-05-22T11:21:28.961-0700 Terminator: Windows 7 6.1/x86 x4
2018-05-22T11:21:28.961-0700 Terminator: CYGWIN_NT-6.1-WOW version 2.10.0(0.325/5/3) (cor...@calimero.vinschen.de) (gcc version 6.4.0 20170704 (Fedora Cygwin 6.4.0-1) (GCC) ) 2018-02-02 15:21
2018-05-22T11:21:28.961-0700 Terminator: Package 27.130.7042
2018-05-22T11:21:28.961-0700 Terminator: Revision 7042 (7042)
2018-05-22T11:21:28.961-0700 Terminator: Built 2017-10-09T20:55:36-07:00

Having installed the version you're running, that still works for me:

2018-05-22T11:39:54.505-0700 Terminator: Java 1.8.0_171 (VM 25.171-b11, runtime 1.8.0_171-b11)
2018-05-22T11:39:54.505-0700 Terminator: Windows 7 6.1/x86 x4
2018-05-22T11:39:54.505-0700 Terminator: CYGWIN_NT-6.1-WOW version 2.10.0(0.325/5/3) (cor...@calimero.vinschen.de) (gcc version 6.4.0 20170704 (Fedora Cygwin 6.4.0-1) (GCC) ) 2018-02-02 15:21
2018-05-22T11:39:54.505-0700 Terminator: Package 27.151.7063
2018-05-22T11:39:54.505-0700 Terminator: Revision 7063 (7063)
2018-05-22T11:39:54.505-0700 Terminator: Built 2018-02-16T15:57:00-08:00

Looks like I'm already running the latest Java, doubtless through some auto-update mechanism that's removed JDK 6 and stopped me building again.  I still had the installer lying around.  Lucky that.  I read somewhere that Oracle's going to remove them at some point.

Anyway, that just leaves the Windows version as our only potential difference, if it's not some other, eg machine-specific issue.  I wonder if some more logging would be practical...

Martin Dorey

unread,
May 22, 2018, 9:46:39 PM5/22/18
to harrowq, terminator-users
I wonder if some more logging would be practical...

Indeed it is.  The terminator.i386.msi in the latest directory should produce more output if you repeat your earlier:

./terminator

... test.  If it doesn't produce any more output, then I'll wonder what this does:


It should pop-up a dialog box with some usage, but perhaps that program is somehow fundamentally broken on your system.

harrowq

unread,
May 23, 2018, 5:00:04 PM5/23/18
to Martin Dorey, terminator-users

Hi,

 

thanks a lot for your help – as nothing seemed to work, I dropped the x64 version of Cygwin and installed the 32bit one.

Surprisingly, after that I was able to startup Terminator without an error J

 

May I ask you another question?

As in our company .MSI installations are not allowed – is there a possibility to get a kind of portable version of Terminator for Cygwin?

 

Martin Dorey

unread,
May 23, 2018, 6:07:47 PM5/23/18
to harrowq, terminator-users
I dropped the x64 version of Cygwin and installed the 32bit one

You only had the x64 Cygwin installed but were trying to use a 32 bit Terminator?  Oh, well then.  Clearly I didn't read your uname -a carefully enough, sorry!  I'd thought I'd addressed that earlier, with:

>> The bit width of Terminator, Cygwin and Java would all need to be the same, but I'd hope that violating that would lead to a more useful error message.

Perhaps "bit width" wasn't clear.  The more useful error message I was thinking of seems to live, these days, in https://github.com/software-jessies-org/jessies/blob/master/salma-hayek/native/Mingw/cygwin-launcher/cygwin-launcher.cpp.  That should have stopped you from getting any result, except an informative error message, from double-clicking on the desktop icon.  This is what I got when I moved ruby.exe aside, but you should have seen similar from not having the installation at all.  Hmm, perhaps you weren't double-clicking on the desktop icon?

---------------------------
Cygwin Launcher
---------------------------
This program requires Cygwin and Cygwin Ruby.

The rest of this message is only relevant if you have Cygwin and Cygwin Ruby installed.

Error: couldn't read Cygwin Ruby from "C:\cygwin\bin\ruby.exe"
Usage: C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\bin\cygwin-launcher.exe <Cygwin program name> <arguments>...

arguments [
"C:\Program Files (x86)\software.jessies.org\terminator\Resources\salma-hayek\.generated\i386_Cygwin\bin\cygwin-launcher.exe"
"C:\Program Files (x86)\software.jessies.org\terminator\Resources\terminator\bin\terminator"
] arguments

Please copy this message to the clipboard with Ctrl-C and mail it to jessies-...@googlegroups.com.
(Windows won't let you select the text but Ctrl-C works anyway.)

---------------------------
OK   
---------------------------

.MSI installations are not allowed

You have my sympathies.

 is there a possibility to get a kind of portable version of Terminator for Cygwin?

We do offer a Windows tarball, as explained on our Downloads page.

Reply all
Reply to author
Forward
0 new messages