PDA

View Full Version : 11.10 Memory leak leads to crash (***** <- Five stars!)



pirate66
04-21-2008, 09:10 PM
Several times now as I hit the play button to sim ahead a popup box informs me that BBM cannot sim because there is an open dialog box, and asks me if I want it to close the open dialog box and sim. Which I, of course, allow it to do.

The thing is...there is not a dialog box open.

I'll try to get the exact wording if it happens again.

Could be related...just now I was resigning players and I hit negotiate and nothing happened. I hit it again and it brought up the negotiation screen. I released the player and the negotiation dialog box disappeared leaving me with the main interface.

However, the game was frozen. The stuff at the bottom was scrolling but if I clicked on anything I heard the little bell. Windows task manager said the program was running, when I told it to end task, windows said the program was waiting for a response from me. Could there have been another mystery window open that I could not see?

Computer is the same as I have been using on BBM for over a year.

JustinM
04-28-2008, 11:00 PM
I was plugging along just fine tonight, when right after a hit in Manager mode, the game paused itself and I couldn't click on anything. In Task Manager, the BB2K9.exe process is slowly leaking memory to the tune of about 4 KB every couple seconds, just gradually growing, never dropping back down. CPU usage seems fine at around 1 or 2 percent.

I also couldn't right-click and bring up the typical context menu from the program's tab on the taskbar. The title is "Baseball Mogul - July 19, 2010 (Simulating PAUSED) (v11.10)". The task is said to be running normally in Task Manager, but it clearly is not. Even if I bring the game up to the front of the screen, I cannot give it focus. When I try to end the program through Task Manager, it says that it's awaiting a response from me. That makes me wonder if there's a dialog box open behind everything that I cannot see.

Checking things out further, if I try to tile the windows vertically or horizontally (yes, I'm trying everything here not to lose my progress), there is a "Setting Up Inning..." progress bar that fills fairly quickly, after which I still can't do anything.

tasan
04-28-2008, 11:42 PM
Have you hit ESC? I get this a TON in the normal (non-game) screens. Hitting ESC seems to close the mystery window and get focus back to the main window.

pirate66
04-29-2008, 06:29 PM
This is the same Mystery Dialog box bug that I posted a few weeks ago. This never happened to me in BBM2008, only started in 2009. Happens every so often.

JustinM
04-30-2008, 11:20 PM
That's good to know if it happens again to me. I did lose some progress, but it's not a huge deal, only a week or so. And my bad for not noticing the thread you already started. :)

redsoxfan29
06-18-2008, 12:12 PM
Help me! I've had Baseball Mogul 2009 for a couple of months now, and I've had this problem since the start. While playing, my computer totally locks up and freezes on the screen while playing. It only happens while playing BM09, had no problems with BM08 or BM07. This sometimes happens after only a short time playing, or sometimes it can happen after I've been playing for a while. It's really, really annoying and it results in me having to shut off my PC and restart it. ALT+CONTROL+DELETE doesn't work, nothing does. It's almost like my screen just totally freezes on the spot. I just don't know what to do, it has destroyed many fun games, although I try to save as often as possible.

I haven't tried to reinstall the game yet, but I'll do that when I get home in an hour or so.

Thanks

ohms_law
06-18-2008, 05:26 PM
Humm... this is the first I've heard about anything like this going on. With thousands of other users using 11.10 now, I'm more inclined to think that there's probably something wrong with your computer rather than with Mogul itself.

When this does happen, can you take a look at debug.txt in the main Mogul folder and tell us what the last few items in there are? Are there a bunch of error messages?

redsoxfan29
06-18-2008, 08:06 PM
Here's what's in the debug file..


1213743228 Baseball Mogul 2009 (V11.10CD) started at Tue Jun 17 18:53:48 2008

Module: BB2K9.exe WinVer: 2.5.1 "Service Pack 2" 2600
Main Memory: 1073201152 / 596934656 : 2147352576
comctl32.dll: 0x00520005
Video Information:
DRIVERVERSION=16384 TECHNOLOGY=1
HORZSIZE=416 VERTSIZE=260
HORZRES=1440 VERTRES=900
BITSPIXEL=16 PLANES=1
NUMBRUSHES=-1 NUMPENS=-1
NUMMARKERS=0 NUMFONTS=0
NUMCOLORS=-1 PDEVICESIZE=0
CURVECAPS=0x000001FF LINECAPS=0x000000FE
POLYGONALCAPS=0x000000FF TEXTCAPS=0x00007807
CLIPCAPS=0x00000001 RASTERCAPS=0x00007E99
ASPECTX=36 ASPECTY=36
ASPECTXY=51 LOGPIXELSX=96
LOGPIXELSY=96 SIZEPALETTE=0
NUMRESERVED=20 COLORRES=16
VREFRESH=75 DESKTOPVERTRES=900
DESKTOPHORZRES=1440 BLTALIGNMENT=0
SHADEBLENDCAPS=0x00000003 COLORMGMTCAPS=0x00000002
WavDrivers: 2

1213743235 Warning: Loading "C:\Program Files\Sports Mogul\Baseball 2009\Opening DayV1.02 (MAY).mog" ;10- -D
1213743235 Warning: Creating a hash with 16384 entries for 5875 possible players. 0 (768k)
1213743236 Warning: Creating a hash with 32768 entries for 21250 possible players. 16385 (1mb)
1213743237 Warning: Finished loading "C:\Program Files\Sports Mogul\Baseball 2009\Opening DayV1.02 (MAY).mog"
1213743295 Warning: Timer: 3.281s 2.500s Play One Month
1213743300 Warning: Timer: 1.093s 1.064s Play One Day
1213743310 Warning: Timer: 2.313s 1.188s Play One Day
1213743313 Warning: PBP Filenames: "News\PBP\PBP-Stadium.jpg"=0 "News\PBP\PBP-Stadium.ini"=0 "News\PBP\PBP-Catcher.jpg"=0 "News\PBP\PBP-Catcher.ini"=0
1213743317 Warning: Loaded 15862176 bytes of animations.
1213743389 Warning: Loaded 15862176 bytes of animations.
1213743431 Warning: Loaded 15862176 bytes of animations.
1213743460 Warning: Loaded 15862176 bytes of animations.
1213743528 Warning: Loaded 15862176 bytes of animations.
1213743552 Warning: Loaded 15862176 bytes of animations.
MESSAGE: Yunel Escobar is SAFE at second
MESSAGE: Yunel Escobar is SAFE at home
1213743625 Warning: Loaded 15862176 bytes of animations.
1213743649 Warning: Loaded 15862176 bytes of animations.
1213743712 Warning: Loaded 15862176 bytes of animations.
1213743735 Warning: Loaded 15862176 bytes of animations.
MESSAGE: Matt Diaz is SAFE at third
1213743774 Warning: Loaded 15862176 bytes of animations.
1213743802 Warning: Loaded 15862176 bytes of animations.
1213743852 Warning: Loaded 15862176 bytes of animations.
1213743910 Warning: Loaded 15862176 bytes of animations.
1213743968 Warning: Loaded 15862176 bytes of animations.
MESSAGE: You can't do that while in a Play By Play game.
1213744099 Warning: Loaded 15862176 bytes of animations.
1213744168 Warning: Loaded 15862176 bytes of animations.
MESSAGE: You can't do that while in a Play By Play game.
1213744228 ERROR: Empty stEvent from Get_Play_Result_Event_String()
1213744229 Warning: 0,0,0,0,0,[0](Strike/Swing/Foul/Ball/In Play/[BATTING_RESULT_BONUS])
1213744229 ERROR: Empty stEvent from Get_Play_Result_Event_String()
MESSAGE: The Atlanta Braves defeat the San Diego Padres, 14-4.
1213744259 Warning: Text: 0.078s / 0.156s
1213744259 Warning: Sound: 1.016s / 0.109s
1213744259 Warning: Main: 194.156s / 430.125s
1213744259 ERROR: Memory Leak

2408448 bytes of memory in 20 chunks still allocated.
1213744259 Warning: Exiting Baseball Mogul 2009


Not sure what the "ERROR: Memory Leak" means, that could be it.

ohms_law
06-19-2008, 02:45 AM
Thank you

rockiesfan4ever
06-19-2008, 09:28 PM
I was playing my dynasty when I saved a game in mid-game. I saved once and when I went to exit out of the game it asked me to save again. I saved again and when I went to go resume the saved game the picture loaded, but without the batter and none of the PBP buttons or commands work. The only way that you can get it is to stop the game and start over.

I am using Vista

Check out this thread for the situation: http://sportsmogul.com/vbulletin/showthread.php?p=1096417#post1096417

When that lockup happens whatever happens in the game still is counted in that player's stats. In one instance Brett Carroll hit a HR in the first inning, I double saved (on accident) and then loaded the game back up today. When I restarted I noticed he had 2 HR (Even though he had only had 1 when I started the first game). I looked at his player card and sure enough that HR had been counted in the totals, but not on the game log (See Screenshot)

Here is the .mog for the file I was using.

bwburke94
06-21-2008, 01:34 PM
This is not a bug. The "last 10 games" counts the homer he hit in the spring training game March 18. It's the same with minor league stats.

rockiesfan4ever
06-21-2008, 06:01 PM
Ok, Let me show you his batting stats and Game Log up to date.

As you can see with the previous game log, he did not hit a HR on April 1st meaning he hit only 2 HR all year and he has 3 on his batting stats.

It is a bug

HoustonGM
06-21-2008, 10:00 PM
I remember a similar bug a while back....I don't have the time right now to search though.

YEAH DAAAAWG
06-21-2008, 10:37 PM
I've had the same thing happen before. In a game for me Jason Pridie hit a pinch hit homerun in his only at bat and his first at bat of the season, and in his game log his OBP showed up correctly, at 1.000, but in the season stats tab it showed up at .667.

belial
06-23-2008, 05:02 PM
Why is this thread called not a bug when it is a bug?

HoustonGM
06-23-2008, 05:03 PM
Because I changed the name after the first post, which doesn't display a bug, and I haven't gotten around to changing it back

eick
06-24-2008, 08:26 AM
it's not just the home runs that don't match up

Season Summary shows he(scouting report says she) has played 14 games, has 35 at bats, 10 hits, 6 runs scored, 3 home runs, 11 runs batted in. The game log only shows 7 games(out of 11 appearances), 34 ab's, 9 hits, 5 runs scored, 2 home runs and 10 rbi's.

metsguy234
06-24-2008, 05:47 PM
Twice in the past week, BBM would be running at a normal speed and then suddenly close while I am looking at a box score from the game.

It really sucks, because I lose games that I haven't saved...

ohms_law
06-24-2008, 10:52 PM
Could you post the debug.txt file, please?

metsguy234
06-24-2008, 11:11 PM
could You Post The Debug.txt File, Please?

16619

ohms_law
06-25-2008, 02:42 AM
humm... whatever it is that's causing the problem apparently doesn't leave baseball Mogul any time to write to the long.
Does it generate a crash dump and ask you to send it in?

metsguy234
06-25-2008, 03:01 AM
humm... whatever it is that's causing the problem apparently doesn't leave baseball Mogul any time to write to the long.
Does it generate a crash dump and ask you to send it in?


Yeah, but it always screws up sending it. Something about not finding the URL to send it to...



Also ohms, several times (maybe 4 or 5) the game has completely frozen, with the screen unclickable, but the bottom ticker still running, and when I go to the Task Manager to close it, it says that the program is waiting for a response from me...

ohms_law
06-25-2008, 06:52 AM
I remember something very similar to this coming up before...

rockiesfan4ever
06-25-2008, 04:07 PM
I was looking at his debug and then saw this "1214341061 ERROR: Duchscherer, Justin has illegal PREDICTED pitching stats. Baseball Mogul doesn't allow pitchers with an Opponent Batting Average below .100 as this is usually a sign of bad data. He has been corrected by setting his stats equal to the league average."

What is going on there?

ohms_law
06-26-2008, 02:15 AM
That's unrelated to this. There's a reality check in the import function, which is what's generating that message. If you look, you'll see that same message in most debug.txt logs.

rockiesfan4ever
06-26-2008, 10:45 PM
Can anyone else verify this at all? I want to know if it is my CPU or the game and it is really annoying.

rico
06-27-2008, 01:37 AM
Hi, im having exactly the same problem, i'm playing with the demo version and would like to solve this problem before buying the game. It freeze during game and i have to restart my computer, in the log it says memory leak but baseball mogul 2009 is the only game my computer has a problem with. Thanks for your help.

ohms_law
06-27-2008, 06:04 AM
When that lockup happens whatever happens in the game still is counted in that player's stats.
Since the stats problem is dependent on the main issue occurring, I've merged the other thread into this one.


Can anyone else verify this at all? I want to know if it is my CPU or the game and it is really annoying.
In Tools -> Options, do you have Auto-Save selected? Backup Saved Game?

rockiesfan4ever
06-27-2008, 12:32 PM
I have neither auto-save nor backup save checked. This was an 08 file that I changed to 09 after I bought 2009. Would that have any affect?

ohms_law
06-27-2008, 08:09 PM
...maybe

rockiesfan4ever
06-27-2008, 08:13 PM
I can't seem to repeat it though, it seems random sometimes

ohms_law
06-27-2008, 08:15 PM
ugh... that's not cool. Is it putting anything in the debug.txt after it locks up? There's at least one memory leak issue that's been reported, which can seem like a random crash.

rockiesfan4ever
06-27-2008, 08:17 PM
I think I figured it out

1). Open BBM 2008
2). Create a new game, sim a month, then save it
3). Load the game in BBM 2009
4). Play 1 gam ein PBP a little bit
5). Click Save
6). When it is done saving click Resume Game
7). It will ask you to save again, save again.
8). Open a DIFFERENT GAME
9). After the other game opens re-open the file you first started with

If you do that you shouldn't be able to do anything but go back to calendar and start over

ohms_law
06-27-2008, 08:25 PM
lol

OK, thanks!

rockiesfan4ever
06-27-2008, 08:55 PM
Here is the debug from the last time it happened (The first Debug #0)

The second debug is a memory leak I found, but it didn't crash or anything.

ohms_law
06-27-2008, 11:33 PM
humm, these might be usefull:

1214608486 ERROR: Mouse clicked on PBP without valid a game.
1214608487 ERROR: Mouse clicked on PBP without valid a game.
1214608487 ERROR: Mouse clicked on PBP without valid a game.
1214608488 ERROR: Mouse clicked on PBP without valid a game.
1214608488 ERROR: Mouse clicked on PBP without valid a game.

Memory leaks are funny. They don't cause crashes immediately, and they don't actually cause crashes themselves. What ends up happening is that eventually some peice of memory gets overwritten that the system or program is (or should be) using, and either the program or Windows itself (or even possibly some othjer program) will crash. Memory leaks = bad.

metsguy234
06-28-2008, 02:58 AM
Yeah, but it always screws up sending it. Something about not finding the URL to send it to...



Also ohms, several times (maybe 4 or 5) the game has completely frozen, with the screen unclickable, but the bottom ticker still running, and when I go to the Task Manager to close it, it says that the program is waiting for a response from me...

The game froze again today.


oddly, the BBM logo on the taskbar has gone COMPLETELY black, its kinda creepy...

ohms_law
06-28-2008, 03:38 AM
Yea, that's a memory leak causing memory corruption.
:(

Do you have onboard video?

Anyway, while all of these descriptions of the problems are different, the underlying cause is all the same. I'm merging and renaming the threads into one large thread. The thread will be somewhat confusing looking this way, but the basic point that there's a (large!) memory leak causing problems isall that really matters regardless.

Now I wish that there were six stars available...

YEAH DAAAAWG
07-01-2008, 03:42 PM
I'm not sure if this is a bug or not yet so I'm posting it in here and if it is a mod can move it.

Anyways, BBM keeps crashing on me in the middle of PBP GM mode games. It doesn't happen every time I try to play a PBP GM mode game buts its happened two times today already. Any other information that is needed to help I can try to provide.

YEAH DAAAAWG
07-01-2008, 03:48 PM
Oh yeah. I'm running 11.18 on Vista, and I don't know if this helps but heres the debug log after I reloaded the game after it crashed:


1214937414 Baseball Mogul 2009 (V11.18CD) started at Tue Jul 01 14:36:54 2008

Module: BB2K9.exe WinVer: 2.6.0 "" 6000
Main Memory: 1063059456 / 267755520 : 2147352576
comctl32.dll: 0x00520005
Video Information:
DRIVERVERSION=16384 TECHNOLOGY=1
HORZSIZE=452 VERTSIZE=282
HORZRES=1280 VERTRES=800
BITSPIXEL=32 PLANES=1
NUMBRUSHES=-1 NUMPENS=-1
NUMMARKERS=0 NUMFONTS=0
NUMCOLORS=-1 PDEVICESIZE=0
CURVECAPS=0x000001FF LINECAPS=0x000000FE
POLYGONALCAPS=0x000000FF TEXTCAPS=0x00007807
CLIPCAPS=0x00000001 RASTERCAPS=0x00007E99
ASPECTX=36 ASPECTY=36
ASPECTXY=51 LOGPIXELSX=96
LOGPIXELSY=96 SIZEPALETTE=0
NUMRESERVED=20 COLORRES=24
VREFRESH=60 DESKTOPVERTRES=800
DESKTOPHORZRES=1280 BLTALIGNMENT=1
SHADEBLENDCAPS=0x00000000 COLORMGMTCAPS=0x00000002
WavDrivers: 2

1214937420 Warning: Loading "Fresno Outlaws (and Brooklyn Crusaders).mog" ;18- -D
1214937421 Warning: Creating a hash with 16384 entries for 5875 possible players. 0 (768k)
1214937421 Warning: Creating a hash with 32768 entries for 21500 possible players. 16385 (1mb)
1214937422 Warning: Finished loading "Fresno Outlaws (and Brooklyn Crusaders).mog"

cwisler
07-01-2008, 07:08 PM
I'm not sure if this is a bug or not yet so I'm posting it in here and if it is a mod can move it.

Anyways, BBM keeps crashing on me in the middle of PBP GM mode games. It doesn't happen every time I try to play a PBP GM mode game buts its happened two times today already. Any other information that is needed to help I can try to provide.

I've had the same thing happen to me. I didn't keep the crash files or anything. I just kind of let it go, but it's happened about three times since I bought it. Next time it happens, I can supply more information on it for the mods as well.

YEAH DAAAAWG
07-02-2008, 12:37 AM
Bump.

ohms_law
07-02-2008, 05:00 AM
I'm not sure if this is a bug or not yet so I'm posting it in here and if it is a mod can move it.

Anyways, BBM keeps crashing on me in the middle of PBP GM mode games. It doesn't happen every time I try to play a PBP GM mode game buts its happened two times today already. Any other information that is needed to help I can try to provide.

The problem that you're having here is probably related to this.

metsguy234
07-11-2008, 12:27 AM
Now I basically cannot get more than 10-15 minutes into a new game without it just freezing...

boomboom
07-11-2008, 11:18 AM
Have you hit ESC? I get this a TON in the normal (non-game) screens. Hitting ESC seems to close the mystery window and get focus back to the main window.
click on Esc button, it will fix it.

metsguy234
07-11-2008, 06:50 PM
LOL, apparently putting "***** <- Five stars!"" in a thread title can only get it four stars :)

ohms_law
07-11-2008, 08:07 PM
That's the main problem with using the Rate Thread system for bug reports, because it shows the average of all votes. Someone (and that's the second problem, there's no way to tell who or to edit the rating) voted 1-2 stars at some point, so the average is pulled way down. So, I put that "***** <- Five stars!" in the thread title because really, I don't think there is a more important issue that needs to be addressed right now.

ohms_law
08-15-2008, 01:38 PM
According to YEAH DAAAAWG's debug report, this is still occurring in 11.18 at least. If any sees it in 11.19 it would be good to say so.