ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
787 stars 69 forks source link

[OSX] Game / executable csgo_osx64 stuck at launch, 99.9% CPU usage #1027

Open jonthn opened 8 years ago

jonthn commented 8 years ago

When I start the game (I wasn't able before see #536) I still don't see any window but when I look at the processes running I see "csgo_osx64" using the CPU for no apparent reason. Steam detects the game as running even though it's not displaying any game. I took a sample using "Activity Monitor" and got the backtrace below.

Call graph:
    921 Thread_3989007   DispatchQueue_1: com.apple.main-thread  (serial)
      921 start  (in csgo_osx64) + 52  [0x100000de4]
        921 ???  (in csgo_osx64)  load address 0x100000000 + 0xe70  [0x100000e70]

Total number in stack (recursive counted multiple, when >=5):

Sort by top of stack, same collapsed (when >= 5):
        ???  (in csgo_osx64)  load address 0x100000000 + 0xe70  [0x100000e70] [STACK TOP]        921

My system information is approx. identical to the one I posted in the previous issue, I just updated OSX to 10.11.5

Processeur :
    Modèle : MacBookPro9,1
    Fabricant : GenuineIntel
    Famille du processeur : 0x6
    Modèle du processeur : 0x3a
    Révision processeur : 0x9
    Type de processeur : 0x0
    Fréquence : 2600 Mhz
    8 processeurs logiques
    4 processeurs physiques
    HyperThreading : Pris en charge
    FCMOV : Pris en charge
    SSE2 : Pris en charge
    SSE3 : Pris en charge
    SSSE3 : Pris en charge
    SSE4a : Non pris en charge
    SSE41 : Pris en charge
    SSE42 : Pris en charge

Réseau :
    Vitesse du réseau : 

Version du système d'exploitation :
    MacOS 10.11.5 (64 bits)

Carte graphique :
    Pilote : NVIDIA GeForce GT 650M

    Version du pilote : 1.2
    Date du pilote : 0  0
    Version OpenGL : 2.1
    Profondeur de couleur du bureau : 32 bits par pixel
    Taux de rafraîchissement du moniteur : 0 Hz
    ID fabricant : 0x10de
    ID périphérique : 0xfd5
    Nombre de moniteurs : 2
    Nombre de cartes vidéo logiques : 2
    Résolution de l'affichage principal : 1680 x 1050
    Résolution du bureau : 3360 x 2100
    Taille de l'affichage principal : 12.99" x 8.11" (15.31" diag)
                                            33.0cm x 20.6cm (38.9cm diag)
    Mémoire vidéo principale : 1024 Mo

Mémoire :
    RAM : 8192 Mo

Divers :
    Langue de l'interface : Français
    Micro : Not set
    Type de support : DVD
    Espace disque total disponible : 952567 Mo
    Plus grand bloc disponible sur le disque dur : 583181 Mo
davidw-valve commented 8 years ago

If you restart your machine does the problem persist?

jonthn commented 8 years ago

Still the same problem.

In order to help I run dtruss on the process maybe it will help you, below the last lines :

  821/0x1e4e:  close(0x4)        = 0 0
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/libvstdlib.dylib\0", 0x7FFF5FBFEA08, 0x1)        = 0 0
  821/0x1e4e:  open("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/libvstdlib.dylib\0", 0x0, 0x0)     = 4 0
  821/0x1e4e:  pread(0x4, "\316\372\355\376\a\0", 0x1000, 0x0)       = 4096 0
  821/0x1e4e:  close(0x4)        = 0 0
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/libvstdlib.dylib\0", 0x7FFF5FBFE9F8, 0x1000)       = 0 0
  821/0x1e4e:  open("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/libvstdlib.dylib\0", 0x0, 0x0)   = 4 0
  821/0x1e4e:  pread(0x4, "\317\372\355\376\a\0", 0x1000, 0x0)       = 4096 0
  821/0x1e4e:  mmap(0x100665000, 0x23000, 0x5, 0x12, 0x4, 0x0)       = 0x100665000 0
  821/0x1e4e:  mmap(0x100688000, 0x2000, 0x3, 0x12, 0x4, 0x23000)        = 0x100688000 0
  821/0x1e4e:  mmap(0x100694000, 0x3928, 0x1, 0x12, 0x4, 0x25000)        = 0x100694000 0
  821/0x1e4e:  close(0x4)        = 0 0
  821/0x1e4e:  stat64("/\0", 0x7FFF5FBFC9A0, 0x1)        = 0 0
  821/0x1e4e:  getattrlist("/Users\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  statfs64(0x7FFF5FBFE7F0, 0x7FFF5FBFCE38, 0x7FFF5FBFE2B0)      = 0 0
  821/0x1e4e:  lstat64("/Users\0", 0x7FFF5FBFC9A0, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)    = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)      = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)         = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0 = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)         = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/launcher.dylib\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/libsteam_api.dylib\0", 0x7FFF5FBFEA08, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  open("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/libsteam_api.dylib\0", 0x0, 0x0)   = 4 0
  821/0x1e4e:  pread(0x4, "\312\376\272\276\0", 0x1000, 0x0)         = 4096 0
  821/0x1e4e:  pread(0x4, "\317\372\355\376\a\0", 0x1000, 0x60000)       = 4096 0
  821/0x1e4e:  mmap(0x100698000, 0x1C000, 0x5, 0x12, 0x4, 0x60000)       = 0x100698000 0
  821/0x1e4e:  mmap(0x1006B4000, 0x2000, 0x3, 0x12, 0x4, 0x7C000)        = 0x1006B4000 0
  821/0x1e4e:  mmap(0x1006B6000, 0x4922C, 0x1, 0x12, 0x4, 0x7E000)       = 0x1006B6000 0
  821/0x1e4e:  close(0x4)        = 0 0
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/libtogl.dylib\0", 0x7FFF5FBFEA08, 0x1)       = 0 0
  821/0x1e4e:  open("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/libtogl.dylib\0", 0x0, 0x0)        = 4 0
  821/0x1e4e:  pread(0x4, "\316\372\355\376\a\0", 0x1000, 0x0)       = 4096 0
  821/0x1e4e:  close(0x4)        = 0 0
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/libtogl.dylib\0", 0x7FFF5FBFEA08, 0x1000)      = 0 0
  821/0x1e4e:  open("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/libtogl.dylib\0", 0x0, 0x0)  = 4 0
  821/0x1e4e:  pread(0x4, "\317\372\355\376\a\0", 0x1000, 0x0)       = 4096 0
  821/0x1e4e:  mmap(0x101800000, 0x4E000, 0x5, 0x12, 0x4, 0x0)       = 0x101800000 0
  821/0x1e4e:  mmap(0x10184E000, 0x10000, 0x3, 0x12, 0x4, 0x4E000)       = 0x10184E000 0
  821/0x1e4e:  mmap(0x101C82000, 0xA96C, 0x1, 0x12, 0x4, 0x5E000)        = 0x101C82000 0
  821/0x1e4e:  close(0x4)        = 0 0
  821/0x1e4e:  getattrlist("/Users\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  statfs64(0x7FFF5FBFE7F0, 0x7FFF5FBFCE38, 0x7FFF5FBFE2B0)      = 0 0
  821/0x1e4e:  lstat64("/Users\0", 0x7FFF5FBFC9A0, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)    = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)      = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)         = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0 = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)         = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/launcher.dylib\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFEA08, 0x7FFF5FBFE2B0)      = -1 Err#2
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFE9F8, 0x7FFF5FBFE2B0)        = -1 Err#2
  821/0x1e4e:  stat64("/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFEA68, 0x7FFF5FBFE2B0) = -1 Err#2
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFE5D8, 0x7FFF5FBFE2B0)        = -1 Err#2
  821/0x1e4e:  getattrlist("/Users\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  statfs64(0x7FFF5FBFE7F0, 0x7FFF5FBFCE38, 0x7FFF5FBFE2B0)      = 0 0
  821/0x1e4e:  lstat64("/Users\0", 0x7FFF5FBFC9A0, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)    = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)      = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)         = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0 = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)         = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)       = 0 0
  821/0x1e4e:  getattrlist("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/launcher.dylib\0", 0x7FFF6DE64A30, 0x7FFF5FBFE2B0)        = 0 0
  821/0x1e4e:  stat64("/Users/myuser/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/bin/osx64/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFE538, 0x7FFF5FBFE2B0)        = -1 Err#2
  821/0x1e4e:  stat64("@loader_path/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFE678, 0x7FFF5FBFE2B0)      = -1 Err#2
  821/0x1e4e:  stat64("/Users/myuser/lib/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFEA58, 0x7FFF5FBFE2B0)         = -1 Err#2
  821/0x1e4e:  stat64("/usr/local/lib/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFEA58, 0x7FFF5FBFE2B0)        = -1 Err#2
  821/0x1e4e:  stat64("/usr/lib/libSDL2-2.0.0.dylib\0", 0x7FFF5FBFEA58, 0x7FFF5FBFE2B0)      = -1 Err#2
  821/0x1e4e:  munmap(0x100624000, 0xE000)       = 0 0
  821/0x1e4e:  munmap(0x100632000, 0x41C8)       = 0 0
  821/0x1e4e:  munmap(0x100600000, 0x24000)      = 0 0
  821/0x1e4e:  munmap(0x100650000, 0xF000)       = 0 0
  821/0x1e4e:  munmap(0x10065F000, 0x5660)       = 0 0
  821/0x1e4e:  munmap(0x100637000, 0x19000)      = 0 0
  821/0x1e4e:  munmap(0x100688000, 0xC000)       = 0 0
  821/0x1e4e:  munmap(0x100694000, 0x3928)       = 0 0
  821/0x1e4e:  munmap(0x100665000, 0x23000)      = 0 0
  821/0x1e4e:  munmap(0x1006B4000, 0x2000)       = 0 0
  821/0x1e4e:  munmap(0x1006B6000, 0x4A000)      = 0 0
  821/0x1e4e:  munmap(0x100698000, 0x1C000)      = 0 0
  821/0x1e4e:  munmap(0x10184E000, 0x434000)         = 0 0
  821/0x1e4e:  munmap(0x101C82000, 0xA96C)       = 0 0
  821/0x1e4e:  munmap(0x101800000, 0x4E000)      = 0 0
  821/0x1e4e:  getrlimit(0x1008, 0x7FFF5FBFF168, 0x7FFF5FBFE2B0)         = 0 0
  821/0x1e4e:  fstat64(0x1, 0x7FFF5FBFF208, 0x7FFF5FBFE2B0)      = 0 0
  821/0x1e4e:  ioctl(0x1, 0x4004667A, 0x7FFF5FBFF24C)        = 0 0
fantix commented 8 years ago

I'm getting the same error here. After a few attempts, it turns out to be an issue installing the game on a case-sensitive partition. I've manually symlinked a few .dylib and .swf files and things move a little bit forward, however the game still doesn't start for me, yet.

fantix commented 8 years ago

Ok it's working now (audio is not working yet), here's what I've done:

fantix commented 8 years ago

Looking forward to an official solution or upgrade on case-sensitive file names to honor my 24RMB 🙈

fantix commented 8 years ago

@qdzzyb2014 他居然有声音!Audio works for him! That's really weird. I'm going to reinstall and try again.

JasonGiedymin commented 7 years ago

I can confirm that indeed if you install onto a Darwin formatted device with case sensitivity, the game will not load properly. The game at the moment expects lowercase filenames. Rather than attempting to symlink a bunch of files, I managed to erase as journaled only (with no case sensitivity) my secondary device (of which I use for my steam games) and simply copied the files over to it. For good measure I re-validated the files (it did not detect any issues), and ran the game. All works well now.

Going forward however, I recommend the devs be aware that Case Sensitivity will be required as that is not something you can enforce upon users. The behavior would instead be that of how Linux behaves.