cpqarrayd crashes while checking for controllers

Bug #409060 reported by aguynamedryan
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cpqarrayd (Debian)
Fix Released
Unknown
cpqarrayd (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: cpqarrayd

I am running Ubuntu 9.04 server on an HP ProLiant ML350 G3 with a SmartArray 642 RAID Controller which has been updated to the latest firmware (2.84). When I run cpqarrayd as the super user, cpqarrayd crashes with a sigabrt while in the middle of checking for controllers.

I noticed there is already a ticket open (#98820) where cpqarrayd 2.2-3 crashes with a segsegv, but I am running a different version of cpqarrayd, 2.3-1 and believe this is a different issue.

Thanks!

Tags: cpqarrayd
Revision history for this message
aguynamedryan (aguynamedryan+ubuntu-bugs) wrote :
Revision history for this message
aguynamedryan (aguynamedryan+ubuntu-bugs) wrote :

I discovered that the size of the cciss_event_type struct was 511 bytes long when it was expected to be 512. I increased the size of the padding field in the struct by 1 byte to get it back up to 512 bytes and my sigabrt has gone away.

I'm not sure that the padding was the correct field to alter, but I was able to verify that cpqarrayd now runs and detects events (such as removing a hotswappable disk from my RAID) so I think everything is working.

Please let me know if there's anything else I can do/fix to resolve this bug.

Revision history for this message
C de-Avillez (hggdh2) wrote :

Thank for for opening this bug -- and proposing a patch! -- and helping make Ubuntu better.

I have submitted a bug request to Debian, and will update this bug with the upstream reference as soon as I get the confirmation back.

Thank you, aguynamedryan, for you work here.

Changed in cpqarrayd (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
C de-Avillez (hggdh2) wrote :

marked as triaged, waiting on Debian feedback.

Changed in cpqarrayd (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for you contribution! I wanted to let you know that your changelog won't actually close the Ubuntu bug report. You have:

(Closes: #409060 for Ubuntu)

However, the correct syntax is:

(LP: #409060)

Closes is used for closing bug reports in debian's bug tracker.

Changed in cpqarrayd (Debian):
status: Unknown → New
Changed in cpqarrayd (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.