Author Topic: Bug: HippoEdit freezes when changing the Workspaces folder  (Read 935 times)

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Bug: HippoEdit freezes when changing the Workspaces folder
« on: August 10, 2010, 01:17:47 pm »
I wanted to change the workspace folder
Tools => Options => General => Workspaces => Workspace Directory

HippoEdit crashes every time

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #1 on: August 10, 2010, 04:44:50 pm »
Hi knn,

was not able to reproduce it with 1.48.783 on Win XP. Have changed folder, Apply, and restart. Everything was working (got some "strange" display of the workspace names without drive name after restart - will fix this).

- Can you please send crash report (should be displayed after crash has been occurred)  to supportbox hippoedit com ?
- When exactly crash has happened (step by step)?
- Which HE version you are using and OS version.

Best regards,
Alex.

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #2 on: August 11, 2010, 08:47:25 am »
- Can you please send crash report (should be displayed after crash has been occurred)  to supportbox hippoedit com ?

HippoEdit doesn't crash. It freezes/hangs. I have to shut it down via TaskManager.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #3 on: August 11, 2010, 01:38:05 pm »
This is worse. What about rest of questions?
Quote
- When exactly crash has happened (step by step)?
- Which HE version you are using and OS version.
I need to reproduce a bug to fix it, but was not able. So, should be some differences. At the end you can also send me your current configuration files for HE, maybe this would help...

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #4 on: August 12, 2010, 08:19:14 am »
This is worse. What about rest of questions?I need to reproduce a bug to fix it, but was not able. So, should be some differences. At the end you can also send me your current configuration files for HE, maybe this would help...

What are config files?

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #5 on: August 12, 2010, 09:57:29 am »
http://forum.hippoedit.com/?/topic,112.0.html
Quote
What about rest of questions?
- When exactly crash has happened (step by step)?
- Which HE version you are using and OS version.

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #6 on: August 12, 2010, 10:37:01 am »
http://forum.hippoedit.com/?/topic,112.0.html

I think I found the reason:

HippoEdit freezes when there are hard links in the path (of the new workspace folder).

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #7 on: August 13, 2010, 03:09:56 pm »
You mean new workspace folder (or some of its parents) is a hardlink?
Maybe now you can provide a reproducible example to recreate the crash (where is new folder, how to create a hard link to a folder and so on)

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #8 on: August 13, 2010, 04:30:01 pm »
You mean new workspace folder (or some of its parents) is a hardlink?
Maybe now you can provide a reproducible example to recreate the crash (where is new folder, how to create a hard link to a folder and so on)

Simply create a hard link on c:
Either with Windows' Disk Management or with the freeware ntfslinks.

If you have 2 harddrives (c: and d:) then do the following:
Go to Disk Management --> right-click D: (change drive letters and paths) --> Add --> Mount in the following empty folder --> Choose an empty folder on C:

Use this folder (which is not a real folder but a hard link to the root of D:) as the Workspace path.

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #9 on: August 17, 2010, 11:51:54 am »
Maybe the hardlink issue is also the reason why HippoEdit doesn't open the "File Open/Save dialog initial directory" but instead opens some TEMP folder.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #10 on: August 18, 2010, 09:52:03 pm »
I have tested scenario with hard link (junction point done with mklink) on Windows 7 x64 and do not get any problem. not after assigning, not after apply.
The link was one for two folders from different logical drives, but I do not think that this make a difference.
When exactly HippoEDIT hangs? What is CPU consumption in this case? Have you tried to open something from this hard link folder with other program?

Quote
Maybe the hardlink issue is also the reason why HippoEdit doesn't open the "File Open/Save dialog initial directory" but instead opens some TEMP folder.
Do not think so... Check Tools->Options->General->File Open/Save initial directory settings.

Offline knn

  • Newbie
  • *
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #11 on: August 19, 2010, 01:41:17 pm »
I have tested scenario with hard link (junction point done with mklink) on Windows 7 x64 and do not get any problem. not after assigning, not after apply.
I have XP 32bit


The link was one for two folders from different logical drives, but I do not think that this make a difference.
When exactly HippoEDIT hangs? What is CPU consumption in this case? Have you tried to open something from this hard link folder with other program?
HippoEdit hangs when I choose the hardlink folder and press OK.
CPU consumption 0%.
Yes, I use this hardlink folder all the time.


Do not think so... Check Tools->Options->General->File Open/Save initial directory settings.
I just checked it. I seems it has nothing to do with hard links. HippoEdit always tries to open/save in the working directory instead of the open/save directory.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Bug: HippoEdit freezes when changing the Workspaces folder
« Reply #12 on: August 20, 2010, 03:14:11 pm »
Quote
I have tested scenario with hard link (junction point done with mklink) on Windows 7 x64 and do not get any problem. not after assigning, not after apply.
I have XP 32bit
I have tried on 32 bit XP. Everything works fine, directory correctly selected/applied and works after restart.
So should be really something special. Let us wait maybe something else can recreate the same.
Have you tried on other PC same scenario?
The junction point was created with junction utility from SysInternals.

Quote
HippoEdit always tries to open/save in the working directory instead of the open/save directory.
Yes. That is right if any working directory set (or global or for current project) it will be used as initial directory as for open as for save dialog (also for templates dialog, I think). And till now I thought it is OK. Do you have you Working Directory set to some TEMP folder?
« Last Edit: August 20, 2010, 03:17:09 pm by alex »

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
736 Views
Last post April 21, 2009, 11:49:06 pm
by alex
2 Replies
420 Views
Last post July 29, 2009, 02:05:57 pm
by samuel1991
0 Replies
453 Views
Last post March 06, 2010, 01:38:46 am
by alex
10 Replies
970 Views
Last post October 18, 2010, 11:50:16 pm
by alex
8 Replies
675 Views
Last post November 18, 2010, 03:05:02 pm
by alex