Mail Archives: cygwin/2000/04/06/10:25:20
Hey all--
I am trying to port a X-ray simulation package from
Unix to Windows NT using Cygwin and the bash shell.
So far, I have successfully ran my Makefiles under
bash, and created an .exe. But I have problems. I've
searched through the archives the last few days, and
have found people with similar problems, but no
satisfactory solution. If this has been discussed
before and the answer posted, I apologize in advance.
Nevertheless, if someone out there would be so kind as
to point me in the right direction, I would greatly
appreciate it, as my work cannot continue without this
being resolved! Below is my gdb session, core dump,
and cygcheck output.
gdb session:
(gdb) run
Starting program:
/XSIM_develop/xp/hppa/xsim_exec_xp.exe
61000000:/XSIM_develop/xp/hppa/cygwin1.dll
[failed reading symbols from DLL]
"//C/WINNT/system32/advapi32.dll": error reading line
numbers
[failed reading symbols from DLL]
"//C/WINNT/system32/KERNEL32.dll": error reading line
numbers
[failed reading symbols from DLL]
"//C/WINNT/system32/USER32.dll": error reading line
numbers
77ed0000://C/WINNT/system32/GDI32.dll
77e10000://C/WINNT/system32/RPCRT4.dll
5f810000://C/WINNT/System32/rpcltc1.dll
Cannot open file (null)
Program received signal SIGSEGV, Segmentation fault.
0x61054e1a in _size_of_stack_reserve__ ()
(gdb) break _size_of_stack_reserve__ ()
Function "_size_of_stack_reserve__ ()" not defined.
(gdb) break _size_of_stack_reserve__
Breakpoint 1 at 0x2000000
(gdb) n
Single stepping until exit from function
_size_of_stack_reserve__, which has no line number
information.
Cannot insert breakpoint 1:
Cannot access memory at address 0x2000000.
(gdb) s
Single stepping until exit from function
_size_of_stack_reserve__, which has no line number
information.
Cannot insert breakpoint 1:
Cannot access memory at address 0x2000000.
core dump:
[main] xsim_exec_xp 1407 (0) exception: trapped!
[main] xsim_exec_xp 1407 (0) exception: code
0xC0000005 at 0x61054E1A
[main] xsim_exec_xp 1407 (0) exception: ax 0x25AFBC4
bx 0x0 cx 0x25AFBC4 dx 0x0
[main] xsim_exec_xp 1407 (0) exception: si 0x25AFBC4
di 0x0 bp 0x25AFAA4 sp 0x25AFA9C
[main] xsim_exec_xp 1407 (0) exception: exception is:
STATUS_ACCESS_VIOLATION
[main] xsim_exec_xp 1407 (0) stack: Stack trace:
[main] xsim_exec_xp 1407 (0) stack: frame 0: sp =
0x25AF8B0, pc = 0x6100A2C3
[main] xsim_exec_xp 1407 (0) stack: frame 1: sp =
0x25AF8EC, pc = 0x77F94512
[main] xsim_exec_xp 1407 (0) stack: frame 2: sp =
0x25AF910, pc = 0x77F88EEB
[main] xsim_exec_xp 1407 (0) stack: frame 3: sp =
0x25AF99C, pc = 0x77F76266
[main] xsim_exec_xp 1407 (0) stack: frame 4: sp =
0x25AFAA4, pc = 0x4317C0
[main] xsim_exec_xp 1407 (0) stack: frame 5: sp =
0x25AFCE4, pc = 0x41F8A5
[main] xsim_exec_xp 1407 (0) stack: frame 6: sp =
0x25AFD04, pc = 0x41C127
[main] xsim_exec_xp 1407 (0) stack: frame 7: sp =
0x25AFD4C, pc = 0x41BF05
[main] xsim_exec_xp 1407 (0) stack: frame 8: sp =
0x25AFD54, pc = 0x401557
[main] xsim_exec_xp 1407 (0) stack: frame 9: sp =
0x25AFDF8, pc = 0x61004402
[main] xsim_exec_xp 1407 (0) stack: frame 10: sp =
0x25AFF88, pc = 0x61004420
[main] xsim_exec_xp 1407 (0) stack: frame 11: sp =
0x25AFF94, pc = 0x4365CE
[main] xsim_exec_xp 1407 (0) stack: frame 12: sp =
0x25AFFA4, pc = 0x40103A
[main] xsim_exec_xp 1407 (0) stack: frame 13: sp =
0x25AFFC0, pc = 0x77F1B304
[main] xsim_exec_xp 1407 (1) stack: frame 14: sp =
0x25AFFF0, pc = 0x0
[main] xsim_exec_xp 1407 (0) stack: End of stack trace
cygcheck .txt:
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu Apr 06 14:48:43 2000
WinNT Ver 4.0 build 1381 Service Pack 3
Path: /CYGWIN-b20/h-i586-cygwin32/bin
//w/apps_32/CCCustWinNT/commands
//c/apps_32/perl/bin
//C/WINNT/system32
//C/WINNT
//c/apps_32/maestro513
//C/apps_32/ClrCase/bin
//C/Apps_32/Purify501
//C/Apps_32/Purify501/Cache
//C/USERS/dpronk/Programs
//C/users/dpronk/programs/wincmd
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
Here's some environment variables that may affect
cygwin:
MAKE_MODE = `UNIX'
PWD = `/XSIM_develop/xp/hppa'
Here's the rest of your environment variables:
!C: = `C:\WINNT\Profiles\mbeneke\Desktop'
CCC_CONFIG_DIR = `w:\apps_32\CCCustWinNT\config_dir'
COMPUTERNAME = `MNIW1472'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\users'
HOSTNAME = `mniw1472'
HOSTTYPE = `i586'
INCLUDE = `D:'
LOGONSERVER = `\\MNIW1472'
MACHTYPE = `i586-pc-cygwin32'
MAGIC_PATH =
`w:\apps_32\CCCustWinNT\config_dir\magic;'
NUMBER_OF_PROCESSORS = `1'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin32'
PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PERL5LIB =
`w:\apps_32\CCCustWinNT\libraries;c:\apps_32\perl'
PRIVATE_CM_ROOT = `//c/cygnus/XSIM_develop'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping
2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROMPT = `$P$G'
SCIL_LIB_HOME =
`//c/cygnus/XSIM_develop/SCIL_LIB_HOME'
SHELL = `/bin/sh'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\TEMP'
TERM = `cygwin'
TMP = `C:\TEMP'
USERDOMAIN = `MNIW1472'
USERNAME = `mbeneke'
USERPROFILE = `C:\WINNT\Profiles\mbeneke'
WINDIR = `C:\WINNT'
XDROOT = `//c/cygnus/XSIM_develop'
XSIM_HOME = `//c/cygnus/XSIM_develop'
_ = `/CYGWIN-b20/h-i586-cygwin32/bin/cygcheck'
Scanning registry for keys with `Cygnus' in them...
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
(default) = `\\c\cygnus\xsim_develop\xp'
unix = `/xp'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
(default) = `XSIM_develop'
unix = `/x'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
(default) = `vol'
unix = `/vol'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
(default) = `d:usr'
unix = `/usr'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
(default) = `\\c\cygnus\xsim_develop\simdef'
unix = `/simdef'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
(default) = `\\c\cygnus\xsim_develop\simdef'
unix = `/sc'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
(default) = `\\c\cygnus\xsim_develop\simdef'
unix = `/ip'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
(default) = `\\c\cygnus\xsim_develop\simdef'
unix = `/id'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
(default) = `\\c\cygnus\xsim_develop\simdef'
unix = `/ia'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
(default) = `\\c\cygnus\xsim_develop\simdef'
unix = `/gen'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
(default) = `\\c\cygnus\xsim_develop\simdef'
unix = `/dp'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
(default) = `d:'
unix = `/d'
fbinary = 0x00000000
fsilent = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
(default) = `c:\cygnus'
unix = `/'
fbinary = 0x00000000
fsilent = 0x00000000
Listing available drives...
Drv Type Size Free Flags Name
a:\ fd N/A N/A
c:\ hd NTFS 4110Mb 91% CP CS UN PA FC SYSTEM
d:\ net NFS 8492Mb 76% CP
/user/mbeneke
t:\ net MVFS 1000Mb 50% CP CS CCase
z:\ cd N/A N/A
fd=floppy, hd=hard drive, cd=CD-ROM, net=Network Share
CP=Case Preserving, CS=Case Sensitive, UN=Unicode
PA=Persistent ACLS, FC=File Compression, VC=Volume
Compression
Mount entries: these map POSIX directories to your NT
drives.
-NT- -POSIX- -Type-
-Flags-
c:\cygnus / native
text!=binary
d: /d native
text!=binary
\\c\cygnus\xsim_develop\simdef /dp native
text!=binary
\\c\cygnus\xsim_develop\simdef /gen native
text!=binary
\\c\cygnus\xsim_develop\simdef /ia native
text!=binary
\\c\cygnus\xsim_develop\simdef /id native
text!=binary
\\c\cygnus\xsim_develop\simdef /ip native
text!=binary
\\c\cygnus\xsim_develop\simdef /sc native
text!=binary
\\c\cygnus\xsim_develop\simdef /simdef native
text!=binary
d:usr /usr native
text!=binary
vol /vol native
text!=binary
XSIM_develop /x native
text!=binary
\\c\cygnus\xsim_develop\xp /xp native
text!=binary
Looking to see where common programs can be found, if
at all...
Found:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\bash.exe
Found:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\cat.exe
Found: c:\apps_32\maestro513\cat.exe
Warning:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\cat.exe hides
c:\apps_32\maestro513\cat.exe
Not Found: cpp (good!)
Found:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\find.exe
Found:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\gcc.exe
Found:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\gdb.exe
Found: c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\ld.exe
Found: c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\ls.exe
Found: c:\apps_32\maestro513\ls.exe
Warning:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\ls.exe hides
c:\apps_32\maestro513\ls.exe
Found:
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\make.exe
Found: c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\sh.exe
Looking for various Cygnus DLLs... (-v gives version
info)
446k 1998/12/03 .\cygwin1.dll - os=4.0 img=1.0
sys=4.0
"cygwin1.dll" v0.0 ts=1998/12/4 5:39
446k 1998/12/03 .\cygwin1.dll - os=4.0 img=1.0
sys=4.0
"cygwin1.dll" v0.0 ts=1998/12/4 5:39
446k 1998/12/03 C:\WINNT\System32\cygwin1.dll -
os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=1998/12/4 5:39
371k 1998/12/01
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\cygtcl80.dll
- os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=1998/12/1
9:25
5k 1998/12/01
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\cygtclpip80.dll
- os=4.0 img=1.0 sys=4.0
10k 1998/12/01
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\cygtclreg80.dll
- os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=1998/12/1
9:25
600k 1998/12/01
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\cygtk80.dll -
os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=1998/12/1 9:28
446k 1998/12/03
c:\cygnus\CYGWIN-b20\h-i586-cygwin32\bin\cygwin1.dll -
os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=1998/12/4 5:39
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -