Bug 197940 - games/openra (also lang/mono ): Crashes on load with apparent Mono runtime error
Summary: games/openra (also lang/mono ): Crashes on load with apparent Mono runtime error
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-mono (Nobody)
URL:
Keywords: i915, needs-qa
Depends on:
Blocks:
 
Reported: 2015-02-23 00:11 UTC by David Mackay
Modified: 2016-12-20 14:21 UTC (History)
3 users (show)

See Also:


Attachments
OpenRA running with Mono verbosity on debug (116.64 KB, text/plain)
2015-02-23 00:11 UTC, David Mackay
no flags Details
GDB attempt with mono running OpenRA (3.22 KB, text/plain)
2015-02-23 00:12 UTC, David Mackay
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Mackay 2015-02-23 00:11:24 UTC
Created attachment 153346 [details]
OpenRA running with Mono verbosity on debug

games/openra will crash on attempting to run after getting partway through the splashscreen.

This happens after the contents for the 'Red Alert' mod have been downloaded and it tries to proceed.




Stacktrace:


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abort trap



I have tried several things to deal with this: downgrading from Mono 3.10 to 3.6, recompiling Mono with gcc instead of clang, and so forth. None of this has made any difference. I have attached logs of running OpenRA with Mono's debugging verbosity enabled, as well as of an attempt to glean some information on mono-sgen's segfault from GDB.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-23 00:11:24 UTC
Maintainers CC'd
Comment 2 David Mackay 2015-02-23 00:12:12 UTC
Created attachment 153347 [details]
GDB attempt with mono running OpenRA
Comment 3 David Mackay 2015-02-28 13:10:46 UTC
I have just tried running OpenRA after switching my laptop into nVIDIA GPU mode and using nvidia-driver, and it worked. It seems that the i915 OpenGL is problematic.
Comment 4 Jan Beich freebsd_committer freebsd_triage 2015-03-01 21:50:00 UTC
OpenRA requires OpenGL 2.0 or greater. It seems i915 is enough to pass the check but not run the game. Handing over to x11@ to reproduce and analyze the issue in relation to the graphics stack.
Comment 5 Jan Beich freebsd_committer freebsd_triage 2016-08-09 20:23:14 UTC
Comment on attachment 153347 [details]
GDB attempt with mono running OpenRA

With many symbols missing the backtrace isn't useful. Maybe rebuild everything with symbols (DEBUG_FLAGS=-g for base, WITH_DEBUG=1 for ports) or just graphics/libdrm, graphics/dri, graphics/libGL, x11-servers/xorg-server, x11-drivers/xf86-video-intel.

I can't reproduce on i915/Skylake, so the issue may have been fixed in drm-next-4.6/xserver-next branches.
Comment 6 David Naylor freebsd_committer freebsd_triage 2016-12-20 14:21:18 UTC
Feedback timeout