Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

my_stat Segmentation fault

From: <kal(at)nyc.rr.com>
Date: Wed May 02 2007 - 16:52:24 EDT


MySQL 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 <handle_default_option>, handler_ctx=0x2792644,     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
<handle_default_option>,

    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 <handle_default_option>, func_ctx=0x2792644)

    at default.c:210
#4 0x082418cb in load_defaults (conf_file=0x2 "", groups=0x27926f8,
argc=0x27926e8,

Do you need help?X

    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=lists@pantek.com
Received on Wed May 2 16:48:44 2007

This archive was generated by hypermail 2.1.8 : Wed May 02 2007 - 16:50:02 EDT

Do you need more help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library