[BUG] 7.1 Surround Gives Signial 11

Hello there,

Personally I have been battling with this for a couple of days and even reinstalled my whole system in order to verify it. There is a bug regarding the sound engine of UE4 which crashes the editor and Game(s) that are supported by UE4 Engine. Also I have made a topic regarding the game located here which contains the details as well.

System information:

  • Debian 8 (Jessie/Testing)
  • System Architecture: 86_64 - Multiarch
  • Kernel: 3.16.0-4-amd64
  • Saphire ATi R9 280
  • Resolution: 1920x1080
  • Driver version: 14.9 (Non-Free)

Sound Settings: (On Crash)

  • 7.1 Surround Sound

Sound Setting: (Working/Running)

  • 4.1 Surround
  • 2.1 Surround

Logs / Outputs

Console Output / Client Log / Diagnostics

Further Information:
It does not always generate a crash report but managed to get one for you guys it is inside the attachments.

I get the same on OpenSUSE 13.2
I can switch to 7.1 in the kmix/sound settings and audio works, but UE4 crashes pulseaudio and kmix.

System Info:

Processor Information:
    Vendor:  AuthenticAMD
    CPU Family:  0x15
    CPU Model:  0x2
    CPU Stepping:  0x0
    CPU Type:  0x0
    Speed:  4013 Mhz
    8 logical processors
    8 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported
    
Network Information:
    Network Speed:  
    
Operating System Version:
    "openSUSE 13.2 (Harlequin) (x86_64)" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.16.7-7-desktop
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11601000
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release_2015-01-06
    
Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 750 Ti/PCIe/SSE2

    Driver Version:  4.5.0 NVIDIA 346.47
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1380
    Number of Monitors:  1
    Number of Video Cards Not Detected
    Primary Display Resolution:  1920 x 1200
    Desktop Resolution: 1920 x 1200
    Primary Display Size: 21.50" x 13.86"  (25.55" diag)
                                            54.6cm x 35.2cm  (64.9cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 2048 MB
    Supported MSAA Modes:  2x 4x 8x 16x 
    
Sound card:
    Audio device: Realtek ALC892
    
Memory:
    RAM:  15978 Mb
    
Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  863982 Mb
    Largest Free Hard Disk Block:  299441 Mb

If you look into the log, this does not seem to be related to 7.1 at all… Something (a network error?) causes the engine to exit prematurely, and it crashes while deinitializing the PhysX (which is arguably a different problem):

[2015.03.07-17.03.07:346][768]LogNetTraffic:Warning:       Received unreliable bunch before open (Channel 59 Current Sequence 0)
[2015.03.07-17.03.07:347][768]LogNetTraffic:Warning:       Received unreliable bunch before open (Channel 59 Current Sequence 0)
[2015.03.07-17.03.07:388][769]LogNetTraffic:Warning: High single frame packet loss: 50
[2015.03.07-17.03.12:001][771]LogNetTraffic:Warning: High single frame packet loss: 32
[2015.03.07-17.03.17:632][815]UT: OnPresenceUpdated Successful
[2015.03.07-17.03.24:545][913]Closing by request
[2015.03.07-17.03.24:545][913]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
[2015.03.07-17.03.24:662][914]LogExit: GameNetDriver IpNetDriver_251 shut down
[2015.03.07-17.03.24:789][914]LogExit: Preparing to exit.
[2015.03.07-17.03.25:006][914]LogExit: Game engine shut down
[2015.03.07-17.03.25:081][914]LogParticles: Destroying 0 GPU particle simulations for FXSystem 0x0x2c63f320
[2015.03.07-17.03.25:081][914]LogExit: Object subsystem successfully closed.
[2015.03.07-17.03.25:209][914]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000065

[2015.03.07-17.03.25:210][914]LogLinux: Fatal error!

[Callstack]  02  0x00007f7dc0783353  ReportCrash(FLinuxCrashContext const&)
[Callstack]  03  0x0000000000421960  EngineCrashHandler(FGenericCrashContext const&)
[Callstack]  04  0x00007f7dc07854d0  PlatformCrashHandler(int, siginfo*, void*)
[Callstack]  05  0x00007f7dc0fcb8d0  /lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7f7dc0fcb8d0]
[Callstack]  06  0x00007f7dbf098494  physx::NpFactory::release()
[Callstack]  07  0x00007f7dbf098720  physx::NpFactory::destroyInstance()
[Callstack]  08  0x00007f7dbf061eb3  physx::NpPhysics::release()
[Callstack]  09  0x00007f7dbeac62f9  TermGamePhys()
[Callstack]  10  0x0000000000419bc0  FEngineLoop::Exit()
[Callstack]  11  0x000000000041a3a4  GuardedMain(wchar_t const*)
[Callstack]  12  0x0000000000422118  ./UE4(main+0x758) [0x422118]
[Callstack]  13  0x00007f7db9563b45  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f7db9563b45]
[Callstack]  14  0x000000000040fb36  ./UE4() [0x40fb36]

To investigate: load it under gdb and break in FPlatformMisc::RequestExit, like this:

gdb UE4
break FPlatformMisc::RequestExit
r UnrealTournament

and when you hit the breakpoint, type

bt

and see what was the cause of requesting the exit. Pasting a callstack here will be helpful.

Done here is my output (Full console output so brace your self!)

https://gist.github.com/Anime-Machina/16aeb3dd368b7e931ef3

As requested:
Moved libopenal.so.1 to libopenal.so.1.orig

Second debug output:

https://gist.github.com/Anime-Machina/5f260ae4f0e42a32ec19

Ok, now that is a clear proof. I’ll investigate

For reference: this is tracked internally as UT-923.

Hello again,

Tried to mess around with a Mac OSX on a Mac Pro (Late 2014) and it has identical crash and output when running 5.1 or 7.1 surround. Compared the outputs trough command line and the output was identical.

Kind Regards,
RDash