Wind River Support Network

HomeDefectsLIN8-9754
Fixed

LIN8-9754 : Bug in dhclient ! (Crashes on early SIGINT/SIGTERM)

Created: Sep 3, 2018    Updated: Apr 27, 2020
Resolved Date: Apr 20, 2020
Found In Version: 8.0.0.14
Fix Version: 8.0.0.33
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel, Networking

Description

As delivered in rcpl14: 
 bind - 9.10.2-P4-r0 
 dhcp - 4.3.2-r0

1. In dhcp/client/dhclient.c:972 signal handlers are registered. (ctx->running is 0 at this point) 
 2. ...we get a signal (SIGINIT) after that 
 3. dhcp_signal_handler() at dhcp/omapip/isclib.c:337 is called 
 4. ....that calls ics_app_ctxsuspend( ) at bind9/lib/isc/app_api.c:114 
 ....that calls ics__app_ctxsuspend ) at bind9/lib/isc/unix/app.c:846 
 ... that aborts on REQUIRE(ctx->running) 
 (ctx->running is set later when somewhere in dispatch() (called from dhclient.c:987)

root@qemuX:~# dhclient eth1
 ^C/wrl8-x86-64-HEAD/bitbake_build/tmp/work/corei7-64-wrs-linux/bind/9.10.2-P4-r0/bind-9.10.2-P4/lib/isc/unix/app.c:860: REQUIRE(ctx->running) failed, back trace
 #0 0x59355e in ??
 #1 0x5936ea in ??
 #2 0x5b4492 in ??
 #3 0x7f20d70f0560 in ??
 #4 0x7f20d71758f0 in ??
 #5 0x7f20d71757a4 in ??
 #6 0x42486c in ??
 #7 0x40a39a in ??
 #8 0x7f20d70dd6b0 in ??
 #9 0x40ae39 in ??
 Aborted
 root@qemuX:~#
Live chat
Online