Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 20, 2013, 08:15:31 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: v3.19  (Read 5936 times)
Astroman
JkDefrag Hero
*****
Posts: 88



View Profile
« on: August 27, 2007, 06:18:27 pm »

at first try i get the following error

JkDefrag.exe - Entry Point Not Found

The procedure entry point RegGetValueW could not be located in the dynamic link library ADVAPI32.dll


the program never starts, so there is no log file.
Logged
Spacetech
Newbie
*
Posts: 3


View Profile
« Reply #1 on: August 27, 2007, 06:23:02 pm »

I get the same error Sad
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #2 on: August 27, 2007, 06:31:05 pm »

Quote from: "Astroman"
The procedure entry point RegGetValueW could not be located in the dynamic link library ADVAPI32.dll

Ah, I see now in the manual that this function is XP or newer. I've pulled v3.19 off the website, this should not take long.
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #3 on: August 27, 2007, 07:10:53 pm »

Ok, v3.19 is fixed for this problem and available on the website again. I've not changed the version number, the bad version was there for only an hour or so. Please download again....
Logged
sgoldberg
JkDefrag Junior
**
Posts: 9


View Profile
« Reply #4 on: August 27, 2007, 07:25:22 pm »

3.19A - the advapi32.dll error is gone but I'm back to the error I last reported with the program doing a quick abort after analyzing 14 files.  The log file looks exactly as it did when I submitted it earlier today after failing on my office machine.

Stu
Logged
Astroman
JkDefrag Hero
*****
Posts: 88



View Profile
« Reply #5 on: August 27, 2007, 07:35:07 pm »

no problems for me over here across all drives, haven't tested Vista yet though Smiley
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #6 on: August 27, 2007, 08:09:11 pm »

Quote from: "sgoldberg"
I'm back to the error I last reported

Can you please make a new logfile with v3.19 and post it again in a new thread? There are many logfile postings on the forum right now and I have lost track of yours, sorry....
Logged
bonze82
Newbie
*
Posts: 3


View Profile
« Reply #7 on: August 27, 2007, 08:19:09 pm »

Here are the last 15 lines of my logfile. It appears to be crashing in inode. I will run the source code tonight I'm not in the mood to debug atm. Was crashing on version 3.18 & 3.19, wasn't crashing befor I moved most of the data off the offending drive to another drive to speedup the defrag. Drive is very heavily fraged due to my lack of attention.
14:01:41 Processing Inode 10...
14:01:41   Inode 10 has Flags = 5
14:01:41   Attribute 0: $STANDARD_INFORMATION
14:01:41   Attribute 1: $FILE_NAME
14:01:41     Long filename = '$UpCase'
14:01:41   Attribute 3: $DATA
14:01:41     Creating new stream: ':$DATA'
14:01:41     Extent: Lcn=1840168, Vcn=0, NextVcn=256
14:01:41 Processing Inode 11...
14:01:41   Inode 11 has Flags = 7
14:01:41   Attribute 0: $STANDARD_INFORMATION
14:01:41   Attribute 1: $FILE_NAME
14:01:41     Long filename = '$Extend'
14:01:41   Attribute 3: $INDEX_ROOT
14:01:41 Skipping to next extent
Logged
sgoldberg
JkDefrag Junior
**
Posts: 9


View Profile
« Reply #8 on: August 27, 2007, 10:05:38 pm »

I reported this earlier from my office PC.  My home PC displays the same error with the patched version of 3.19.  Here's the log file from my home system:

16:58:17 Commandline argument '-d' accepted, debug = 6
16:58:17 JkDefrag v3.19
16:58:17 Date: 2007/08/27
16:58:17 Analyzing disk 'C:\'
16:58:17 Starting JkDefrag for 'C:\'
16:58:17 Opening volume '\\?\Volume{42b7f498-a84f-11d9-8925-806d6172696f}' at mountpoint 'C:'
16:58:17 MftStartLcn=806866, MftZoneStart=855168, MftZoneEnd=865696, Mft2StartLcn=4096574, MftValidDataLength=48304
16:58:17 MftExcludes[0].Start=806866, MftExcludes[0].End=855170
16:58:17 MftExcludes[1].Start=855168, MftExcludes[1].End=865696
16:58:17 MftExcludes[2].Start=4096574, MftExcludes[2].End=4144878
16:58:18 Phase 1: Analyze
16:58:18   Disk cookie: 202020205346544E
16:58:18   BytesPerSector: 512
16:58:18   TotalSectors: 109258064
16:58:18   SectorsPerCluster: 8
16:58:18   SectorsPerTrack: 63
16:58:18   NumberOfHeads: 255
16:58:18   MftStartLcn: 806866
16:58:18   Mft2StartLcn: 4096574
16:58:18   BytesPerMftRecord: 1024
16:58:18   ClustersPerIndexRecord: 1
16:58:18   MediaType: F8
16:58:18   VolumeSerialNumber: 728CE7088CE6C5A7
16:58:18 Processing Inode 0...
16:58:18   Attribute 0: $STANDARD_INFORMATION
16:58:18   Attribute 58: $ATTRIBUTE_LIST
16:58:18     Reading 2176 bytes from offset 0
16:58:18     Reading 2560 bytes from Lcn=6580 into offset=0
16:58:19     Processing AttributeList for Inode 0, 2176 bytes
16:58:19     List attribute: $DATA
16:58:19       LowestVcn = 4, RefInode = 15, InodeSequence = 15, Instance = 0
16:58:19       Error: Inode 15 is an extension of Inode 0, but does not exist (outside the MFT).
16:58:19     List attribute: $DATA
16:58:19       LowestVcn = 21639, RefInode = 45226, InodeSequence = 148, Instance = 0
16:58:19       Error: Inode 45226 is an extension of Inode 0, but does not exist (outside the MFT).
16:58:19     List attribute: $DATA
16:58:19       LowestVcn = 21933, RefInode = 45225, InodeSequence = 191, Instance = 0
16:58:19       Error: Inode 45225 is an extension of Inode 0, but does not exist (outside the MFT).
----------
----------lines skipped, repeating the same type of data...
----------
16:58:22     List attribute: $DATA
16:58:22       LowestVcn = 45638, RefInode = 2553, InodeSequence = 2554, Instance = 0
16:58:22       Error: Inode 2553 is an extension of Inode 0, but does not exist (outside the MFT).
16:58:22     List attribute: $DATA
16:58:22       LowestVcn = 48288, RefInode = 2552, InodeSequence = 2553, Instance = 0
16:58:22       Error: Inode 2552 is an extension of Inode 0, but does not exist (outside the MFT).
16:58:22   Attribute 3: $FILE_NAME
16:58:22     Long filename = '$MFT'
16:58:22   Attribute 7: $DATA
16:58:22     Creating new stream: ':$DATA'
16:58:22     Extent: Lcn=806866, Vcn=0, NextVcn=4
16:58:22   Attribute 6: $BITMAP
16:58:22     Creating new stream: ':$BITMAP'
16:58:22     Extent: Lcn=6581, Vcn=0, NextVcn=3
16:58:22     Extent: Lcn=6584, Vcn=3, NextVcn=4
16:58:22     Extent: Lcn=6585, Vcn=4, NextVcn=5
16:58:22     Extent: Lcn=6586, Vcn=5, NextVcn=6
16:58:22     Reading 24152 bytes from offset 0
16:58:22     Reading 12288 bytes from Lcn=6581 into offset=0
16:58:22     Reading 4096 bytes from Lcn=6584 into offset=12288
16:58:22     Reading 4096 bytes from Lcn=6585 into offset=16384
16:58:22     Reading 4096 bytes from Lcn=6586 into offset=20480
16:58:22 BitmapLength = 24152, MftBytes = 197853184
16:58:22 Reading block of 15 Inodes from MFT into memory, 15360 bytes from LCN=806866
16:58:22 Processing Inode 1...
16:58:22   Attribute 0: $STANDARD_INFORMATION
16:58:22   Attribute 2: $FILE_NAME
16:58:22     Long filename = '$MFTMirr'
16:58:22   Attribute 1: $DATA
16:58:23     Creating new stream: ':$DATA'
16:58:23     Extent: Lcn=4096574, Vcn=0, NextVcn=1
16:58:23 Processing Inode 2...
16:58:23   Attribute 0: $STANDARD_INFORMATION
16:58:23   Attribute 2: $FILE_NAME
16:58:23     Long filename = '$LogFile'
16:58:23   Attribute 1: $DATA
16:58:23     Creating new stream: ':$DATA'
16:58:23     Extent: Lcn=790480, Vcn=0, NextVcn=16384
16:58:23 Processing Inode 3...
16:58:23   Attribute 0: $STANDARD_INFORMATION
16:58:23   Attribute 1: $FILE_NAME
16:58:23     Long filename = '$Volume'
16:58:23   Attribute 6: $OBJECT_ID
16:58:23   Attribute 2: $SECURITY_DESCRIPTOR
16:58:23   Attribute 4: $VOLUME_NAME
16:58:23   Attribute 5: $VOLUME_INFORMATION
16:58:23   Attribute 3: $DATA
16:58:23 Processing Inode 4...
16:58:23   Attribute 0: $STANDARD_INFORMATION
16:58:23   Attribute 2: $FILE_NAME
16:58:23     Long filename = '$AttrDef'
16:58:23   Attribute 3: $SECURITY_DESCRIPTOR
16:58:23   Attribute 4: $DATA
16:58:23     Creating new stream: ':$DATA'
16:58:23     Extent: Lcn=1518752, Vcn=0, NextVcn=1
16:58:23 Processing Inode 5...
16:58:23   Attribute 0: $STANDARD_INFORMATION
16:58:23   Attribute 1: $FILE_NAME
16:58:23     Long filename = '.'
16:58:23   Attribute 24: $OBJECT_ID
16:58:23   Attribute 362: $INDEX_ROOT
16:58:23   Attribute 364: $INDEX_ALLOCATION
16:58:23     Creating new stream: '$I30:$INDEX_ALLOCATION'
16:58:23     Extent: Lcn=11712375, Vcn=0, NextVcn=12
16:58:23   Attribute 363: $BITMAP
16:58:23 Processing Inode 6...
16:58:23   Attribute 0: $STANDARD_INFORMATION
16:58:23   Attribute 2: $FILE_NAME
16:58:23     Long filename = '$Bitmap'
16:58:24   Attribute 1: $DATA
16:58:24     Creating new stream: ':$DATA'
16:58:24     Extent: Lcn=4096585, Vcn=0, NextVcn=251
16:58:24     Extent: Lcn=8193150, Vcn=251, NextVcn=417
16:58:24 Processing Inode 7...
16:58:24   Attribute 0: $STANDARD_INFORMATION
16:58:24   Attribute 2: $FILE_NAME
16:58:24     Long filename = '$Boot'
16:58:24   Attribute 3: $SECURITY_DESCRIPTOR
16:58:24   Attribute 1: $DATA
16:58:24     Creating new stream: ':$DATA'
16:58:24     Extent (virtual): Vcn=0, NextVcn=2
16:58:24 Processing Inode 8...
16:58:24   Attribute 0: $STANDARD_INFORMATION
16:58:24   Attribute 3: $FILE_NAME
16:58:24     Long filename = '$BadClus'
16:58:24   Attribute 2: $DATA
16:58:24   Attribute 1: $DATA
16:58:24     Creating new stream: '$Bad:$DATA'
16:58:24     Extent (virtual): Vcn=0, NextVcn=8193149
16:58:24 Processing Inode 9...
16:58:24   Inode 9 has Flags = 9
16:58:24   Attribute 0: $STANDARD_INFORMATION
16:58:24   Attribute 226: $ATTRIBUTE_LIST
16:58:24     Reading 344 bytes from offset 0
16:58:24     Reading 512 bytes from Lcn=6588 into offset=0
16:58:24     Processing AttributeList for Inode 9, 344 bytes
16:58:24     List attribute: $DATA
16:58:24       LowestVcn = 0, RefInode = 59195, InodeSequence = 13, Instance = 0
16:58:24       AttributeList name = '$SDS'
16:58:24       Error: Inode 59195 is an extension of Inode 9, but does not exist (outside the MFT).
16:58:24   Attribute 7: $FILE_NAME
16:58:24     Long filename = '$Secure'
16:58:24   Attribute 221: $INDEX_ROOT
16:58:24   Attribute 217: $INDEX_ROOT
16:58:24   Attribute 223: $INDEX_ALLOCATION
16:58:24     Creating new stream: '$SDH:$INDEX_ALLOCATION'
16:58:24     Extent: Lcn=7211, Vcn=0, NextVcn=40
16:58:24   Attribute 219: $INDEX_ALLOCATION
16:58:24     Creating new stream: '$SII:$INDEX_ALLOCATION'
16:58:24     Extent: Lcn=7251, Vcn=0, NextVcn=46
16:58:25   Attribute 222: $BITMAP
16:58:25   Attribute 218: $BITMAP
16:58:25 Processing Inode 10...
16:58:25   Attribute 0: $STANDARD_INFORMATION
16:58:25   Attribute 2: $FILE_NAME
16:58:25     Long filename = '$UpCase'
16:58:25   Attribute 1: $DATA
16:58:25     Creating new stream: ':$DATA'
16:58:25     Extent: Lcn=2333045, Vcn=0, NextVcn=32
16:58:25 Processing Inode 11...
16:58:25   Attribute 0: $STANDARD_INFORMATION
16:58:25   Attribute 3: $FILE_NAME
16:58:25     Long filename = '$Extend'
16:58:25   Attribute 4: $INDEX_ROOT
16:58:25 Skipping to next extent
--------------------------------------
Here's the error report that Windows wanted to send to Micro$oft:

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="JkDefrag.exe" FILTER="GRABMI_FILTER_PRIVACY">
    <MATCHING_FILE NAME="JkDefrag.exe" SIZE="217088" CHECKSUM="0x29B8560E" BIN_FILE_VERSION="3.19.0.0" BIN_PRODUCT_VERSION="3.19.0.0" PRODUCT_VERSION="3.19" FILE_DESCRIPTION="JkDefrag - disk defragmentation and optimization tool" COMPANY_NAME="J.C. Kessels" PRODUCT_NAME="JkDefrag" FILE_VERSION="3.19" ORIGINAL_FILENAME="JkDefrag.exe" INTERNAL_NAME="JkDefrag" LEGAL_COPYRIGHT="GNU General Public License" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x0" VERFILETYPE="0x0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x446E7" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="3.19.0.0" UPTO_BIN_PRODUCT_VERSION="3.19.0.0" LINK_DATE="08/27/2007 17:41:35" UPTO_LINK_DATE="08/27/2007 17:41:35" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="JkDefragCmd.exe" SIZE="217088" CHECKSUM="0x9A5D58AF" BIN_FILE_VERSION="3.19.0.0" BIN_PRODUCT_VERSION="3.19.0.0" PRODUCT_VERSION="3.19" FILE_DESCRIPTION="JkDefrag - disk defragmentation and optimization tool" COMPANY_NAME="J.C. Kessels" PRODUCT_NAME="JkDefrag" FILE_VERSION="3.19" ORIGINAL_FILENAME="JkDefrag.exe" INTERNAL_NAME="JkDefrag" LEGAL_COPYRIGHT="GNU General Public License" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x0" VERFILETYPE="0x0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x39365" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="3.19.0.0" UPTO_BIN_PRODUCT_VERSION="3.19.0.0" LINK_DATE="08/27/2007 17:41:36" UPTO_LINK_DATE="08/27/2007 17:41:36" VER_LANGUAGE="English (United States) [0x409]" />
    <MATCHING_FILE NAME="JkDefragScreenSaver.exe" SIZE="229376" CHECKSUM="0xB0C305E3" BIN_FILE_VERSION="3.19.0.0" BIN_PRODUCT_VERSION="3.19.0.0" PRODUCT_VERSION="3.19" FILE_DESCRIPTION="JkDefrag - disk defragmentation and optimization tool" COMPANY_NAME="J.C. Kessels" PRODUCT_NAME="JkDefrag" FILE_VERSION="3.19" ORIGINAL_FILENAME="JkDefrag.exe" INTERNAL_NAME="JkDefrag" LEGAL_COPYRIGHT="GNU General Public License" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x0" VERFILETYPE="0x0" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" UPTO_BIN_FILE_VERSION="3.19.0.0" UPTO_BIN_PRODUCT_VERSION="3.19.0.0" LINK_DATE="08/27/2007 17:41:38" UPTO_LINK_DATE="08/27/2007 17:41:38" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
    <MATCHING_FILE NAME="kernel32.dll" SIZE="984576" CHECKSUM="0xF0B331F6" BIN_FILE_VERSION="5.1.2600.3119" BIN_PRODUCT_VERSION="5.1.2600.3119" PRODUCT_VERSION="5.1.2600.3119" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft® Windows® Operating System" FILE_VERSION="5.1.2600.3119 (xpsp_sp2_gdr.070416-1301)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0xF9293" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.3119" UPTO_BIN_PRODUCT_VERSION="5.1.2600.3119" LINK_DATE="04/16/2007 15:52:53" UPTO_LINK_DATE="04/16/2007 15:52:53" VER_LANGUAGE="English (United States) [0x409]" />
</EXE>
</DATABASE>
Logged
sgoldberg
JkDefrag Junior
**
Posts: 9


View Profile
« Reply #9 on: August 27, 2007, 10:14:40 pm »

The error report (which I can't copy), reads:
appname: jkdefrag.exe, Appver 3.19.0.0
ModName: jkdefrag.exe
ModVer 3.19.0.0Offset 0000dde3

Exception Information:
Code: 0xc0000005
Flags: 0x00000000
Record: 0x0000000000000000
Address: 0x000000000040dde3
Logged
Chas
Newbie
*
Posts: 4


View Profile
« Reply #10 on: August 27, 2007, 11:42:13 pm »

No joy -- see attached screen shot of error in 3.19.[/url]
Logged
bonze82
Newbie
*
Posts: 3


View Profile
« Reply #11 on: August 28, 2007, 01:44:34 am »

Hey some more info on the bug in question. Unhandled exception at 0x004607dd in JkDefrag.exe: 0xC0000005: Access violation reading location 0x00000008. Thats the vb error output.
The location in the file scanntfs.cpp line 1551:
          Fragment->Lcn,RealVcn,Fragment->NextVcn - Vcn);
        }
      if (Fragment == NULL) break;
      if (BlockEnd >= u1) BlockEnd = u1;
      Trans.QuadPart = (Fragment->Lcn - RealVcn) * Data->Disk.BytesPerSector *
        Data->Disk.SectorsPerCluster + BlockStart * Data->Disk.BytesPerMftRecord;
      gOverlapped.Offset     = Trans.LowPart;
      gOverlapped.OffsetHigh = Trans.HighPart;
      gOverlapped.hEvent     = NULL;
      Data->ShowDebug(6,NULL,L"Reading block of %I64u Inodes from MFT into memory, %u bytes from LCN=%I64u",
        BlockEnd - BlockStart,(DWORD)((BlockEnd - BlockStart) * Data->Disk.BytesPerMftRecord),
        Trans.QuadPart / (Data->Disk.BytesPerSector * Data->Disk.SectorsPerCluster));
      Result = ReadFile(Data->Disk.VolumeHandle,Buffer,
        (DWORD)((BlockEnd - BlockStart) * Data->Disk.BytesPerMftRecord),&BytesRead,
        &gOverlapped);
      if ((Result == 0) || (BytesRead != (BlockEnd - BlockStart) * Data->Disk.BytesPerMftRecord)) {
        SystemErrorStr(GetLastError(),s1);
        Data->ShowDebug(2,NULL,L"Error while reading Inodes %I64u to %I64u: %s",InodeNumber,BlockEnd-1,s1);
        free(Buffer);
        free(InodeArray);
        return(FALSE);
        }
      }

    /* Fixup the raw data of this Inode. */

If you need any more data like the auto's or locals let me know I'll keep the debug info up for 24 hours. Something else I'm using compressed file system so that might be a unknown factor. Hope it all helps.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!