From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 08 Mar 2005 06:53:27 +0000 Subject: Re: Bug#298192: udev: segfault with new rule on startup Message-Id: <20050308065326.GG17022@kroah.com> List-Id: References: <20050307230305.GA16754@wonderland.linux.it> In-Reply-To: <20050307230305.GA16754@wonderland.linux.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Mar 08, 2005 at 01:43:58AM +0100, Kay Sievers wrote: > On Tue, 2005-03-08 at 00:03 +0100, Marco d'Itri wrote: > > This rule causes udevstart 054 to segfault: > > > > BUS="pci", SUBSYSTEM="net", DRIVER="ipw2100", NAME="wlan" > > > > ----- Forwarded message from Thomas Breitner ----- > > > > Subject: Bug#298192: udev: segfault with new rule on startup > > Reply-To: debian@tombreit.de, 298192@bugs.debian.org > > From: Thomas Breitner > > To: 298192@bugs.debian.org > > > > Thanks, here it is: > > > > mala:~/sourcen/udev-0.054# /etc/init.d/udev restart > > Recreating device nodes.../etc/init.d/udev: line 216: 10361 Segmentation fault udevstart > > mala:~/sourcen/udev-0.054# gdb /sbin/udevstart > > GNU gdb 6.3-debian > > > Program received signal SIGSEGV, Segmentation fault. > > strcmp_pattern (p=0x805cc60 "ipw2100", s=0x1c4
) at namedev.c:50 > > 50 if (s[0] = '\0') { > > (gdb) where > > #0 strcmp_pattern (p=0x805cc60 "ipw2100", s=0x1c4
) at namedev.c:50 > > Yeah, that's a bad bug in the rule matching. The sysfs_device is NULL, > and we try to find the name here. I will fix it. > > But I don't know why the sysfs_device is NULL in this case, I can't > reproduce it with the same hardware. Thomas, it would be nice if you can > send the output of: > udevinfo -a -p /sys/class/net/eth I have heard of this error before, from other users. I think it depends on the version of the driver you are using. thanks, greg k-h ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel