segmentation fault in systemd-resolve

Bug #1654878 reported by Karl-Philipp Richter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

`dmesg` reveals a lot (> 1000) message in the form of

    [733613.592593] systemd-resolve[23515]: segfault at 1f ip 00005603285ac866 sp 00007ffcd8b1fd30 error 4 in systemd-resolved[56032858b000+4c000]
    [733919.154889] systemd-resolve[25753]: segfault at 21 ip 0000000000000021 sp 00007fffe5e95438 error 14 in systemd-resolved[5647fa725000+4c000]
    [734086.092512] systemd-resolve[25895]: segfault at 3b4 ip 00007f4ce2686226 sp 00007ffe901696c0 error 4 in libsystemd-shared-231.so[7f4ce2635000+178000]
    [734518.092536] systemd-resolve[28340]: segfault at 55c9157806e0 ip 000055c9157806e0 sp 00007ffc0e19c968 error 15
    [734605.092536] systemd-resolve[29254]: segfault at 55f2abd3d630 ip 000055f2abd3d630 sp 00007ffd8caea4a8 error 15
    [734810.838123] systemd[1]: open-iscsi.service: Cannot add dependency job, ignoring: Unit open-iscsi.service is masked.
    [734811.379177] systemd[1]: brltty.service: Cannot add dependency job, ignoring: Unit brltty.service is masked.
    [734811.596355] systemd[1]: open-iscsi.service: Cannot add dependency job, ignoring: Unit open-iscsi.service is masked.
    [734811.807015] systemd: 74 output lines suppressed due to ratelimiting
    [735409.842514] systemd-resolve[4784]: segfault at ab39b924f2 ip 00007f7812377226 sp 00007fff4150ea30 error 4 in libsystemd-shared-231.so[7f7812326000+178000]
    [735530.098073] systemd-resolve[5621]: segfault at 7f4e658abd20 ip 00007f4f6556aea9 sp 00007ffe1498e320 error 4 in libc-2.24.so[7f4f654ea000+1bd000]
    [736167.939132] systemd-resolve[8931]: segfault at fffffffffffffffe ip 00007fe290f19162 sp 00007ffebe838e40 error 5 in libc-2.24.so[7fe290e93000+1bd000]
    [736345.592608] systemd-resolve[10056]: segfault at 5 ip 00007faa2ea3b226 sp 00007ffdb90ae740 error 4 in libsystemd-shared-231.so[7faa2e9ea000+178000]
    [737069.938626] traps: systemd-resolve[12968] general protection ip:7f04f9d1d226 sp:7ffd0c0b1950 error:0 in libsystemd-shared-231.so[7f04f9ccc000+178000]
    [737202.342511] systemd-resolve[13961]: segfault at 3 ip 00007fdfe82a9226 sp 00007ffe146d3d50 error 4 in libsystemd-shared-231.so[7fdfe8258000+178000]
    [737356.092549] systemd-resolve[15062]: segfault at 41 ip 000056539647b726 sp 00007ffe25c518e0 error 4 in systemd-resolved[565396467000+4c000]
    [737595.092520] systemd-resolve[16487]: segfault at 91 ip 0000000000000091 sp 00007ffd146bf198 error 14 in systemd-resolved[5644f4849000+4c000]
    [737686.842560] systemd-resolve[17106]: segfault at 164 ip 00007f14323f4226 sp 00007fff98316f90 error 4 in libsystemd-shared-231.so[7f14323a3000+178000]
    [738397.592539] systemd-resolve[19734]: segfault at 41 ip 0000000000000041 sp 00007ffc5d23da58 error 14 in systemd-resolved[55ed3fb85000+4c000]
    [738460.842548] systemd-resolve[20193]: segfault at 12 ip 00007f7ae1a56226 sp 00007fff7b503ca0 error 4 in libsystemd-shared-231.so[7f7ae1a05000+178000]
    [738518.342511] systemd-resolve[20384]: segfault at 3 ip 00007fcb83841226 sp 00007ffc1a5d7ee0 error 4 in libsystemd-shared-231.so[7fcb837f0000+178000]
    [738799.592554] traps: systemd-resolve[21557] general protection ip:562279d7133c sp:7fff4c252188 error:0 in systemd-resolved[562279d5f000+4c000]
    [738931.342522] traps: systemd-resolve[22076] general protection ip:7f369eba543e sp:7ffe60bc9630 error:0 in libsystemd-shared-231.so[7f369eac9000+178000]
    [739038.092523] traps: systemd-resolve[22633] general protection ip:7fd8f27e6226 sp:7fffba5b6aa0 error:0 in libsystemd-shared-231.so[7fd8f2795000+178000]
    [739136.592518] systemd-resolve[23157]: segfault at 40 ip 0000000000000040 sp 00007ffd544b1cc8 error 14 in systemd-resolved[555e904e9000+4c000]
    [739582.092490] systemd-resolve[25373]: segfault at 50 ip 0000000000000050 sp 00007ffec6ab6c58 error 14 in systemd-resolved[557c48108000+4c000]
    [739933.342529] systemd-resolve[26927]: segfault at 131 ip 000055b472eb2866 sp 00007ffe388c35c0 error 4 in systemd-resolved[55b472e91000+4c000]
    [740028.592553] systemd-resolve[27180]: segfault at 7f5e4bda5b68 ip 00007f5e4bda5b68 sp 00007ffc2b198fc8 error 15 in libc-2.24.so[7f5e4bda5000+2000]
    [740553.092527] systemd-resolve[29516]: segfault at 55edabed2824 ip 00007f3bb8495235 sp 00007ffcc8a01ed0 error 7 in libsystemd-shared-231.so[7f3bb8444000+178000]
    [740617.092527] traps: systemd-resolve[29939] general protection ip:560225aa633c sp:7fffc5e284a8 error:0 in systemd-resolved[560225a94000+4c000]
    [740746.092512] systemd-resolve[30149]: segfault at 20 ip 0000000000000020 sp 00007ffdcc865b08 error 14 in systemd-resolved[55612be4f000+4c000]
    [740777.842481] traps: systemd-resolve[30663] trap stack segment ip:563692613866 sp:7fff8190dfb0 error:0 in systemd-resolved[5636925f2000+4c000]
    [740892.842676] systemd-resolve[31805]: segfault at 56258df7bc58 ip 00007f667bef1e78 sp 00007ffd66bb3b30 error 4 in libc-2.24.so[7f667be71000+1bd000]
    [741302.939177] systemd-resolve[1037]: segfault at ffffffffffffffff ip ffffffffffffffff sp 00007ffd54518ad8 error 15
    [741414.592542] systemd-resolve[1968]: segfault at 4100000003 ip 00007f85ffda5226 sp 00007ffd7ff39f80 error 4 in libsystemd-shared-231.so[7f85ffd54000+178000]
    [741530.592480] systemd-resolve[2671]: segfault at aca654a78a ip 00007f27cf9ed226 sp 00007ffdd3d36dd0 error 4 in libsystemd-shared-231.so[7f27cf99c000+178000]
    [741701.592513] systemd-resolve[3065]: segfault at 7f369caf0b98 ip 00007f369caf0b98 sp 00007ffe6e4b47e8 error 15 in libc-2.24.so[7f369caf0000+2000]
    [741820.842526] systemd-resolve[3729]: segfault at 484 ip 00007f8592192226 sp 00007ffdb6b4be90 error 4 in libsystemd-shared-231.so[7f8592141000+178000]
    [742174.842499] systemd-resolve[5084]: segfault at 164 ip 00007f58d2ba7226 sp 00007ffd244ac4e0 error 4 in libsystemd-shared-231.so[7f58d2b56000+178000]
    [742276.342505] systemd-resolve[6969]: segfault at 55ef201f2d50 ip 000055ef201f2d50 sp 00007ffe6a6ccad8 error 15
    [742519.342535] systemd-resolve[7874]: segfault at 200000092 ip 000055d6f6701866 sp 00007ffc09224b80 error 4 in systemd-resolved[55d6f66e0000+4c000]
    [743033.842536] systemd-resolve[10851]: segfault at 21 ip 0000563f40d80726 sp 00007ffc2d5f8760 error 4 in systemd-resolved[563f40d6c000+4c000]
    [743227.592592] systemd-resolve[13565]: segfault at 121 ip 00007f1a25a330f1 sp 00007ffed6b64830 error 4 in libsystemd-shared-231.so[7f1a259e5000+178000]
    [743478.592539] traps: systemd-resolve[14750] general protection ip:561997a2033c sp:7fff387043e8 error:0 in systemd-resolved[561997a0e000+4c000]
    [743555.939949] systemd-resolve[15060]: segfault at 7fada8849c60 ip 00007faea850c5ff sp 00007ffd17f18fd0 error 4 in libc-2.24.so[7faea8488000+1bd000]
    [743736.592515] traps: systemd-resolve[16359] general protection ip:7effc10e8226 sp:7fffa8e0be30 error:0 in libsystemd-shared-231.so[7effc1097000+178000]
    [744083.342526] systemd-resolve[17451]: segfault at 51 ip 000055f055d44726 sp 00007ffcfc5b8bb0 error 4 in systemd-resolved[55f055d30000+4c000]
    [744183.342534] systemd-resolve[18593]: segfault at 91 ip 0000000000000091 sp 00007ffe0b7f7688 error 14 in systemd-resolved[5621481ca000+4c000]
    [744304.592516] traps: systemd-resolve[19193] general protection ip:55bef11d933c sp:7ffeeb4862a8 error:0 in systemd-resolved[55bef11c7000+4c000]
    [744417.092539] systemd-resolve[19806]: segfault at 51 ip 000055db8e576726 sp 00007fff3352fb80 error 4 in systemd-resolved[55db8e562000+4c000]
    [744555.842671] systemd-resolve[20539]: segfault at 7fb32c1f1c80 ip 00007fb42beb45ff sp 00007ffd0cea2060 error 4 in libc-2.24.so[7fb42be30000+1bd000]
    [744614.592519] systemd-resolve[20693]: segfault at 3 ip 00007fdf74a94226 sp 00007fffe61c6470 error 4 in libsystemd-shared-231.so[7fdf74a43000+178000]
    [745039.592514] systemd-resolve[22276]: segfault at 6 ip 00007fee86f28226 sp 00007fff877ecb90 error 4 in libsystemd-shared-231.so[7fee86ed7000+178000]
    [745089.842538] systemd-resolve[22877]: segfault at 15006f0105 ip 00007f28aacab226 sp 00007ffdb75f0dc0 error 4 in libsystemd-shared-231.so[7f28aac5a000+178000]
    [745195.592527] systemd-resolve[23300]: segfault at 44 ip 00007fbbfe397226 sp 00007ffd99f12c00 error 4 in libsystemd-shared-231.so[7fbbfe346000+178000]
    [745240.842533] traps: systemd-resolve[24079] trap stack segment ip:561f70520866 sp:7ffe0f817fb0 error:0 in systemd-resolved[561f704ff000+4c000]
    [745408.842523] traps: systemd-resolve[24767] general protection ip:7f3abbdd9226 sp:7ffede535460 error:0 in libsystemd-shared-231.so[7f3abbd88000+178000]
    [745454.092510] systemd-resolve[25397]: segfault at ffffffff00000021 ip 0000558b353af866 sp 00007fffb1dc14e0 error 5 in systemd-resolved[558b3538e000+4c000]

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: systemd 231-9ubuntu2
ProcVersionSignature: Ubuntu 4.8.0-32.34-generic 4.8.11
Uname: Linux 4.8.0-32-generic x86_64
NonfreeKernelModules: openafs zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: amd64
Date: Sun Jan 8 19:22:19 2017
InstallationDate: Installed on 2015-04-20 (629 days ago)
InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.8.0-32-generic root=/dev/mapper/root-root ro rootflags=subvol=@
SourcePackage: systemd
UpgradeStatus: Upgraded to yakkety on 2016-10-19 (80 days ago)
dmi.bios.date: 08/21/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.20
dmi.board.name: X99 Extreme3
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.20:bd08/21/2014:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnX99Extreme3:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Karl-Philipp Richter (krichter722) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in systemd (Ubuntu):
status: New → Confirmed
Revision history for this message
Rudolf Leitgeb (rudolf-leitgeb) wrote :

I noticed the following lines in /var/log/syslog, which may be related to the issue at hand here:

Feb 13 21:53:24 variable systemd-resolved[30343]: Processing query...
Feb 13 21:53:25 variable systemd-resolved[30343]: Assertion 'DNS_TRANSACTION_IS_LIVE(q->state)' failed at ../src/resolve/resolved-dns-query.c:545, fun
ction dns_query_complete(). Aborting.
Feb 13 21:53:25 variable systemd[9912]: Starting Notification regarding a crash report...
Feb 13 21:53:25 variable systemd[1]: systemd-resolved.service: Main process exited, code=dumped, status=6/ABRT

Revision history for this message
Steve Langasek (vorlon) wrote :

This is impossible to debug based on the amount of information listed in dmesg. If this problem is still reproducible, please submit a crash dump (as saved by apport to /var/crash, and reportable with ubuntu-bug).

Changed in systemd (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for systemd (Ubuntu) because there has been no activity for 60 days.]

Changed in systemd (Ubuntu):
status: Incomplete → Expired
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.