| View previous topic :: View next topic |
| Author |
Message |
roentgen Power Member


Joined: 03 Dec 2005 Posts: 759
|
Posted: Tue Jan 09, 2007 11:21 am Post subject: [BUG] Invalid floating point operation |
|
|
When entering a .lst file created by DiskDirExtended wcx plugin I get this error:
| Code: | ---------------------------
Total Commander
---------------------------
Invalid floating point operation.
Please report this error to the Author,
with a description of what you were doing when this error occured!
Continue execution?
---------------------------
Yes No
---------------------------
|
Loading TC through a debugger I get this also:
| Code: | 'TOTALCMD.EXE': Loaded 'C:\Program Files\Totalcmd7\Plugins\wcx\DiskDirExtended\DiskDirExtended.wcx', Binary was not built with debug information.
First-chance exception at 0x005e795e in TOTALCMD.EXE: 0xC0000090: Floating-point invalid operation.
|
_________________ TC for Linux please! |
|
| Back to top |
|
 |
sqa_wizard Power Member


Joined: 06 Feb 2003 Posts: 2597 Location: Germany
|
Posted: Tue Jan 09, 2007 3:13 pm Post subject: |
|
|
What version of DiskDirExtended are you using ?
What is the content of the lst file ? (shown by lister or notepad) _________________ #5767 Personal license |
|
| Back to top |
|
 |
TrePe Junior Member


Joined: 10 Feb 2004 Posts: 40 Location: Slovakia
|
Posted: Wed Jan 10, 2007 3:06 am Post subject: Re: [BUG] Invalid floating point operation |
|
|
| Oh, give me please that lst file. I do not even remember using floating point operations in my program... |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Wed Jan 10, 2007 3:50 am Post subject: |
|
|
Yes, please post the part of the list file here which causes this error. I guess that DiskDirExetended returns a HUGE number for file size or a bad date value, which then causes TC to show this error. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
TrePe Junior Member


Joined: 10 Feb 2004 Posts: 40 Location: Slovakia
|
Posted: Wed Jan 10, 2007 3:59 am Post subject: |
|
|
| He already sent it to me. I will look into this, thank you. |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Wed Jan 10, 2007 4:07 am Post subject: |
|
|
Please keep me updated! If any number returned by DiskDirExetended causes a floating point exception in TC itself, then I need to know it so I can write a workaround! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
TrePe Junior Member


Joined: 10 Feb 2004 Posts: 40 Location: Slovakia
|
Posted: Wed Jan 10, 2007 1:31 pm Post subject: |
|
|
We are talking about TC 7.0pb2 and DiskDirExtended 1.55.
Here is lst file how to reproduce (it was created by DiskDirExtended 1.52, that is why there are so huge file sizes - they were originally inside iso file and I had a bug in previous version of DDE with iso files):
| Code: | f:\
a.txt 5077810778883651654 2005.3.2 2:34.14
b.txt 5780088646753335120 2005.10.30 18:3.12
|
Both lines are important. When there is only one file in there, the size shown by TC is question mark (it displays '?' instead of file size).
The exception is raised after second return from my ReadHeaderEx function.
First tHeaderDataEx structure:
| Code: | FileName=a.txt
UnpSize=161862 (0x27846)
UnpSizeHigh=1182269952 (0x46780200)
FileTime=845288519 (0x32621447) |
Second tHeaderDataEx structure:
| Code: | FileName=b.txt
UnpSize=14160 (0x3750)
UnpSizeHigh=1345781760 (0x50370000)
FileTime=861835366 (0x335E9066) |
Everything else is 0.
Hope this helps. |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Thu Jan 11, 2007 1:41 pm Post subject: |
|
|
Ah, I see - I will try to check what happens with a debugger. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Thu Feb 22, 2007 8:27 am Post subject: |
|
|
This should be fixed now. TC7 beta 4 should no longer show an error when receiving an extremely large number for the size. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
roentgen Power Member


Joined: 03 Dec 2005 Posts: 759
|
Posted: Mon Mar 12, 2007 7:22 am Post subject: |
|
|
Yes. This is fixed. I see funny sizes returned by the plugin, but TC does not crash anymore.
Thanks for paying attention. _________________ TC for Linux please! |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Wed Mar 14, 2007 3:38 am Post subject: |
|
|
Thanks! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
|