ValveSoftware / csgo-osx-linux

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

[Mac] Game often crashes when picking up or switching to guns #52

Closed ghost closed 8 years ago

ghost commented 9 years ago

Pretty much what's in the title. Sometimes when you switch to or pick up a gun and the game instantly crashes back to the desktop. I think it only happens the first time you bring out the gun in a round. So either the first time you switch to your pistol, when you buy or pick up a gun or if you press G in deathmatch. It also happens if you already have a gun and then pick up the same type of gun. Eg. if you pick up another CZ after running out of ammo in your CZ. This happens quite frequently. Usually about 1 or 2 times during a match in competitive. I can't reproduce the issue as it's sporadic, but it always happens when switching to a gun.

System information:

Mac OS X 10.10 Yosemite (latest public beta) Mid 2014 15" Retina MacBook Pro (Model Identifier: MacBookPro 11,3) NVIDIA GeForce 750M (2048MB)

Steam Hardware Information: Processor Information: Model: MacBookPro11,3 Vendor: GenuineIntel CPU Family: 0x6 CPU Model: 0x46 CPU Stepping: 0x1 CPU Type: 0x0 Speed: 2500 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported

Network Information: Network Speed:

Operating System Version: MacOS 10.10.0 (64 bit)

Video Card: Driver: Intel Iris Pro

Driver Version:  1.2
Driver Date: 0  0
OpenGL Version: 2.1
Desktop Color Depth: 32 bits per pixel
Monitor Refresh Rate: 0 Hz
VendorID:  0x8086
DeviceID:  0xd26
Number of Monitors:  1
Number of Logical Video Cards:  2
Primary Display Resolution:  1440 x 900
Desktop Resolution: 1440 x 900
Primary Display Size: 13.03" x 8.11"  (15.31" diag)
                                        33.1cm x 20.6cm  (38.9cm diag)
Primary VRAM: 1536 MB

Memory: RAM: 16384 Mb

Miscellaneous: UI Language: English Microphone: Not set Media Type: DVD Total Hard Disk Space Available: 1190989 Mb Largest Free Hard Disk Block: 85856 Mb

Installed software:  Drop games to install   Open DOS prompt  Accessibility Inspector Adium Adobe Flash Player Uninstaller Adobe Help Adobe Illustrator CC Adobe Media Player Adobe Photoshop CC Adobe Reader AESCrypt Agent Airfoil Airfoil Speakers AirServer Alarm Clock Analyze Documents Angband AntiRSI Aperture App Store AppCleaner Application Loader Automator Bartender Battle.net Setup Battle.net.app Bioshock BioShock 2 Bitcoin Ticker TTM Bitcoin-Qt BitTorrent Sync Blackmagic Disk Speed Test Blizzard Error Blizzard Launcher Boxer Brogue Burn Calendar CamTwist CD Spin Doctor Chicken of the VNC Civilization V: Campaign Edition ClamAV Engine REMOVER ClamXav Colloquy Contact Sheets Contacts Continuity Keypad ControllerMate Uninstaller Convert For Internet Convert To AAC Convert To AIFF Convert To MP3 Crash Reporter CronniX CrossOver Cryptocat Cyberduck Digi CoreAudio Manager Disc Cover 2 RE DiscCatalogMaker RE Disk Drill Disk Inventory X Dolphin Doom 3 DoomRL Drive Genius 3 Dropbox Dungeon Crawl Stone Soup - Console Dungeon Crawl Stone Soup - Tiles Equation Editor Export Flash Animation FaceTime FileMerge Final Cut Pro Firefox FlashMediaLiveEncoder Flux Free42-Binary Free42-Decimal Game Center Get Backup 2 RE Get Lyrical gfxCardStatus GIFfun GNS3 Google Chrome Google Earth GPG Keychain Access GPGServices.service Grand Theft Auto: San Andreas Growl Guitar Rig 4 GuitarPro GZDoom HandBrake Hearthstone Hearthstone Beta Launcher Helpdesk Helpdesk (Remote) Hexen II Hexen II gl HWSleepNotify iBooks IcyTower iExplorer Image Capture Impulse Response Utility InsomniaX Instruments iSquint iStat Menus iStumbler iTerm Kext Utility Keynote KisMAC Komodo Edit KSP Launcher Launchpad LineIn LineIn (2) LiteIcon Little Snitch Configuration Logic Express Logic Pro X LogTransport2 Lynxlet Mac2Tivo MacDaddyX MacGPG2_Updater Mactracker Magic Number Machine Make Calendar MAMP ManyCam ManyCam_Uninstaller Maps Marker Editor Messages Microsoft Alerts Daemon Microsoft Chart Converter Microsoft Clip Gallery Microsoft Communicator Microsoft Database Daemon Microsoft Database Utility Microsoft Document Connection Microsoft Excel Microsoft Graph Microsoft Language Register Microsoft Office Reminders Microsoft Office Setup Assistant Microsoft Outlook Microsoft PowerPoint Microsoft Query Microsoft Upload Center Microsoft Word Minecraft MiniTerm Miro Video Converter Mirror-QWERTY Mission Control Mumble My Day NameChanger NeoOffice Nestopia Nicecast Notes Numbers Open XML for Excel Outguess Outlook Web Access Pages Paintbrush Parallels Desktop Parallels Link Parallels Mounter Photo Police pinentry-mac Plants vs. Zombies Plex Home Theater PokerStarsEU Popcorn-Time Portal of Praevus Portal of Praevus gl POWDER_117 Private Internet Access Pro Tools LE ProToolsRegistration QuickRes 4 Razer Synapse 2.0 Reddit Notifier Reminders Remote Desktop Remote Desktop Connection RequiemDroplet Retinizer Rhyme Finder RPG Scrivener Simple Comic SiteSucker sixtyforce Skype Slender SmallImage Smultron 4 Snes9x SoftwareUpdater Solver Source Finagler Spark Split Movie Tracks Split Sides of Conversation Spotify Start I2P Router Steam Stellarium Stickies Streamer Strife StuffIt Expander StuffIt User Guide SyncServicesAgent TeamSpeak 3 Client TeamViewer TextWrangler The Unarchiver Toast Titanium TotalFinder TotalFinder Uninstaller Transmission TrueCrypt Uninstall Uninstall Pro Tools Uninstall VMware Fusion Unison UnRarX Unreal Tournament 2004 Unreal Tournament GOTY uTorrent VecTripper VirusTotalUploader VLC VNC Viewer Web Gallery Wineskin Winery Wireshark Worms Reloaded Xcode Yap YouTube to MP3 Zattoo Zenmap

davidw-valve commented 9 years ago

Do you know if the guns in question are regular guns or have special skins? Do they have any stickers on them?

ghost commented 9 years ago

Hi David,

I have skins for every gun except the knife, so they have special skins. I didn't pay that much attention, but I'm about 95% sure it has ever happened when I pulled out the knife or picked up an unskinned weapon off the ground. It also started happening with the arms deal update, so I think you may be on to something. Happens with or without stickers. It's also not a problem with specific skins. It seems like it can happen with any skin and I can pull out a gun/skin once and be fine and later the same gun/skin will crash the game.

Thanks for your response. Let me know if there's anything you'd like me to test or if you need any more information like gfx settings, launch options, autoexec or any logs.

The only other time the game crashes for me is right after loading the map (that happens about 2 out 3 times). I don't know if that's related. But maybe it's a general problem with loading assets?

ghost commented 9 years ago

I'd just like to note that the stability improvements for Mac in the latest patch haven't resolved my issue. I'm still getting very frequent crashes. It happens almost every time the map loads and also frequently when picking up guns.

ghost commented 9 years ago

These are the 3 most recent crash reports in my Console.app. I don't know why they aren't more recent. I've definitely had plenty of crashes since

http://pastebin.com/EyhsXv62

http://pastebin.com/Dk0NEfHd

http://pastebin.com/YmP4JDbA

ghost commented 9 years ago

CS:GO just crashed on respawning in deathmatch. I think it's the same crash as at the beginning of rounds/buying guns in other game modes. This appears in my system.log twice at the time the game crashed:

Oct 2 11:04:57 s-MacBook-Pro csgo_osx[1188]: csgo_osx(1188,0xe262d000) malloc: * mach_vm_map(size=16777216) failed (error code=3) * error: can't allocate region *\ set a breakpoint in malloc_error_break to debug

EDIT: memtest show nothing wrong with my RAM

EDIT 2: Also getting a lot of these in console.app

2.10.14 16:22:12,794 csgo_osx[2374]: dynamic_cast error 2: One or more of the following type_info's has hidden visibility. They should all have public visibility. 6ConVar, 24CBoundedCvar_InterpRatio, 20ConVar_ServerBounded.

ghost commented 9 years ago

Setting Model/Texture detail to "Low" (as sugested in: https://github.com/ValveSoftware/Counter-Strike-Global-Offensive/issues/83#issuecomment-60368394 ) seems to fix the crashes. Obviously not ideal or a permanent solution, but maybe it can help find the issue.

Tele42 commented 8 years ago

@meatspin27 are you still experiencing this issue?

ghost commented 8 years ago

@Tele42 Unfortunately I switched all my gaming to Boot Camp quite some time ago, so I haven't tested the Mac version of CSGO for a long time. I still have the Mac in question, but the software on it has changed a fair bit since I made that post. If you would like me to, I can re-install the Mac version and give it ago over the weekend.

Tele42 commented 8 years ago

That's okay, you do not need to go out of your way to retest. Since this is the only issue report of it's kind and the 64 bit client update on Mac should have fixed this type of issue it's relatively safe to say this is resolved.

If at some point in the future you decide to use the Mac client of CS:GO and encounter this issue, please open a new issue report.