[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    bug#1067: [BusyBox] bug#1067: Not busybox's fault
From:       "David Douthitt" <ssrat () mailbag ! com>
Date:       2000-10-23 19:45:53
[Download RAW message or body]

On 23 Oct 2000, at 13:36, Erik Andersen wrote:

> On Mon Oct 23, 2000 at 02:06:50PM -0500, David Douthitt wrote:
> > I tried busybox from CVS with the insmod from 0.47; same result.  I 
> > tried insmod from Debian 2.1; same result.  Then I got strace, and 
> > ran it.  The same result (basically) on "busybox insmod tulip.o", 
> > "busybox insmod eepro100.o", and "insmod tulip.o".
> 
> BTW,  What libc are you using?

I'm using the standard install of 2.0.7 to compile busybox under 
Debian Slink, and LRP 2.9.7 (Oxygen) with the security-fixed 2.0.7.

Here is the ltrace you asked for:

atexit(0x400064e0, 3, 0xbffffec4, 0xbffffecc, 0xbffffed3) = 0
__libc_init_first(3, 0xbffffec4, 0xbffffecc, 0xbffffed3, 0) = 
0x400064e0
atexit(0x08066390, 3, 0xbffffde4, 0xbffffdf4, 0xbffffdf4) = 0
strcmp(0xbffffec4, 0x080699a0, 0x4000b3f0, 3, 0x0804a830) = 20
strcmp(0xbffffec4, 0x08069998, 0x4000b3f0, 3, 0x0804a830) = 0
strcmp(0xbffffecc, 0x080699a0, 0x0806931c, 0, 0x080699e5) = 7
strcmp(0xbffffecc, 0x08069998, 0x0806931c, 0, 0x080699e5) = 7
strcmp(0xbffffecc, 0x08069994, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x0806998e, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x08069988, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x08069982, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x0806997b, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x08069975, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x08069972, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x0806996e, 0x0806931c, 0, 0x080699e5) = 6
strcmp(0xbffffecc, 0x08069969, 0x0806931c, 0, 0x080699e5) = 5
strcmp(0xbffffecc, 0x08069966, 0x0806931c, 0, 0x080699e5) = 5
strcmp(0xbffffecc, 0x08069963, 0x0806931c, 0, 0x080699e5) = 5
strcmp(0xbffffecc, 0x0806995b, 0x0806931c, 0, 0x080699e5) = 5
strcmp(0xbffffecc, 0x08069955, 0x0806931c, 0, 0x080699e5) = 5
strcmp(0xbffffecc, 0x08069952, 0x0806931c, 0, 0x080699e5) = 5
strcmp(0xbffffecc, 0x0806994c, 0x0806931c, 0, 0x080699e5) = 5
strcmp(0xbffffecc, 0x08069946, 0x0806931c, 0, 0x080699e5) = 3
strcmp(0xbffffecc, 0x0806993e, 0x0806931c, 0, 0x080699e5) = 3
strcmp(0xbffffecc, 0x08069939, 0x0806931c, 0, 0x080699e5) = 3
strcmp(0xbffffecc, 0x08069934, 0x0806931c, 0, 0x080699e5) = 2
strcmp(0xbffffecc, 0x0806992d, 0x0806931c, 0, 0x080699e5) = 2
strcmp(0xbffffecc, 0x08069928, 0x0806931c, 0, 0x080699e5) = 2
strcmp(0xbffffecc, 0x08069923, 0x0806931c, 0, 0x080699e5) = 1
strcmp(0xbffffecc, 0x08069920, 0x0806931c, 0, 0x080699e5) = 10
strcmp(0xbffffecc, 0x08069919, 0x0806931c, 0, 0x080699e5) = 0
memset(0xbfffdd6e, 0, 8191, 0x0806949c, 2)        = 0xbfffdd6e
strrchr(0xbffffed3, 47, 0x0806949c, 2, 0x080699f2) = 0
memcpy(0xbfffdd6c, 0xbffffed3, 5, 0x0806949c, 2)  = 0xbfffdd6c
strcpy(0x08071201, 0xbfffdd6c, 0x0806949c, 2, 0x080699f2) = 0x08071201
strcat(0x08071201, 0x0806711d, 0x08071201, 0xbfffdd6c, 0x0806949c) = 
0x08071201
fopen(0xbffffed3, 0x08067120, 0x08071201, 0x0806711d, 0x08071201) = 
0x08084248
memcpy(0x0806f200, 0xbffffed3, 7, 0x0806949c, 2)  = 0x0806f200
malloc(2180, 0x0805289a, 2180, 0x08054bee, 0xbfffdd6c) = 0x080842b8
memset(0x080842b8, 0, 2176, 0xbfffdd6c, 0xbffffdec) = 0x080842b8
fseek(0x08084248, 0, 0, 0x080842b8, 0 <unfinished ...>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

By the way, the command "strip charconv" also generates the same 
error in the same system call ("lseek(4, 0, SET_SEEK)").

I'm wading through the swamp here..... I expect I'll learn something 
(especially of strace and ltrace) but OHHHHH what a stench :-) I'm 
SURE I made a mess of things SOMEWHERE....


-- 
David Douthitt
UNIX Systems Administrator
HP-UX, Linux, Unixware
ddouthitt@mennonite.minister.net




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic