MantisBT - Zandronum
View Issue Details
0001192Zandronum[All Projects] Bugpublic2012-11-28 14:092018-09-30 20:20
haxmurderer 
Blzut3 
normalcrashsometimes
closedfixed 
AppleMac OS X10.6.8
1.0 
1.11.1 
0001192: Zandronum forkbombs Mac OS X
When I'm sometimes playing Zandronum on Mac, my game will lock up and stop responding. If I check the terminal or activity monitor, I'll see that there's 1,000 "zandronum" processes and counting. My entire system quickly stops responding because it's getting forkbombed, but eventually if I "killall -9 zandronum", it'll come back.

I'm not sure if the forkbombing is the cause of the problem or something that happens after an initial hang or crash of the game. Is there some sort of automatic crash reporting process or something that might be getting stuck in a loop?
No tags attached.
png zandronum_crash.png (58,457) 2013-04-09 23:31
/tracker/file_download.php?file_id=962&type=bug
png

txt zandronum_crash.txt (34,421) 2013-04-09 23:35
/tracker/file_download.php?file_id=963&type=bug
Issue History
2012-11-28 14:09haxmurdererNew Issue
2012-11-29 16:00Blzut3Note Added: 0005444
2012-11-29 16:02Blzut3OSwtf is the difference (plat-OS) => Mac OS X
2012-11-29 16:02Blzut3PlatformMac OS X => Apple
2012-12-22 20:18MazterQyoun-aeNote Added: 0005548
2012-12-22 20:19MazterQyoun-aeNote Edited: 0005548bug_revision_view_page.php?bugnote_id=5548#r3040
2012-12-22 20:19Blzut3Assigned To => Blzut3
2012-12-22 20:19Blzut3Statusnew => assigned
2012-12-24 06:34Blzut3Note Added: 0005558
2012-12-26 16:42Torr SamahoNote Added: 0005566
2012-12-29 02:43Blzut3Note Added: 0005606
2012-12-30 12:01Torr SamahoNote Added: 0005619
2013-01-02 08:59Torr SamahoNote Added: 0005647
2013-01-02 09:00Torr SamahoStatusassigned => needs testing
2013-01-02 09:00Torr SamahoTarget Version => 1.1
2013-04-09 23:30OddbrotherNote Added: 0006278
2013-04-09 23:31OddbrotherFile Added: zandronum_crash.png
2013-04-09 23:31OddbrotherNote Edited: 0006278bug_revision_view_page.php?bugnote_id=6278#r3466
2013-04-09 23:35OddbrotherFile Added: zandronum_crash.txt
2013-04-09 23:35OddbrotherNote Edited: 0006278bug_revision_view_page.php?bugnote_id=6278#r3467
2013-04-09 23:37OddbrotherNote Edited: 0006278bug_revision_view_page.php?bugnote_id=6278#r3468
2013-04-10 00:07DuskStatusneeds testing => resolved
2013-04-10 00:07DuskFixed in Version => 1.1
2013-04-10 00:07DuskResolutionopen => fixed
2018-09-30 20:20Blzut3Statusresolved => closed

Notes
(0005444)
Blzut3   
2012-11-29 16:00   
You would probably need to see the frequency in which Zandronum processes start and how long it takes for the forkbombing to happen. I can't think of a reason it should be forking off hand. The only code I'm aware of that does forking is the timidity code and the crash handler.

If the forkbombing starts as soon as it locks up then it's the crash handler. Otherwise if it happens over time it might be something in the sound code.
(0005548)
MazterQyoun-ae   
2012-12-22 20:18   
(edited on: 2012-12-22 20:19)
I've accidentally encountered the same problem and it happened only after the game crashed, so it probably might be the crash handler?

edit: Mac OS X 10.8.2

(0005558)
Blzut3   
2012-12-24 06:34   
It's definitely the crash handler. Looks like it can be fixed by just using the crash handler from the latest ZDoom.
(0005566)
Torr Samaho   
2012-12-26 16:42   
Your proposed patch reverts the changes I made to these files (like logging the GCC version, not bothering the server with a window, using GAMENAMELOWERCASE instead of zdoom). Can you make a patch that keeps these changes?
(0005606)
Blzut3   
2012-12-29 02:43   
Regarding the GCC version, did you mean GDB version? ZDoom appears to have removed the GCC version dumping, so do you want me to keep the GDB version dumping or also restore the GCC line?
(0005619)
Torr Samaho   
2012-12-30 12:01   
Yeah, I was referring to the GDB version. I didn't know though that ZDoom removed the GCC version. Was there a technical reason for this? If not, it would be great to have both back. If this causes technical problems, I'd say we can live without this.
(0005647)
Torr Samaho   
2013-01-02 08:59   
Thanks for your updated patch! I just pulled it. Should be tested in the next beta build.
(0006278)
Oddbrother   
2013-04-09 23:30   
(edited on: 2013-04-09 23:37)
Testing the alpha, I've re-created the crash from issue 0001073.

Success! No forkbombing in this one, lead straight to an error message (see attachment).

MacBook Pro: 13-inch, Mid-2009; Mac OS X Lion 10.7.5