From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Wed, 15 Dec 2004 08:50:46 +0000 Subject: Bug#285281: core dump on amd64 (gcc-3.4) Message-Id: <20041215085045.GA4444@wonderland.linux.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org clsdev->directory is NULL, is this a bug in libsysfs or udev? Apparently this only happens on amd64. ----- Forwarded message from martin-deb@zero-based.org ----- Subject: Bug#285281: core dump on amd64 (gcc-3.4) Reply-To: martin-deb@zero-based.org, 285281@bugs.debian.org From: martin-deb@zero-based.org To: 285281@bugs.debian.org Cc: Harald Dunkel On Sun, Dec 12, 2004 at 11:27:48AM +0100, Marco d'Itri wrote: > On Dec 12, Harald Dunkel wrote: > > > There seems to be something wrong with udev at least on > > amd64 (gcc-3.4). > > Please do your best to get a stack trace, possibly from the unstripped > binary. I see the same behavior on amd64 with gcc-3.3. Here is a stacktrace: GNU gdb 6.3-debian [...] Core was generated by `udev vc'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux-x86-64.so.2...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 #0 0x0000000000403024 in sysfs_get_classdev_attr (clsdev=0x518260, name=0x40dcac "dev") at libsysfs/sysfs_class.c:643 643 if (clsdev->directory->subdirs = NULL) (gdb) backtrace #0 0x0000000000403024 in sysfs_get_classdev_attr (clsdev=0x518260, name=0x40dcac "dev") at libsysfs/sysfs_class.c:643 #1 0x000000000040904e in get_major_minor (class_dev=0x0, udev=0x7fbffff330) at udev_add.c:57 #2 0x0000000000409874 in udev_add_device (udev=0x7fbffff330, class_dev=0x518260) at udev_add.c:287 #3 0x0000000000402009 in main (argc=2, argv=0x7fbffffdb8, envp=0x0) at udev.c:197 (gdb) print *clsdev $1 = {name = "vcs1", '\0' , classname = "vc", '\0' , path = "/sys/class/vc/vcs1", '\0' , parent = 0x0, sysdevice = 0x0, driver = 0x0, directory = 0x0} Martin ----- End forwarded message ----- -- ciao, | Marco | [9803 vebcDBN29Lxms] ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ 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