Anaminus / roblox-bug-tracker

Formerly an unofficial bug tracker for Roblox.
31 stars 24 forks source link

Segmentation fault when loading games #399

Closed ghost closed 10 years ago

ghost commented 10 years ago

I have recently upgraded my operating system to the beta version of OS X Yosemite. Since then, I am unable to join games or open games in the studio: every time I attempt to open or play a game, ROBLOX crashes immediately.

When a game is played through a command given to the terminal application (e.g. /Applications/Roblox.app/Contents/MacOS/RobloxPlayer --id 1818 to play Crossroads), ROBLOX gives the following messages:

Writing logs to /tmp/roblox.iAaRYKED/Roblox/Logs/
2014-08-08 19:03:32.090 RobloxPlayer[1238:22317] Bootstrapper Executable = /Users/user/Applications/Roblox.app/Contents/MacOS/Roblox.app/Contents/MacOS/Roblox
2014-08-08 19:03:32.090 RobloxPlayer[1238:22317] Process ID = 1238
2014-08-08 19:03:32.091 RobloxPlayer[1238:22317] Show Update Dialog = false
2014-08-08 19:03:32.092 RobloxPlayer[1238:22317] Unknown class 'RobloxWebPlayer', using 'NSObject' instead. Encountered in Interface Builder file at path /Users/user/Applications/Roblox.app/Contents/Resources/MainMenu.nib.
2014-08-08 19:03:32.126 RobloxPlayer[1238:22343] Roblox::terminateWaiter - pid = 1238
2014-08-08 19:03:32.236 Roblox[1239:22337] urlString = http://setup.roblox.com/mac/version
2014-08-08 19:03:32.425 Roblox[1239:22337] stringContent = version-8b9b08d9746e4941
2014-08-08 19:03:32.425 Roblox[1239:22337] urlString = http://setup.roblox.com/mac/versionStudio
2014-08-08 19:03:32.477 Roblox[1239:22337] stringContent = version-03e0fd2b753f4b78
2014-08-08 19:03:32.478 Roblox[1239:22337] setupServer = http://setup.roblox.com/mac/
2014-08-08 19:03:32.478 Roblox[1239:22337] serverVersion = version-8b9b08d9746e4941
2014-08-08 19:03:32.478 Roblox[1239:22337] bundlePath = /Users/user/Applications/Roblox.app/Contents/MacOS/Roblox.app
2014-08-08 19:03:32.479 Roblox[1239:22337] launchedFromReadOnlyFS = No
2014-08-08 19:03:32.479 Roblox[1239:22337] isReportStatEnabled = No
2014-08-08 19:03:32.480 Roblox[1239:22337] Command Line: Handling command line options
2014-08-08 19:03:32.480 Roblox[1239:22337] urlString = http://setup.roblox.com/mac/version-8b9b08d9746e4941-RobloxVersion.txt
2014-08-08 19:03:32.531 Roblox[1239:22337] stringContent = 117
2014-08-08 19:03:32.532 Roblox[1239:22337] Server version = 117, Local Version = 117
2014-08-08 19:03:32.532 Roblox[1239:22337] Bootstraper update not required
2014-08-08 19:03:32.532 Roblox[1239:22337] Command Line: No version change detected.
Requesting preload Game
Segmentation fault: 11
ghost commented 10 years ago

Relevant information from Apple's report tool:

Process:               RobloxPlayer [1492]
Path:                  /Users/USER/*/Roblox.app/Contents/MacOS/RobloxPlayer
Identifier:            com.roblox.RobloxPlayer
Version:               0.162.0.49770 (.4977)
Code Type:             X86 (Native)
User ID:               502

OS Version:            Mac OS X 10.10 (14A299l)
Report Version:        11

Crashed Thread:        22

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 0000000000001000-0000000000ffc000 [ 16.0M] r-x/rwx SM=COW  /Users/USER/*/Roblox.app/Contents/MacOS/RobloxPlayer

Thread 22 Crashed:
0   libfmodex.dylib                 0x01b569d1 FMOD::SoundI::getUserDataInternal(void**) + 13177
1   libfmodex.dylib                 0x01ade267 0x1ad7000 + 29287
2   libfmodex.dylib                 0x01adf723 0x1ad7000 + 34595
3   libfmodex.dylib                 0x01b58298 FMOD::System::getNumDrivers(int*) + 46
4   com.roblox.RobloxPlayer         0x002bdf24 0x1000 + 2871076
5   com.roblox.RobloxPlayer         0x002c08bc 0x1000 + 2881724
6   com.roblox.RobloxPlayer         0x00642930 0x1000 + 6560048
7   com.roblox.RobloxPlayer         0x00391e44 0x1000 + 3739204
8   com.roblox.RobloxPlayer         0x0063456a 0x1000 + 6501738
9   com.roblox.RobloxPlayer         0x00633cc5 0x1000 + 6499525
10  com.roblox.RobloxPlayer         0x00635a08 0x1000 + 6507016
11  com.roblox.RobloxPlayer         0x00a702a4 RBX::Soundscape::SoundService* RBX::ServiceProvider::create<RBX::Soundscape::SoundService>() const + 68
12  com.roblox.RobloxPlayer         0x00381d76 0x1000 + 3673462
13  com.roblox.RobloxPlayer         0x0038157b 0x1000 + 3671419
14  com.roblox.RobloxPlayer         0x00382049 0x1000 + 3674185
15  com.roblox.RobloxPlayer         0x004420d4 0x1000 + 4460756
16  com.roblox.RobloxPlayer         0x00441fd3 0x1000 + 4460499
17  com.roblox.RobloxPlayer         0x00025589 0x1000 + 148873
18  com.roblox.RobloxPlayer         0x00029adb 0x1000 + 166619
19  com.roblox.RobloxPlayer         0x001781db 0x1000 + 1536475
20  libsystem_pthread.dylib         0x9021f21f _pthread_body + 138
21  libsystem_pthread.dylib         0x9021f195 _pthread_start + 162
22  libsystem_pthread.dylib         0x9021d2fe thread_start + 34

Thread 22 crashed with X86 Thread State (32-bit):
  eax: 0x00000042  ebx: 0x01adde29  ecx: 0x00000000  edx: 0xb0aba5a5
  edi: 0x02907810  esi: 0x00000001  ebp: 0xb0aba548  esp: 0xb0aba544
   ss: 0x00000023  efl: 0x00010287  eip: 0x01b569d1   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000023   gs: 0x0000000f
  cr2: 0x00000000

Logical CPU:     1
Error Code:      0x00000004
Trap Number:     14
The0neThe0nly commented 10 years ago

Is it possible that you could provide the opcodes located at 0x01b569d1? I would assume it has something to do with ecx and it's causing this error.

The0neThe0nly commented 10 years ago

Also, is it possible you could send me some kind of minidump-like file where I could browse the crash myself? I haven't used mac in ages and I have no idea how their crash reporting system works.

ghost commented 10 years ago

On @zeux's suggestion, I have set the SoundEnabled setting to false (I believed it was already set to false, but it seems it has been reset after some update, or for some other reason). This has fixed the problem.

I have closed the issue, although the problem is only fixed on my end, because we now have a solution and all the useful information has been gathered here. Furthermore, @zeux does not have the problem on Yosemite, so it may be difficult to figure out the cause of the problem, and there is no clear way to reproduce it. If however someone thinks it should be reopened, which would be reasonable as well, I guess I will reopen it.