[Pkg-utopia-maintainers] Bug#522136: SEGV at startup

Harald Dunkel harald.dunkel at t-online.de
Wed Apr 1 17:02:28 UTC 2009


Removing the cache did not help. Here is a better call stack:

Program received signal SIGSEGV, Segmentation fault.
hotplug_event_begin_add_blockdev (sysfs_path=0x7feae3030120 "/sys/devices/virtual/block/md0/md0p1",
    device_file=0x4439ec "platform", is_partition=1, parent=0x1b6c8c0, end_token=0x7feae3030010) at blockdev.c:1395
1395                    hal_device_property_set_bool (
(gdb) bt
#0  hotplug_event_begin_add_blockdev (sysfs_path=0x7feae3030120 "/sys/devices/virtual/block/md0/md0p1",
    device_file=0x4439ec "platform", is_partition=1, parent=0x1b6c8c0, end_token=0x7feae3030010) at blockdev.c:1395
#1  0x0000000000420448 in hotplug_event_begin_sysfs (hotplug_event=0x7feae3030010) at hotplug.c:213
#2  0x00000000004206e8 in hotplug_event_process_queue () at hotplug.c:288
#3  0x000000000040a0f0 in process_reply (m=0x1c03d30, hb=0x1c0e8f0) at hald_runner.c:761
#4  0x000000000040a684 in call_notify (pending=0x1c0e8a0, user_data=0x1c0e8f0) at hald_runner.c:772
#5  0x00007feae3a488aa in ?? () from /usr/lib/libdbus-1.so.3
#6  0x00007feae3a494b1 in dbus_connection_dispatch () from /usr/lib/libdbus-1.so.3
#7  0x00007feae418b2a5 in ?? () from /usr/lib/libdbus-glib-1.so.2
#8  0x00007feae3cb1e4a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9  0x00007feae3cb5510 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007feae3cb59dd in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#11 0x000000000041264d in main (argc=3, argv=<value optimized out>) at hald.c:809

> Also, what kernel are you using (i.e. bug reports via reportbug are very
> appreciated)
> 

Sorry, but sending EMails via reportbug is not an option.

Kernel is upstream's 2.6.29 (amd64). No patches.

I am using the new sysfs structure (CONFIG_SYSFS_DEPRECATED_V2
is not set). Root filesystem is on a software RAID0; see the
first line in the call stack.

For testing I have rebuilt the kernel with the new SYSFS stuff
disabled:


--- /boot/config-2.6.29 2009-03-29 16:02:57.000000000 +0200
+++ .config     2009-04-01 18:29:54.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.29
-# Sun Mar 29 15:49:54 2009
+# Wed Apr  1 18:29:54 2009
 #
 CONFIG_64BIT=y
 # CONFIG_X86_32 is not set
@@ -89,7 +89,8 @@
 CONFIG_USER_SCHED=y
 # CONFIG_CGROUP_SCHED is not set
 # CONFIG_CGROUPS is not set
-# CONFIG_SYSFS_DEPRECATED_V2 is not set
+CONFIG_SYSFS_DEPRECATED=y
+CONFIG_SYSFS_DEPRECATED_V2=y
 # CONFIG_RELAY is not set
 CONFIG_NAMESPACES=y
 # CONFIG_UTS_NS is not set


After booting the kernel with the deprecated sysfs support the
problem is gone. Booting the kernel with the new sysfs again:
Problem is back.


Hope this helps. Regards

Harri




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090401/6740596c/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list