segmentation fault

Gilles Espinasse g.esp at free.fr
Mon Jul 11 14:02:15 UTC 2011


Selon David Henderson <dhenderson at digital-pipe.com>:

> On 07/10/2011 05:29 AM, Gilles Espinasse wrote:
> > ----- Original Message -----
> > From: "David Henderson"<dhenderson at digital-pipe.com>
> > To: "BusyBox Developer List"<busybox at busybox.net>
> > Sent: Saturday, July 09, 2011 7:50 PM
> > Subject: segmentation fault
> >
> >
> >> Gang,
> >>
> >>       I've added some new kernel modules to the file system so I tried to
> >> update the modules.dep file using depmod, but I get a "segmentation
> >> fault" when trying to execute it.  I even tried using the '-ae'
> >> parameters (although they aren't listed in the help for the applet).
> >> Any thoughts on how to fix this? I'm running BB 1.81.1.
> >>
> > Wow BB-1.81!
> > Anyway, you may try with strace to see where the segfault happen.
> > And which config option is selected for modprobe?
> >
> > Gilles
>
> Hey Gilles, thanks for the help.  Yeah I'm working with the most
> advanced version of busybox, 1.81 lol!  Good tip using strace - I ended
> up tracing it to a couple of invalid symlinks and have resolved the
> problem.  Thanks a million!
>
> Dave
>

Probably usefull to report where the invalid symlinks were incorrectly handled?
modprobe may report something like 'find not found' earlier instead of blindly
segfaulting.

Gilles


More information about the busybox mailing list