Bug 33483 - any mkbundled native executable cause Segmentation fault
Summary: any mkbundled native executable cause Segmentation fault
Alias: None
Product: Runtime
Classification: Mono
Component: Tools ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-08-28 17:19 UTC by pr0vieh
Modified: 2016-10-18 22:14 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Core dump file (572.00 KB, application/octet-stream)
2015-08-28 17:19 UTC, pr0vieh

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description pr0vieh 2015-08-28 17:19:39 UTC
Created attachment 12683 [details]
Core dump file

All executables i convert to native will instant fail with a Segmentation fault (core dumped)

without any information...
i have no idea whats happens since some weeks this is not working for me :(

with mono master
32bit and 64bit all the same
Comment 1 pr0vieh 2015-10-25 11:09:14 UTC
Ok the Problem is the --config option i removed and it works

has something happens with the mono config files ?
Comment 2 pr0vieh 2015-10-25 15:01:52 UTC
the problem is a missing Variable in the config file

var $mono_libdir is not set in case of mkbundle runs

<dllmap dll="MonoPosixHelper" target="$mono_libdir/libMonoPosixHelper.so" os="!windows" />

any solution for this problem ?
need to set this variable with mkbundle or set manually -> documentation?
Comment 3 pr0vieh 2016-10-18 22:14:06 UTC
this is Fixed by