udhcpd crashes with 'Illegal instruction'

Bug #694983 reported by Marco Davids
This bug affects 2 people
Affects Status Importance Assigned to Milestone
busybox (Ubuntu)

Bug Description

Binary package hint: busybox

package: udhcpd 1:1.15.3-1ubuntu5
OS: Maverick 10.10 (server edition)

When trying to run udhcp, it crashes with an SIGILL while reading the config file. Doing the same with an entire empty config-file will work, but as soon as saomething is entered, even if it is only a # character, the application crashes.

Here are the last few lines of the strace output of 'strace -f udhcpd':

open("/etc/udhcpd.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=3158, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb781f000
read(3, "# Sample udhcpd configuration fi"..., 4096) = 3158
--- SIGILL (Illegal instruction) @ 0 (0) ---
Process 17853 detached

Revision history for this message
Marco Davids (mdavids) wrote :

btw, kernel version is: Linux xs 2.6.35-24-generic-pae #42-Ubuntu SMP Thu Dec 2 03:21:31 UTC 2010 i686 GNU/Linux

Revision history for this message
Tor Håkon Haugen (torh) wrote :

I can confirm this bug.

Looks to me like it only reads the first 32-bytes of the config, then dies.

Running the same udhcpd package as Marco, but the kernel in my case is 2.6.35-22-generic-pae #35-Ubuntu SMP Sat Oct 16 22:16:51 UTC 2010 i686 GNU/Linux

Revision history for this message
Marco Davids (mdavids) wrote :

Running Lucid's udhcpd_0.9.8cvs20050303-3_i386.deb works as a temorary workaround.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.