Opened 19 years ago
Closed 19 years ago
#883 closed patch (fixed)
frontend crash on "Machine Status"
Reported by: | Blaise Tarr | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | 0.19 |
Component: | mythtv | Version: | head |
Severity: | medium | Keywords: | mythfrontend status crash |
Cc: | Ticket locked: | no |
Description
mythfrontend crashes with a "floating point exception" when selecting "Machine Status" on the "System Status" screen.
Apparently QVariant::toInt()
is returning 0
when the value is a float, resulting in a division by zero.
Attachments (1)
Change History (2)
Changed 19 years ago by
Attachment: | statusbox.patch added |
---|
comment:1 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [8465]) Fix potential floating point exception in StatusBox? by using a cast instead of relying on QVariant to convert a float to an int(). Patch by Blaise Tarr, Closes #883.
Fix another bug in StatusBox? that would show swap as "Unknown" if the swap space was totally free.