public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin apps talking to Windows browsers?
@ 2003-07-10 15:40 Jeffrey C Honig
  2003-07-10 16:24 ` Igor Pechtchanski
                   ` (2 more replies)
  0 siblings, 3 replies; 79+ messages in thread
From: Jeffrey C Honig @ 2003-07-10 15:40 UTC (permalink / raw)
  To: cygwin

I use emacs under Cygwin (with Cygwin/XFree86 and/or Exceed) and would
like to switch to using mh-e in this environment.

One thing that I would like to do is to be able to click on a URL and
have my Windows browser (in this case Opera) be told to open the page.
Is there an app to allow this?

How about an app that would allow this from emacs running on another
host via X?

If there is no APP for this, is there an API for it?

Thanks.

Jeff

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 79+ messages in thread
* Does CYGWIN work on Windows 2008 x86 architecture ?
@ 2009-02-16 10:05 Martine Carannante
  2009-02-16 11:07 ` Corinna Vinschen
  0 siblings, 1 reply; 79+ messages in thread
From: Martine Carannante @ 2009-02-16 10:05 UTC (permalink / raw)
  To: cygwin

Hi

I try again to ask if someone has installed CYGWIN on Windows 2008 x86 
architecture.

It works fine on x64 architecture but bash  fails on X86 like this
bash
     2 [main] bash 3520 _cygtls::handle_exceptions: Exception: 
STATUS_ACCESS_VIOLATION
   315 [main] bash 3520 open_stackdumpfile: Dumping stack trace to 
bash.exe.stackdump
430671 [main] bash 3520 _cygtls::handle_exceptions: Exception: 
STATUS_ACCESS_VIOLATION
448747 [main] bash 3520 _cygtls::handle_exceptions: Error while dumping 
state (
probably corrupted stack)

I have not found an answer in the cygwin mailing list.

Could you help me ?
Thanks in advance.
Martine

-- 
Martine Carannante
System Software Development R&D 

Bull, Architect of an Open World TM 

Tél : (+33) 1 30 80 71 87
http://www.bull.com 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 79+ messages in thread
* cygwin bash crashes on Win Serv 2008
@ 2008-10-20 21:43 Freddy Jensen
  2008-10-23 13:55 ` Corinna Vinschen
  0 siblings, 1 reply; 79+ messages in thread
From: Freddy Jensen @ 2008-10-20 21:43 UTC (permalink / raw)
  To: cygwin; +Cc: jensen


Apparently the cygwin bash crash on Win Serv 2008 is related to the
"Terminal Services" on Windows. It looks like the problem is not
there if the Terminal Services has not been installed/started.

I make that conclusion because I have a co-worker who has the exact
same configuration as me, the only difference being that he does
not have the terminal services installed and cygwin works fine on
his machine.

Furthermore, I found these postings that describe the same
problem (see attached below).

As you can see, all the postinstall scripts fail because they are
sh scripts and bash (sh) cannot run. This explains why many more
cygwin commands don't work in this scenario, for example grep,
man, ...etc.  Apparently some commands require some postinstall
scripts to finish the install and other commands do not require
any postinstall fixups. So only the commands that depend on a
successful run of the postinstall scripts will fail in this
scenario. For example 'ls' and 'mkdir' work ok, apparently
because they are simple enough that they don't depend on any
postinstall things.

Thanks

Freddy


========== Begin included message ==========

grep exit with STATUS_ACCESS_VIOLATION error:

When I try to make Portable Cygwin running from USB, I using batch
script to install cygwin automatically and call sh script to make cygwin
user account. Unfortunately after several test and tunning my script
exited with STATUS_ACCESS_VIOLANTION error and make system unstable.
When i try to run my script again unfortunately i can't reproduce this
error again for further investigation. I wonder if it's just temporary
error or some thing wrong with my script, also maybe some one can give
me suggestion to improve my script.

I run cygwin 1.5.25 in Windows XP 2002 SP2 with Intel Pentium MMX 250
MHz with 128 ram

Hello,

I've just installed Cygwin on two different Windows 2008 machines, one of t=
hem is running Terminal Services, and the other without.

The system without Terminal Services runs fine with Cygwin, with the same i=
nstall options.
The system with Terminal Services does not run, and produces the following =
errors:



C:\cygwin\bin>bash.exe --version
     14 [main] bash 1732 _cygtls::handle_exceptions: Exception: STATUS_ACCE=
SS_VIOLATION
   1255 [main] bash 1732 open_stackdumpfile: Dumping stack trace to bash.ex=
e.stackdump
 197760 [main] bash 1732 _cygtls::handle_exceptions: Exception: STATUS_ACCE=
SS_VIOLATION
 200075 [main] bash 1732 _cygtls::handle_exceptions: Error while dumping st=
ate (probably corrupted stack)
C:\cygwin\bin>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Problems installing Cygwin 1.5.25-15 onto base Windows Server2008 w/Termina=
l Services installed
Click to flag this post

by Brett Carey Oct 15, 2008; 01:51pm :: Rate this Message: - Use ratings to=
 moderate (?)

Reply | Reply to Author | Print | View Threaded | Show Only this Message
Background:
Attempting to use a Windows Server 2008 64-bit Terminal server as a "Jump-B=
ox" from one network (corporate very locked down and restricted software) t=
o another (lab servers and QA and development). I figure if I put the neces=
sary software on the 'Jump-Box' and grant users the ability to remote deskt=
op in, they will be able to use the software they need without the need for=
 2 separate machines (one for corporate, one for the lab servers). Since my=
 users will need to connect to Linux servers and Windows does not have a bu=
ilt in ssh or scp I needed a solution. I've used Cygwin in the past and by =
putting C:\cygwin\bin into the environmental path I was able to ssh and scp=
 right from the command (DOS) box. Simple, easy, cake.

Attempting to install Cygwin 1.5.25-15 (fresh download from ftp.gtlib.gatec=
h.edu, base install) on the 'Jump-Box' from RDP (Remote Desktop) as a user =
with full Administrators permissions appears to complete but looking at the=
 log it seems all the postinstall scripts failed (see attachments: FAILsetu=
p.log and FAILsetup.log.full). Attempting the install from the console as A=
dministrator generates the same results. As a result the functionality I'm =
looking for is not working. I've done extensive searches and find very litt=
le information on those errors, my problem or any solution.

Snippet from FAILsetup.log:
2008/10/15 15:14:40 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/upd=
ate-info-dir.sh
2008/10/15 15:14:41 abnormal exit: exit code=3D35584
2008/10/15 15:14:41 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/cor=
eutils.sh
2008/10/15 15:14:41 abnormal exit: exit code=3D35584
2008/10/15 15:14:41 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/ter=
minfo.sh
2008/10/15 15:14:41 abnormal exit: exit code=3D35584

Snippet from FAILsetup.log.full:
2008/10/15 15:14:40 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/upd=
ate-info-dir.sh
      5 [main] bash 5088 _cygtls::handle_exceptions: Exception: STATUS_ACCE=
SS_VIOLATION
  22633 [main] bash 5088 open_stackdumpfile: Dumping stack trace to bash.ex=
e.stackdump
2008/10/15 15:14:41 abnormal exit: exit code=3D35584
2008/10/15 15:14:41 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/cor=
eutils.sh
      2 [main] bash 4572 _cygtls::handle_exceptions: Exception: STATUS_ACCE=
SS_VIOLATION
    803 [main] bash 4572 open_stackdumpfile: Dumping stack trace to bash.ex=
e.stackdump
2008/10/15 15:14:41 abnormal exit: exit code=3D35584
2008/10/15 15:14:41 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/ter=
minfo.sh
      2 [main] bash 2896 _cygtls::handle_exceptions: Exception: STATUS_ACCE=
SS_VIOLATION
    798 [main] bash 2896 open_stackdumpfile: Dumping stack trace to bash.ex=
e.stackdump

========== End included message ==========


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 79+ messages in thread
* Re: problems with exit codes on 64-bit Windows XP Pro x64
@ 2006-02-06 22:52 Kevin Layer
  2006-02-07 10:16 ` Corinna Vinschen
  0 siblings, 1 reply; 79+ messages in thread
From: Kevin Layer @ 2006-02-06 22:52 UTC (permalink / raw)
  To: cygwin

[Interestingly, the text of my message was stripped out... here it is]

I'm running the latest cygwin (1.5.19, see cygcheck below).

My application is a native Windows app (64 and 32-bit).  It includes
no cygwin libraries and is not compiled with cygwin's gcc.  When I
execute cygwin programs from my app, however, the return value
obtained from cygwin programs is always 0.

More precisely, I spawn a particular cygwin program, say `make' or
`sh', with CreateProcess().  When the program exits
GetExitCodeProcess() always sets the exit status to 0, no matter what
the real exit status was.

Attached are 2 programs, exit1.c and bug.c.  Compile with:

cl bug.c bufferoverflowu.lib
cl exit1.c bufferoverflowu.lib

[cl is MS C/C++ version 14, found in the SDK.]

Then, running on 64-bit windows:

  ./bug exit1
  result = 0

Doing the experimentn on 32-bit Windows gets the output

  result = 1

Below are the files.

Is this a known issue?  Any chance of a fix?

-- 
Kevin Layer             layer@Franz.COM        http://www.franz.com/
Franz Inc., 555 12th St., Suite 1450, Oakland, CA  94607, USA
Phone: (510) 452-2000   FAX: (510) 452-0182


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 79+ messages in thread
* Re: odd behavior of symlinks on Win XP SP2
@ 2005-01-18  0:15 Jeff.Hodges
  0 siblings, 0 replies; 79+ messages in thread
From: Jeff.Hodges @ 2005-01-18  0:15 UTC (permalink / raw)
  To: cygwin

Jeff.Hodges@KingsMountain.com said:
> If this were to come to pass and  not be addressed by the cygwin
> community, then it wouldn't make any sense to  have the the default
> (or even option) of creating cygwin symlinks as  "winsymlinks".

oops. add "...on XP and possibly derivatives thereof."

JeffH



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 79+ messages in thread
[parent not found: <cgf-no-personal-reply-please@cygwin.com>]
* odd behavior of symlinks on Win XP SP2
@ 2005-01-15  1:06 Jeff.Hodges
  2005-01-15  1:31 ` Igor Pechtchanski
  0 siblings, 1 reply; 79+ messages in thread
From: Jeff.Hodges @ 2005-01-15  1:06 UTC (permalink / raw)
  To: cygwin

I've searched this list and googled and all, and can't find anything about 
this issue, so perhaps it's some cockpit error on my part. Anyways, here's the 
issue/question...

  cygwin symlinks (aka cygwin-created windows shortcuts) seem to work 
  differently, and incorrectly, from the windows perspective, on Win XP SP2
  than they did on (say) Win 2000 Pro. 

On Win2k, I got into the habit of creating many of my symlinks/shortcuts via 
Cygwin ("ln -s" of course) because then they were available, and worked 
correctly, from both the Cygwin and windows perspectives.

Mostly these are symlinks to directories which I use to more conveniently 
traipse around my filesystem. This was true of all my cygwin install/upgrades 
on Win2k from say 1999 thru 2004. The native Win filesystem has been NTFS in 
all cases, fwiw.

However, now on Win XP SP2 (professional) -- I moved to XP SP2 from Win2k in 
Nov-2004 -- I notice the following behavior with both existing 
symlinks/shortcuts copied over to XP from my Win2k box and with new symlinks 
I've created with my newly-upgraded (27-Dec-2004) cygwin install (on XP)...

1. cygwin-created (via "ln -s") symlinks/shortcuts pointing to a directory are 
displayed in windows file dialogs with the windows default "funky file" icon 
(I dunno what it's actual name is) rather than the windows folder icon as used 
to be the case on win2k/cygwin.

2. cygwin-created (via "ln -s") symlinks/shortcuts pointing to a directory are 
displayed in some windows file-open or file-save dialogs, but not in others. 
On win2k/cygwin, they were always displayed and always behaved exactly like 
windows-created shortcuts pointing to a directory. In terms of how they are 
behaving on WinXP/cygwin..

2.1. In the cases where they *are* displayed in windows file-open or file-save 
dialogs, e.g. using windows version of OpenOffice 1.1.3, the program in 
question attempts to either open the symlink/shortcut file itself or overwrite 
it, respectively.

2.2. In the cases where they "are not* displayed in the windows dialog 
(whether open or save), e.g. as done by Firefox 1.0 in the file-save case, 
well, the symlink/shortcut simply isn't listed in the dialog, when on 
win2k/cygwin they were displayed (and behaved) just fine.


I suspect either there's some cockpit error I've committed (or am committing) 
either or both on the Win XP side or the Cygwin side, OR, there's something 
different with Win XP SP2 wrt shortcuts that's causing this.

I do have a symlink or two that I'd created on win2k/cygwin that I copied over 
to the WinXP/cygwin machine (as a part of a  copied-over filesystem subtree) 
that behaves (on XP) as it did on win2k. Yet there are other 
symlinks/shortcuts in the same filesystem subtree that now work incorrectly.

Has anyone else noticed this behavior? If so do you have any ideas on how to 
get it rectified?

thanks,

JeffH





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 79+ messages in thread
[parent not found: <OE19prw0m25q8awYFDI000008a4@hotmail.com>]

end of thread, other threads:[~2009-02-16 23:10 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-10 15:40 Cygwin apps talking to Windows browsers? Jeffrey C Honig
2003-07-10 16:24 ` Igor Pechtchanski
     [not found]   ` <pechtcha@cs.nyu.edu>
2003-07-10 16:28     ` Jeffrey C Honig
     [not found]     ` <corinna-cygwin@cygwin.com>
2005-01-15 23:18       ` odd behavior of symlinks on Win XP SP2 Jeff.Hodges
2005-01-16 15:15         ` Corinna Vinschen
2005-01-17 17:01       ` Jeff.Hodges
2005-01-17 17:32         ` Christopher Faylor
2005-01-17 22:08           ` Sven Köhler
2005-01-17 23:11             ` Christopher Faylor
2005-01-31 21:15       ` odd behavior of symlinks on Win XP Jeff.Hodges
2005-02-01 19:43       ` Jeff.Hodges
2005-02-01 20:48         ` Christopher Faylor
2008-01-22  9:08       ` hard link error on Vista with recent snapshots Herb Maeder
2008-10-10  0:36       ` invalid login gid in /etc/passwd does not show group name as 'mkgroup' Herb Maeder
2008-10-11  7:22       ` Herb Maeder
2008-10-15  5:43       ` Herb Maeder
2008-10-23 19:18       ` cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-24 17:05       ` [Fwd: Apologies for multiple messages (Please Help!)] Herb Maeder
2008-10-24 17:29         ` Dave Korn
2008-11-07 17:52       ` [ANNOUNCEMENT] Updated: OpenSSH-5.1p1-6 (-7) Herb Maeder
2008-11-07 18:36         ` Christopher Faylor
2008-11-07 21:17       ` Herb Maeder
2008-11-07 21:38       ` Herb Maeder
2008-11-07 22:10         ` Christopher Faylor
2008-11-13  1:54       ` sshd on vista error "initgroups: Permission denied" (cygwin-1.7) Herb Maeder
2008-11-13 14:51         ` Corinna Vinschen
2008-11-13 15:29           ` Corinna Vinschen
2008-11-14  7:31       ` Herb Maeder
2008-11-14 11:24         ` Corinna Vinschen
2008-11-20  4:25       ` Herb Maeder
2008-11-20  6:35       ` Herb Maeder
2008-11-20 10:46         ` Corinna Vinschen
2008-11-20 23:41       ` Herb Maeder
2008-11-20 23:53         ` Herb Maeder
2008-11-21  0:18         ` Matthew Woehlke
2008-11-21  0:49         ` Herb Maeder
2008-11-21  3:09         ` Herb Maeder
2008-11-21  7:05         ` Herb Maeder
2008-11-21 11:40         ` Herb Maeder
2008-11-21 13:48         ` Herb Maeder
2008-11-21 14:46         ` Herb Maeder
2009-02-16 16:16       ` Does CYGWIN work on Windows 2008 x86 architecture ? Freddy Jensen
2003-07-10 16:36 ` Cygwin apps talking to Windows browsers? andrew brian clegg
2003-07-10 20:51   ` Cygwin apps talking to Windows browsers? openmoz for file URLs Ralf Hauser
2003-07-10 19:11 ` Cygwin apps talking to Windows browsers? Scott W Brim
  -- strict thread matches above, loose matches on Subject: below --
2009-02-16 10:05 Does CYGWIN work on Windows 2008 x86 architecture ? Martine Carannante
2009-02-16 11:07 ` Corinna Vinschen
2009-02-16 14:05   ` Martine Carannante
2009-02-16 23:10   ` Ben Kamen
2008-10-20 21:43 cygwin bash crashes on Win Serv 2008 Freddy Jensen
2008-10-23 13:55 ` Corinna Vinschen
2008-10-23 14:10   ` Corinna Vinschen
2008-10-23 15:40     ` Dave Korn
2008-10-23 16:21       ` Corinna Vinschen
2008-10-23 16:52         ` Dave Korn
2008-10-23 17:00           ` Freddy Jensen
2008-10-23 17:43             ` Dave Korn
2008-10-23 18:54           ` Corinna Vinschen
2008-10-28 15:05             ` Corinna Vinschen
2008-10-31  4:37             ` EMF
2008-10-31  5:01               ` Christopher Faylor
2008-10-31 22:57                 ` EMF
2006-02-06 22:52 problems with exit codes on 64-bit Windows XP Pro x64 Kevin Layer
2006-02-07 10:16 ` Corinna Vinschen
2006-02-07 10:24   ` Corinna Vinschen
2006-02-09 20:44     ` Kevin Layer
2006-02-09 20:48       ` Christopher Faylor
2006-02-07 17:59   ` Kevin Layer
2005-01-18  0:15 odd behavior of symlinks on Win XP SP2 Jeff.Hodges
     [not found] <cgf-no-personal-reply-please@cygwin.com>
2005-01-17 23:24 ` Jeff.Hodges
2005-01-15  1:06 Jeff.Hodges
2005-01-15  1:31 ` Igor Pechtchanski
2005-01-15 13:35   ` Corinna Vinschen
     [not found] <OE19prw0m25q8awYFDI000008a4@hotmail.com>
2002-11-20 16:23 ` emacs 100% cpu usage bug Christopher Faylor
2002-11-21 11:47   ` Jim Goltz
2002-11-21 11:50     ` Igor Pechtchanski
2002-11-23 14:09       ` Jim Goltz
2002-11-23 14:53         ` Christopher Faylor
2002-11-24  8:53           ` Jim Goltz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).