[Nut-upsuser] Segmentation fault: sudo nut-scanner -U

Jeff Duve jeffd at as2inc.com
Mon Jul 7 16:27:29 BST 2025


  1.
Issue: Segmentation fault with sudo nut-scanner -U
  2.
OS Version: Linux Mint 21.3

lsb_release -a
No LSB modules are available.
Distributor ID:   Linuxmint
Description:      Linux Mint 21.3
Release:    21.3
Codename:   virginia


  1.
NUT Version: 2.7.4.1

$ sudo apt install nut nut-client nut-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nut is already the newest version (2.7.4-14ubuntu2).
nut-client is already the newest version (2.7.4-14ubuntu2).
nut-server is already the newest version (2.7.4-14ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


  1.
NUT Installation Method: sudo apt install but nut-client nut-server

$ sudo apt install nut nut-client nut-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
nut is already the newest version (2.7.4-14ubuntu2).
nut-client is already the newest version (2.7.4-14ubuntu2).
nut-server is already the newest version (2.7.4-14ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


  1.
Device Name:

$ sudo nut-scanner -U
Neon library not found. XML search disabled.
IPMI library not found. IPMI search disabled.
Scanning USB bus.
[nutdev1]
      driver = "usbhid-ups"
      port = "auto"
      vendorid = "09AE"
      productid = "3016"
      product = "TRIPP LITE UPS"
      serial = "��"
      vendor = "��"
      bus = "003"
[nutdev2]
      driver = "usbhid-ups"
      port = "auto"
      vendorid = "09AE"
      productid = "3016"
      product = "`�"
      serial = "��"
      vendor = "��"
      bus = "003"
[nutdev3]
      driver = "usbhid-ups"
      port = "auto"
      vendorid = "09AE"
      productid = "3016"
      product = "TRIPP LITE UPS"
      serial = "3103EV4SM895A01119"
      vendor = "Tripp Lite"
      bus = "003"
[nutdev4]
      driver = "usbhid-ups"
      port = "auto"
      vendorid = "09AE"
      productid = "3016"
      product = "TRIPP LITE UPS"
      serial = "3150JVLSM888902693"
      vendor = "Tripp Lite"
      bus = "003"
Segmentation fault


  1.
Device Log:

Jul 07 10:49:51 lnx-mini-23746 sudo[262109]: IT_Monitor : TTY=pts/1 ; PWD=/home/IT_Monitor ; USER=root ; COMMAND=/usr/bin/nut-scanner -U
Jul 07 10:49:51 lnx-mini-23746 sudo[262109]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=10010)
Jul 07 10:49:51 lnx-mini-23746 kernel: usb 3-9: usbfs: USBDEVFS_CONTROL failed cmd nut-scanner rqt 128 rq 6 len 255 ret -71
Jul 07 10:49:51 lnx-mini-23746 kernel: usb 3-9: usbfs: USBDEVFS_CONTROL failed cmd nut-scanner rqt 128 rq 6 len 255 ret -71
Jul 07 10:49:51 lnx-mini-23746 kernel: usb 3-9: usbfs: USBDEVFS_CONTROL failed cmd nut-scanner rqt 128 rq 6 len 255 ret -71
Jul 07 10:49:51 lnx-mini-23746 kernel: nut-scanner[263619]: segfault at 7f3bb3c4df40 ip 00007f3c47c403fe sp 00007ffc06ae0970 error 4 in libc.so.6[7f3c47bc3000+195000]
Jul 07 10:49:51 lnx-mini-23746 kernel: Code: 99 13 00 e8 04 b9 ff ff 0f 1f 40 00 f3 0f 1e fa 48 85 ff 0f 84 bb 00 00 00 55 48 8d 77 f0 53 48 83 ec 18 48 8b 1d 12 4a 17 00>
Jul 07 10:49:51 lnx-mini-23746 systemd[1]: Started Process Core Dump (PID 263645/UID 0).
Jul 07 10:49:51 lnx-mini-23746 systemd-coredump[263648]: Process 263619 (nut-scanner) of user 0 dumped core.

                                                         Found module linux-vdso.so.1 with build-id: e4313a37e6646f4d151851d0536b61546e97e897
                                                         Found module libnssutil3.so with build-id: 27efbf6648d747aeebc9aede9267e701a3375e43
                                                         Found module libnspr4.so with build-id: 4a4ef67c84ac0f4bcd64ae300dac7b336a77ad68
                                                         Found module libplc4.so with build-id: 55d3e83f384e8a6a68ce9c2414e2ea50fdae1f45
                                                         Found module libplds4.so with build-id: 09454a834ff4ff9d76b522335aa3671994d878e3
                                                         Found module libssl3.so with build-id: 4522016b83c800e493ffde194bc41a67e83cb201
                                                         Found module libnss3.so with build-id: df61a27bafb30bb304e764df9ee5abee8f1670d2
                                                         Found module libupsclient.so.4.0.0 with build-id: cf96b51b585c7650c94352efe4e698068622a68a
                                                         Found module libcrypto.so.3 with build-id: 5975329884a480e9ac72c5c308d518bdb0450b7b
                                                         Found module libssl.so.3 with build-id: a8255918dccf5057adf54e5eb1ab2f11f3e38fdc
                                                         Found module libnetsnmp.so.40.1.0 with build-id: 1d3c6002f512cc6e63ac8598bb13f1eb85c4fec4
                                                         Found module libusb-0.1.so.4.4.4 with build-id: f0cf54d1a755076f549082fab4a0bfb3ec0f03c3
                                                         Found module ld-linux-x86-64.so.2 with build-id: 9cb53985768bb99f138f48655f7b8bf7e420d13d
                                                         Found module libltdl.so.7 with build-id: be74205d7325609af44c23c4b469c222a7faaecf
                                                         Found module libc.so.6 with build-id: d5197096f709801829b118af1b7cf6631efa2dcd
                                                         Found module libnutscan.so.1 with build-id: 96d87cd16837e9b387831eb887ef25011e39228d
                                                         Found module nut-scanner with build-id: abffac332159e6452addef507ec38a3da6d2fd8f
                                                         Stack trace of thread 263619:
                                                         #0  0x00007f3c47c403fe __GI___libc_free (libc.so.6 + 0xa53fe)
                                                         #1  0x00007f3c47dcaf07 n/a (libnutscan.so.1 + 0x6f07)
                                                         #2  0x0000559493b2df62 n/a (nut-scanner + 0x2f62)
                                                         #3  0x00007f3c47bc4d90 __libc_start_call_main (libc.so.6 + 0x29d90)
                                                         #4  0x00007f3c47bc4e40 __libc_start_main_impl (libc.so.6 + 0x29e40)
                                                         #5  0x0000559493b2e2a5 n/a (nut-scanner + 0x32a5)


  1.
Additional Information: lsusb -v Lists all Tripp Lite UPS, Vendor, Serial Number etc.



This message contains confidential information. If you are not the intended recipient, notify the sender immediately and delete this e-mail from your system. You should always check e-mail for viruses. Sender does not accept liability for any viruses that may be inadvertently transmitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20250707/0dc75946/attachment-0001.htm>


More information about the Nut-upsuser mailing list