betway live chat belgium_login bonus fun88?logo_free login mr green casino facebook

Thu, 17 Jan 2019 11:57:40 -0800

Dear people,

My armel KuroBox Pro (which is a marvell orion5x) has a filesystem that is
potentially very fragmented and I have always used the command e4defrag to
defragment it.

Unfortunately, today I tried running it as I had usually done for many years
(as "e4defrag -v ." in a directory of interest), but all that I got were
segfaults, something which I had never seen before (e4defrag has always been
very robust).

Before I file a bug report (not really sure against what package), is
anybody able to confirm the problem with an armel box?

(As an aside, I don't get these errors when I run e4defrag on my amd64
notebook, but, of course, the notebook doesn't have the HDD that I would
like to defragment.)

I installed the debug symbols package for e2fsprogs and I tried running
e4defrag under gdb and this is what I got:


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
root@lattes:~# gdb /usr/sbin/e4defrag 
GNU gdb (Debian 8.2-1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/e4defrag...Reading symbols from 
/usr/lib/debug/.build-id/0b/5a1dd65aa694d5c82a5d756a1f7a0f24fcbb23.debug...done.
done.
(gdb) set args -v .
(gdb) run
Starting program: /usr/sbin/e4defrag -v .
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1".
e4defrag 1.44.5 (15-Dec-2018)
ext4 defragmentation for directory(.)
[1/0] "/root"
        File is not regular file                [ NG ]
[2/0] "/root/.emacs.d"
        File is not regular file                [ NG ]
[3/0] "/root/.emacs.d/auto-save-list"
        File is not regular file                [ NG ]
[4/0]
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/arm/strlen.S:33
33      ../sysdeps/arm/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/arm/strlen.S:33
#1  0xb6df6ca8 in _IO_vfprintf_internal (s=0xb6f04d90 <_IO_2_1_stdout_>, 
format=format@entry=0x405978 "\033[79;0H\033[K[%u/%u]%s:\t%3d%%", ap=..., 
ap@entry=...) at vfprintf.c:1638
#2  0xb6e9e5ac in ___printf_chk (flag=1, format=0x405978 
"\033[79;0H\033[K[%u/%u]%s:\t%3d%%") at printf_chk.c:35
#3  0x00404350 in printf (__fmt=0x405978 "\033[79;0H\033[K[%u/%u]%s:\t%3d%%") 
at /usr/include/arm-linux-gnueabi/bits/stdio2.h:107
#4  file_defrag (file=<optimized out>, buf=buf@entry=0xbeffa310, 
flag=<optimized out>, ftwbuf=ftwbuf@entry=0xbeffc35c) at 
../../../misc/e4defrag.c:1606
#5  0xb6e7fb20 in process_entry (data=data@entry=0xbeffc348, 
dir=dir@entry=0xbeffa3c8, name=name@entry=0x420b53 ".lesshst", 
namlen=<optimized out>, d_type=8) at ftw.c:464
#6  0xb6e7ffdc in ftw_dir (data=data@entry=0xbeffc348, st=0x0, old_dir=0x8, 
old_dir@entry=0x0) at ftw.c:543
#7  0xb6e808a8 in ftw_startup (dir=<optimized out>, is_nftw=is_nftw@entry=1, 
func=<optimized out>, descriptors=<optimized out>, flags=3) at ftw.c:768
#8  0xb6e80998 in __new_nftw64 (path=<optimized out>, func=<optimized out>, 
descriptors=<optimized out>, flags=<optimized out>) at ftw.c:841
#9  0x00401a28 in main (argc=0, argv=0xbefff7a4) at 
../../../misc/e4defrag.c:1914
(gdb) quit
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


Of course, I have also libc6-dbg and libc6-dev installed (even though it
seems that gdb is unable to find the sources to sysdeps/arm/strlen.S, as
indicated in the line numbered with 0).

Can anybody help here, please?


Thank in advance,

Rog¨Śrio Brito.

-- 
Rog¨Śrio Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
free online bettinghttp://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

Reply via email to