Re[2]: Mysql - czy już działa?

Łukasz Chrustek lukasz w chrustek.net
Sob, 20 Cze 2009, 00:33:45 CEST


Witam,

> Odpalic przez gdb, wysypac, wpisac w gdb bt i podeslac wynik. Najlepiej
> zrobic to na Th z zainstalowanym i uzytym debuginfo.

U mnie wygląda to tak:

(gdb) attach 31465
Attaching to process 31465
Reading symbols from /usr/sbin/mysqld...Reading symbols from /usr/lib/debug/usr/sbin/mysqld.debug...done.
done.
Reading symbols from /lib/libpthread.so.0...Missing separate debuginfo for /lib/libpthread.so.0
Try to install package that provides `/usr/lib/debug/.build-id/36/7c394a32d0ce41fbffee0e2f690d19618bbbc9.debug' file
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libcrypt.so.1...Missing separate debuginfo for /lib/libcrypt.so.1
Try to install package that provides `/usr/lib/debug/.build-id/6a/4823959391a6f4a8489f282fb0318c4e9381f7.debug' file
done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libstdc++.so.6...Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try to install package that provides `/usr/lib/debug/.build-id/c3/e465e228e961ce1af0d390ddcc64b158e96044.debug' file
done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libz.so.1...Missing separate debuginfo for /lib/libz.so.1
done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libwrap.so.0...Missing separate debuginfo for /lib/libwrap.so.0
done.
Loaded symbols for /lib/libwrap.so.0
Reading symbols from /lib/libdl.so.2...Missing separate debuginfo for /lib/libdl.so.2
Try to install package that provides `/usr/lib/debug/.build-id/c6/a7f858b4ed6d9c0be8035c39c33afd7b6c4f99.debug' file
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...Missing separate debuginfo for /usr/lib/libssl.so.0.9.8
Try to install package that provides `/usr/lib/debug/.build-id/5a/b738e5e4a829d886dff54ce1f3c8213d996441.debug' file
done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...Missing separate debuginfo for /usr/lib/libcrypto.so.0.9.8
Try to install package that provides `/usr/lib/debug/.build-id/f3/d25ece65dafd7a88dc5490e1b7e9c817f2eed0.debug' file
done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libm.so.6...Missing separate debuginfo for /lib/libm.so.6
Try to install package that provides `/usr/lib/debug/.build-id/60/214efa4aa9bbb1b9fed813bac07241c7308916.debug' file
done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...Missing separate debuginfo for /lib/libc.so.6
Try to install package that provides `/usr/lib/debug/.build-id/8b/a4972e78dc91853dfd90a46a22ce7f45b0516c.debug' file
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...Missing separate debuginfo for /lib/ld-linux.so.2
Try to install package that provides `/usr/lib/debug/.build-id/2a/cfd864f99b7650bcb26d741e1bef3abee91598.debug' file
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_files.so.2...Missing separate debuginfo for /lib/libnss_files.so.2
Try to install package that provides `/usr/lib/debug/.build-id/ad/f3b52a9d969cbc33c86c7c830ad4e0bd5523a3.debug' file
done.
Loaded symbols for /lib/libnss_files.so.2
0x009cd852 in free () from /lib/ld-linux.so.2
(gdb) set follow-fork-mode child
(gdb) c
Continuing.
[New LWP 31527]

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 31527]
QUERY_PROFILE::new_status (this=0x244c892c, status_arg=0x84ac83d "checking permissions", function_arg=0x84ad150 "check_access",
    file_arg=0x84ac830 "sql_parse.cc", line_arg=5280) at sql_profile.cc:276
276       profile_end= prof;
(gdb) bt
#0  QUERY_PROFILE::new_status (this=0x244c892c, status_arg=0x84ac83d "checking permissions", function_arg=0x84ad150 "check_access",
    file_arg=0x84ac830 "sql_parse.cc", line_arg=5280) at sql_profile.cc:276
#1  0x08251cbd in PROFILING::status_change (this=0x81bf7b3, status_arg=0xd <Address 0xd out of bounds>,
    function_arg=0x84ad150 "check_access", file_arg=0x84ac830 "sql_parse.cc", line_arg=5280) at sql_profile.cc:320
#2  0x081be7db in set_thd_proc_info (thd=0x81be7db, info=0x84ac83d "checking permissions", calling_function=0x84ad150 "check_access",
    calling_file=0x84ac830 "sql_parse.cc", calling_line=5280) at sql_class.cc:273
#3  0x081d86f2 in check_access (thd=0x81be7db, want_access=1, db=0x86a8ff4 "\330gj\bX\246\236", save_priv=0xa697624,
    dont_check_global_grants=false, no_errors=false, schema_db=false) at sql_parse.cc:5280
#4  0x081d909c in check_table_access (thd=0xa6471d0, want_access=1, tables=0xa697500, number=4294967295, no_errors=<value optimized out>)
    at sql_parse.cc:5509
#5  0x081dca93 in mysql_execute_command (thd=0xa6471d0) at sql_parse.cc:2318
#6  0x081e41b2 in mysql_parse (thd=0xa6471d0, inBuf=0xa6973b8 "SELECT * FROM mailboxes", length=23, found_semicolon=0xa972fc)
    at sql_parse.cc:6192
#7  0x081e5476 in dispatch_command (command=COM_QUERY, thd=0xa6471d0, packet=0xa68f389 "SELECT * FROM mailboxes", packet_length=23)
    at sql_parse.cc:1310
#8  0x081e5d95 in do_command (thd=0xa6471d0) at sql_parse.cc:948
#9  0x081d6373 in handle_one_connection (arg=0xa6471d0) at sql_connect.cc:1139
#10 0x00702fff in ?? () from /lib/libpthread.so.0
(gdb) c
Continuing.
[LWP 31527 exited]

Program exited with code 01.




-- 
Pozdrawiam,
 brushek



Więcej informacji o liście dyskusyjnej pld-users-pl