Subject: Re: bug#31233: 26.1; Emacs terminated unexpectedly

From: [email-masked] (N. Jackson)
Date: Mon, 30 Apr 2018 14:16:13 -0400

At 19:44 +0300 on Monday 2018-04-23, Eli Zaretskii wrote:
>
> ANOM_ABEND is AFAIU just a log of the auditing software.

Okay. But that [line 34367 below] is the only line of the log that
seems to be connected with Emacs other than the actual core dump
log entry [at line 34469].

> The OS log is elsewhere -- it should be in /var/log/messages or
> somewhere close (you may need to become a superuser to access
> that file).

Yes, that is the correct location for this system. Reading that
log is how I know that the core dumps happen during resume from
suspend.

> What does that log say about these crashes?

Nothing obvious to me. I have submitted the latest one (Xwayland
dumping core with SIGBUS on resume from suspend) with the ABRT to
the Fedora bugzilla and maybe they will have a look at it.

FWIW here are some of the entries from the log when Emacs dumped
core. The elided messages seem to be routine messages where CPUs,
disks, services, and network connections are brought back up
(after suspend). As I mentioned there really isn't anything there
implicating Emacs.

  ...

  34297 Apr 21 20:04:51 moondust kernel: Restarting tasks ... done.
  34298 Apr 21 20:04:51 moondust systemd-logind[1071]: Lid opened.

  ...

  34303 Apr 21 20:04:51 moondust kernel: usb 1-1.1: USB disconnect, device number 15
  34304 Apr 21 20:04:51 moondust bluetoothd[1064]: Endpoint unregistered: sender=:1.59 path=/MediaEndpoint/A2DPSource
  34305 Apr 21 20:04:51 moondust bluetoothd[1064]: Endpoint unregistered: sender=:1.59 path=/MediaEndpoint/A2DPSink
  34306 Apr 21 20:04:51 moondust dbus-daemon[1077]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.59" (uid=1000 pid=1951 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.2" (uid=0 pid=1064 comm="/usr/libexec/bluetooth/bluetoothd " label="system_u:system_r:bluetooth_t:s0")
  34307 Apr 21 20:04:51 moondust systemd[1]: Starting Load/Save RF Kill Switch Status...
  34308 Apr 21 20:04:51 moondust dbus-daemon[1077]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.59" (uid=1000 pid=1951 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.2" (uid=0 pid=1064 comm="/usr/libexec/bluetooth/bluetoothd " label="system_u:system_r:bluetooth_t:s0")
  34309 Apr 21 20:04:51 moondust dbus-daemon[1077]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.59" (uid=1000 pid=1951 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.2" (uid=0 pid=1064 comm="/usr/libexec/bluetooth/bluetoothd " label="system_u:system_r:bluetooth_t:s0")
  34310 Apr 21 20:04:51 moondust dbus-daemon[1077]: [system] Rejected send message, 1 matched rules; type="error", sender=":1.59" (uid=1000 pid=1951 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.2" (uid=0 pid=1064 comm="/usr/libexec/bluetooth/bluetoothd " label="system_u:system_r:bluetooth_t:s0")
  34311 Apr 21 20:04:51 moondust systemd[1]: bluetooth.target: Unit not needed anymore. Stopping.
  34312 Apr 21 20:04:51 moondust systemd[1]: Stopped target Bluetooth.
  34313 Apr 21 20:04:51 moondust blueman.desktop[2266]: blueman-applet 20.04.51 ERROR    PluginManager:209 Run       : Function on_adapter_removed on DiscvManager failed
  34314 Apr 21 20:04:51 moondust blueman.desktop[2266]: Traceback (most recent call last):
  34315 Apr 21 20:04:51 moondust blueman.desktop[2266]:  File "/usr/lib/python3.6/site-packages/blueman/main/PluginManager.py", line 206, in Run
  34316 Apr 21 20:04:51 moondust blueman.desktop[2266]:    ret = getattr(inst, func)(*args, **kwargs)
  34317 Apr 21 20:04:51 moondust blueman.desktop[2266]:  File "/usr/lib/python3.6/site-packages/blueman/plugins/applet/DiscvManager.py", line 77, in on_adapter_removed
  34318 Apr 21 20:04:51 moondust blueman.desktop[2266]:    self.init_adapter()
  34319 Apr 21 20:04:51 moondust blueman.desktop[2266]:  File "/usr/lib/python3.6/site-packages/blueman/plugins/applet/DiscvManager.py", line 67, in init_adapter
  34320 Apr 21 20:04:51 moondust blueman.desktop[2266]:    self.adapter = self.parent.Manager.get_adapter()
  34321 Apr 21 20:04:51 moondust blueman.desktop[2266]:  File "/usr/lib/python3.6/site-packages/blueman/bluez/Manager.py", line 85, in get_adapter
  34322 Apr 21 20:04:51 moondust blueman.desktop[2266]:    raise DBusNoSuchAdapterError("No adapter(s) found")
  34323 Apr 21 20:04:51 moondust blueman.desktop[2266]: blueman.bluez.errors.DBusNoSuchAdapterError: No adapter(s) found

  ...

  34358 Apr 21 20:04:52 moondust NetworkManager[1134]: <info>  [1524355492.3233] device (wlp3s0): supplicant interface state: starting -> ready
  34359 Apr 21 20:04:52 moondust NetworkManager[1134]: <info>  [1524355492.3233] device (wlp3s0): state change: unavailable -> disconnected (reason 'supplicant-available', internal state 'managed')
  34360 Apr 21 20:04:52 moondust kernel: IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
  34361 Apr 21 20:04:52 moondust systemd[1]: Reached target Bluetooth.
  34362 Apr 21 20:04:53 moondust wpa_supplicant[1184]: wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
  34363 Apr 21 20:04:54 moondust ModemManager[1072]: <info>  Couldn't check support for device at '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0': not supported by any plugin
  34364 Apr 21 20:04:54 moondust ModemManager[1072]: <info>  Couldn't check support for device at '/sys/devices/pci0000:00/0000:00:1c.2/0000:04:00.0': not supported by any plugin
  34365 Apr 21 20:04:54 moondust systemd[1]: Started Load/Save RF Kill Switch Status.
  34366 Apr 21 20:04:54 moondust audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
  34367 Apr 21 20:04:54 moondust audit[3617]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=3617 comm="emacs" exe="/data/projects/vc/emacs/git/emacs/src/emacs" sig=7 res=1
  34368 Apr 21 20:04:54 moondust bluetoothd[1064]: Endpoint registered: sender=:1.59 path=/MediaEndpoint/A2DPSource
  34369 Apr 21 20:04:54 moondust bluetoothd[1064]: Endpoint registered: sender=:1.59 path=/MediaEndpoint/A2DPSink
  34370 Apr 21 20:04:54 moondust bluetoothd[1064]: Failed to set mode: Blocked through rfkill (0x12)
  34371 Apr 21 20:04:54 moondust bluetoothd[1064]: Failed to set mode: Blocked through rfkill (0x12)
  34372 Apr 21 20:04:54 moondust bluetoothd[1064]: Failed to set mode: Blocked through rfkill (0x12)
  34373 Apr 21 20:04:54 moondust dbus-daemon[1077]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.2" (uid=0 pid=1064 comm="/usr/libexec/bluetooth/bluetoothd " label="system_u:system_r:bluetooth_t:s0") interface="(unset)" member="(unset)" error name="org.bluez.Error.Blocked" requested_reply="0" destination=":1.79" (uid=1000 pid=2266 comm="python3 /usr/bin/blueman-applet " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
  34374 Apr 21 20:04:54 moondust systemd[1]: Created slice system-systemd\x2dcoredump.slice.
  34375 Apr 21 20:04:54 moondust systemd[1]: Started Process Core Dump (PID 15755/UID 0).

  ...

  34462 Apr 21 20:04:56 moondust chronyd[1117]: Forward time jump detected!

  ...

  34469 Apr 21 20:04:57 moondust systemd-coredump[15757]: Process 3617 (emacs) of user 1000 dumped core.#012#012Stack trace of thread 3617:#012#0  0x00007f80ebece2cb raise (libpthread.so.0)#012#1  0x0000000000557675 terminate_due_to_signal (emacs)#012#2  0x000000000057be67 handle_fatal_signal (emacs)#012#3  0x000000000057be38 deliver_thread_signal (emacs)#012#4  0x000000000057be9e deliver_fatal_thread_signal (emacs)#012#5  0x00007f80ebece420 __restore_rt (libpthread.so.0)#012#6  0x00000000005d9095 mem_find (emacs)#012#7  0x00000000005da10c  ...