Re: Floating point exception in Sarge/Cobalt RaQ2
> Netinst doesn't contain gdb of strace. I'm working for downloading
> packages manually (slow network link). Later I will send results to
> maillist.
gdb session:
$gdb apt-cache
(gdb) run show aalib
Starting program: /usr/bin/apt-cache show aalib
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGFPE, Arithmetic exception.
0x2ab2d128 in OpProgress::Progress ()
from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
(gdb) bt
#0 0x2ab2d128 in OpProgress::Progress ()
from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#1 0x2ab7d1d4 in pkgCacheGenerator::MergeList ()
from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#2 0x2aba49ac in debPackagesIndex::Merge ()
from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#3 0x2ab80914 in pkgCacheGenerator::WriteUniqString ()
from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#4 0x00000000 in ?? ()
$gdb ls
(gdb) run -R /lib/modules
Starting program: /bin/ls -R /lib/modules
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 2414)]
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 16384 (LWP 2414)]
0x0040fcfc in hash_insert ()
(gdb) bt
#0 0x0040fcfc in hash_insert ()
#1 0x0040270c in _ftext ()
#2 0x00000000 in ?? ()
strace session (last lines):
# strace apt-cache show aalib
st_mode=02000032137, st_size=4096, ...}) = 0
open("/var/lib/apt/lists/_mnt_mipsel_dists_sarge_main_binary-mipsel_Packages",
O_RDONLY) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
read(4, "Package: mawk\nPriority: required"..., 32768) = 32768
stat("/var/lib/apt/lists/_mnt_mipsel_dists_sarge_main_binary-mipsel_Packages",
{st_mode=017777671150, st_size=2147447184, ...}) = 0
fstat(4, {st_mode=S_IFIFO|05262400544, st_size=268448932, ...}) = 0
read(4, "and maintaining EXT2\n filesystem"..., 31948) = 31948
read(4, "t of sophisticated, user friendl"..., 32276) = 32276
--- SIGFPE (Floating point exception) @ 0 (0) ---
+++ killed by SIGFPE +++
# strace ls -R /lib/modules 2>&1|tail -10
mmap(NULL, 493, PROT_READ, MAP_SHARED, 716215680, 0x2aac4000) =
0x2aac4000
_llseek(3, 493, [48567], SEEK_SET) = 0
munmap(0x2aac4000, 493) = 0
close(3) = 0
open("/lib/modules", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=9223222607068432264, ...}) =
0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
--- SIGFPE (Floating point exception) @ 0 (0) ---
+++ killed by SIGFPE +++
--
Vladimir "mend0za" Shahov, icq 78193930
http://gna.org/projects/i18n-komi/
Reply to: