You are not logged in.

#1 2012-04-02 14:47:08

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

dhcpcd crashes [solved]

dhcpcd crashes sometimes. After resuming from hibernation (desktop machine, pm-hibernate) network doesn't work. So I restart it and, well, see for yourself. smile

> rc.d restart network
Password: 
:: Stopping Network                                                                                     [DONE] 
:: Starting Network                                                                                     [BUSY] 
*** glibc detected *** dhcpcd: double free or corruption (fasttop): 0x0866e600 ***
======= Backtrace: =========
/lib/libc.so.6(+0x73842)[0xb7627842]
dhcpcd[0x8054a54]
dhcpcd[0x8056395]
dhcpcd[0x8051000]
dhcpcd[0x80525b9]
dhcpcd[0x804a005]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb75cd483]
dhcpcd[0x804a501]
======= Memory map: ========
08048000-08061000 r-xp 00000000 08:13 530485     /sbin/dhcpcd
08061000-08062000 r--p 00018000 08:13 530485     /sbin/dhcpcd
08062000-08063000 rw-p 00019000 08:13 530485     /sbin/dhcpcd
08063000-08064000 rw-p 00000000 00:00 0 
0866b000-0868d000 rw-p 00000000 00:00 0          [heap]
b755d000-b7579000 r-xp 00000000 08:13 332829     /usr/lib/libgcc_s.so.1
b7579000-b757a000 rw-p 0001b000 08:13 332829     /usr/lib/libgcc_s.so.1
b7597000-b7599000 rw-p 00000000 00:00 0 
b7599000-b75b0000 r-xp 00000000 08:13 522640     /lib/libpthread-2.15.so
b75b0000-b75b1000 r--p 00016000 08:13 522640     /lib/libpthread-2.15.so
b75b1000-b75b2000 rw-p 00017000 08:13 522640     /lib/libpthread-2.15.so
b75b2000-b75b4000 rw-p 00000000 00:00 0 
b75b4000-b7750000 r-xp 00000000 08:13 522877     /lib/libc-2.15.so
b7750000-b7752000 r--p 0019c000 08:13 522877     /lib/libc-2.15.so
b7752000-b7753000 rw-p 0019e000 08:13 522877     /lib/libc-2.15.so
b7753000-b7756000 rw-p 00000000 00:00 0 
b7756000-b775d000 r-xp 00000000 08:13 522710     /lib/librt-2.15.so
b775d000-b775e000 r--p 00006000 08:13 522710     /lib/librt-2.15.so
b775e000-b775f000 rw-p 00007000 08:13 522710     /lib/librt-2.15.so
b777b000-b777d000 rw-p 00000000 00:00 0 
b777d000-b777e000 r-xp 00000000 00:00 0          [vdso]
b777e000-b779e000 r-xp 00000000 08:13 522945     /lib/ld-2.15.so
b779e000-b779f000 r--p 0001f000 08:13 522945     /lib/ld-2.15.so
b779f000-b77a0000 rw-p 00020000 08:13 522945     /lib/ld-2.15.so
bfde7000-bfe08000 rw-p 00000000 00:00 0          [stack]
/etc/rc.d/network: line 38: 20332 Aborted                 dhcpcd $DHCPCD_ARGS $interface
                                                                                                        [DONE] 
> rc.d restart network
Password: 
:: Stopping Network                                                                                     [DONE] 
:: Starting Network                                                                                     [DONE]

As you can see it works the second time, all within the same minute.

dhcpcd 5.5.5-1
initscripts 2012.03.2-1
linux 3.2.13-1
pm-utils 1.4.1-4

Edit: Forgot to paste the contents of messages,

messages:Apr  2 09:53:16 localhost dhcpcd[20307]: sending signal 1 to pid 11021
messages:Apr  2 09:53:18 localhost dhcpcd[20332]: version 5.5.5 starting
messages:Apr  2 09:53:18 localhost dhcpcd[20332]: eth0: sending IPv6 Router Solicitation
messages:Apr  2 09:53:18 localhost dhcpcd[20332]: eth0: rebinding lease of 192.168.1.254
messages:Apr  2 09:53:18 localhost dhcpcd[20332]: eth0: NAK: from 192.168.1.1
messages:Apr  2 09:53:45 localhost dhcpcd[20475]: sending signal 1 to pid 20332
messages:Apr  2 09:53:47 localhost dhcpcd[20500]: version 5.5.5 starting
messages:Apr  2 09:53:47 localhost dhcpcd[20500]: eth0: sending IPv6 Router Solicitation
messages:Apr  2 09:53:47 localhost dhcpcd[20500]: eth0: broadcasting for a lease
messages:Apr  2 09:53:47 localhost dhcpcd[20500]: eth0: offered 192.168.1.254 from 192.168.1.1
messages:Apr  2 09:53:47 localhost dhcpcd[20500]: eth0: acknowledged 192.168.1.254 from 192.168.1.1
messages:Apr  2 09:53:47 localhost dhcpcd[20500]: eth0: checking for 192.168.1.254
messages:Apr  2 09:53:51 localhost dhcpcd[20500]: eth0: sending IPv6 Router Solicitation
messages:Apr  2 09:53:53 localhost dhcpcd[20500]: eth0: leased 192.168.1.254 for 86400 seconds
messages:Apr  2 09:53:53 localhost dhcpcd[20500]: forked to background, child pid 20520
messages:Apr  2 09:53:55 localhost dhcpcd[20520]: eth0: sending IPv6 Router Solicitation
messages:Apr  2 09:53:59 localhost dhcpcd[20520]: eth0: sending IPv6 Router Solicitation
messages:Apr  2 09:53:59 localhost dhcpcd[20520]: eth0: no IPv6 Routers available

09:53:1{6,8} are from the first failed rc.d restart The rest are from the second.

Last edited by fsckd (2012-04-02 15:02:32)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#2 2012-04-02 17:31:30

chosig
Member
From: Överkalix, Sweden
Registered: 2008-02-28
Posts: 3

Re: dhcpcd crashes [solved]

There's a bugrep submitted at https://bugs.archlinux.org/task/29200

And a solution is

export MALLOC_CHECK_=0

from German Arch forum

Offline

#3 2012-04-02 18:02:11

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: dhcpcd crashes [solved]

Thanks, I'll try that. It might be a while before I can say empirically if it worked.
As the discussions are occurring elsewhere I'll mark this as "solved".


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB