Bug 548599 - named segfaults at start
Summary: named segfaults at start
Status: RESOLVED DUPLICATE of bug 548573
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Network (show other bugs)
Version: RC 1
Hardware: x86-64 Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-21 00:00 UTC by Harald Koenig
Modified: 2009-10-21 12:06 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Koenig 2009-10-21 00:00:22 UTC
after update from 11.1 to 11.2 RC1 via DVD:
named does not start but segfault/crashes with this kernel message:

[  267.889864] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  268.184690] __ratelimit: 6 callbacks suppressed
[  268.184709] named[8034]: segfault at 7f38d4c8f92c ip 00007f38d4a6ef77 sp 00007fff46648050 error 4
[  268.184763] note: named[8034] exited with preempt_count 1
[  268.185070] BUG: scheduling while atomic: named/8034/0x10000002
[  268.185083] Modules linked in: rfcomm sco bridge stp llc bnep snd_pcm_oss snd_mixer_oss l2cap snd_seq snd_seq_device ppdev parport_pc parport cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq ip6t_REJECT nf_conntrack_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables ip6table_filter ip6_tables x_tables microcode fuse sha256_generic ansi_cprng krng chainiv rng cryptd crypto_wq aes_x86_64 aes_generic cbc dm_crypt loop snd_hda_codec_analog arc4 ecb cryptomgr aead pcompress crypto_blkcipher crypto_hash tulip crypto_algapi snd_hda_intel snd_hda_codec iwlagn pcmcia snd_hwdep iwlcore snd_pcm sdhci_pci mac80211 snd_timer sdhci yenta_socket kvm_intel sr_mod btusb ohci1394 uinput rsrc_nonstatic kvm cfg80211 bluetooth thinkpad_acpi iTCO_wdt sg wmi ricoh_mmc mmc_core i2c_i801 button e1000e cdrom snd battery ieee1394 rfkill ac pcspkr joydev video pcmcia_core snd_page_alloc iTCO_vendor_support preloadtrace linear dm_snapshot edd dm_mod ide_pci_generic ata_generic fan processor piix ide_core thermal thermal_sys
[  268.185565] CPU 1:
[  268.185575] Modules linked in: rfcomm sco bridge stp llc bnep snd_pcm_oss snd_mixer_oss l2cap snd_seq snd_seq_device ppdev parport_pc parport cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq ip6t_REJECT nf_conntrack_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT xt_state iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables ip6table_filter ip6_tables x_tables microcode fuse sha256_generic ansi_cprng krng chainiv rng cryptd crypto_wq aes_x86_64 aes_generic cbc dm_crypt loop snd_hda_codec_analog arc4 ecb cryptomgr aead pcompress crypto_blkcipher crypto_hash tulip crypto_algapi snd_hda_intel snd_hda_codec iwlagn pcmcia snd_hwdep iwlcore snd_pcm sdhci_pci mac80211 snd_timer sdhci yenta_socket kvm_intel sr_mod btusb ohci1394 uinput rsrc_nonstatic kvm cfg80211 bluetooth thinkpad_acpi iTCO_wdt sg wmi ricoh_mmc mmc_core i2c_i801 button e1000e cdrom snd battery ieee1394 rfkill ac pcspkr joydev video pcmcia_core snd_page_alloc iTCO_vendor_support preloadtrace linear dm_snapshot edd dm_mod ide_pci_generic ata_generic fan processor piix ide_core thermal thermal_sys
[  268.186030] Pid: 8034, comm: named Not tainted 2.6.31.3-1-desktop #1 64575FG
[  268.186044] RIP: 0010:[<ffffffffa00c0170>]  [<ffffffffa00c0170>] 0xffffffffa00c0170
[  268.186076] RSP: 0000:ffff88011d57dd70  EFLAGS: 00000202
[  268.186090] RAX: ffff880135944800 RBX: ffff88011e49d040 RCX: 00000000ffff83bb
[  268.186107] RDX: ffffffff818b7e80 RSI: 0000000000000046 RDI: 000000000000000b
[  268.186142] RBP: ffff88011d57dda8 R08: fffffffffff770f6 R09: 0000000000011072
[  268.186171] R10: 0000000000000005 R11: 0000000000030001 R12: 000000000000000b
[  268.186200] R13: ffff88011e4d4f40 R14: ffff88011e4d5748 R15: ffff88011d57df58
[  268.186230] FS:  0000000000000000(0000) GS:ffff880005666000(0000) knlGS:0000000000000000
[  268.186291] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  268.186318] CR2: 00007f38d4c8f92c CR3: 0000000001001000 CR4: 00000000000026e0
[  268.186347] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  268.186376] DR3: 0000000000000000 DR6: 00000000ffff4ff0 DR7: 0000000000000400
[  268.186402] Call Trace:
[  268.186452] Inexact backtrace:
[  268.186454] 
[  268.186457]  <#MC>  <<EOE>> 
[  268.931366] NET: Registered protocol family 17
Comment 1 Harald Koenig 2009-10-21 00:07:27 UTC
(In reply to comment #0)

some more data, here is the output of strace:

harald # strace -fv /usr/sbin/named -t /var/lib/named -u named
...
open("/proc/stat", O_RDONLY|O_CLOEXEC)  = 6
read(6, "cpu  9693 3458 16076 102169 6153"..., 8192) = 1172
close(6)                                = 0
chroot("/var/lib/named")                = 0
chdir("/")                              = 0
prctl(0x8, 0x1, 0, 0, 0)                = 0
getuid()                                = 0
setgid(44)                              = 0
setuid(44)                              = 0
prctl(0x4, 0x1, 0, 0, 0)                = 0
capget(0x20080522, 0, NULL)             = -1 EFAULT (Bad address)
capget(0x20080522, 0, NULL)             = -1 EFAULT (Bad address)
capget(0x20080522, 0, {0, CAP_DAC_READ_SEARCH|CAP_SETGID|CAP_SETUID|CAP_NET_BIND_SERVICE|CAP_SYS_CHROOT|CAP_SYS_RESOURCE, 0}) = 0
getuid()                                = 44
capset(0x20080522, 0, {CAP_NET_BIND_SERVICE|CAP_SYS_RESOURCE, CAP_NET_BIND_SERVICE|CAP_SYS_RESOURCE, 0}) = 0
pipe([6, 7])                            = 0
clone(Process 28782 attached (waiting for parent)
Process 28782 resumed (parent 28781 ready)
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f4305a617c0) = 28782
[pid 28782] close(6)                    = 0
[pid 28782] setsid()                    = 28782
[pid 28782] close(0)                    = 0
[pid 28782] dup2(4, 0)                  = 0
[pid 28782] close(1)                    = 0
[pid 28782] dup2(4, 1)                  = 1
[pid 28782] close(2)                    = 0
[pid 28782] dup2(4, 2)                  = 2
[pid 28782] rt_sigaction(SIGINT, {0x7f4304ab6b40, ~[RTMIN RT_1], SA_RESTORER, 0x7f4304309c00}, NULL, 8) = 0
[pid 28782] rt_sigaction(SIGTERM, {0x7f4304ab6b40, ~[RTMIN RT_1], SA_RESTORER, 0x7f4304309c00}, NULL, 8) = 0
[pid 28782] rt_sigaction(SIGPIPE, {0x1, ~[RTMIN RT_1], SA_RESTORER, 0x7f4304309c00}, NULL, 8) = 0
[pid 28782] rt_sigaction(SIGHUP, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f4304309c00}, NULL, 8) = 0
[pid 28782] rt_sigprocmask(SIG_BLOCK, [HUP INT TERM], NULL, 8) = 0
[pid 28782] sendto(3, "<29>Oct 20 19:54:43 named[28782]"..., 83, MSG_NOSIGNAL, NULL, 0) = 83
[pid 28782] sendto(3, "<29>Oct 20 19:54:43 named[28782]"..., 529, MSG_NOSIGNAL, NULL, 0) = 529
[pid 28782] getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
[pid 28782] getrlimit(RLIMIT_DATA, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
[pid 28782] getrlimit(RLIMIT_CORE, {rlim_cur=2000*1024, rlim_max=RLIM_INFINITY}) = 0
[pid 28782] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=8*1024}) = 0
[pid 28782] setrlimit(RLIMIT_NOFILE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = -1 EPERM (Operation not permitted)
[pid 28782] setrlimit(RLIMIT_NOFILE, {rlim_cur=1024*1024, rlim_max=1024*1024}) = -1 EPERM (Operation not permitted)
[pid 28782] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=8*1024}) = 0
[pid 28782] setrlimit(RLIMIT_NOFILE, {rlim_cur=8*1024, rlim_max=8*1024}) = 0
[pid 28782] getrlimit(RLIMIT_NOFILE, {rlim_cur=8*1024, rlim_max=8*1024}) = 0
[pid 28782] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 28782 detached
--- SIGCHLD (Child exited) @ 0 (0) ---
close(7)                                = 0
read(6, "", 1)                          = 0
exit_group(1)                           = ?
Comment 2 Andreas Jaeger 2009-10-21 12:06:43 UTC
Looks like a duplicate of 548573

*** This bug has been marked as a duplicate of bug 548573 ***