xiccd icon indicating copy to clipboard operation
xiccd copied to clipboard

xiccd[3214]: segfault at e4 ip 00005638ed3fd9a2

Open Am0rphous opened this issue 2 years ago • 5 comments

Hi! On Kali Linux i receive following error message. I don't know if every line is helpful. Running sudo dmesg gives

[   14.117639] systemd-journald[698]: /var/log/journal/d8dc8904695644168112634a06d6df4c/user-1000.journal: Journal file uses a different sequence number ID, rotating.
[   15.945916] panel-16-pulsea[2914]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
[   16.397949] show_signal_msg: 8 callbacks suppressed
[   16.397952] xiccd[3214]: segfault at e4 ip 00005638ed3fd9a2 sp 00007ffe738ad830 error 4 in xiccd[5638ed3fa000+4000] likely on CPU 7 (core 1, socket 0)
[   16.397962] Code: bd 01 00 00 00 eb 91 90 48 89 df e8 d8 f8 ff ff eb c5 e8 11 cd ff ff 90 55 48 89 fd 53 48 83 ec 08 e8 c2 f8 ff ff 48 8b 7d 08 <8b> 97 e4 00 00 00 85 d2 7e 30 31 db 66 90 48 89 d8 ba 07 00 00 00

System (fully up to date)

  • xiccd - 0.3.0+git
  • Kali Linux Rolling (2023.4)
  • Kernel: 6.6.9-amd64

Am0rphous avatar Feb 10 '24 17:02 Am0rphous

Can you please compile xiccd with debug and get a stack trace?

agalakhov avatar Feb 11 '24 14:02 agalakhov

I tried earlier to download and compile the source code but met many obstacles and left it for a while.

I've now successfully compiled the code with debug symbols, but it's not very helpful, or I'm doing things wrong. I thought dmesg would show more helpful info, but it doesn't.

To compile xiccd i did following:

apt-get source xiccd
./configure --enable-debug
make
sudo make install
cp xiccd $(which xiccd)      #same as cp xiccd /usr/local/bin/xicc

The file /etc/xdg/autostart/xiccd.desktop seems to be a file for auto startin the app, but wasnt very helpful.

I received the error a while, eventhough the service seemed to run though.

[   24.049222] xiccd[3365]: segfault at e4 ip 000056025b905891 sp 00007ffe44c3d720 error 4 in xiccd[56025b901000+5000] likely on CPU 10 (core 4, socket 0)
[   24.049230] Code: 45 e8 48 8b 45 d8 48 8b 40 08 48 8b 4d e8 ba 07 00 00 00 48 89 ce 48 89 c7 e8 3b bb ff ff 83 45 fc 01 48 8b 45 d8 48 8b 40 08 <8b> 80 e4 00 00 00 39 45 fc 7c a9 48 8b 45 d8 48 89 c7 e8 01 ff ff

Lately I havent got the error, but I changed from Gnome to XFCE.

sudo dmesg doesn't seem to contain the error anymore.

Am0rphous avatar Jun 02 '24 13:06 Am0rphous

It seems the bug still persistent when running journalctl|grep xiccd

Jun 02 15:03:20 carbon dbus-daemon[1252]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.27' (uid=1000 pid=3646 comm="xiccd")
Jun 02 15:03:20 carbon kernel: xiccd[3646]: segfault at e4 ip 00005634a4510891 sp 00007ffed51a1d30 error 4 in xiccd[5634a450c000+5000] likely on CPU 7 (core 1, socket 0)
Jun 02 15:03:21 carbon systemd-coredump[3742]: Process 3646 (xiccd) of user 1000 dumped core.
                                               #0  0x00005634a4510891 setup_events (xiccd + 0x8891)
                                               #1  0x00005634a45108f0 randr_conn_private_start (xiccd + 0x88f0)
                                               #2  0x00005634a450fb24 randr_conn_start (xiccd + 0x7b24)
                                               #3  0x00005634a450e554 cd_connect_cb (xiccd + 0x6554)
                                               #21 0x00005634a450e6e5 main (xiccd + 0x66e5)
                                               #24 0x00005634a450ca91 _start (xiccd + 0x4a91)
Jun 02 15:04:49 carbon dbus-daemon[1084]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.23' (uid=1000 pid=3282 comm="xiccd")
Jun 02 15:04:49 carbon systemd-coredump[3474]: Process 3282 (xiccd) of user 1000 dumped core.
                                               #0  0x000055a3215d1891 setup_events (xiccd + 0x8891)
                                               #1  0x000055a3215d18f0 randr_conn_private_start (xiccd + 0x88f0)
                                               #2  0x000055a3215d0b24 randr_conn_start (xiccd + 0x7b24)
                                               #3  0x000055a3215cf554 cd_connect_cb (xiccd + 0x6554)
                                               #21 0x000055a3215cf6e5 main (xiccd + 0x66e5)
                                               #24 0x000055a3215cda91 _start (xiccd + 0x4a91)
Jun 02 15:08:22 carbon dbus-daemon[11070]: [session uid=0 pid=11068] Activating service name='org.freedesktop.portal.Desktop' requested by ':1.0' (uid=0 pid=11063 comm="gedit /etc/xdg/autostart/xiccd.desktop")
Jun 02 15:09:05 carbon dbus-daemon[11070]: [session uid=0 pid=11068] Activating service name='ca.desrt.dconf' requested by ':1.0' (uid=0 pid=11063 comm="gedit /etc/xdg/autostart/xiccd.desktop")

Am0rphous avatar Jun 02 '24 14:06 Am0rphous