Re: udev-131 strange segfault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Freitag, 7. November 2008, Kay Sievers wrote:
> On Fri, Nov 7, 2008 at 13:07, Matthias Schwarzott <zzam@xxxxxxxxxx> wrote:
> > I managed to let udev-131 segfault at startup.
> >
> > I configured it like this:
> > CFLAGS="-Wall -ggdb" ./configure --prefix=/usr --sysconfdir=/etc
> > --exec-prefix=
> >
> > Running it in gdb shows it segfaults at udev-rules.c:831
> >
> > (gdb) run
> > Starting program: /tmp/udev-131/udev/udevd
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x0804ea06 in get_key (udev=0x9175008, line=0xafcdc8f0, key=0xafcdc5d8,
> > op=0xafcdc5d0, value=0xafcdc5d4)
> >    at udev-rules.c:831
> > 831             dbg(udev, "%s '%s'-'%s'\n", operation_str[*op], *key,
> > *value);
>
> Adding "-O2" to the CFLAGS makes it work, right?
>
Yes, this works.

Regards
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux