in reply to method "new" leads to infinite loop with 100% CPU, troubleshooting??
Actually, are you sure that it doesn't eventually complete? I did a directory listing of the DLLs on my system and I noticed that at 8 MB shell32.dll is significantly bigger than any other dll. A quick check with dumpbin shows that it contains over 51000 fixups (relocations).
So, I ran the following and left it running while I did something else, and it eventually completed after nearly 5 minutes:
c:\test>perl -MWin32::Exe -le"print time; $e = Win32::Exe->new( 'c:\windows\system32\shell32.dll +' ); print time" 1219426998 1219427274
The module uses Parse::Binary::FixedFormat and that module is just really, really slow.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: method "new" leads to infinite loop with 100% CPU, troubleshooting??
by resistance (Beadle) on Aug 22, 2008 at 18:44 UTC | |
by resistance (Beadle) on Aug 22, 2008 at 19:07 UTC | |
by BrowserUk (Patriarch) on Aug 22, 2008 at 19:23 UTC | |
by resistance (Beadle) on Aug 22, 2008 at 19:46 UTC |