Bug 316008 (MONO65768) - [HEAD] segfault when using ikvm to run java app
Summary: [HEAD] segfault when using ikvm to run java app
Status: RESOLVED FIXED
Alias: MONO65768
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-12 22:44 UTC by Gert Driesen
Modified: 2007-09-15 21:24 UTC (History)
1 user (show)

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


Attachments
(gzipped) tar containing repro (1.02 KB, application/octet-stream)
2004-09-12 23:36 UTC, Thomas Wiest
Details
log file running repro with ikvm (cvs) on mono (cvs) (168.00 KB, text/plain)
2004-09-13 21:54 UTC, Thomas Wiest
Details
log file running repro with ikvm (downloaded from Jeroen's website) on mono (cvs) (204.64 KB, text/plain)
2004-09-13 21:56 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 18:53:25 UTC


---- Reported by gert.driesen@pandora.be 2004-09-12 15:44:51 MST ----

Mono segfault when using ikvm to run even the smallest java app.

I attached a (gzipped) tar file containing a repro.

Just extract the tar, and run the test.sh script :

$ ./test.sh

When running this on CVS HEAD, I get segfault.



---- Additional Comments From gert.driesen@pandora.be 2004-09-12 16:36:38 MST ----

Created an attachment (id=166767)
(gzipped) tar containing repro




---- Additional Comments From gert.driesen@pandora.be 2004-09-12 16:37:52 MST ----

To reduce the size of the attachment, I modified the test.sh script to
download and extract ikvm if not yet downloaded.



---- Additional Comments From vargaz@freemail.hu 2004-09-13 13:17:38 MST ----

It works-for-me using current mono CVS and current ikvm CVS.



---- Additional Comments From gert.driesen@pandora.be 2004-09-13 14:54:48 MST ----

Created an attachment (id=166768)
log file running repro with ikvm (cvs) on mono (cvs)




---- Additional Comments From gert.driesen@pandora.be 2004-09-13 14:56:36 MST ----

Created an attachment (id=166769)
log file running repro with ikvm (downloaded from Jeroen's website) on mono (cvs)




---- Additional Comments From gert.driesen@pandora.be 2004-09-13 15:00:41 MST ----

Zoltan,

Thanks for looking into this.

After synchronization mono with CVS HEAD today, the repro I attached
(with uses ikvm downloaded from Jeroen's web site) now hangs. I
attached a log file of this, but I'm afraid you won't be able to do
much with that.

When I use both mono cvs and ikvm built from cvs, I now get a
NullReferenceException :

Unhandled Exception: System.NullReferenceException: Object reference
not set to$in <0x00295> java.lang.ThreadGroup:uncaughtException
(java.lang.Thread,System.E$in <0x00f41> Starter:Main (string[])

(full log file attached)

Jeroen, can you have a look at this too ?

Thanks!



---- Additional Comments From vargaz@gmail.com 2004-09-15 15:29:35 MST ----

When using latest mono+classpath+ikvm CVS, everything works. When
using the latest ikvm snapshot, it hangs.



---- Additional Comments From vargaz@gmail.com 2004-09-15 15:39:57 MST ----

I screwed this up. It is now fixed in CVS. Thanks for reporting this.

Imported an attachment (id=166767)
Imported an attachment (id=166768)
Imported an attachment (id=166769)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Gentoo 2.6.8 R2</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".