mytop crashes on 'SHOW SLAVE STATUS' query

Bug #1325004 reported by Steffen Zieger
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mytop (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Running mytop on a Percona MySQL 5.6 setup with replication, it crashes immediately with the following error:

"Can't use string ("1") as a HASH ref while "strict refs" in use at /usr/bin/mytop line 1076."

Line 1076 checks, if a Master_Host is set after executing "SHOW SLAVE STATUS".
Running "SHOW SLAVE STATUS" as the same user used for mytop, it's working without any problems. "Master_Host" is set to the address of the master host.

Upstream version 1.9.1 (from http://www.mysqlfanboy.com/mytop-3/) is working as expected and shows replication information.

Additional information:
Ubuntu 14.04 LTS
mytop: 1.9.1-1

Expected:
- A working mytop

What's happening:
- mytop crashes with an error

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mytop (Ubuntu):
status: New → Confirmed
Revision history for this message
Werner Detter (w1rner) wrote :

Fixed in 1.9.1-2

Changed in mytop (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Werner Detter (w1rner) wrote :
Revision history for this message
Tom (artem-zavyalov) wrote :

Confirming that this issue fixed in 1.9.1-2, but right now LTS version of Ubuntu (14.04 LTS) still has mytop_1.9.1-1 by default.

Deb file of mytop_1.9.1-1 can be downloaded from 14.10 or 15.01 version (https://launchpad.net/ubuntu/vivid/+package/mytop) and simply installed via "dpkg -i" =)

Back to life on LTS version! =)

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.