pt-table-checksum error: Use of uninitialized value in int at line 2778

Bug #1073532 reported by Ian M. Jones
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
High
Brian Fraser

Bug Description

When trying to run pt-table-checksum I get the following error, no matter what options I try:

Use of uninitialized value in int at /home/jones/bin/pt-table-checksum line 2778

Example command used:
pt-table-checksum -u jones -p xxx --databases spcs_jones_git

Versions:
percona-toolkit 2.1.5
MySQL 5.0.95
RedHat Enterprise Linux 5.x (fully patched up)
Perl 5.8.8

I'm configuring and installing percona-toolkit with PREFIX=${HOME}, if that makes any difference. And tools such as pt-heartbeat are working fine.

I tried percona-toolkit 2.1.4, that had same problem, so then decided to try 2.0.5, which does not show the problem and seems to work fine for me.

Related branches

Brian Fraser (fraserbn)
Changed in percona-toolkit:
assignee: nobody → Brian Fraser (fraserbn)
status: New → Confirmed
importance: Undecided → High
milestone: none → 2.1.6
Revision history for this message
Brian Fraser (fraserbn) wrote :

Thank you for your bug report!
This bug is pretty bizarre; For some reason your Perl is picking a internal version of a module that it shouldn't be touching with a ten foot stick. I've worked around the problem for the toolkit, but also filed a bug upstream to get the root cause of the problem fixed: https://rt.cpan.org/Public/Bug/Display.html?id=80525

With some luck, this should make it into the 2.1.6 release.

Changed in percona-toolkit:
status: Confirmed → In Progress
Brian Fraser (fraserbn)
Changed in percona-toolkit:
status: In Progress → Fix Committed
summary: - Use of uninitialized value in int at pt-table-checksum line 2778
+ pt-table-checksum error: Use of uninitialized value in int at line 2778
Brian Fraser (fraserbn)
Changed in percona-toolkit:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-337

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.