Skip to main content
November 14, 2006
Answered

CHM crashes on execution

  • November 14, 2006
  • 12 replies
  • 1549 views
I'm running RoboHelp HTML X5.0.2 Build 801. After updating a couple of smaller projects and generating new CHMs, these help files crash a few seconds after I launch them. When I launch the file using "View Primary Layout", I get a message stating that hhlauncher.exe has encountered a problem and needs to close. When I launch the help file outside of Robohelp as an independent application, (just double-clicking the file), I get a message from Windows Data Execution Prevention, and the file exits. If I place the file in the associated application directory and launch it from the application itself, I get a message stating that hh.exe has encountered a problem and needs to close.

These projects are under version control (SourceSafe), if that makes a difference.

All that was updated were some images and the style sheet on each project.

Other projects that I have updated recently do not have this problem.

One last thing I noticed is that these projects are also merged into one larger project. Whenever I open the larger project and view the smaller ones that are having the problems, they work fine.

I can always go back and use the earlier versions (which don't have any problems) but I'd really like to figure out why this is happening. Thanks for any help you can give me!
This topic has been closed for replies.
Correct answer
Got rid of the browse sequences--meaning I deleted everything from the Browse Sequence Editor AND removed the Browse Sequence check mark from the Window Properties.

Reinstalled IE7. The old ones that still have the browse sequences do crash. The newly compiled help files without the browse sequences no longer crash.

Colum--none of my projects that had the problem have glossaries. Actually, the only project I have that contains a glossary has never crashed.

I think I'm done with this. Remove your browse sequences if you have IE7.

Thanks for everybody's input!

TV

12 replies

Correct answer
December 4, 2006
Got rid of the browse sequences--meaning I deleted everything from the Browse Sequence Editor AND removed the Browse Sequence check mark from the Window Properties.

Reinstalled IE7. The old ones that still have the browse sequences do crash. The newly compiled help files without the browse sequences no longer crash.

Colum--none of my projects that had the problem have glossaries. Actually, the only project I have that contains a glossary has never crashed.

I think I'm done with this. Remove your browse sequences if you have IE7.

Thanks for everybody's input!

TV
RoboColum_n_
Legend
December 5, 2006
I'm glad you got your problem sorted TV but the issue IS NOT with running browse sequences in IE7. I've just run a test in IE7 and everything runs fine with them. There must be something about your specific browse sequences that caused the problem. Just want to set the record straight and avoid lots of users having coronary problems
Inspiring
December 20, 2006
Yep, it's not specifically the browse sequences. I have one file that crashes one person's PC every time, but is fine for everyone else I've tried, including people with IE7 installed.

I'm about to get the techs to investigate the software/hardware DEP settings to see if that is the difference between the IE7 people.

I'll post again if I find out anything useful.

P.S. I particularly like the advice from MS "To avoid this behavior, contact your program vendor to see if an update is available that enables the program to work correctly with DEP." Methinks they will be less than helpful.
RoboColum_n_
Legend
December 4, 2006
Do they also have glossaries? If they do, I bet they don't work in IE7 either. It may be down to the version of the HHACTIVEX.DLL file you have installed. Maybe there's a newer version required for IE7 users. Just a hunch!
December 4, 2006
Yeah looks like my next course of action is compatibility testing.

Now that I can at least launch the files I can look at them a little more closely. Right off the bat I notice that the projects in question all have browse sequences, while the ones that have always worked do not.

I'll post here if I find anything definitive.
RoboColum_n_
Legend
December 4, 2006
OK but IE7 does and should support CHM files. I still have IE6 so can't test but others have. There has got to be something in your legacy code that doesn't fit well. This may not be your priority just now but if you get a chance it would be good to know for the future what it was.
December 4, 2006
Back on IE6 and-- they work! Spread the word.
Thanks for all your help!
RoboColum_n_
Legend
December 4, 2006
Do any other - non inherited - projects work OK in IE7? Can't help feeling there is something in your legacy code that IE7 hates. If it works in IE6 at least we'll know.
December 4, 2006
I may be clutching at straws, but did you completely de-install IE6 before installing IE7?

Just something lurking in the back of my mind.

Brian
December 4, 2006
Thanks for the renewed interest!
Ok, here's what I've tried so far--

The problem only occurs on certain projects.

The projects in which I'm having the problem were all "inherited" by me from someone who no longer works here. I have rolled back the projects in sourcesafe to their previous versions and--surprise! they still have the problem. This at least tells me that, whatever the problem is, it is not a result of the updates I made.

As I said in the previous post, it seems to be an operating system-specific problem, as I cannot reproduce the problem in Windows 2000.

I disabled Windows Data Execution Prevention, and all that accomplished is the Data Execution Prevention message does not come up before the crash.

I tried deleting the hh.dat file that saves favorites, etc., to no effect.

I have tried executing the chms while in safe mode and in diagnostics mode to see if there was some kind of conflict--no help there.

I restored the hh.exe and hhctrl.ocx files from the Windows System Configuration Utility.

I have tried compiling the projects using Microsoft's HTML WorkShop--The help file still crashes, only not as quickly....

I am using Internet Explorer 7--I have not yet tried reverting back to IE6.

The closest thing to a common symptom that I have is that it always crashes hh.exe while going from one topic to another--and that it seems to take too long to load a topic. For example, if I click on a topic in the TOC (or index, or search results) it might take a couple of seconds for the topic to display, or it may crash.

I am still going to try reverting back to IE6 before I rebuild all of these projects from scratch. If nothing new happens I'll take the smallest one and import all of the topic htms to a new project and see how it goes from there.

Any other suggestions are most appreciated!
RoboColum_n_
Legend
December 4, 2006
Is the problem just on these smaller/updated projects. Also do you have access to the CHMs before you applied the updates? Do these open OK? If so, can you tell us if you added anything out of the ordinary?
December 4, 2006
I'm using XP. Strangely enough, the problem doesn't seem to happen in Windows 2000 or earlier. I've tried just about everything I can think of. I think I might just try to rebuild the projects and hope for the best.
Participating Frequently
December 3, 2006
Are you using Windows Media Center? Some (not all) of my *.CHM files crash in Media Center but do not crash in WindowsXP.

. . . JBrush