Mantis - apcupsd
Viewing Issue Advanced Details
5217 regular use minor always 2014-11-14 22:06 2014-11-17 10:13
zdima  
laurent  
normal  
closed  
duplicate  
none    
none  
0005217: apctest dump core
While running apctest it is dumping a core.

Configuration:
# uname -a
SunOS freenas 5.11 omnios-10b9c79 i86pc i386 i86pc

# pkginfo -l SUNWlibusb | grep VER
   VERSION: 11.11.0,REV=2013.03.05.02.28

# grep -v "^#" /etc/opt/csw/apcupsd/apcupsd.conf | grep -v "^$"
UPSNAME UPS
UPSCABLE usb
UPSTYPE usb
DEVICE
LOCKFILE /var/spool/locks
SCRIPTDIR /etc/opt/csw/apcupsd
PWRFAILDIR /etc
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
EVENTSFILE /var/opt/csw/apcupsd/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/opt/csw/apcupsd/apcupsd.status
LOGSTATS off
DATATIME 0

# /opt/csw/sbin/apctest


2014-11-14 16:01:24 apctest 3.14.12 (29 March 2014) sun
Checking configuration ...
sharenet.type = Network & ShareUPS Disabled
cable.type = USB Cable
mode.type = USB UPS Driver
Setting up the port ...
Doing prep_device() ...

You are using a USB cable type, so I'm entering USB test mode
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing USB UPSes.

Getting UPS capabilities...Segmentation Fault (core dumped)

duplicate of 0005216resolved laurent apctest dump core 
Issue History
2014-11-14 22:06 zdima New Issue
2014-11-14 22:08 zdima Note Added: 0010957
2014-11-15 12:51 laurent Note Added: 0010958
2014-11-15 12:51 laurent Assigned To => laurent
2014-11-15 12:51 laurent Status new => confirmed
2014-11-16 00:59 laurent Status confirmed => closed
2014-11-16 00:59 laurent Resolution open => duplicate
2014-11-17 10:13 dam Relationship added duplicate of 0005216

Notes
(0010957)
zdima   
2014-11-14 22:08   
Please close this report as it was submitted by mistake.
(0010958)
laurent   
2014-11-15 12:51   
I can reproduce, I don't remember seeing this before, it's probably a relatively recent regression.
I've posted it to upstream's M/L.