Public bug reported:

The gamatronic UPS driver in nut 2.7.4-14ubuntu2 randomly crashes after
a memory violation attempt. This usually happens after many hours of
operation, typically after 20h or more, and started after the update to
jammy. No similar problems happened on focal.

116159.602986   UPS<--PC: "0,599,1,1237,0015,00172,020,,,,,,,,"
116159.603047   PC-->UPS: "^P003ST5"   
116159.603130    send returned: 8                                               
116160.836034   UPS<--PC: "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"                       
116160.836062   PC-->UPS: "^P003ST1"                                            
116160.836143    send returned: 8                                               
116162.085828   UPS<--PC: "0,0,0,00000,999,100,0273,0004,00"
116162.085881   PC-->UPS: "^P003ST4"
116162.085973    send returned: 8      
116163.308513   UPS<--PC: "600,1,1237,0015,00173,,,,,,"
116163.308537   PC-->UPS: "^P003ST2"
116163.308614    send returned: 8
116164.513013   UPS<--PC: "000,1,600,1294,,,,,,,,,,"
116164.513076   PC-->UPS: "^P003ST3"
116164.513159    send returned: 8
116165.785520   UPS<--PC: "0,599,1,1237,0015,00174,021,,,,,,,,"
*** stack smashing detected ***: terminated
Broadcast message from nut@hiccup (somewhere) (Mon May 30 16:49:10 2022):      
Communications with UPS nhs@localhost lost

The driver is being used with the following device:

device.mfr: NHS Sistemas de Energia
device.model: PDV SENOIDAL 1400 VA
device.type: ups gamatronic
driver.parameter.pollinterval: 2
driver.parameter.port: /dev/ttyACM0
driver.parameter.synchronous: no
driver.version: 2.7.4
driver.version.internal: 0.02

Additional contextual information:

Description:    Ubuntu 22.04 LTS
Release:        22.04

  Installed: 2.7.4-14ubuntu2
  Candidate: 2.7.4-14ubuntu2
  Version table:
 *** 2.7.4-14ubuntu2 500
        500 jammy/main amd64 Packages
        100 /var/lib/dpkg/status

What you expected to happen: process not crashing
What happened instead: process crashed (boo)

** Affects: nut (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "core dump"

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  Stack smashing in gamatronic driver

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to