Uncaught exception in Terminator

26 views
Skip to first unread message

indrg

unread,
Dec 23, 2009, 7:34:17 PM12/23/09
to terminator-users
I am getting this error now. I started getting this when I upgraded
cygwin to 1.7.1.
I even made sure that extras are installed on cygwin including ruby.

---------------------------
Java Launcher
---------------------------
If you don't have Java installed, download it from http://java.com/,
then try again.

Error: FindClass("terminator/Terminator") failed.

Selected JVM was: C:\Program Files\Java\jre6\bin\client\jvm.dll

Command line was:
C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/.generated/i386_Cygwin/bin/java-launcher -Xmx100m -
Dorg.jessies.libraryDirectories=; -Dorg.jessies.binaryDirectory= -
Dorg.jessies.terminator.dotDirectory= -
Dorg.jessies.terminator.logDirectory= -
Dorg.jessies.terminator.serverPortFileName= -
Dorg.jessies.terminator.optionsFile= -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=;;;; -De.util.Log.filename= -
De.util.Log.applicationName=Terminator -Dorg.jessies.aboutBoxIcon= -
Dorg.jessies.frameIcon= -Dorg.jessies.projectRoot= -
Dorg.jessies.supportRoot= -Djava.awt.Window.locationByPlatform=true -
Dswing.boldMetal=false terminator/Terminator

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

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

---------------------------
Uncaught exception
---------------------------
An error occurred in Terminator:

Exception RuntimeError: Java failed with #<Process::Status:
pid=1416,exited(1)>

Command line was:
C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/.generated/i386_Cygwin/bin/java-launcher -Xmx100m -
Dorg.jessies.libraryDirectories=; -Dorg.jessies.binaryDirectory= -
Dorg.jessies.terminator.dotDirectory= -
Dorg.jessies.terminator.logDirectory= -
Dorg.jessies.terminator.serverPortFileName= -
Dorg.jessies.terminator.optionsFile= -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=;;;; -De.util.Log.filename= -
De.util.Log.applicationName=Terminator -Dorg.jessies.aboutBoxIcon= -
Dorg.jessies.frameIcon= -Dorg.jessies.projectRoot= -
Dorg.jessies.supportRoot= -Djava.awt.Window.locationByPlatform=true -
Dswing.boldMetal=false terminator/Terminator

at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/invoke-java.rb:461:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:97:in `launch0'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:21:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:90:in `call'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:90:in `run_in_home_directory'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:88:in `chdir'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:88:in `run_in_home_directory'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:120:in `initialize'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:134:in `new'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:134:in `report_exceptions'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:21:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:218

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

Restarting windows does not work. The logs in my home directory C:/
cygwin/home/ingunawa/.terminator/logs are all empty. Whenever I
deleted the terminator shortcut on Desktop, reinstalling the msi file
does not recreate the shortcut.

I am also wondering whether in addition to tabs, I can have the split
windows in this terminator in the future?
Thanks.
-Indra

Martin Dorey

unread,
Dec 23, 2009, 8:25:07 PM12/23/09
to ind...@gmail.com, terminat...@googlegroups.com

> I started getting this when I upgraded cygwin to 1.7.1.

 

They've released 1.7?

 

...

 

They've released 1.7.  Praise be.

 

> -Djava.class.path=;;;;

 

We've had this before.

 

...

 

Here:

 

http://groups.google.com/group/terminator-users/browse_thread/thread/22e1d19f5208d7f9

 

Cygwin 1.7.0-63 was broken.  Cygpath required cygstdc++-6.dll to be installed, which it isn't by default.

 

1.7.0-64 was fine.

 

My main system is fine too.  Even after upgrade to:

 

$ uname -a

CYGWIN_NT-5.1 vm-martind 1.7.1(0.218/5/3) 2009-12-07 11:48 i686 Cygwin

$

 

Note the absence of any "++":

 

$ ldd `which cygpath`

      ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c900000)

      kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c800000)

      cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)

      ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77dd0000)

      RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e70000)

      Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fe0000)

      SHELL32.DLL => /cygdrive/c/WINDOWS/system32/SHELL32.DLL (0x7c9c0000)

      GDI32.dll => /cygdrive/c/WINDOWS/system32/GDI32.dll (0x77f10000)

      USER32.dll => /cygdrive/c/WINDOWS/system32/USER32.dll (0x7e410000)

      msvcrt.dll => /cygdrive/c/WINDOWS/system32/msvcrt.dll (0x77c10000)

      SHLWAPI.dll => /cygdrive/c/WINDOWS/system32/SHLWAPI.dll (0x77f60000)

$

 

So I'm baffled by your problem.  Perhaps you could send similar uname -a and ldd `which cygpath` output.

 

> Whenever I deleted the terminator shortcut on Desktop, reinstalling the msi file

> does not recreate the shortcut.

 

Manually sabotaged installations aren't supported.  If I were you, I'd go to Control Panel, Add or Remove Programs, remove all trace of Terminator, then try reinstalling from the .msi.

 

> I am also wondering whether in addition to tabs, I can have the split

> windows in this terminator in the future?

 

The short answer is "no".  If you want split windows, you might want to look at http://www.tenshu.net/terminator/, but I expect you know about that already, as you wrote "this terminator".  The two projects called Terminator are completely independent.  In particular, this Terminator isn't intended to be a reimplementation of "the other Terminator".  According to the guy behind "the other Terminator", we actually had the name first, but he didn't realize at the time.

--

 

You received this message because you are subscribed to the Google Groups "terminator-users" group.

To post to this group, send email to terminat...@googlegroups.com.

To unsubscribe from this group, send email to terminator-use...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/terminator-users?hl=en.

 

 

indrg

unread,
Dec 24, 2009, 2:50:26 AM12/24/09
to terminator-users
On mine I have exactly the same as yours:

bash-3.2$ uname -a
CYGWIN_NT-5.1 ingunawa-wxp01 1.7.1(0.218/5/3) 2009-12-07 11:48 i686
Cygwin
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$ ldd `which cygpath`


ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll
(0x7c900000)
kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll
(0x7c800000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL
(0x77dd0000)
RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll
(0x77e70000)
Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll
(0x77fe0000)
SHELL32.DLL => /cygdrive/c/WINDOWS/system32/SHELL32.DLL
(0x7c9c0000)
GDI32.dll => /cygdrive/c/WINDOWS/system32/GDI32.dll
(0x77f10000)
USER32.dll => /cygdrive/c/WINDOWS/system32/USER32.dll
(0x7e410000)
msvcrt.dll => /cygdrive/c/WINDOWS/system32/msvcrt.dll
(0x77c10000)
SHLWAPI.dll => /cygdrive/c/WINDOWS/system32/SHLWAPI.dll
(0x77f60000)

bash-3.2$

Originally, I never intended to upgrade but the cygwin kept
complaining that the init file has changed on the sites I selected
when I used the cygwin version 1.5.x setup.exe.
Thus, I was forced to download new setup.exe as suggested by the
error. I followed the manual step as on cygwin web site post the
upgrade on http://www.cygwin.com/ see below:

Please note that the update from Cygwin 1.5.x to Cygwin 1.7.x might
require some manual changes afterwards. Most notably the mount point
storage has been moved out of the registry into files. User mount
points are NOT copied into the new user-specific /etc/fstab.d/$USER
file. Rather, every user has to call the /bin/copy-user-registry-fstab
shell script once after the update. PLEASE read the new User's Guide
before upgrading your Cygwin installation to 1.7. You're avoiding
trouble.


After the update, I started getting the error with Terminator. I
checked the extra I installed in Cygwin. Just to make sure I ran this
below:
...\setup.exe -q -P inetutils,ncurses,openssh,perl,python,ruby


Did you do any other manual changes to update to Cygwin 1.7.x on your
system?

I followed your suggestion. I removed Terminator from Add/Remove
Programs. Then I reinstalled Terminator but I am still getting the
same problem.

Note:
When I was using google chrome earlier it can't detect java though I
have a copy of jre I installed manually. Google Chrome asked me to
install java. So the C:\Program Files\Java\jre6 is a new one I
installed.
C:\Program Files\Java\jre6\bin>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

Do I have to resort to last alternative of cleaning up cygwin and
install cygwin 1.7.1 from scratch?

Thanks.
-Indra


On Dec 23, 5:25 pm, Martin Dorey <mdo...@bluearc.com> wrote:
> > I started getting this when I upgraded cygwin to 1.7.1.
>
> They've released 1.7?
>
> ...
>
> They've released 1.7.  Praise be.
>
> > -Djava.class.path=;;;;
>
> We've had this before.
>
> ...
>
> Here:
>

> http://groups.google.com/group/terminator-users/browse_thread/thread/...

> The short answer is "no".  If you want split windows, you might want to look athttp://www.tenshu.net/terminator/, but I expect you know about that already, as you wrote "this terminator".  The two projects called Terminator are completely independent.  In particular, this Terminator isn't intended to be a reimplementation of "the other Terminator".  According to the guy behind "the other Terminator", we actually had the name first, but he didn't realize at the time.


>
> -----Original Message-----
> From: terminat...@googlegroups.com [mailto:terminat...@googlegroups.com] On Behalf Of indrg
> Sent: Wednesday, December 23, 2009 16:34
> To: terminator-users
> Subject: [terminator-users] Uncaught exception in Terminator
>
> I am getting this error now.  I started getting this when I upgraded
>
> cygwin to 1.7.1.
>
> I even made sure that extras are installed on cygwin including ruby.
>
> ---------------------------
>
> Java Launcher
>
> ---------------------------
>

> If you don't have Java installed, download it fromhttp://java.com/,

indrg

unread,
Dec 24, 2009, 3:03:42 AM12/24/09
to terminator-users
On Mine I have exactly the same as yours:

bash-3.2$ uname -a
CYGWIN_NT-5.1 ingunawa-wxp01 1.7.1(0.218/5/3) 2009-12-07 11:48 i686
Cygwin
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$ ldd `which cygpath`


ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll
(0x7c900000)
kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll
(0x7c800000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL
(0x77dd0000)
RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll
(0x77e70000)
Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll
(0x77fe0000)
SHELL32.DLL => /cygdrive/c/WINDOWS/system32/SHELL32.DLL
(0x7c9c0000)
GDI32.dll => /cygdrive/c/WINDOWS/system32/GDI32.dll
(0x77f10000)
USER32.dll => /cygdrive/c/WINDOWS/system32/USER32.dll
(0x7e410000)
msvcrt.dll => /cygdrive/c/WINDOWS/system32/msvcrt.dll
(0x77c10000)
SHLWAPI.dll => /cygdrive/c/WINDOWS/system32/SHLWAPI.dll
(0x77f60000)

bash-3.2$

Did you do anything manual post upgrade to cygwin 1.7.x on your
system?
Originally I never intended to upgrade. However with the cygwin 1.5.x
setup.exe I downloaded I can't no longer able to install anything new
from remote sites (initialization file being too old can't be parsed
and it requires a new setup.exe).
I did this manual step post-upgrade as instructed on http://www.cygwin.com/
below:

Please note that the update from Cygwin 1.5.x to Cygwin 1.7.x might
require some manual changes afterwards. Most notably the mount point
storage has been moved out of the registry into files. User mount
points are NOT copied into the new user-specific /etc/fstab.d/$USER
file. Rather, every user has to call the /bin/copy-user-registry-fstab
shell script once after the update.

I followed your advice to uninstall Terminator cleanly via Windows'
Add or Remove Programs.

Is this JRE problem?
My JRE used:

C:\Program Files\Java\jre6\bin>./java --version
'.' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\Java\jre6\bin>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

Thank you.

-Indra

On Dec 23, 5:25 pm, Martin Dorey <mdo...@bluearc.com> wrote:

> > I started getting this when I upgraded cygwin to 1.7.1.
>
> They've released 1.7?
>
> ...
>
> They've released 1.7.  Praise be.
>
> > -Djava.class.path=;;;;
>
> We've had this before.
>
> ...
>
> Here:
>

> http://groups.google.com/group/terminator-users/browse_thread/thread/...

> The short answer is "no".  If you want split windows, you might want to look athttp://www.tenshu.net/terminator/, but I expect you know about that already, as you wrote "this terminator".  The two projects called Terminator are completely independent.  In particular, this Terminator isn't intended to be a reimplementation of "the other Terminator".  According to the guy behind "the other Terminator", we actually had the name first, but he didn't realize at the time.


>
> -----Original Message-----
> From: terminat...@googlegroups.com [mailto:terminat...@googlegroups.com] On Behalf Of indrg
> Sent: Wednesday, December 23, 2009 16:34
> To: terminator-users
> Subject: [terminator-users] Uncaught exception in Terminator
>
> I am getting this error now.  I started getting this when I upgraded
>
> cygwin to 1.7.1.
>
> I even made sure that extras are installed on cygwin including ruby.
>
> ---------------------------
>
> Java Launcher
>
> ---------------------------
>

> If you don't have Java installed, download it fromhttp://java.com/,

indrg

unread,
Dec 24, 2009, 3:10:20 AM12/24/09
to terminator-users
Mine is the same as yours:

bash-3.2$ uname -a
CYGWIN_NT-5.1 ingunawa-wxp01 1.7.1(0.218/5/3) 2009-12-07 11:48 i686
Cygwin
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$ ldd `which cygpath`


ntdll.dll => /cygdrive/c/WINDOWS/system32/ntdll.dll
(0x7c900000)
kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll
(0x7c800000)
cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
ADVAPI32.DLL => /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL
(0x77dd0000)
RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll
(0x77e70000)
Secur32.dll => /cygdrive/c/WINDOWS/system32/Secur32.dll
(0x77fe0000)
SHELL32.DLL => /cygdrive/c/WINDOWS/system32/SHELL32.DLL
(0x7c9c0000)
GDI32.dll => /cygdrive/c/WINDOWS/system32/GDI32.dll
(0x77f10000)
USER32.dll => /cygdrive/c/WINDOWS/system32/USER32.dll
(0x7e410000)
msvcrt.dll => /cygdrive/c/WINDOWS/system32/msvcrt.dll
(0x77c10000)
SHLWAPI.dll => /cygdrive/c/WINDOWS/system32/SHLWAPI.dll
(0x77f60000)

bash-3.2$

Is it JRE issue?
My JRE used:


C:\Program Files\Java\jre6\bin>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

C:\Program Files\Java\jre6\bin>


C:\Program Files\Java\jre6\bin>
C:\Program Files\Java\jre6\bin>

What step did you run manually after upgrading to cygwin 1.7.x on your
system?
Should I clean up Cygwin and install cygwin 1.7.1 from scratch?

Thanks.
-Indra

-Indra

On Dec 23, 5:25 pm, Martin Dorey <mdo...@bluearc.com> wrote:

> > I started getting this when I upgraded cygwin to 1.7.1.
>
> They've released 1.7?
>
> ...
>
> They've released 1.7.  Praise be.
>
> > -Djava.class.path=;;;;
>
> We've had this before.
>
> ...
>
> Here:
>

> http://groups.google.com/group/terminator-users/browse_thread/thread/...

> The short answer is "no".  If you want split windows, you might want to look athttp://www.tenshu.net/terminator/, but I expect you know about that already, as you wrote "this terminator".  The two projects called Terminator are completely independent.  In particular, this Terminator isn't intended to be a reimplementation of "the other Terminator".  According to the guy behind "the other Terminator", we actually had the name first, but he didn't realize at the time.


>
> -----Original Message-----
> From: terminat...@googlegroups.com [mailto:terminat...@googlegroups.com] On Behalf Of indrg
> Sent: Wednesday, December 23, 2009 16:34
> To: terminator-users
> Subject: [terminator-users] Uncaught exception in Terminator
>
> I am getting this error now.  I started getting this when I upgraded
>
> cygwin to 1.7.1.
>
> I even made sure that extras are installed on cygwin including ruby.
>
> ---------------------------
>
> Java Launcher
>
> ---------------------------
>

> If you don't have Java installed, download it fromhttp://java.com/,

Martin Dorey

unread,
Dec 24, 2009, 12:45:53 PM12/24/09
to terminat...@googlegroups.com, ind...@gmail.com
> On mine I have exactly the same as yours:

Right. So it's not the same issue as before, despite having much the same symptom.

> Did you do any other manual changes to
> update to Cygwin 1.7.x on your
> system?

I didn't follow the same upgrade path as you. I had a pre-release version of 1.7 which I upgraded. I don't remember doing anything special when I first installed that.

I don't see anything wrong with what you did.

> I followed your suggestion. I removed
> Terminator from Add/Remove
> Programs. Then I reinstalled Terminator
> but I am still getting the
> same problem.

My goal with that suggestion was simply to get the desktop shortcut back. It wasn't to fix "the empty java class path" problem.

> Do I have to resort to last alternative of
> cleaning up cygwin and
> install cygwin 1.7.1 from scratch?

I wouldn't try that yet. The key step in diagnosing the previous occurrence of the same symptom was when Roberts, Brandon ran Terminator from a Cygwin command prompt window. This then produced some error messages in that window which he googled and hence found the answer, in his "Winner! Winner!" post in the thread I linked to yesterday. If you try that, I bet you'll have similarly useful results. You seem pretty clueful, so hopefully you can work out how to run it, either by looking at your desktop shortcut or by looking at what Roberts, Brandon did. I gotta run for an hour or two...

Oh, before I go, it's definitely not a jre problem. We haven't got as far as launching Java, or trying to do so.

----- Original Message -----
From: terminat...@googlegroups.com <terminat...@googlegroups.com>
To: terminator-users <terminat...@googlegroups.com>
Sent: Wed Dec 23 23:50:26 2009
Subject: [terminator-users] Re: Uncaught exception in Terminator

On mine I have exactly the same as yours:
Originally, I never intended to upgrade but the cygwin kept
complaining that the init file has changed on the sites I selected
when I used the cygwin version 1.5.x setup.exe.
Thus, I was forced to download new setup.exe as suggested by the
error. I followed the manual step as on cygwin web site post the
upgrade on http://www.cygwin.com/ see below:

Please note that the update from Cygwin 1.5.x to Cygwin 1.7.x might
require some manual changes afterwards. Most notably the mount point
storage has been moved out of the registry into files. User mount
points are NOT copied into the new user-specific /etc/fstab.d/$USER
file. Rather, every user has to call the /bin/copy-user-registry-fstab
shell script once after the update. PLEASE read the new User's Guide
before upgrading your Cygwin installation to 1.7. You're avoiding
trouble.


After the update, I started getting the error with Terminator. I
checked the extra I installed in Cygwin. Just to make sure I ran this
below:
...\setup.exe -q -P inetutils,ncurses,openssh,perl,python,ruby


Did you do any other manual changes to update to Cygwin 1.7.x on your
system?

I followed your suggestion. I removed Terminator from Add/Remove
Programs. Then I reinstalled Terminator but I am still getting the
same problem.

Note:
When I was using google chrome earlier it can't detect java though I
have a copy of jre I installed manually. Google Chrome asked me to
install java. So the C:\Program Files\Java\jre6 is a new one I
installed.
C:\Program Files\Java\jre6\bin>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

Do I have to resort to last alternative of cleaning up cygwin and
install cygwin 1.7.1 from scratch?

Thanks.
-Indra


indrg

unread,
Dec 24, 2009, 2:23:01 PM12/24/09
to terminator-users
Thanks I will investigate more.

-Indra

> upgrade onhttp://www.cygwin.com/see below:

> ...
>
> read more »

Carl Anderson

unread,
Jan 11, 2010, 1:44:29 PM1/11/10
to terminator-users
I upgraded to Cygwin 1.7.1 and then to the latest terminator today. I
saw this when I launched terminator:

---------------------------
Uncaught exception
---------------------------
An error occurred in Terminator:

Exception Errno::EACCES: Permission denied - //fileshare1/homeshares2/
canders2/.terminator/terminator-server-port_0.secret
at /usr/lib/ruby/1.8/pathname.rb:771:in `chmod'
at /usr/lib/ruby/1.8/pathname.rb:771:in `chmod'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/invoke-java.rb:51:in `initialize'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:127:in `new'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:127:in `tryInAppServer'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:45:in `launch0'


at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:21:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:90:in `call'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:90:in `run_in_home_directory'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:88:in `chdir'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:88:in `run_in_home_directory'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:120:in `initialize'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:134:in `new'
at C:/Program Files/software.jessies.org/terminator/Resources/salma-
hayek/bin/show-alert.rb:134:in `report_exceptions'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:21:in `launch'
at C:/Program Files/software.jessies.org/terminator/Resources/
terminator/bin/terminator:218

Please copy this message to the clipboard with Ctrl-C and mail it to


terminat...@googlegroups.com.
(Windows won't let you select the text but Ctrl-C works anyway.)
---------------------------
OK
---------------------------

To resolve, I eventually deleted my ~/.terminator directory and
restarted terminator. I lost my settings, but there weren't many to
lose. Hope this is helpful.

Carl Anderson

http://edw.northwestern.edu

> ...
>
> read more »

Martin Dorey

unread,
Jan 11, 2010, 2:02:58 PM1/11/10
to Carl Anderson, terminat...@googlegroups.com
> To resolve, I eventually deleted my ~/.terminator directory

I don't suppose you know what the security was on the file in question (ie //fileshare1/homeshares2/canders2/.terminator/terminator-server-port_0.secret) or how it got like that?

Carl Anderson

unread,
Jan 11, 2010, 2:25:51 PM1/11/10
to Martin Dorey, terminat...@googlegroups.com
I actually just renamed (not deleted) my .terminator directory, so I just checked on the files you asked about:

canders2@VP25971 ~
$ ls -d -la .term_backup/
drwxr--r--+ 1 canders2 Domain Users 0 2009-05-27 16:31 .term_backup/

canders2@VP25971 ~
$ ls -d -la .term_backup/
logs/                            options                          terminator-server-port_0         terminator-server-port_0.secret 

canders2@VP25971 ~
$ ls -d -la .term_backup/terminator-server-port_0*
-rwxr--r--+ 1 canders2 Domain Users 15 2010-01-11 09:46 .term_backup/terminator-server-port_0
-rwxr--r--+ 1 canders2 Domain Users 20 2010-01-11 09:46 .term_backup/terminator-server-port_0.secret

Also, when I upgraded today, I first uninstalled terminator using the Control Panel Add/Remove Programs option.  Then I upgraded Cygwin (after making sure X was not running).  Then I verified that the new Cygwin appeared to be working by opening a bash terminal.  Then I downloaded and installed the latest terminator MSI and ran it.

Here are my options:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<preferences>
    <!--New terminal width-->
    <setting key="initialColumnCount">240</setting>
    <!--New terminal height-->
    <setting key="initialRowCount">72</setting>
    <!--Anti-alias text-->
    <setting key="antiAlias">true</setting>
    <!--Use block cursor-->
    <setting key="blockCursor">true</setting>
</preferences>

Here is the entire content of the last log in the logs directory before I upgraded to the new version of Cygwin (I suppose it could be related or maybe not):
2010-01-11T09:46:25.732-0600 Terminator: Java 1.6.0_15 (VM 14.1-b02, runtime 1.6.0_15-b03)
2010-01-11T09:46:25.747-0600 Terminator: Windows XP 5.1 Cygwin 1.5.25/x86 x2
2010-01-11T09:46:25.747-0600 Terminator: CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34
2010-01-11T09:46:25.763-0600 Terminator: Revision 1537 (3056)
2010-01-11T09:46:25.763-0600 Terminator: Built 2009-05-27T09:28:04-07:00
2010-01-11T09:46:25.904-0600 Terminator: echo localhost:3148 > \\fileshare1\homeshares2\canders2\.terminator\terminator-server-port_0
2010-01-11T09:46:27.13-0600 Terminator: Created PtyProcess[pid=4372,fd=0,pty="/dev/tty0"] and logging to \\fileshare1\homeshares2\canders2\.terminator\logs\2010-01-11T094626.497-0600-%2Fbin%2Fbash.txt
2010-01-11T11:46:11.178-0600 Terminator: Problem reading output from PtyProcess[pid=4372,fd=0,pty="/dev/tty0"]
Associated exception:
java.io.IOException: Underlying input stream returned zero bytes
        at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
        at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
        at sun.nio.cs.StreamDecoder.read(Unknown Source)
        at java.io.InputStreamReader.read(Unknown Source)
        at terminator.terminal.TerminalControl$ReaderRunnable.run(TerminalControl.java:150)
        at java.lang.Thread.run(Unknown Source)
2010-01-11T11:46:11.225-0600 Terminator: calling waitFor on PtyProcess[pid=4372,fd=0,pty="/dev/tty0"]
2010-01-11T11:46:11.225-0600 Terminator: waitFor returned on PtyProcess[pid=4372,fd=-1,pty="/dev/tty0",wasSignaled,signal=1]


Hope that helps.  Let me know if there is any other information you might need.

Carl

Martin Dorey

unread,
Jan 11, 2010, 2:50:05 PM1/11/10
to Carl Anderson, terminat...@googlegroups.com

> I actually just renamed (not deleted) my .terminator directory

 

Ah, that warms the cockles of my heart on a cold Monday morning.

 

What happens if you do:

 

chmod 0600 .term_backup/terminator-server-port_0.secret

 

Like:

 

martind@whitewater:~/tmp$ ls -l badger

-rw-rw-r-- 1 martind software 0 2010-01-11 11:39 badger

martind@whitewater:~/tmp$ chmod 0600 badger

martind@whitewater:~/tmp$ ls -l badger

-rw------- 1 martind software 0 2010-01-11 11:39 badger

martind@whitewater:~/tmp$

 

It'd be odd to get a permission denied error on a file that you appear to own.

 


Carl Anderson

unread,
Jan 11, 2010, 3:14:07 PM1/11/10
to Martin Dorey, terminat...@googlegroups.com
Actually, I am unable to chmod that file!

Attached is an strace of the error.

Carl
errors.txt

Martin Dorey

unread,
Jan 11, 2010, 5:16:29 PM1/11/10
to Carl Anderson, terminat...@googlegroups.com

This is an interesting error code, when Cygwin tries to open the file "for backup intent":

 

 3443 1052180 [main] chmod 2876 fhandler_base::open: C0000022 = NtCreateFile (0x0, E0100, \??\UNC\fileshare1\homeshares2\canders2\.terminator\terminator-server-port_0, io, NULL, 0, 7, 1, 4000, NULL, 0)

 

There are quite a few Google matches for that, suggesting "the application failed to initialize properly" is often caused by installation problems with various programs.  Anti-virus programs crop up a few times.  They have a bad rep in the Cygwin community.

 

Although perhaps this is where the real failure happens:

 

 2535  947970 [main] chmod 2876 fhandler_base::open: (\??\UNC\fileshare1\homeshares2\canders2\.terminator\terminator-server-port_0, 0x110000)

94218 1042188 [main] chmod 2876 seterrno_from_win_error: /ext/build/netrel/src/cygwin-1.7.1-1/winsup/cygwin/fhandler.cc:593 windows error 5

 3398 1045586 [main] chmod 2876 geterrno_from_win_error: windows error 5 == errno 13

 

I wonder what the file's security really is.  Although I don't really understand its output, I'm tempted to suggest:

 

getfacl .term_backup/terminator-server-port_0.secret

 

Perhaps I'd be a little better off with cacls:

 

cacls '\\fileshare1\homeshares2\canders2\.terminator\terminator-server-port_0.secret'

 

Mind, this doesn't look like it's Terminator's fault.  It looks like a configuration thing or an interoperability issue between Cygwin 1.7 and whatever's serving \\fileshare1\homeshares2\canders2.  I'd be interested to learn what sort of box that is.  A network trace of it failing to chmod might also be useful.

Carl Anderson

unread,
Jan 11, 2010, 5:54:13 PM1/11/10
to Martin Dorey, terminat...@googlegroups.com
fileshare1 is apparently a Windows Server 2003 R2 Enterprise Edition.

I'm not particulary motivated enough to install wireshark just to troubleshoot this issue considering there is an easy workaround!  By the way, I was able to keep my options by simply copying the options file into my new .terminator directory from the backup.

Cheers Martin and thanks for the expert opinion.

Carl

Martin Dorey

unread,
Jan 11, 2010, 6:00:53 PM1/11/10
to Carl Anderson, terminat...@googlegroups.com

> I'm not particulary motivated enough to install wireshark just to troubleshoot this issue considering there is an easy workaround!

 

I can imagine.  I'm still curious about the security on the file in question, if you're motivated enough to run that cacls or getfacl command.  A comparison with the newly created and presumably working file would be interesting too, as I guess the hypothesis of record is that Cygwin 1.7 didn't want to chmod a file created by Cygwin 1.5, on a bog-standard Windows file server.

Carl Anderson

unread,
Jan 12, 2010, 11:18:54 AM1/12/10
to Martin Dorey, terminat...@googlegroups.com
Here's the goods on that.  It looks like there are some minor differences indeed:

canders2@VP25971 ~
$ cacls .term_backup/terminator-server-port_0
\\fileshare1\homeshares2\canders2\.term_backup\terminator-server-port_0 BUILTIN\Administrators:F
                                                                        NMFF-NET\canders2:C
                                                                        NMFF-NET\Domain Admins:F
                                                                        Everyone:(special access:)
                                                                                 READ_CONTROL
                                                                                 SYNCHRONIZE
                                                                                 FILE_GENERIC_READ
                                                                                 FILE_READ_DATA
                                                                                 FILE_READ_EA
                                                                                 FILE_READ_ATTRIBUTES
 
                                                                        NMFF-NET\Info-Tech:(special access:)
                                                                                           READ_CONTROL
                                                                                           WRITE_DAC
                                                                                           SYNCHRONIZE
                                                                                           FILE_GENERIC_WRITE
                                                                                           FILE_WRITE_DATA
                                                                                           FILE_APPEND_DATA
                                                                                           FILE_WRITE_EA
                                                                                           FILE_WRITE_ATTRIBUTES
 
                                                                        NMFF-NET\InfotechM:C
                                                                        NT AUTHORITY\SYSTEM:F


canders2@VP25971 ~
$ getfacl.exe .term_backup/terminator-server-port_0
# file: .term_backup/terminator-server-port_0
# owner: canders2
# group: Domain Users
user::rwx
group::---
group:root:rwx
group:SYSTEM:rwx
group:Domain Admins:rwx
group:Info-Tech:-w-
group:InfotechM:rwx
mask:rwx
other:r--


canders2@VP25971 ~
$ cacls .terminator/terminator-server-port_0
\\fileshare1\homeshares2\canders2\.terminator\terminator-server-port_0 BUILTIN\Administrators:F
                                                                       NMFF-NET\canders2:C
                                                                       NMFF-NET\Domain Admins:F
                                                                       Everyone:(special access:)
                                                                                READ_CONTROL
                                                                                SYNCHRONIZE
                                                                                FILE_GENERIC_READ
                                                                                FILE_READ_DATA
                                                                                FILE_READ_EA
                                                                                FILE_READ_ATTRIBUTES
 
                                                                       NMFF-NET\Info-Tech:(special access:)
                                                                                          READ_CONTROL
                                                                                          WRITE_DAC
                                                                                          SYNCHRONIZE
                                                                                          FILE_GENERIC_WRITE
                                                                                          FILE_WRITE_DATA
                                                                                          FILE_APPEND_DATA
                                                                                          FILE_WRITE_EA
                                                                                          FILE_WRITE_ATTRIBUTES
 
                                                                       NMFF-NET\InfotechM:C
                                                                       NT AUTHORITY\SYSTEM:F
                                                                       NMFF-NET\canders2:F
                                                                       NMFF-NET\Domain Users:R
                                                                       Everyone:R


canders2@VP25971 ~
$ getfacl.exe .terminator/terminator-server-port_0
# file: .terminator/terminator-server-port_0
# owner: canders2
# group: Domain Users
user::rwx
group::r-x
group:root:rwx
group:SYSTEM:rwx
group:Domain Admins:rwx
group:Info-Tech:-w-
group:InfotechM:rwx
mask:rwx
other:r-x

Martin Dorey

unread,
Jan 12, 2010, 12:03:01 PM1/12/10
to Carl Anderson, terminat...@googlegroups.com

The additional explicit granting of "Full control" to "canders2" looks like a good bet for the active ingredient.  Yet the Windows security model implicitly grants the owner the right to modify the discretionary access control list, so there should be no need for this access control entry in order to chmod.  I don't seem to get that Ace, nor need it to be able to chmod, with Cygwin 1.7, a file created by Cygwin 1.5 in a directory secured with inheritable Windows group security.  I haven't tried with, well, any version of Windows as the remote server, let alone the right version, and there might well be some difference between our accounts regarding privilege to open "with intent to back up".  Oh well, now there's a clue in the googlotron for someone else to pick up the trail, in the unlikely event that they're interested.

 

Thanks,

Reply all
Reply to author
Forward
0 new messages