Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <42FB4CC0.3030109@byu.net> Date: Thu, 11 Aug 2005 07:04:00 -0600 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Louis Lecaroz CC: cygwin AT cygwin DOT com Subject: Re: "Segmentation fault" CygWin tools with code Injection-MS Detours References: <42FB4856 DOT 9060808 AT club-internet DOT fr> In-Reply-To: <42FB4856.9060808@club-internet.fr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----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 AT byu DOT 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/