my_stat Segmentation fault
am 02.05.2007 22:52:24 von KalMySQL Server v5.0.37 - RHEL4 RPM
The following is the core trace.
#0 0x081f0e5c in my_stat (path=0x2792324 "/root/.my.cnf",
stat_area=0x278f0c4,
my_flags=0) at my_lib.c:649
#1 0x08240a70 in search_default_file_with_ext (
opt_handler=0x8240640
dir=0x82b1296 "~/", ext=0x82a157c ".cnf", config_file=0x8438040 "my",
recursion_level=0) at default.c:606
#2 0x08241442 in search_default_file (opt_handler=0x8240640
handler_ctx=0x2792644, dir=0x82b1296 "~/", config_file=0x8438040 "my")
at default.c:489
#3 0x0824154f in my_search_option_files (conf_file=0x8438040 "my",
argc=0x2, argv=0x2,
args_used=0x8415808, func=0x8240640
func_ctx=0x2792644)
at default.c:210
#4 0x082418cb in load_defaults (conf_file=0x2 "", groups=0x27926f8,
argc=0x27926e8,
argv=0x27926ec) at default.c:412
#5 0x082021d2 in mysql_read_default_options (options=0xbffff980,
filename=0x2 "",
group=0x2 "") at client.c:982
#6 0x08203a89 in mysql_real_connect (mysql=0xbffff688, host=0x8274b08
"127.0.0.1",
user=0x8417a64 "user", passwd=0x8417abc "pass", db=0x827d58b
"dbase", port=3306,
unix_socket=0x0, client_flag=0) at client.c:1822
The configuration file I use is '/etc/my.cnf' and not '/root/my.cnf', if
that helps.
Can anyone shed some light on this? Thanks in advance.
Regards,
Kal
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org