The last release is 10 years old. Further development and maintenance has been discontinued for various reasons. Even if packers from various distributions still can compile ext4magic for current distributions, it will no longer work just because it is still compilable. The tool can no longer really work with today's common environments and widely used hardware. There are changes in the dependent libraries that are incompatible with ext4magic, so various bits and bytes in the management of the internal...
Core dump
Sounds like possible duplicate of Ticket 14
The root cause is ext4magic was not updated after update of the e2fsprogs. Two new fields are added into ext2_extent_handle and extent_path structures (e2fsprogs commits a14f0a647 and 2d30ab20a). As a result structure memory layout is changed and ext4magic overwrites structure fields incorrectly. It is correctly reported by valgrind. Possible quickfix is applying the following patch: diff -r -u a/src/block.c b/src/block.c --- a/src/block.c 2014-03-12 04:54:03.000000000 +0400 +++ b/src/block.c 2024-04-10...
Outdated config.guess and config.sub file in the source of project ext4magic.
Include config.h in various files before any other include statements
And it is not fixed by https://master.dl.sourceforge.net/project/ext4magic/Patches/workaround.patch , btw. And happens with 0.2.4 too.
And it is not fixed by https://master.dl.sourceforge.net/project/ext4magic/Patches/workaround.patch , btw.
free(): invalid pointer after in ext2fs_free_mem (ptr=0x55c9323a9100) at /usr/include/ext2fs/ext2fs.h:1959
free(): invalid pointer
Hi Look at this post https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=029e17b98f838bdf8d1c6c1b89946db6dd63d2fe You need to add an include in file src/recover.c at line 24 #include <sys/sysmacros.h> Full diff diff --git a/sys-fs/ext4magic/files/ext4magic-0.3.2-sysmacros.patch b/sys-fs/ext4magic/files/ext4magic-0.3.2-sysmacros.patch new file mode 100644 index 000000000000..954d9612b5ae --- /dev/null +++ b/sys-fs/ext4magic/files/ext4magic-0.3.2-sysmacros.patch @@ -0,0 +1,13 @@ +https://sourceforge.net/p/ext4magic/tickets/4/...
Hi Look at this post https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=029e17b98f838bdf8d1c6c1b89946db6dd63d2fe You need to add an include at line 24 #include <sys/sysmacros.h>
/src/ext4magic-0.3.2/src/recover.c:478: undefined reference to `makedev'
Inode extent checksum may prevent file restore
This seems to be easy to fix by adding #include <sys/sysmacros.h> in recover.c
Word 'invalide' should be 'invalid'
inode.c:407:82: error: struct ext2_inode has no member named i_dir_acl
Hi robi, i already updated the system but i get the same error. Regards Enviado desde...
Hi Pablo, I think this is not a problem of ext4magic, but a problem in the built...
problem with the installation of ext4magic-0.3.2 software
Ja, es ist lahm über sshfs, aber es funktioniert super. VFS sei Dank. Und sshfs ist...
Ja, es ist lahm über sshfs, aber es funktioniert super. VFS sei Dank. Und sshfs ist...
Ja, es ist lahm über sshfs, aber es funktioniert super. VFS sei Dank. Und sshfs ist...
Ja, es ist lahm über sshfs, aber es funktioniert super. VFS sei Dank. Und sshfs ist...
Ja, es ist lahm über sshfs, aber es funktioniert super. VFS sei Dank. Und sshfs ist...
Hallo, remote Dateisysteme als Zielverzeichnis werden offiziell nicht unterstützt,...
Dateien ausschließen? / Excluding files?
The extundelte and ext4magic tools were created at the time of e2fsprogs-1.41.9....
For example, one of the output's for an inode search of my Documents folder returns...
Hello fsk141, You become the error-NR 2133571363 "EXT2_ET_DIR_CORRUPTED" According...
A bit more information: $ sudo ext4magic -S /dev/mapper/home Filesystem in use: /dev/mapper/home...
error-NR 2133571363 inode or journal directory data error
Okay, it's not in the latest release 0.3.2, but in GIT. I'll check what I later accepted...
okay, I have found the cause. deprecated sys/sysmacros.h inclusion from sys/types.h...
the implicit includes of sys/sysmacros.h by other headers is being fixed in C libs...
the snippet i posted was straight out of the configure.ac file in the current git:...
Unfortunately I can not reproduce the warning: warning: implicit declaration of function...
Thanks for the note. At first sight, I can not recognize "==" in the config.ac. But,...
bad POSIX shell test usage
recover.c should include sys/sysmacros.h for makedev()
There are first results. The broken function is local_ext2fs_extent_open() http://ext4magic.sourceforge.net/doxygen/html/block_8c.html#aee0120482de94976df097aa02f7686c4...
Hi Simos, the error is 100% reproducible. Also your error message. ext4magic is therefore...
Hi Robi, Here you go, hope it helps. Let me know if you need more, I haven't remounted...
Hi Simos, I hope you can now recover the lost files. But in your output of inode...
Hello Robi, Thank you very much for your detailed reply. Over the last couple of...
Hi again, I played around with ext4magic some more last night and was able to simply...
Hello Robi, Thank you very much for your detailed reply. Over the last couple of...
Hi, The error states ext4magic can not find the root directory. The error number...
ext4magic error-NR 22 can not found file: /
If you initialize a ext? file system with the same options, the following is set...
If you initialize a ext? file system with the same options, the following is set...
The last question first. "a try run switch" For the recover options "-R" and "-r"...
Also does ext4magic have a "dry run" switch? You know, it may happen that the disk...
Also does ext4magic have a "dry run" switch? You know, it may happen that the disk...
Also does ext4magic have a "dry run" switch? You know, it may happen that the disk...
EXT4 initialized or quick formatted with a new EXT4
fix an Autoconf macro check
Author conatct out of date
ext4magic-0.3.2 is now available robi
for future use, interface for privat magic db
warning not initialized
compiler warning new interface
correction compiler warning interface
prepare for 0.3.2 BETA
conflict x-123 <-> Targa on many file-versions
prevent endless loops on raw mpeg video
magic for matlab5 files
prevent a segfault while reading journal data
exclude x86.iso, to simple file signature
Good! Thanks for your work! 2014-09-02 21:12 GMT-03:00 Robi robi6@users.sf.net: A...
A new release is in work and will be available in a few days. The correct email is...
Author conatct out of date
missing libraries in HOWTO
Moved ext4magic to SF
New address FSF/GLP
initial version 0.1.2
prepare release 0.2.4
BUG #018449: a lot of sparse and empty files
Bug: #18730 exception Handling V-0.2.4
new partial step, recover in journal lost inodes
prevent some loops in large file systems >8TB
compiler warnings
BUG #018427: support for libext2fs 1.41.x and 1...
Bug#18244 endless loop inside the magic function
Bug #18680 Error in histogram display
Errors in flow control
stuff for 0.2.4
(old magic) sorted file names with extension in...
preparation release 0.2.3
prevent write to same filesystem
BUG #017562
enable fattr + recover unlinked file
better output column directory list
time matching in dirlist
correct chmod error symlink
stabilize magic