Koozali.org: home of the SME Server

Segmentation Faults in these executables cvm-unix : 18 Time(s)

Offline gieres

  • *
  • 213
  • +0/-0
Segmentation Faults in these executables cvm-unix : 18 Time(s)
« on: September 20, 2022, 07:22:25 PM »
In Logwatch, I find this message in kernel section. When I see in other days, there is same message but number of times is variable.
Messages log :
Code: [Select]
Sep 19 07:25:41 kooz2 kernel: [207627.008381] cvm-unix[11711]: segfault at 0 ip 00007fc784368037 sp 00007fffd5e6a1d8 error 4 in libc-2.17.so[7fc784229000+1c4000]
Sep 19 07:25:41 kooz2 kernel: cvm-unix[11711]: segfault at 0 ip 00007fc784368037 sp 00007fffd5e6a1d8 error 4 in libc-2.17.so[7fc784229000+1c4000]
Sep 19 07:48:57 kooz2 systemd-logind: New session 310 of user root.
Sep 19 07:49:27 kooz2 systemd-logind: Removed session 310.
Sep 19 09:13:24 kooz2 kernel: [214090.536537] cvm-unix[12375]: segfault at 0 ip 00007f9071da9037 sp 00007fff9501e6a8 error 4 in libc-2.17.so[7f9071c6a000+1c4000]
Sep 19 09:13:24 kooz2 kernel: cvm-unix[12375]: segfault at 0 ip 00007f9071da9037 sp 00007fff9501e6a8 error 4 in libc-2.17.so[7f9071c6a000+1c4000]
Sep 19 12:09:27 kooz2 kernel: [224653.811437] cvm-unix[12650]: segfault at 0 ip 00007f5cc81d2037 sp 00007ffca03fddd8 error 4 in libc-2.17.so[7f5cc8093000+1c4000]
Sep 19 12:09:27 kooz2 kernel: cvm-unix[12650]: segfault at 0 ip 00007f5cc81d2037 sp 00007ffca03fddd8 error 4 in libc-2.17.so[7f5cc8093000+1c4000]
Sep 19 12:26:42 kooz2 kernel: [225687.995083] cvm-unix[13072]: segfault at 0 ip 00007f3a51b94037 sp 00007fffa722b9b8 error 4 in libc-2.17.so[7f3a51a55000+1c4000]
Sep 19 12:26:42 kooz2 kernel: cvm-unix[13072]: segfault at 0 ip 00007f3a51b94037 sp 00007fffa722b9b8 error 4 in libc-2.17.so[7f3a51a55000+1c4000]
Sep 19 20:37:42 kooz2 kernel: [255149.262905] cvm-unix[13112]: segfault at 0 ip 00007fc4f8905037 sp 00007ffe7e6d0d38 error 4 in libc-2.17.so[7fc4f87c6000+1c4000]
Sep 19 20:37:42 kooz2 kernel: cvm-unix[13112]: segfault at 0 ip 00007fc4f8905037 sp 00007ffe7e6d0d38 error 4 in libc-2.17.so[7fc4f87c6000+1c4000]
Sep 19 21:00:46 kooz2 kernel: [256533.267194] cvm-unix[14210]: segfault at 0 ip 00007f8e298ba037 sp 00007ffea38175a8 error 4 in libc-2.17.so[7f8e2977b000+1c4000]
Sep 19 21:00:46 kooz2 kernel: cvm-unix[14210]: segfault at 0 ip 00007f8e298ba037 sp 00007ffea38175a8 error 4 in libc-2.17.so[7f8e2977b000+1c4000]
Sep 19 21:39:25 kooz2 kernel: [258851.516826] perf: interrupt took too long (3927 > 3925), lowering kernel.perf_event_max_sample_rate to 50000
Sep 19 21:39:25 kooz2 kernel: perf: interrupt took too long (3927 > 3925), lowering kernel.perf_event_max_sample_rate to 50000
Sep 19 23:44:19 kooz2 kernel: [266345.688116] cvm-unix[14272]: segfault at 0 ip 00007f2281063037 sp 00007ffe8b0feb38 error 4 in libc-2.17.so[7f2280f24000+1c4000]
Sep 19 23:44:19 kooz2 kernel: cvm-unix[14272]: segfault at 0 ip 00007f2281063037 sp 00007ffe8b0feb38 error 4 in libc-2.17.so[7f2280f24000+1c4000]
Sep 20 00:39:36 kooz2 kernel: [269663.146172] cvm-unix[14644]: segfault at 0 ip 00007f1272c26037 sp 00007ffffacb2d28 error 4 in libc-2.17.so[7f1272ae7000+1c4000]
Sep 20 00:39:36 kooz2 kernel: cvm-unix[14644]: segfault at 0 ip 00007f1272c26037 sp 00007ffffacb2d28 error 4 in libc-2.17.so[7f1272ae7000+1c4000]
Sep 20 00:52:00 kooz2 kernel: cvm-unix[14822]: segfault at 0 ip 00007f39c419b037 sp 00007ffc0720ba18 error 4 in libc-2.17.so[7f39c405c000+1c4000]
Sep 20 00:52:00 kooz2 kernel: [270407.402441] cvm-unix[14822]: segfault at 0 ip 00007f39c419b037 sp 00007ffc0720ba18 error 4 in libc-2.17.so[7f39c405c000+1c4000]
Sep 20 01:02:27 kooz2 kernel: [271034.544125] cvm-unix[14859]: segfault at 0 ip 00007fb16fcf8037 sp 00007ffec61d6d68 error 4 in libc-2.17.so[7fb16fbb9000+1c4000]
Sep 20 01:02:27 kooz2 kernel: cvm-unix[14859]: segfault at 0 ip 00007fb16fcf8037 sp 00007ffec61d6d68 error 4 in libc-2.17.so[7fb16fbb9000+1c4000]
Sep 20 01:05:52 kooz2 kernel: [271239.144704] cvm-unix[14913]: segfault at 0 ip 00007fbc83285037 sp 00007ffea4f79838 error 4 in libc-2.17.so[7fbc83146000+1c4000]
Sep 20 01:05:52 kooz2 kernel: cvm-unix[14913]: segfault at 0 ip 00007fbc83285037 sp 00007ffea4f79838 error 4 in libc-2.17.so[7fbc83146000+1c4000]
Sep 20 03:21:23 kooz2 kernel: [279369.873252] cvm-unix[14926]: segfault at 0 ip 00007fc384b3d037 sp 00007fff59fe7d28 error 4 in libc-2.17.so[7fc3849fe000+1c4000]
Sep 20 03:21:23 kooz2 kernel: cvm-unix[14926]: segfault at 0 ip 00007fc384b3d037 sp 00007fff59fe7d28 error 4 in libc-2.17.so[7fc3849fe000+1c4000]
Is that normal ?

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Segmentation Faults in these executables cvm-unix : 18 Time(s)
« Reply #1 on: September 20, 2022, 07:51:19 PM »
# rpm -q cvm e-smith-cvm-unix-local

I have not seen one since cvm update, but you should check (s)qpsmtpd log at the exact same time to see what is happening.
It is not normal, but as logn as you have no issue loging in this should be ok, for next version we will rely on another way to check logins

Offline gieres

  • *
  • 213
  • +0/-0
Re: Segmentation Faults in these executables cvm-unix : 18 Time(s)
« Reply #2 on: September 20, 2022, 09:10:17 PM »
[root@kooz2 ~]# rpm -q cvm e-smith-cvm-unix-local
cvm-0.97-1.el7.sme.x86_64
e-smith-cvm-unix-local-2.6.0-10.el7.sme.noarch

There is nothing in /var/log/qpsmtpd/current during these periods.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Segmentation Faults in these executables cvm-unix : 18 Time(s)
« Reply #3 on: September 20, 2022, 09:31:15 PM »
check at what time current is starting, it might have been rotated away.

also as I said check also sqpsmtpd "check (s)qpsmtpd log " those are the only two thing using cvm...

Offline gieres

  • *
  • 213
  • +0/-0
Re: Segmentation Faults in these executables cvm-unix : 18 Time(s)
« Reply #4 on: September 20, 2022, 10:31:46 PM »
Last line of qpsmtpd/curent is before :
2022-09-16 21:46:16.967737500 1599 Running as user qpsmtpd, group qpsmtpd

Effectively, I forget sqpsmtpd ! It's the most interesting :
Code: [Select]
2022-09-19 07:25:41.475622500 Use of uninitialized value $ret in unpack at /usr/share/qpsmtpd/plugins/auth/auth_cvm_unix_local line 124.
2022-09-19 07:25:41.475624500 12366 (auth-login) auth::auth_cvm_unix_local: skip: no response from cvm for daemon@albe.ovh
2022-09-19 07:25:41.475625500 12366 535 LOGIN authentication failed for daemon@albe.ovh
2022-09-19 07:25:53.603181500 1573 cleaning up after 12366
...
2022-09-19 09:13:24.890741500 Use of uninitialized value $ret in unpack at /usr/share/qpsmtpd/plugins/auth/auth_cvm_unix_local line 124.
2022-09-19 09:13:24.890743500 12642 (auth-login) auth::auth_cvm_unix_local: skip: no response from cvm for dnscache@albe.ovh
2022-09-19 09:13:24.890744500 12642 535 LOGIN authentication failed for dnscache@albe.ovh
2022-09-19 09:13:36.395853500 1573 cleaning up after 12642
...
2022-09-19 12:09:27.983981500 Use of uninitialized value $ret in unpack at /usr/share/qpsmtpd/plugins/auth/auth_cvm_unix_local line 124.
2022-09-19 12:09:27.983983500 13062 (auth-login) auth::auth_cvm_unix_local: skip: no response from cvm for ftp@albe.ovh
2022-09-19 12:09:27.983984500 13062 535 LOGIN authentication failed for ftp@albe.ovh
2022-09-19 12:09:40.292197500 1573 cleaning up after 13062
...
2022-09-19 12:26:42.149879500 Use of uninitialized value $ret in unpack at /usr/share/qpsmtpd/plugins/auth/auth_cvm_unix_local line 124.
2022-09-19 12:26:42.149881500 13103 (auth-login) auth::auth_cvm_unix_local: skip: no response from cvm for games@albe.ovh
2022-09-19 12:26:42.149882500 13103 535 LOGIN authentication failed for games@albe.ovh
2022-09-19 12:26:53.630081500 1573 cleaning up after 13103
...
2022-09-19 20:37:42.912368500 Use of uninitialized value $ret in unpack at /usr/share/qpsmtpd/plugins/auth/auth_cvm_unix_local line 124.
2022-09-19 20:37:42.912371500 14200 (auth-login) auth::auth_cvm_unix_local: skip: no response from cvm for lp@albe.ovh
2022-09-19 20:37:42.912371500 14200 535 LOGIN authentication failed for lp@albe.ovh
2022-09-19 20:37:54.084738500 1573 cleaning up after 14200
...
and so on...

Thanks.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Segmentation Faults in these executables cvm-unix : 18 Time(s)
« Reply #5 on: September 21, 2022, 02:19:29 AM »
error 4 is fort lost In/out.

i would say the answer was too long to obtain and when cvm was back with it, there was no one to hear it, qpsmtpd has timed it out. 


is albe.ovh one of your domains?

Offline gieres

  • *
  • 213
  • +0/-0
Re: Segmentation Faults in these executables cvm-unix : 18 Time(s)
« Reply #6 on: September 21, 2022, 09:19:45 AM »
error 4 is fort lost In/out.
2022-09-19 12:26:42    ?
I don't see difference between error #4 and the others.

Quote
is albe.ovh one of your domains?
Yes.