Mysql - czy już działa?
Pepe
pepe w kamol.net
Pią, 19 Cze 2009, 22:37:48 CEST
Dnia 2009-06-19, pią o godzinie 12:16 +0200, Marcin Krol pisze:
> Niestety nikt z tych u ktorych sie sypie nie probowal
> chyba debugowac.
O to co pokazuje gdb:
GNU gdb (GDB) 6.8.50.20090302
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pld-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Attaching to program: /usr/sbin/mysqld, process 22492
Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.10.1.so.debug...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb6ac0b70 (LWP 22495)]
done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libcrypt.so.1...Reading symbols from /usr/lib/debug/lib/libcrypt-2.10.1.so.debug...done.
done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libstdc++.so.6...Reading symbols from /usr/lib/debug/usr/lib/libstdc++.so.6.0.11.debug...done.
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...Reading symbols from /usr/lib/debug/lib/libdl-2.10.1.so.debug...done.
done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...Reading symbols from /usr/lib/debug/usr/lib/libssl.so.0.9.8.debug...done.
done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /usr/lib/libcrypto.so.0.9.8...Reading symbols from /usr/lib/debug/usr/lib/libcrypto.so.0.9.8.debug...done.
done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.10.1.so.debug...done.
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...Reading symbols from /usr/lib/debug/lib/libc-2.10.1.so.debug...done.
done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.10.1.so.debug...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libfreebl3.so...done.
Loaded symbols for /lib/libfreebl3.so
Reading symbols from /lib/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/libnss_files-2.10.1.so.debug...done.
done.
Loaded symbols for /lib/libnss_files.so.2
0xb7f8c430 in __kernel_vsyscall ()
(gdb) set follow-fork-mode child
(gdb) c
Continuing.
[New Thread 0xb6a8fb70 (LWP 22526)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6a8fb70 (LWP 22526)]
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) p
The history is empty.
(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\b`\266\372\267\220\22\372\267N\311\21\b \236\366\267\374s\366\267~\311\21\b\216\311\21\b\236\311\21\b\200\277\275\267\260\245\366\267\316\311\21\b\336\311\21\b f\357\267\376\311\21\b\16\312\21\b\304n\366\267.\312\21\b>\312\21\b\330\253\267\267^\312\21\bn\312\21\b0\353\272\267[l\366\267\236\312\21\b\256\312\21\b0[\276\267#\332\366\267\336\312\21\b\252\326\316\267\376\312\21\b\16\313\21\b\20J\275\267\360\315\366\267>\313\21\b\354v\277\267^\313\21\bn\313\21\b~\313\21\b\200\326\316\267\236\313\21\b\256\313\21\bx\247\366\267\316\313\21\b\220Z\276\267\356\313\21\b\376\313\21\b\4\245\366\267\36\314\21\b\210l\366\267"..., save_priv=0x879d2c4, dont_check_global_grants=false,
no_errors=false, schema_db=false) at sql_parse.cc:5280
#4 0x081d909c in check_table_access (thd=0x8743868, want_access=1, tables=0x879d1a0, number=4294967295, no_errors=<value optimized out>) at sql_parse.cc:5509
#5 0x081dca93 in mysql_execute_command (thd=0x8743868) at sql_parse.cc:2318
#6 0x081e41b2 in mysql_parse (thd=0x8743868, inBuf=0x879d068 "select * from config", length=20, found_semicolon=0xb6a8f2bc) at sql_parse.cc:6192
#7 0x081e5476 in dispatch_command (command=COM_QUERY, thd=0x8743868, packet=0x8795039 "select * from config", packet_length=20) at sql_parse.cc:1310
#8 0x081e5d95 in do_command (thd=0x8743868) at sql_parse.cc:948
#9 0x081d6373 in handle_one_connection (arg=0x8743868) at sql_connect.cc:1139
#10 0xb7f65522 in start_thread (arg=0x0) at pthread_create.c:297
#11 0xb7f6543d in __free_tcb (pd=<value optimized out>) at pthread_create.c:216
#12 0x00000000 in ?? ()
(gdb) c
Continuing.
[Thread 0xb6a8fb70 (LWP 22526) exited]
[Thread 0xb6ac0b70 (LWP 22495) exited]
Program exited with code 01.
(gdb)
--
Pepe
Więcej informacji o liście dyskusyjnej pld-users-pl