[Top] [All Lists]

Re: [SPAM] Re: "Segfault/illegal instruction" - udevd - ntpd - glibc

To: Ralf Baechle <>
Subject: Re: [SPAM] Re: "Segfault/illegal instruction" - udevd - ntpd - glibc
From: Markus Gothe <>
Date: Tue, 19 Jun 2007 20:17:56 +0200
Cc: Sadarul Firos <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Icedove (X11/20070607)
Hash: SHA256

Ralf Baechle wrote:
> On Fri, Jun 15, 2007 at 09:23:34PM +0530, Sadarul Firos wrote:
>> I am working with two MIPS based boards (one is MIPS and the other is
>> MIPSEL) running linux-2.6.18/glibc-2.3.5. I am performing a consecutive
>> reboot test on these boards. After some number of reboots (say 80) I  am
>> getting "segmentaion fault/illegal instruction" while running udevd and
>> ntpd during bootup. Upon observing the core dump, it is noted that the
>> segfault occured from the _init function of (in the case
>> of ntpd) and (in the case of udevd). I assume that
>> there might be a problem somewhere in the call_init function in
>> glibc-2.3.5/elf/dl-init.c. After I put some printf statements for
>> debugging in the call_init function, there is no segfault/illegal
>> instruction in the reboot testing. I have also used gdb to debug the
>> problem but the "segfault/illegal instruction" doesn't occur during the
>> reboot test. Could anyone please help me to sort out this problem. The
>> gdb output using coredump is attached.
> Normally the address space layout and most other variables during a
> program load should be identical each time so userspace should behave
> identical.   So I sense the scent of a TLB or more likely cache managment
> problem.
> What 2.6.18 variant exactly are you running, that is where & when did
> download it, what CPU?
>   Ralf
Seems to me like a timing issue if printf'ing helps. You should try
invoking udevd by gdb (without the printf's).

- --

Mr Markus Gothe
Software Engineer

Phone: +46 (0)13 21 81 20 (ext. 1046)
Fax: +46 (0)13 21 21 15
Mobile: +46 (0)73 718 72 80
Diskettgatan 11, SE-583 35 Linköping, Sweden
Version: GnuPG v1.4.6 (GNU/Linux)


<Prev in Thread] Current Thread [Next in Thread>