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

List:       busybox
Subject:    Re: segmentation fault
From:       David Henderson <dhenderson () digital-pipe ! com>
Date:       2011-07-11 14:04:30
Message-ID: 4E1B02EE.2020508 () digital-pipe ! com
[Download RAW message or body]

On 07/11/2011 10:02 AM, Gilles Espinasse wrote:
> Selon David Henderson<dhenderson@digital-pipe.com>:
>
>> On 07/10/2011 05:29 AM, Gilles Espinasse wrote:
>>> ----- Original Message -----
>>> From: "David Henderson"<dhenderson@digital-pipe.com>
>>> To: "BusyBox Developer List"<busybox@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

Unfortunately I've already closed the terminal containing the strace 
output.  I suppose I can replace one of the files with an invalid 
symlink and re-run depmod if you need me to.  Let me know.

Dave
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

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