This is the mail archive of the cygwin@sources.redhat.com 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]

Re: Perplexed about building bash


It doesn't have to get to main for strace to be useful.  If you are getting
no strace output, it is dying very early in the process.

However, from the stack trace, it looks to me like it may actually be hitting
main.

cgf

On Fri, Feb 02, 2001 at 05:36:13PM -0500, Earnie Boyd wrote:
>I've tried recently to build bash-2.04.  I have no problem getting it to
>build.  However, it stackdumps before it gets to main with a SIGSEGV. 
>Therefore, strace is impossible and I'm not that good with gdb.  To
>eliminate possibilities of problems with optional packages and my own
>modifications I installed a minimal Cygwin environment in a new path. 
>In the minimal install I chose to use gcc-2.95.2-6 and cygwin-1.1.7-1. 
>I'm at my wit's end on this and I'm grasping at straw.  Can some one
>suggest a method of debugging this?  Can some one say that they can
>build bash-2.04 natively using Cygwin and execute it?
>
>Earnie.
>
>P.S.: stackdump is attached.
>Exception: STATUS_ACCESS_VIOLATION at eip=6104678E
>eax=0000012E ebx=0258FDD0 ecx=00000001 edx=FFFFFFFF esi=00000000 edi=0000012E
>ebp=0258FA5C esp=0258FCFC program=c:\cygmnt\prj\esys\pkg\bld\app\bash\2.04\bash.exe
>cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
>Stack trace:
>Frame     Function  Args
>0258FA5C  6104678E  (00000000, 00000000, 00000000, 00000000)
>0258FD14  6104678E  (FFFFFFFF, 0258FD68, 00001000, 6100D22B)
>0258FD54  6100D25A  (FFFFFFFF, FFFFFFFF, 0A010000, 00001000)
>0258FD84  6103EB51  (00000001, 0258FDD0, 0258FDCC, 00001000)
>0258FDD4  00468C05  (00000003, 77F1C6C8, 0258FE04, 00468D97)
>0258FE04  00468EA2  (00000010, 00000000, 00000000, 61083EE0)
>0258FE24  6102463C  (00000010, 0258FE60, 61024A53, 61083EE0)
>0258FE60  61024A82  (000000AC, 12010618, 0258FF40, 610315AB)
>0258FEB0  6102212C  (00000001, 77F013AC, 0258FF10, 61003546)
>0258FF10  61003558  (00000000, 00000000, 77F76387, 77F7638F)
>0258FF40  61003AAD  (00401208, 00000000, 80DDA068, 7FFDD000)
>0258FF60  61003AEC  (00000000, 00000000, 809D8053, 80D1F100)
>0258FF90  0046A7E3  (00401208, 00000000, 00000246, 8011748B)
>0258FFC0  0040103D  (00000000, 00000000, 7FFDF000, 7FFDF000)
>0258FFF0  77F1BA06  (00401000, 00000000, 000000B0, 00000100)
>End of stack trace

>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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