This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "Segmentation fault" CygWin tools with code Injection-MS Detours


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Louis Lecaroz on 8/11/2005 6:45 AM:
> Hi,
> 
> I search (I think ;) ) in all forums, newsgroups, mailing list on
> internet about this topic but I did not found anything.
> I wrote an Advanced "truss like" tool to examine files opened by a
> process by using code injection.

And what's wrong with cygwin's strace tool?

> ******************************* Example
> C:\cygwin>cygwin
> bash: [: =: unary operator expected

Hmm, you probably ought to fix your startup scripts to not cause an error.

> Looking to the truss debugging log we have :
> ******************************* Truss debugging log corresponding to the

WHOA!  Please don't include 300k of repetitive text inline.  If you think
we really needed to see it, send it as an attachment.  But even then, you
probably could have just summarized a relevant portion, rather than the
entire dump.

> I am really ashamed not to be able to "truss" CygWin tools or standard
> Win32 programs forked by Cygwin tools (like for exemple make spawning
> bash).

Again, the strace tool already shipped with cygwin does just that.

> Thank's in advance for all the help you will be able to provide me. I
> don't have more time & skills to investigate in CygWin code,  but if you
> need more info don't hesitate to mail me.
> Having (if possible ;) ) a patch & a standard modification in cygwin to
> allow this type of programming will be really great !

Hint - such a modification won't exist until someone (how about you?)
contributes a patch.

>  1265k 2005/07/03 c:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2005/7/3 2:30
>     Cygwin DLL version info:
>         DLL version: 1.5.18

Also, if you are trying to do fun things with the cygwin dll, you may want
to try snapshots to see if recent bug fixes help your situation at all.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC+0zA84KuGfSFAYARAvm4AJ9e16EoGw3L6BFUAtafOqxVWHGeiwCfTo9x
tYuTNXbmTbaBXoymgAjTadk=
=jKNr
-----END PGP SIGNATURE-----

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]