Bug 239564 - sysutils/fusefs-ext4fuse: Assertion failed: (pread_ret == 1024)
Summary: sysutils/fusefs-ext4fuse: Assertion failed: (pread_ret == 1024)
Status: New
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-07-31 19:24 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