Bug 321924 (MONO79215) - [GMCS] Crash when calling method in Generic class with private enum.
Summary: [GMCS] Crash when calling method in Generic class with private enum.
Status: RESOLVED FIXED
Alias: MONO79215
Product: Mono: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 01:07 UTC by William Holmes
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
Sample Code (415 bytes, text/plain)
2006-08-30 01:08 UTC, Thomas Wiest
Details
Sample exe from VS 2005 (16.00 KB, application/octet-stream)
2006-08-30 01:08 UTC, Thomas Wiest
Details

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


---- Reported by billholmes54@gmail.com 2006-08-29 18:07:25 MST ----

See the attached code and compiled exe.

If you use gmcs the defect does not occur.
If the class is not generic the defect does not occur.
If the enum is made public and moved outside the class the defect does not
occur.



---- Additional Comments From billholmes54@gmail.com 2006-08-29 18:08:05 MST ----

Created an attachment (id=170354)
Sample Code




---- Additional Comments From billholmes54@gmail.com 2006-08-29 18:08:41 MST ----

Created an attachment (id=170355)
Sample exe from VS 2005




---- Additional Comments From vargaz@gmail.com 2006-08-31 08:54:35 MST ----

This is because MONO_TYPE_ISSTRUCT returns TRUE for generic instances
which are enums.




---- Additional Comments From lupus@ximian.com 2007-01-18 14:08:29 MST ----

Fixed in svn, thanks for the test.

Imported an attachment (id=170354)
Imported an attachment (id=170355)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Fedora 4 x86_64</cf_op_sys_details>
Unknown operating system other. Setting to default OS "Other".