This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


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

c++/728: run-time problem from asm interrupt statement



>Number:         728
>Category:       c++
>Synopsis:       run-time problem from asm interrupt statement
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 03 02:06:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     JT
>Release:        gcc version 2.8.1
>Organization:
>Environment:
Pentium II 233 Micron PC: (1) Windows NT DOS shell & (2) Cygwin Shell
>Description:
During testing of my GCC C++.exe build, I compiled successfully the attached asm interrupt statement but had run time problems on the Windows DOS shell and Cygwin Shell when running the .exe output file.  On Cygwin, the shell window locked up and on the DOS shell, I got a "stack dump during exception" error during run-time.  The data from the stack dump output file below shows that the asm move statement executed properly prior to the interrupt.  I am still investigating to confirm if the interrupt exception error was due to a deficiency that I am not currently aware of in the GCC configure or build on my system.  

*****Stack Dump Output from Windows DOS Shell****
Exception: STATUS_ACCESS_VIOLATION at eip=0040104F
eax=61030E31 ebx=0A050F78 ecx=00000000 edx=61001140 esi=0A050008 edi=00000001
ebp=0240FC00 esp=0240FEB8 program=M:\CSource\Cygwin\gccbld\bin\c.exe
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0240FC00  0040104F  (00000000, 00000000, 00000000, 00000000)
0240FEC0  0040104F  (00000001, 0A050F78, 0A050008, 61002241)
0240FF10  61002272  (FFFFFFFF, 00000000, 77F76387, 77F7638F)
0240FF70  61002805  (00401040, 00000000, 0240FFA0, 004010B1)
0240FF80  61002843  (00000000, 00000000, 00000000, 8061A4C8)
0240FFA0  004010B1  (00401040, 8074A420, 8011C6C8, 77F1BA03)
0240FFC0  00401035  (00000000, 00000000, 7FFDF000, 7FFDF000)
0240FFF0  77F1BA06  (00401000, 00000000, 000000B0, 00000100)
End of stack trace
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="asmtest.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="asmtest.c"

I2luY2x1ZGU8c3RkaW8uaD4NCg0KbWFpbigpDQp7DQoNCmFzbSAoIm1vdncgJDB4MEUzMSAsICVh
eCA7DQogICAgICAgIGludCAkMTYiKTsNCg0KcmV0dXJuKDApOw0KfQ0K

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