Comment #4 on issue 87 by
przemek....@gmail.com: Use of uninitialized value
This is how to reproduce the problem. Tested on version 1.9.1 on Centos 6.4.
This error happens for me when I use one of mentioned below modes, and have
more then one connection defined, for example:
[connections]
local=user=root have_user=1 pass=myPASS have_pass=1
dsn=DBI:mysql:;host=localhost savepass=1 dl_table=
local2=user=root have_user=1 pass=myPASS have_pass=1
dsn=DBI:mysql:;host=localhost savepass=1 dl_table=
[/connections]
So when I enter one of these modes: D, I, L, R or T. It not always does
crash with this error while entering these modes, but if I leave one of
these as default in configuration, Innotop crashes always on start even if
only single connection is defined. For example:
# Which mode to start in
mode=R
What is interesting, when another mode is default, e.g. Q - I can run and
then switch to any of these without any problems.
But when I add second connection, and switch between connections in one of
these modes, Innotop crashes with the same error.
In order to avoid this error, first disable auto config saving:
# Whether the config file is read-only
readonly=1
Make one of the stable modes as default, like:
# Which mode to start in
mode=M
and try to not enter D, I, L, R or T modes when you have more then one
connection defined.