hUb crashing

Like 50% of the times I log in to the hUb it crashes... quite random, I just have to retry and it works again. A bit annoying though.

I run XP SP3, it fails at address 7813BD93 (that is, in runtime memory). Instructions are:
and dword ptr ds:[781C4920h],0
in case you're intrested in assembler Eye-wink

users avatar

Hm, the whitespaces

Hm, the whitespaces disappeared. Disregard the "and" in the ASM code Smiling

______________________________________________
"The time you enjoy wasting isn't wasted time"

users avatar

hm nasty bug there, can you

hm nasty bug there, can you check the log and see if you find anything after a crash?

users avatar

hublauncher.log: hUbLauncher

hublauncher.log:
hUbLauncher v1.14, log: 12/03/08 - 15:52:54
DXView::Initiate : Initiated
Scan Hub (C:\Program\HUB/Hub), contextPath: C:\Program\HUB/Context
RunGame Hub ("C:\Program\HUB\Hub\Hub.exe" )
View Terminated

hub.log:
hUb v1.18, log: 12/03/08 - 15:52:57

______________________________________________
"The time you enjoy wasting isn't wasted time"

users avatar

The only difference when it

The only difference when it works is that hub.log also includes:
Scan Bloom (C:\Program\HUB\Hub/Games/Bloom), contextPath: C:\Program\HUB\Hub/../Context
Scan UfoPilot2 (C:\Program\HUB\Hub/Games/UfoPilot2), contextPath: C:\Program\HUB\Hub/../Context
Scan twtpb (C:\Program\HUB\Hub/Games/twtpb), contextPath: C:\Program\HUB\Hub/../Context

______________________________________________
"The time you enjoy wasting isn't wasted time"

users avatar

thank you... hm it did not

thank you...

Sounds like hUb never starts up... you dont even get to see the login window?
hm it did not make me any less confused... could you please try the following action:

1. Create a backup zip of the entire hub folder and games...
2. Uninstall hUb and remove everything
3. Install again and test if it still crashes

I would really like that zip file so I can test with the same files and installation as you but on another computer... Smiling

users avatar

Will do when I come home.

Will do when I come home. But yeah - I get to the login screen. It's when I log in it crashes...

______________________________________________
"The time you enjoy wasting isn't wasted time"

users avatar

Gesh. Typical... now is the

Gesh. Typical... now is the first day I can't even manage to get the error ^^

______________________________________________
"The time you enjoy wasting isn't wasted time"

users avatar

hm strange... My guess is

hm strange... My guess is that it has something to do with hUb connecting to internet to check your username/password...
You don't even get to see the large window?

users avatar

Exactly. I clicked login,

Exactly. I clicked login, and then got the error and a question if I'd like to attach a debugger.

______________________________________________
"The time you enjoy wasting isn't wasted time"

users avatar

I will check the code a bit

I will check the code a bit closer after the weekend... we should probably do a bit more logging...

users avatar

I've also seen hUb crash a

I've also seen hUb crash a couple of times. Last time it happened at the "checking games on server" stage, after logging in (nothing interesting in the log file, mentioned it in http://www.spellofplay.com/forums/games/twtpb/iteration-26.html#comment-...). As I also mentioned my setup differs slightly in that I'm geographically very far away from the hUb server (I think, is it in sweden or the us?). I do at least have a very high latency connection to Sweden from NZ, wonder if that could affect anything Smiling

users avatar

It is probably time to

It is probably time to extend the amount of logging... the checking games on server stage is probably subversion related...

I just browsed the code and I think the miniyou-crash might be due network problems or parser related... the parser code might be a bit dangerous...

I will work on hUb after the weekend!

Thanx for bringing this to our attention!!

users avatar

Similar issue

Heya,

I just received the latest newsletter from you guys and remembered I hadn't tried out hub for a while (I purchased the excellent car racing game).

As above, firing up hub results in the following error in hublauncher.log.

hUbLauncher v1.14, log: 09/18/09 - 22:08:40
DXView::Initiate : Initiated
Scan Hub (C:\Program Files\HUB/Hub), contextPath: C:\Program Files\HUB/Context
RunGame Hub ("C:\Program Files\HUB\Hub\Hub.exe" )
View Terminated

Not sure how handy this is, but debugging it in VS2008 throws up a fatal error at:
71B212E1 and dword ptr ds:[71B4D7A0h],0

I am using Windows 7 RTM (not RC) so maybe that's the issue. The last thing I see is the main screen with "Resolving Server Address" after checking for updates in the smaller window. Windows 7 then throws up a "Hub.exe has stopped working" window.

I'm going to attempt to install the latest version of hub (114) in case that fixes things, but thought I'd mention the problem.

[EDIT]

Installing 114 causes the small window to seemingly install further data or something similar. The login window then appears (which it didn't with the other version - probably because I had save my un/pw for that) but then the same error occurs (and vs2008 shows the error at the same place in the asm trace).

Any advice would be much appreciated.

[EDIT2]

Running in XP (SP3) and Vista compatibility modes doesn't fix things.

users avatar

No real testing on Win7

As far as I know none of us devs are running any version of Win7, so we haven't done any proper testing on that OS.

I very briefly used a beta version of Win7 and ran hUb with no problems there, but that isn't saying very much as it was a while back.

As soon as I get access to the official release of Win7 (within the next month?) I intend to install it and use it as my primary OS, so hopefully any problems will be resolved by then.

/johno
"you can't stop the change"

users avatar

Hey Syntax! Thanks for the

Hey Syntax!

Thanks for the detailed bug report. As johno said we have not done any Windows 7 testing yet. However, I'm planning to install a version and your report ups the priority on that.

hUb certainly needs a to be Windows 7 compatible Smiling

Thanks again!

users avatar

Windows 7 Professional

I've run some basic tests on a fresh install of Windows 7 Professional. Everything worked well... so I was not able to reproduce the problem reported by syntax Sad

This is what I tested and what worked:

hUb download and install
DirectX installer, that launched automatically Smiling
Project L
Hero
Sentry

All worked fine Smiling

users avatar

Thanx for testing Sentry!

Great that it works on Win7, then I can assume ( = root av all coding badness) that both Bloom and UP2 work as well with the new D3D rendering code... Smiling

/johno
"you can't stop the change"

users avatar

hey where did you get

hey where did you get windows 7 professional already? Sticking out tongue

---------------
Solid Core Entertainment
Developer of Roadclub and Sense: Survival Prelude (Developer blog)

users avatar

I have my ways Actually

I have my ways Sticking out tongue

Actually it's one of the perks of being at the university. We're members of the MSDN Academic Alliance so we get access to free licenses to many (most?) Microsoft Products. I't actually a great thing!

users avatar

Did some more testing on my

Did some more testing on my fresh win 7 install and unfortunately neither Bloom nor UFOPilot works. They simply do not start, I get no error message and I can't find any log files.

AstroCreeps however works fine Smiling

users avatar

oh yeah thats great. i'm

oh yeah thats great. i'm hoping for a free win7 upgrade from sony. we'll see.

heh so much for assuming johno Smiling

---------------
Solid Core Entertainment
Developer of Roadclub and Sense: Survival Prelude (Developer blog)

users avatar

That's interesting

...and strange, considering that Sentry works in the same way as those other games.

Oh well, another TODO... Sticking out tongue

/johno
"you can't stop the change"

users avatar

Post new comment

Please solve the math problem above and type in the result. e.g. for 1+1, type 2.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <h1> <h2> <h3> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.
  • Images can be added to this post.

More information about formatting options