Bug 317176 (MONO72561) - [PATCH] mono/tests/libtest.c:get_sp() buggy
Summary: [PATCH] mono/tests/libtest.c:get_sp() buggy
Status: RESOLVED FIXED
Alias: MONO72561
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 21:39 UTC by Robert Jordan
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Diff against mono/tests/libtest.c (749 bytes, patch)
2005-02-13 21:40 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:07:12 UTC


---- Reported by robertj@gmx.net 2005-02-13 14:39:19 MST ----

get_sp() of libtest.c doen't work as expected with gcc version 2.95.3
on Linux. The stack address of 2 consecutive calls seems to drift
even when no STDCALL calling convention bug occured.

I know that the STDCALL test is unimportant for Mono on Linux,
but the failure of the pinvoke2-test might be confusing to others.

The patch contains a method that tests whether get_sp() is
reliable with the compiler/OS.



---- Additional Comments From robertj@gmx.net 2005-02-13 14:40:58 MST ----

Created an attachment (id=167399)
Diff against mono/tests/libtest.c




---- Additional Comments From vargaz@gmail.com 2005-02-13 15:53:30 MST ----

Fixed in SVN.

Imported an attachment (id=167399)

Unknown operating system unknown. Setting to default OS "Other".