Author Topic: Crash on startup  (Read 6920 times)

joeblow

  • Newbie
  • *
  • Posts: 3
    • View Profile
Crash on startup
« on: March 24, 2004, 01:00:08 PM »
Hey all,

Has anyone experienced problems with Topofusion working the first time after install, but then crashing at startup from then on?  I am having this problem.  The splash screen comes up and then disapears and that's it.  I am running Windows XP Pro.  Any help would be very appreciated.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crash on startup
« Reply #1 on: March 25, 2004, 08:11:45 AM »
This is the first we've heard of such a bug.  Are you using v1.52 (current release) or do you have the beta version?

In any case, can you send the file TopoFusion.log (from Program Files\TopoFusion) to support@topofusion.com ?

We'll take a look at the problem.  Thanks for pointing it out.

joeblow

  • Newbie
  • *
  • Posts: 3
    • View Profile
Crash on startup
« Reply #2 on: March 25, 2004, 01:04:39 PM »
I have emailed the log (12MB!) and the .ini file to you.  I am using the latest download (1.52).

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crash on startup
« Reply #3 on: March 25, 2004, 05:27:45 PM »
Thanks.  It looks like you are getting, even the first time you ran it, many DirectX errors.  These could be due to a bug in our code (perhaps not cleaning things up properly) but they may also be a driver issue.

A quick first thing to do is to make sure your video drivers are updated.

Failing that, does the problem persist if you 1) reboot? and 2) remove all loaded tracks from TopoFusion.ini (they should be at the bottom, just delete the lines) 3) delete TopoFusion.ini to start from stratch ?

  • Guest
Crash on startup
« Reply #4 on: March 25, 2004, 10:15:06 PM »
I have used the demo version a few times and just started to get the hang of it. I am now having the same problem of seeing the Topofusion window flash quickly and it not open. This also coincides with my Serial Port COM1 not working. I contacted the computer manufacturer that had me simply delete the Serial Port Driver and restart. The Serial port COM1 is now working. Topofusion is not. I tried the fix topofusion, no success, I removed and reinstalled topofusion, no success. I am using Windows XP and version 1.52 of Topofusion.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crash on startup
« Reply #5 on: March 25, 2004, 10:21:49 PM »
Hi Matt,

When you removed and reinstalled TopoFusion did you delete TopoFusion.ini (or actually remove the whole TopoFusion directory from Program Files) ?

A bad .ini file can persist through a reinstall.

All of the sudden we are hearing about some directx problems.  We will have to take a look at it.  Thanks for pointing it out.

If it ever worked, it should work again (at least once?) by a clean reinstall (or just deleting the .ini file w/o reinstall).  It's likely the serial problem was unrelated.

  • Guest
Crash on startup
« Reply #6 on: March 25, 2004, 11:24:00 PM »
I had to make Windows show the file extension, I added .old to the .ini file and it works. Thanks

Can multiple saved tracks be downloaded seperately? I seem to have them come in together into one file.

joeblow

  • Newbie
  • *
  • Posts: 3
    • View Profile
Crash on startup
« Reply #7 on: March 26, 2004, 07:53:34 AM »
Hey all,

I have done some investigation along the lines you mentioned about the .ini file.  It is definitely the .ini file that is causing the problems.

If I delete the ini file, everything works fine.  However I looked further into it.  Removing the active tracks didn't fix anything, but replacing the [Network] section did.  If I put the default [Network] info in that is in a newly-created .ini file (after I delete the bad one), everything works fine, except that Topofusion cannot get out of our corporate firewall.  So it would appear to be the [Netork] section, which also explains why you may not be seeing this much, as most people run software like this at home, not at work.

Here is an example of a [Network] section that works:
[Network]
UseProxy=0
UsePersistentHTTP=0
Proxy=
Proxy Port=1080
NumThreads=8
Timeout=60

Here is an example of a [Network] section that does not work:
[Network]
UseProxy=1
UsePersistentHTTP=0
Proxy=web-proxy.stuff.company.com
Proxy Port=8088
NumThreads=8
Timeout=60

After further investigation, this one also works:
[Network]
UseProxy=0
UsePersistentHTTP=0
Proxy=web-proxy.stuff.company.com
Proxy Port=8088
NumThreads=8
Timeout=60

So it would appear that setting the UseProxy=1 is causing the problem.  However, I do know that my proxy is working as it is the same one I can load webpages in IE with.  Also, Topofusion is able to download topo/photos when I put it in the first time.  Maybe something with launching the app with an .ini file that has the UseProxy=1 set?  Please let me know if you would like me to try out a test copy of the app if you find a fix, or anything do anything else to help.

John

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crash on startup
« Reply #8 on: March 26, 2004, 08:09:45 AM »
John,

That's some strong debugging work.  You are right, it crashes on the next startup if you enable the proxy settings.  What a very obscure bug.

It's actually crashing while it's trying to write out something to the debug log, so we don't even get a new log.  I have fixed the bug; we will, in minimum, release a new beta today with the fix.  Hopefully a full release will be following shortly.

Matt--The next beta will also allow you to save multiple .GPX files per GPS download.  The dialog will show all the downloaded tracks then let you merge and save out multiple files.  It's all working, but it might need a bit of testing.

Thanks.