This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: weird seg. fault related to fhandler_pipe::get_guard()
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Feb 2007 10:05:52 +0100
- Subject: Re: weird seg. fault related to fhandler_pipe::get_guard()
- References: <15882.52592.qm@web32408.mail.mud.yahoo.com>
- Reply-to: cygwin at cygwin dot com
On Feb 7 14:12, winner wei wrote:
> Building was a success, but when run it I got a segmentation fault
> immediately while executing function C (B was fine, and nothing was
> run in C). The code has no any problems on linux, solaris and irix.
This is no indication whatsoever. I have code which runs perfectly
on Cygwin but crashes on my 64 bit Linux installation. The cause is
simply a missing header file.
> Stack trace:
> Frame Function Args
> 000773D8 005E5B63 (001A77F0, 00000001, 00B06F38, 00A510E8)
> 001A41B8 0041D81B (001A77F0, 00000000, 00000001, 00000000)
> 0022CB98 0040C814 (0022CBC0, 00912930, 00686FB0, 004011BF)
> 0022CCA8 00401238 (00000003, 00912930, 00910090, 60030000)
> 0022CD98 61006198 (00000000, 0022CDD0, 61005510, 0022CDD0)
> 61005510 61004416 (0000009C, A02404C7, E8611001, FFFFFF48)
The call stack shows that it happens in your code. It shows nothing
else. You will have to build your application with -g and debug it
with gdb the usual way.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/