FS#54738 - [mono] SegFault from simple program

Attached to Project: Arch Linux
Opened by Steve M (smmalis37) - Friday, 07 July 2017, 18:15 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 20 March 2018, 18:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Giancarlo Razzolini (grazzolini)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Attempting to run the attached code after compiling with mcs causes a segfault.

Additional info:
$ mono --version
Mono JIT compiler version 5.0.0 (Stable 5.0.0.100/9667aa6 Fri May 12 07:20:13 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)


Steps to reproduce:
Download the attached .cs file.
Compile with 'mcs test.cs'.
Run the produced test.exe.
Observe segfault.
   test.cs (1.5 KiB)
This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 20 March 2018, 18:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  5.10.0.160-1
Comment by Steve M (smmalis37) - Friday, 07 July 2017, 18:19 GMT
This is occuring with libmediainfo 0.7.97-1
Comment by Steve M (smmalis37) - Friday, 07 July 2017, 18:27 GMT Comment by Steve M (smmalis37) - Sunday, 20 August 2017, 20:15 GMT
Apparently this has been fixed in 5.2. Any eta on an update?
Comment by Steve M (smmalis37) - Sunday, 20 August 2017, 22:01 GMT
Nevermind, not fixed.
Comment by Steve M (smmalis37) - Monday, 21 August 2017, 01:54 GMT
So this isn't fixed in the 5.2 release, but it is fixed in master at https://github.com/mono/mono/commit/e6e0fb82261340f9181d1b2b11a9706a16c5dbc7.
Comment by Steve M (smmalis37) - Saturday, 10 February 2018, 02:00 GMT
The 5.8 release contains this fix. Do we have an eta on that update getting published?

Loading...