No Subject
Jack A Walker
jawalker@beckman.com
Mon Nov 30 18:35:00 GMT 1998
I am a newby when it comes to implementing templates and I am having a
problem
with egcs in cygwin b20. I am running NT 4.0 work station bld 1381 sp 3.
I hoped that
posting this would be helpful to the egcs developers and instructive for
me.
When I try to compile a test program that includes my lamer fixed capacity
string
template I get the following error from egcs:
[main]
C:\Cygnus\cygwin-b20\H-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91
.
57\cc1plus.exe 1002 (0) handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
[main] cc1plus 1002 (0) handle_exceptions: Dumping stack trace to
cc1plus.exe.co
re
I have attached the sources and the core file. My template, StringT,
doesn't appear to
me to do anything particularly advanced that would agitate an obscure
language feature. Have I done anything wrong?
Jack Walker
(See attached file: str128t.h)(See attached file: junk.cpp)(See attached
file: cc1plus.exe.core)
-------------- next part --------------
[main] cc1plus 1002 (0) exception: trapped!
[main] cc1plus 1002 (0) exception: code 0xC0000005 at 0x49E32D
[main] cc1plus 1002 (0) exception: ax 0xA122306 bx 0xA122460 cx 0xA122378 dx 0x0
[main] cc1plus 1002 (0) exception: si 0xA03D800 di 0x25DF2DC bp 0x25DF1C0 sp 0x25DF194
[main] cc1plus 1002 (0) exception: exception is: STATUS_ACCESS_VIOLATION
[main] cc1plus 1002 (0) stack: Stack trace:
[main] cc1plus 1002 (0) stack: frame 0: sp = 0x25DEFA8, pc = 0x610098A0
[main] cc1plus 1002 (0) stack: frame 1: sp = 0x25DEFE4, pc = 0x77F94512
[main] cc1plus 1002 (0) stack: frame 2: sp = 0x25DF008, pc = 0x77F88EEB
[main] cc1plus 1002 (0) stack: frame 3: sp = 0x25DF094, pc = 0x77F76266
[main] cc1plus 1002 (0) stack: frame 4: sp = 0x25DF1C0, pc = 0x4A3B02
[main] cc1plus 1002 (0) stack: frame 5: sp = 0x25DF308, pc = 0x47CB72
[main] cc1plus 1002 (0) stack: frame 6: sp = 0x25DF350, pc = 0x47BCEE
[main] cc1plus 1002 (1) stack: frame 7: sp = 0x25DF36C, pc = 0x47BD06
[main] cc1plus 1002 (0) stack: frame 8: sp = 0x25DF37C, pc = 0x47BE49
[main] cc1plus 1002 (0) stack: frame 9: sp = 0x25DF3E4, pc = 0x47BD86
[main] cc1plus 1002 (0) stack: frame 10: sp = 0x25DF3FC, pc = 0x43628A
[main] cc1plus 1002 (0) stack: frame 11: sp = 0x25DF42C, pc = 0x460164
[main] cc1plus 1002 (0) stack: frame 12: sp = 0x25DFD10, pc = 0x48FB85
[main] cc1plus 1002 (0) stack: frame 13: sp = 0x25DFD3C, pc = 0x49328B
[main] cc1plus 1002 (0) stack: frame 14: sp = 0x25DFD94, pc = 0x6100438A
[main] cc1plus 1002 (0) stack: frame 15: sp = 0x25DFF88, pc = 0x610043A8
[main] cc1plus 1002 (0) stack: End of stack trace (more stack frames may be present)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: junk.cpp
Type: text/x-c
Size: 235 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19981130/b8f0912c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: str128t.h
Type: text/x-c++
Size: 2547 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/19981130/b8f0912c/attachment-0001.bin>
More information about the Cygwin
mailing list