Muine crashes shortly after startup

Bug #5689 reported by Crispin Flowerday
8
Affects Status Importance Assigned to Milestone
mono
Unknown
Unknown
mono (Ubuntu)
Fix Released
Medium
MOTU Mono Team

Bug Description

Using dapper, muine crashes shortly after startup, running from the commandline shows no output on the console, and running it through gdb shows a pretty useless backtrace.

Is there any good way of debugging where the thing is crashing ?

Revision history for this message
Crispin Flowerday (crispin-flowerday-deactivatedaccount) wrote :
Revision history for this message
Dean Sas (dsas) wrote :

Are you still having this problem Crispin?

Revision history for this message
Crispin Flowerday (crispin-flowerday-deactivatedaccount) wrote :

No - I tracked down the upstream problem, no idea if it has made it into a mono release yet.

Dean Sas (dsas)
Changed in muine:
status: Unconfirmed → Fix Committed
Revision history for this message
Dean Sas (dsas) wrote :

I've been able to reproduce this too, by importing the /dev folder into muine.

I don't think that it's likely there will be a new mono release before Dapper.

You can work around this by using gconf-editor to remove the offending folders from the muine watch list.

I've changed the affected product to be mono rather than muine as it seems this could be an issue in other programs trying to read from the /dev (or other) directories.

Revision history for this message
Sebastian Dröge (slomo) wrote :

should be fixed now... please reopen when i'm wrong

Changed in mono:
assignee: nobody → mono
Changed in muine:
status: Confirmed → Fix Released
Revision history for this message
Dean Sas (dsas) wrote :

Just upgraded to the latest and I still keep getting a seg fault on the same circumstances described above.

I've just reopened the bug.

Changed in mono:
status: Fix Released → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

Sorry, my fault... it was committed to HEAD and not to the 1.1.13 branch.
I've uploaded a version with this patch now... 1.1.13.4-0ubuntu2. Please reopen this bug when the problem still exists

Changed in mono:
status: Confirmed → Fix Released
Revision history for this message
Sebastian Dröge (slomo) wrote :

this fix was broken... i removed it again and reported upstream

Changed in mono:
status: Fix Released → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

ok, do you still have this problem? this should be fixed in 1.1.13.4 since some time...

Changed in mono:
status: Confirmed → Needs Info
Revision history for this message
Dean Sas (dsas) wrote :

I'm still getting the problem using mono 1.1.13.4 and muine 0.8.4.1ubuntu1

Revision history for this message
Sebastian Dröge (slomo) wrote :

Interesting... does the testcase from the ximian bugzilla fail for you?

Revision history for this message
Dean Sas (dsas) wrote :

The test case that you've posted works fine. './test.exe /dev'

I can't compile Crispins test case, I get the following errors:

dean@bells:~$ mcs crispin-mono-test
crispin-mono-test(3,7): error CS0234: The type or namespace name `Unix' does not exist in the namespace `Mono'. Are you missing an assembly reference?
crispin-mono-test(3,1): error CS0246: The type or namespace name `Mono.Unix' could not be found. Are you missing a using directive or an assembly reference?
crispin-mono-test(3,7): error CS0234: The type or namespace name `Unix' does not exist in the namespace `Mono'. Are you missing an assembly reference?
crispin-mono-test(3,1): error CS0246: The type or namespace name `Mono.Unix' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 4 error(s), 0 warnings

Revision history for this message
Sebastian Dröge (slomo) wrote :

compile it with -r:Mono.Posix :)

Revision history for this message
Dean Sas (dsas) wrote :

Crispins testcase fails for me, I get stuck in an infinite loop with /dev/.static/dev/ataraid/d0 constantly repeating.

dean@bells:~$ ./crispin-mono-test.exe /dev

Unhandled Exception: System.UnauthorizedAccessException: Access to the path "/dev/socket" is denied.
in <0x00246> System.IO.File:Delete (System.String path)
in <0x00037> test:Main (System.String[] args)

dean@bells:~$ sudo ./crispin-mono-test.exe /dev
/dev
/dev/.initramfs
/dev/.static
/dev/.static/dev
/dev/.static/dev/ataraid
/dev/.static/dev/ataraid/d0

Revision history for this message
Sebastian Dröge (slomo) wrote :

That's another bug... /dev/.static/dev/ataraid/d0 is no socket but a device... interesting...

Revision history for this message
Sebastian Dröge (slomo) wrote :
Sebastian Dröge (slomo)
Changed in mono:
status: Needs Info → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

Should be really fixed now with mono 1.1.13.4-0ubuntu6

Changed in mono:
status: Confirmed → Fix Released
Changed in mono:
status: Unknown → Rejected
Changed in mono:
status: Invalid → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.