Author |
Topic |
|
SvenC
Tomato Guru
Germany
339 Posts |
Posted - Oct 30 2006 : 03:57:02 AM
|
Hi,
with builds 1539 and 1540 I noticed several hangs during typing in the IDE. I am in an ATL dll project. Editing an idl file. Almost all editing actions result in devenv.exe to consume 25% of CPU which is one CPU completely as I have two CPUs with hyperthreading which makes it 4 CPUs for the system.
After several seconds devenv gets resonsive again. This behaviour does only occur with VAX enabled.
I found an errors.log in the vc8 directory. Its full of lines like this:
BCL deepError: :ULONG:188 10/30/2006 09:47:27 0xdf4 BCL deepError: :typedef:188 10/30/2006 09:47:27 0xdf4 BCL deepError: :unsigned:188 10/30/2006 09:47:27 0xdf4 BCL deepError: :long:188 10/30/2006 09:47:27 0xdf4 BCL deepError: :typedef:188 10/30/2006 09:47:28 0xdf4 BCL deepError: :unsigned:188 10/30/2006 09:47:28 0xdf4 BCL deepError: :long:188 10/30/2006 09:47:28 0xdf4 BCL deepError: :typedef:188 10/30/2006 09:47:28 0xdf4 BCL deepError: :ULONG:188 10/30/2006 09:47:28 0xdf4 BCL deepError: :typedef:188 10/30/2006 09:47:28 0xdf4 BCL deepError: :unsigned:188 10/30/2006 09:47:28 0xdf4 BCL deepError: :long:188 10/30/2006 09:47:28 0xdf4
If you want I can mail it to you.
I'll try deleting the directories vc6, vc7 and vc8 and see if that helps.
Any ideas what to do else?
Regards, SvenC |
|
SvenC
Tomato Guru
Germany
339 Posts |
Posted - Oct 30 2006 : 04:37:12 AM
|
Deleting the vc6, vc7 and vc8 directories didn't change anything. The new errors.log in vc8 is already at 162 KB.
First ten lines: BCL deepError: :typedef:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :unsigned:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :long:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :typedef:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :ULONG:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :typedef:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :unsigned:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :long:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :typedef:188 10/30/2006 10:31:17 0x9d8 BCL deepError: :unsigned:188 10/30/2006 10:31:17 0x9d8
With this project VAX is currently totally unusable for me. I have to disable it because almost every typing causes a delay of several *minutes*.
If it helps I could create a memory dump with adplus. The full dumps are quite large, 260MB the last one. Do you have an upload server available - I think mailing would not work
Regards, SvenC |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 30 2006 : 10:21:24 AM
|
does compressing this dump file work? 7-zip can produce some very good compression results.
http://sourceforge.net/projects/sevenzip/
I have just created a new ATL DLL project in VS2005 and I am not seeing any problems typing into the IDL file that was generated. However I am mainly typing comments, or semi-random text, since I have no experience with IDL files of ATL projects.
Do you have the time to try testing this with a new, default ATL project? |
zen is the art of being at one with the two'ness |
|
|
SvenC
Tomato Guru
Germany
339 Posts |
Posted - Oct 30 2006 : 2:26:53 PM
|
The compressed dmp goes down to 90MB. Of course with a new ATL project there is no problem. My production IDL contains 2322 lines with a bunch of interfaces, dispinterfaces, enum, some BSTR constants in modules and a few coclasses.
I just remembered that I could exclude extensions. I exclude idl and see id editing h and cpp files makes problems.
Do the above errors make any sense to you or the devs?
Regards, SvenC |
|
|
SvenC
Tomato Guru
Germany
339 Posts |
Posted - Oct 30 2006 : 3:02:02 PM
|
No hangs for abaout half an hour with the idl excluded from VAX. So it seems definitely related to the idl. I try if I can come up with a repro with an empty ATL project and my IDL... |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 30 2006 : 3:53:47 PM
|
Would it be possible to get a copy of just this IDL file?
I have the suspicion it will be fine, and that it is something about the file + the solution that is the problem, but the IDL file might just be possible. I understand that normally code cannot be provided, so this is a long shot question. If it is possible could you upload it via this form please:
http://www.wholetomato.com/support/contact.asp
Also, could you please generate a log file, and submit it via this form? It seems one other user reported a problem that was related to IDL files, and some extra logging was added to try and pin down the problem in 1537 (case 2698), so hopefully logfiles from 1540 will shed some light on this.
http://docs.wholetomato.com?W305 |
zen is the art of being at one with the two'ness |
|
|
SvenC
Tomato Guru
Germany
339 Posts |
Posted - Oct 31 2006 : 04:57:23 AM
|
Hi feline,
I did provide the logs and referenced this topic in the upload inquiry.
Regards, SvenC |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 31 2006 : 11:58:30 AM
|
I have the files, thank you. I have asked the developers if they can make anything of them.
At least excluding the IDL files is a temporary work around. |
zen is the art of being at one with the two'ness |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Oct 31 2006 : 5:58:23 PM
|
Unfortunately the logs are not helping. Did you generate them while the IDL files were excluded? You need to generate log files while the problem is happening.
Can you make sure the IDL files are being parsed, so this will go wrong, then restart the IDE and enable logging in VA before loading the solution. Then load the solution and reproduce the problem.
If you submit the new logs via the same form someone will have a look at them. |
zen is the art of being at one with the two'ness |
|
|
SvenC
Tomato Guru
Germany
339 Posts |
Posted - Nov 01 2006 : 02:22:10 AM
|
My bad: I clicked rebuild and cleared the cache and followed the advise to restart the IDE and forgot the reenable logging.
Second try log are uploaded. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 01 2006 : 07:40:52 AM
|
I have them, thank you. Hopefully they will shed some light on this. |
zen is the art of being at one with the two'ness |
|
|
cgough
Senior Member
27 Posts |
Posted - Nov 02 2006 : 08:43:21 AM
|
I have been seeing hangs in IDL files as well, for several versions. I have reported it, I thought it was related to the spell checker. I also have my IDL file commented with Doxygen style comments. |
|
|
SvenC
Tomato Guru
Germany
339 Posts |
Posted - Nov 02 2006 : 09:00:28 AM
|
Hmm, spell checker - worth a try. I removed .idl from the exclusion list, disabled the spell underlining and restarted the IDE: as soon as the IDL file opened, devenv used the CPU at its best. So maybe thats not the case for me, or I need another way to disable the spell checker a bit more...
No special commenting from my side, just a change history at top and some change hints inbetween. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
|
cgough
Senior Member
27 Posts |
Posted - Nov 03 2006 : 11:26:11 AM
|
I tried creating a sample project to reproduce the problem but it seems to work just fine in the sample. I do have a #import "xxx.idl" at the top of my idl file if that's any help. I also have 30 or so UDT's in the #imported idl file.
On my "real" project I can lock it up every time. What can I do to provide you with the correct information. |
|
|
feline
Whole Tomato Software
United Kingdom
19020 Posts |
Posted - Nov 04 2006 : 10:24:14 AM
|
cgough can you produce some VA log files of this problem please? Just follow the same procedure as I asked SvenC to follow.
Can you make sure the IDL files are being parsed, so this will go wrong, then restart the IDE and enable logging in VA before loading the solution. Then load the solution and reproduce the problem. Then submit the log files via this form:
http://www.wholetomato.com/support/contact.asp
What are you doing to produce the lockup? Just typing, or something else? In the other thread you spoke about misspelled words being underlined, and right clicking on them causing the problem. Are you seeing underlinging in your test project? At the time I was unable to make any underlining happen at all in my tests.
In the real project, are you editing a specific IDL file, or several different files? I get the impression that several IDL files are involved, due to the #import "xxx.idl" lines.
Is it possible to get a copy of any problem IDL files from the real project? I understand it may not be, but it is worth asking. |
zen is the art of being at one with the two'ness |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 08 2006 : 12:09:18 PM
|
This thread has continued via email with both Sven and Chris.
case=3344
|
|
|
support
Whole Tomato Software
5566 Posts |
Posted - Nov 29 2006 : 3:22:51 PM
|
Case 3344 is fixed in 1541. |
|
|
|
Topic |
|