Bug 239564 - sysutils/fusefs-ext4fuse: Assertion failed: (pread_ret == 1024)
Summary: sysutils/fusefs-ext4fuse: Assertion failed: (pread_ret == 1024)
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-31 19:14 UTC by Martin Filla
Modified: 2019-09-01 07:10 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2019-07-31 19:14:20 UTC
Hi,
i run ext4fuse /dev/da0 /mnt/test/

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
"/dev/da0" is not a core dump: File format not recognized
(gdb) run 
Starting program: /usr/local/bin/ext4fuse 
Version: ext4fuse-0.1.3
Usage: /usr/local/bin/ext4fuse <disk> <mountpoint>

Program exited with code 01.
(gdb) Quit
(gdb) run /dev/da0 /mnt/test/
Starting program: /usr/local/bin/ext4fuse /dev/da0 /mnt/test/
Assertion failed: (pread_ret == 1024), function pread_wrapper, file disk.c, line 47.

Program received signal SIGABRT, Aborted.
0x0000000800f5847a in thr_kill () from /lib/libc.so.7
(gdb) bt
#0  0x0000000800f5847a in thr_kill () from /lib/libc.so.7
#1  0x0000000800f58444 in raise () from /lib/libc.so.7
#2  0x0000000800f583b9 in abort () from /lib/libc.so.7
#3  0x0000000800fd78e1 in __assert () from /lib/libc.so.7
#4  0x0000000000402304 in pread_wrapper (disk_fd=6, p=0x7fffffffe86e, size=2, where=1080) at disk.c:47
#5  0x000000000040215a in __disk_read (where=1080, size=2, p=0x7fffffffe86e, func=0x405748 "main", line=135) at disk.c:106
#6  0x000000000040158e in main (argc=3, argv=0x7fffffffe8e8) at fuse-main.c:135
(gdb)
Comment 1 Martin Filla 2019-07-31 19:24:17 UTC
with debug symbol
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) run /dev/da0 /mnt/test
Starting program: /usr/ports/sysutils/fusefs-ext4fuse/work/ext4fuse-0.1.3/ext4fuse /dev/da0 /mnt/test
Assertion failed: (pread_ret == 1024), function pread_wrapper, file disk.c, line 47.

Program received signal SIGABRT, Aborted.
0x0000000800f5847a in thr_kill () from /lib/libc.so.7
(gdb) bt
#0  0x0000000800f5847a in thr_kill () from /lib/libc.so.7
#1  0x0000000800f58444 in raise () from /lib/libc.so.7
#2  0x0000000800f583b9 in abort () from /lib/libc.so.7
#3  0x0000000800fd78e1 in __assert () from /lib/libc.so.7
#4  0x0000000000402304 in pread_wrapper (disk_fd=7, p=0x7fffffffe7fe, size=2, where=1080) at disk.c:47
#5  0x000000000040215a in __disk_read (where=1080, size=2, p=0x7fffffffe7fe, func=0x405748 "main", line=135) at disk.c:106
#6  0x000000000040158e in main (argc=3, argv=0x7fffffffe870) at fuse-main.c:135
Comment 2 Emanuel Haupt freebsd_committer 2019-08-30 12:17:39 UTC
There hasn't been a new release since Feb 2013. It is probably better to look for an alternative and subsequently deprecate this port.

You might want to try sysutils/fusefs-ext2. Don't let 'ext2' in the name fool you it supports ext2, ext3 and ext4 with read write support.
Comment 3 Martin Filla 2019-08-31 13:57:59 UTC
(In reply to Emanuel Haupt from comment #2)
Hi Emanuel, 
sysutils/fusefs-ext2 is better, but you can to give better name 
for this port, because support more ext file systems.
Comment 4 Emanuel Haupt freebsd_committer 2019-08-31 19:54:11 UTC
(In reply to Martin Filla from comment #3)

That's the upstream name (I am not the author). The comment and pkg-descr however is clear in the description of the capabilities.
Comment 5 Emanuel Haupt freebsd_committer 2019-09-01 07:10:00 UTC
sysutils/fusefs-ext4fuse has been marked deprecated with the suggestion of using sysutils/fusefs-ext2 as alternative.