Author Topic: Crashes with User Maps  (Read 20471 times)

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« on: January 30, 2007, 04:14:29 AM »
Everything was working fine, but now I get Crashes adding User maps. It happens after I add them and then try to resize etc. I get an error message and it Emails you the error log.

Hope this helps. This is on my Home PC and not my laptop, I havent tested this feature enough on my laptop due to my other issue with photo's.

P.S. A rotational option for adding user maps would be nice also, so if a photo we have isnt perfectly lined up we can rotate it to match the terraserver stuff.

Nice feature, but the crash has stopped me in my tracks of playing with it.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #1 on: January 30, 2007, 01:00:31 PM »
Hum.  I didn't get any crash reports from you -- did you fill out the email and send it?  I did get one from another user this morning, so I think 3.0 and our email is working.

Re: rotate - yeah, we'll eventually add a way to rotate it manually.  Right now the maps can be rotated, you just need to add a third calibration point.

Failing a crash report, can you give a bit more info -- which button precisely are you using when it gives an error?

Thanks, I'll try to get to the bottom of this.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #2 on: January 30, 2007, 05:35:41 PM »
All I ws trying to do is adjust the Size of the Photo to match the map, it worked before but now it isnt working. Its wierd as it should work. It worked for 2-3 times and then stopped working I tried reinstall of the software but no go. I have a nice home system with no issues. I am a network engineer by trade.

Just thought I would report it, it ask me do i want to send an error report I said yes and it went through its little action. Suprised you didnt get it?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #3 on: January 30, 2007, 05:38:30 PM »
Yeah, I don't know why the crash report didn't come through.  

You should probably remove the user map and then add it back again -- to start over.  Reinstalling won't get rid of the "bad" user map that's in there now.

There definitely could be a bug or two in the display vs. calibration points, so it'd be great to find the bug if possible.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #4 on: February 01, 2007, 02:14:50 AM »
Any progress finding out why this crash may be happening? I am willing to test possible fixes for you. Right now adding user maps and trying to calibrate cause that MS error and crashes topofusion. My home PC is a 3.6ghz P4 with 2gb pc3200 Ram, 7800gs Video card etc etc etc. lol

My Laptop is a CF-28 1ghz P3, Intel Onboard Vid 8mb, 768mb Ram pc133. The only Same thing between BOTH laptops is WindowsXp Pro SP2 and Both are using the updated Directx9C full installs you recommended.

I am surprised no one else is having this issue? Maybe most arent using the feature yet? It worked fine on both systems about 2-3 times, then after that it doesnt work. All I can think to do is remove topofusion all together and try again, but I fear after a few time it will happen again. All my Drivers are up to date and like I said this is on 2 different systems.

Now on the photos for waypoints they show up fine for my Home PC but my Laptop they dont. I really do need this one fixed as I need the newer Google Maps for changes. DOES terraserver EVER update their info, I mean I cannot figure out WHY they havent updated the information, the data has to be out there?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #5 on: February 01, 2007, 08:30:52 AM »
No progress, sorry.  I looked through the code and did some testing yesterday but didn't come up with anything.

I agree that the fact that both your systems have the program is indicative of a bug, not a problem on your end.  But I just have no idea where to start since you aren't getting a TopoFusion crash reporter and I can't duplicate the problem.

Anything special about your images?  Perhaps the next step is to email me one of the images that is causing the problem.

I know the feature is working on ~20 computers, so it's not like it's untested.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #6 on: February 01, 2007, 09:26:44 AM »
standard jpegs, maybe all those 20 PCs have something in common? like all ATI cards or something? It hard to believe I have the only 2 computers that cause this issue and the 2 I have a light years apart. lol

Its interesting how it worked a few times on the User maps and then quit working. And the same for the photo waypoints, except it never worked for the laptop.

Maybe the Geforce and Intel chipsets have issues with some code? I doubt Processor or RAM have anything to do with it. Then there is WindowsXP Pro with SP2 maybe the 20 plus PCs are non XP systems. There must be a reason its not random for sure.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #7 on: February 01, 2007, 09:47:31 AM »
No, pretty wide variety of machines.  Intel onboard video, ATI mobility, Nvidia GO, Nvidia Geforce, regular ATI, etc...

I'd say more machines that I know of are Nvidia.  The vast majority of our users are on XP SP2, also.

There must be something.  Still thinking...

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #8 on: February 01, 2007, 06:14:49 PM »
Maybe you should pick up a CF-28 on Ebay for testing then sell it later when done with the software. lol I'm sure it would do the sane, Like I said it worked a while I wonder if some of the people it worked for now tried it a few times to find out if it STILL works.

Reason is it worked a while for me also then quit, but I did alot more than 8 photos so a tick might have been triggered? I cant be the only one, somebody just hasnt tested the feature enough yet to have the same thing happen. I know I went for MONTHS without using your photo feature until now.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #9 on: February 01, 2007, 09:19:07 PM »
It's looking like I might have to get a CF-28 in order to fix this.  I still have nowhere to start.  I did some testing on my two older laptops and didn't run into any problems, including using your images.

I did notice that I still have some work to do when there are MANY photos on the screen (using waypoints, not user maps).  But it wasn't crashing, it just could be handled better.

Unless you can think of any other insight as to what might be going on, I'll just have to release this version and let other people report any problems they find and hope that somebody else runs into it.

Oh, I had a couple other thoughts:

1 - are you using a third calibration point, or just 2 (the default--you have to add a third).

2 - uninstalling/reinstalling does NOT give you a clean slate as far as settings including user maps and GPX files loaded.  To really start over (and see if you can get photos working temporarily as they did before -- maybe you can figure out what went wrong), you need to manually DELETE TopoFusion.ini.  No need to reinstall, just delete or move that file and you'll have a clean slate.

Let me know if you come up with anything else.  Thanks.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #10 on: February 01, 2007, 10:35:29 PM »
Nope doesnt Work I removed the .ini file and still have the Crash on user maps and no Pictures for the waypoints. Somthing that isnt in the settings but in the code. Could there be a mistake of glitch with Directx somehow?

All I know is I have 2 systems that are different like Night and Day and it doesnt work on either of them, thats almost impossible unless something is amiss in the software.

I would highly recommend NOT releasing this until its resolved or you could find many suffering the same problem. I work on PC's for a living, there is no way 2 different PC's would get the same results when they are SO different. I may not be into coding but I know hardware. If they used the same Drivers, or same chipset yes, but being different drivers, chipsets, CPUs and Ram as well as platforms........

The only thing in common is the DirectX9C full version and Both are XP Pro with SP2 but one has all the MS updates and the laptop doesnt.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #11 on: February 02, 2007, 10:14:14 AM »
I'm not denying that it's a software problem.  I agree 100% about the two systems pointing to that.

There is one more thing in common with the two systems, though, and that's you.  Meaning, people use the program in different ways, people understand the user interface in different ways.  You may be doing something different that exposes the bug in our code that other people and even I am not doing.  Any ideas on this?

That's why I'm asking questions about how you use the feature (3 or 2 points), what exactly do you do when you add a user map, are you doing it in 3D mode or something?  I don't know.  

The fact that it worked once and yet now you can't get it to work after deleting the .INI file points to this more.  I don't know how to account for that.  

Also, I still don't know what to think of the Microsoft error tracker coming up, rather than ours.  I'll have a look at what that means.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #12 on: February 02, 2007, 10:43:06 AM »
OK, some interesting info out there on this error.  There are a variety of causes, but many point to system problems, not a problem in the application itself.

The most interesting I found was from the google earth forums:

http://bbs.keyhole.com/ubb....7

Yes, I know, LOL, that GE works for you.  '<img'>

But one of the things they suggest is disabling any image overlays (same thing as user maps for TF).  And apparently some system file usp10.dll that can be corrupted.  They even go so far as to suggest reinstalling windows as a fix for the problem!!

Another is that if there isn't enough virtual memory as the application tries to grab more memory.  This might be the case on your laptop, but I doubt it on the desktop!

Nothing conclusive, and there's still a good chance it is purely a TopoFusion problem.  But this is definitely interesting.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #13 on: February 03, 2007, 12:21:20 AM »
I doubt its the system, atleast not on the desktop, laptop is an older system so I am open. How I add a user map is simple I got to windows, the user map library, then click add user map. It then shows in the tray/box I then exist it because it will NOT allow me to calibrate even BEFORE the crashes without doing this as the usermap will just disappear or uncheck if I try to calibrate without first exiting. I think this problem was mentioned by another. I then enter again and click calibrate Manually. I then touch any of the Green or Red points on the corners or Middle and try to drag it crashes.

On the Photos they just dont show anymore. Is it possible that Photofusion can corrupt a .dll for the directX, its Odd as I said I also play Games from Time to time and they require MUCH more graphics than Topofusion. lol I play old and new games on my desktop when I have time.

I have tried user maps and adding photos with all the buttons unchecked except view status to see the map.

Whats odd is it worked before on dragging and now doesnt, which makes me wonder if it corrupts something using the directX, funny though it did it with Both Systems and they use Different License and the laptop doesnt have the newer XP updates.

Also I dont have GE loaded on the laptop only my main system so when know that they are not the cause of the corruption if there is any. Also I havent loaded any software as of late during this wierd behavior, like I said only the Topofusion is having the issue.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #14 on: February 03, 2007, 12:33:16 AM »
Ok I REinstalled directX9C full and still doesnt work so DirectX corruption isnt the case. I also tried just going to the Points tool to calibrate and same error.

I dont mind reinstalling as I do it every 2-3 months anyway as I LIKE a clean system, but that still wont solve whats causing it even if that works. In theory it would just happen again as my Laptop using an Image to reinstall. So it would be the same just before the crash and would happen all over again.

If you can you can pick up a CF-28 for about $250 with a HD to test, they have an excellent resale value. The Lack of photos is more important than the calibration crashes. Also I think the calibration is bugged anyway as like I said you have to exect the window and go back in to manually calibrate and sometimes the map can uncheck which is wierd. That was before I experienced the crashes.

I guess on the photos I am having the SAME problem your other users had except its doing it on my High end system which is WIERD, I could see the laptop and it didnt work from day one on seeing the photo waypoints but DID work on my Home PC and now if not visible. I really hope your program doesnt overwrite windows files and that would be dangerous. The version because the addition of the photos I never had issues with except that Wierd Error we all got.

Trust me I am not only blaiming the software, its just that I would think it leans more on the software and a capability issue than with 2 different systems being corrupted when the laptop hasnt been used for a long while and has a clean install.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #15 on: February 03, 2007, 01:38:09 PM »
Quote (m38a1guy @ Feb. 03 2007,12:21)
It then shows in the tray/box I then exist it because it will NOT allow me to calibrate even BEFORE the crashes without doing this as the usermap will just disappear or uncheck if I try to calibrate without first exiting. I think this problem was mentioned by another. I then enter again and click calibrate Manually. I then touch any of the Green or Red points on the corners or Middle and try to drag it crashes.

Thanks for the further explanation.

I've never heard of this problem you describe.  There were a couple people that reported having the map disappear if they switched between topo/landsat (and were in different UTM zones), but that problem is fixed.

I think we need to look at this problem first, because it's probably causing the next crash.

What should happen is the following:

- Click on "Add User Map", choose a jpeg.
- The name of the jpeg as well as the filename appear in the listview.
- The jpeg is loaded and displayed on the screen, spanning most of the current view.

As long as you don't uncheck it, it should stay checked and visible.  You can then go to the map, switch to select points, and adjust the two calibration points.

When you say you are exiting, do you mean exiting the PROGRAM, or just the user maps dialog?

I just put up a new v3.0 that cleans up a few issues from other people in user maps.  Things are a little more cleaner now--including when you add a new map.  There's a slight chance it might help with your issues, but I'd be somewhat surprised.

Can you give a little more detail as to how the maps are disappearing or becoming unchecked?

BTW we are not messing with any windows files.  Reinstalling DX was a good idea though, too bad it didn't help.

Thanks.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #16 on: February 03, 2007, 06:27:03 PM »
OK, I'm making progress on this.  I found another system that gives the same error, so I should be able to debug it!

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #17 on: February 03, 2007, 06:49:17 PM »
Thats GREAT news! Do you speak of the user maps right? The exiting is the usermap box and then I have to go back into it to calibrate, the calibrate buttons are grayed if I dont exit and enter again.

I hope you fix the Photo Waypoint issue and thats one I need for update info, though User maps are nice they may slow the laptop down too much. Dont know yet.

Maybe user maps can be loaded like Gpx file? so its easier to add and remove?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #18 on: February 03, 2007, 09:23:27 PM »
I speak of both.  I've got them both fixed, just need to check a few more things then I'll have a version for you to test tomorrow.

The key link was.... not having very many GPX files loaded!

Why?  Well, hard to explain.  But it makes sense because all our other testers and my machines have many files loaded.

The photos not loading is pretty bizzare too -- it had to do with the download toggle.  If the download toggle was off, photos wouldn't load.  

Anyway, should be ready to go tomorrow.  Thanks for the patience through all this.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #19 on: February 04, 2007, 12:26:30 AM »
Ah I did Have the toggle off on both Machines and it was on at first on my home PC then I DISABLED because I DIDNT NEED. I checked it out on the Home PC and that worked. lol Thanks goodness it was a little glitch! See I have the download off on my laptop since its a field laptop with no Internet connected out there.

Also I didnt have MANY GPXs loaded that makes sense, then when testing I removed all the GPX files and the error showed up .lol

I can wait to test the new version, did you find out HOW many GPX's needed to be loaded for it to calibrate?

P.S. just checked out on the HOME PC and it calibrates when I load afew GPX files. lol

Well I FEEL good as I found a bug that was useful to get fixed, who knows how many may have done the same thing and had the bugs. I leave the GPX's OFF when I dont use them to speed up laptop performance.

Great news now all my work isnt wasted and I can now play with user maps.

Is it possible to make User maps like GPX files so we can add compelte maps and remove them? its much more difficult to manually go into the user map menu to add or remove maps. I was thinking because of Speed since someone said he had 8 user maps and his Laptop was slower because of it.

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #20 on: February 04, 2007, 08:03:40 PM »
I've got the fixes up (still 3.0).  Give it a shot.  You should be able to use photos on your laptop even with downloading disabled.

Re: user maps as GPX.  I agree it would be easier, but it doesn't quite make sense since a map isn't a GPX file.  I guess it could be a GPX file with waypoints for the calibration points.  I hadn't really thought about it.

By the way, if a user map is "loaded" in the library but not checked the program does NOT load it.  This is different than GPX files, which are loaded even if checked.

The reason is that user maps can be slower to load.  GPX files, unless huge, are fast to load.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #21 on: February 05, 2007, 04:12:13 AM »
Well if you can covnert to gpx that would be neat, as of now I can transfer the user maps saved from my home PC to the Laptop, I have to add them direct to the laptop which with the GPX files I dont the info is all saved, see what I mean? User maps added the way now have to be calibrated etc but when done if you go to tranfer to another PC its lost. Am I wrong? I havent tried it but it seems to be the case since its not a file but a loaded image.

I'll try the new beta. is the user map bug fixed also?

Krein

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 1203
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Crashes with User Maps
« Reply #22 on: February 05, 2007, 07:48:56 AM »
You are right, you can't transfer the calibration along with the image right now.

Not sure if it'll be GPX in the future, but we will add "world file" export with the maps -- then they can be loaded into TF as well as other software (GIS, etc).

Yep, the user map bug is fixed in the current version.  Should work with no GPX files loaded.

m38a1guy

  • Sr. Member
  • ****
  • Posts: 135
    • View Profile
Crashes with User Maps
« Reply #23 on: February 05, 2007, 10:39:27 AM »
Yes everything worked great. I hope you can add the feature of saving User maps so they arent lost if transfered. Keep up the good work, I lthink your doing a great Job, too bad you couldnt get a military contract for you software its perfect for field Applications.