|
From: Ken <xie...@gm...> - 2009-08-24 08:22:56
|
I used callgrind to profile a storage engine of mysql and got this out put. ------------------------------------------------------------------------------------------------------------------------------------------------------------- ==2402== Callgrind, a call-graph generating cache profiler. ==2402== Copyright (C) 2002-2008, and GNU GPL'd, by Josef Weidendorfer et al. ==2402== Using LibVEX rev 1884, a library for dynamic binary translation. ==2402== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. ==2402== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation framework. ==2402== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. ==2402== For more details, rerun with: -v ==2402== ==2402== For interactive control, run 'callgrind_control -h'. 090820 12:53:25 [Warning] The syntax '--log_slow_queries' is deprecated and will be removed in MySQL 7.0. Please use '--slow_query_log'/'--slow_query_log_file' instead. (none) Callgrind: threads.c:247 (vgCallgrind_post_signal): Assertion 'tid == vgCallgrind_current_tid' failed. ==2402== at 0x3801A7FC: report_and_quit (m_libcassert.c:140) ==2402== by 0x3801AB0A: vgPlain_assert_fail (m_libcassert.c:205) ==2402== by 0x38017DFC: vgCallgrind_post_signal (threads.c:247) ==2402== by 0x38084B09: vgSysWrap_amd64_linux_sys_rt_sigreturn_before (syswrap-amd64-linux.c:493) ==2402== by 0x3803EA50: vgPlain_client_syscall (syswrap-main.c:942) ==2402== by 0x3803BF22: handle_syscall (scheduler.c:824) ==2402== by 0x3803CF26: vgPlain_scheduler (scheduler.c:1018) ==2402== by 0x3804F560: run_a_thread_NORETURN (syswrap-linux.c:89) ==2402== by 0x3804F78A: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:212) ==2402== by 0x38081A3D: (within /usr/lib/valgrind/amd64-linux/callgrind) ==2402== by 0xDEADBEEFDEADBEEE: ??? sched status: running_tid=2 Thread 1: status = VgTs_WaitSys ==2402== at 0x5F13CE2: select (in /lib/libc-2.7.so) ==2402== by 0x67B353: handle_connections_sockets (mysqld.cc:4948) ==2402== by 0x67BF27: main (mysqld.cc:4447) Thread 2: status = VgTs_Runnable ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 3: status = VgTs_Yielding ==2402== at 0x4C2B4C5: __lll_unlock_wake (in /lib/libpthread-2.7.so) ==2402== by 0x4C27FF8: _L_unlock_56 (in /lib/libpthread-2.7.so) ==2402== by 0x4C27C54: __pthread_mutex_unlock_usercnt (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9F1: ntse::Event::wait(int, long) (Sync.cpp:432) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 4: status = VgTs_WaitSys ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 5: status = VgTs_WaitSys ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 6: status = VgTs_WaitSys ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 7: status = VgTs_WaitSys ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 8: status = VgTs_WaitSys ==2402== at 0x5F13CE2: select (in /lib/libc-2.7.so) ==2402== by 0x8A4D1E: os_thread_sleep (os0thread.c:281) ==2402== by 0x8D6BD4: srv_lock_timeout_and_monitor_thread (srv0srv.c:1917) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 9: status = VgTs_WaitSys ==2402== at 0x5F13CE2: select (in /lib/libc-2.7.so) ==2402== by 0x8A4D1E: os_thread_sleep (os0thread.c:281) ==2402== by 0x8D6193: srv_error_monitor_thread (srv0srv.c:2143) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 10: status = VgTs_WaitSys ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) ==2402== by 0x8D4A40: srv_master_thread (srv0srv.c:2632) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 11: status = VgTs_WaitSys ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 12: status = VgTs_WaitSys ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 13: status = VgTs_WaitSys ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 14: status = VgTs_WaitSys ==2402== at 0x4C2C428: (within /lib/libpthread-2.7.so) ==2402== by 0xA78E70: ntse::File::write(unsigned long long, unsigned int, void const*) (FileLin.cpp:151) ==2402== by 0xA2C8E1: ntse::Buffer::writePage(ntse::Session*, ntse::BufferPageHdr*) (Buffer.cpp:527) ==2402== by 0xA329A7: ntse::Buffer::flushDirtyPages(ntse::Session*, ntse::File*, unsigned long long, unsigned long long) (Buffer.cpp:668) ==2402== by 0xA566E0: ntse::BgTask::run() (Session.cpp:1481) ==2402== by 0xA84BF3: ntse::Task::doRun() (Thread.cpp:389) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 15: status = VgTs_WaitSys ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 16: status = VgTs_WaitSys ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 17: status = VgTs_WaitSys ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 18: status = VgTs_WaitSys ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in /lib/libpthread-2.7.so) ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 19: status = VgTs_WaitSys ==2402== at 0x4C2C797: do_sigwait (in /lib/libpthread-2.7.so) ==2402== by 0x4C2C83C: sigwait (in /lib/libpthread-2.7.so) ==2402== by 0x676B22: signal_hand (mysqld.cc:2715) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 20: status = VgTs_WaitSys ==2402== at 0x4C2B7DB: (within /lib/libpthread-2.7.so) ==2402== by 0x66ACB6: my_real_read(st_net*, unsigned long*) (net_serv.cc:815) ==2402== by 0x66B2D3: my_net_read (net_serv.cc:996) ==2402== by 0x68E88F: do_command(THD*) (sql_parse.cc:799) ==2402== by 0x680FFC: handle_one_connection (sql_connect.cc:1115) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Thread 21: status = VgTs_WaitSys ==2402== at 0x4C2C398: (within /lib/libpthread-2.7.so) ==2402== by 0xA78DB0: ntse::File::read(unsigned long long, unsigned int, void*) (FileLin.cpp:137) ==2402== by 0xA30C50: ntse::Buffer::readBlock(ntse::Session*, ntse::Bcb*, bool) (Buffer.cpp:1132) ==2402== by 0xA31A96: ntse::Buffer::postAlloc(ntse::Session*, ntse::Bcb*, bool, ntse::LockMode) (Buffer.cpp:1046) ==2402== by 0xA3248C: ntse::Buffer::doGetPage(ntse::Session*, ntse::File*, ntse::PageType, unsigned long long, ntse::LockMode, bool, ntse::DBObjStats*) (Buffer.cpp:340) ==2402== by 0xA5242A: ntse::Session::getPage(ntse::File*, ntse::PageType, unsigned long long, ntse::LockMode, char const*, unsigned int, ntse::DBObjStats*, ntse::BufferPageHdr*) (Session.cpp:443) ==2402== by 0xA09832: ntse::IndicePageManager::allocPage(ntse::IndexLog*, ntse::Session*, unsigned char, unsigned long long*, unsigned short) (IndexBPTreesManager.cpp:2094) ==2402== by 0xA8883C: ntse::DrsBPTreeIndex::insertSMO(ntse::IndexScanHandleInfo*) (IndexBPTree.cpp:1424) ==2402== by 0xA89216: ntse::DrsBPTreeIndex::insertIndexEntry(ntse::IndexScanHandleInfo*, bool*, bool) (IndexBPTree.cpp:1224) ==2402== by 0xA8A447: ntse::DrsBPTreeIndex::insert(ntse::Session*, ntse::SubRecord const*, bool*, bool) (IndexBPTree.cpp:246) ==2402== by 0xA08EA7: ntse::DrsBPTreeIndice::insertIndexEntries(ntse::Session*, ntse::Record const*, unsigned int*) (IndexBPTreesManager.cpp:114) ==2402== by 0x9E6826: ntse::Table::insert(ntse::Session*, unsigned char const*, unsigned int*, bool) (Table.cpp:1082) ==2402== by 0x9C3E96: ha_ntse::write_row(unsigned char*) (ha_ntse.cpp:1016) ==2402== by 0x76AFE5: handler::ha_write_row(unsigned char*) (handler.cc:4581) ==2402== by 0x6F79EC: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1553) ==2402== by 0x6FB61B: mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) (sql_insert.cc:812) ==2402== by 0x687FAD: mysql_execute_command(THD*) (sql_parse.cc:3088) ==2402== by 0x68D0D6: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:5831) ==2402== by 0x68E008: dispatch_command(enum_server_command, THD*, char*, unsigned int) (sql_parse.cc:1216) ==2402== by 0x68E8FD: do_command(THD*) (sql_parse.cc:857) ==2402== by 0x680FFC: handle_one_connection (sql_connect.cc:1115) ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. ------------------------------------------------------------------------------------------------------------------------------------------------------- Can't figure out what to do. Anyone can help? Best wishes, Kenneth Tse Email: xie...@gm... Twitter: kenneth_tse |
|
From: Julian S. <js...@ac...> - 2009-08-24 14:33:30
|
On Monday 24 August 2009 10:22:27 am Ken wrote: > I used callgrind to profile a storage engine of mysql and got this out put. > Callgrind: threads.c:247 (vgCallgrind_post_signal): Assertion 'tid == > vgCallgrind_current_tid' failed. I think that's been fixed in 3.5.0 (not 100% sure though). Upgrade and try again. J |
|
From: Ken <xie...@gm...> - 2009-08-25 02:52:20
|
I just tried 3.50 and still the same bug occured. :( On Mon, Aug 24, 2009 at 10:33 PM, Julian Seward<js...@ac...> wrote: > On Monday 24 August 2009 10:22:27 am Ken wrote: >> I used callgrind to profile a storage engine of mysql and got this out put. > >> Callgrind: threads.c:247 (vgCallgrind_post_signal): Assertion 'tid == >> vgCallgrind_current_tid' failed. > > I think that's been fixed in 3.5.0 (not 100% sure though). Upgrade > and try again. > > J > > |
|
From: Josef W. <Jos...@gm...> - 2009-08-26 15:33:32
|
On Monday 24 August 2009, Ken wrote: > I used callgrind to profile a storage engine of mysql and got this out put. Can you add a bug report for your problem? It is probably related to bug 177956, but I am not sure (the latter is about switching on/off instrumentation). Next important question: Any way for me to reproduce it? Thanks for the report, Josef > > ------------------------------------------------------------------------------------------------------------------------------------------------------------- > ==2402== Callgrind, a call-graph generating cache profiler. > ==2402== Copyright (C) 2002-2008, and GNU GPL'd, by Josef Weidendorfer et al. > ==2402== Using LibVEX rev 1884, a library for dynamic binary translation. > ==2402== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP. > ==2402== Using valgrind-3.4.1-Debian, a dynamic binary instrumentation > framework. > ==2402== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al. > ==2402== For more details, rerun with: -v > ==2402== > ==2402== For interactive control, run 'callgrind_control -h'. > 090820 12:53:25 [Warning] The syntax '--log_slow_queries' is > deprecated and will be removed in MySQL 7.0. Please use > '--slow_query_log'/'--slow_query_log_file' instead. > (none) > > Callgrind: threads.c:247 (vgCallgrind_post_signal): Assertion 'tid == > vgCallgrind_current_tid' failed. > ==2402== at 0x3801A7FC: report_and_quit (m_libcassert.c:140) > ==2402== by 0x3801AB0A: vgPlain_assert_fail (m_libcassert.c:205) > ==2402== by 0x38017DFC: vgCallgrind_post_signal (threads.c:247) > ==2402== by 0x38084B09: > vgSysWrap_amd64_linux_sys_rt_sigreturn_before > (syswrap-amd64-linux.c:493) > ==2402== by 0x3803EA50: vgPlain_client_syscall (syswrap-main.c:942) > ==2402== by 0x3803BF22: handle_syscall (scheduler.c:824) > ==2402== by 0x3803CF26: vgPlain_scheduler (scheduler.c:1018) > ==2402== by 0x3804F560: run_a_thread_NORETURN (syswrap-linux.c:89) > ==2402== by 0x3804F78A: vgModuleLocal_start_thread_NORETURN > (syswrap-linux.c:212) > ==2402== by 0x38081A3D: (within /usr/lib/valgrind/amd64-linux/callgrind) > ==2402== by 0xDEADBEEFDEADBEEE: ??? > > sched status: > running_tid=2 > > Thread 1: status = VgTs_WaitSys > ==2402== at 0x5F13CE2: select (in /lib/libc-2.7.so) > ==2402== by 0x67B353: handle_connections_sockets (mysqld.cc:4948) > ==2402== by 0x67BF27: main (mysqld.cc:4447) > > Thread 2: status = VgTs_Runnable > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 3: status = VgTs_Yielding > ==2402== at 0x4C2B4C5: __lll_unlock_wake (in /lib/libpthread-2.7.so) > ==2402== by 0x4C27FF8: _L_unlock_56 (in /lib/libpthread-2.7.so) > ==2402== by 0x4C27C54: __pthread_mutex_unlock_usercnt (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9F1: ntse::Event::wait(int, long) (Sync.cpp:432) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 4: status = VgTs_WaitSys > ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) > ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) > ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) > ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 5: status = VgTs_WaitSys > ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) > ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) > ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) > ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 6: status = VgTs_WaitSys > ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) > ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) > ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) > ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 7: status = VgTs_WaitSys > ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) > ==2402== by 0x8A1BEE: os_aio_simulated_handle (os0file.c:4207) > ==2402== by 0x86AC90: fil_aio_wait (fil0fil.c:4246) > ==2402== by 0x8D80E7: io_handler_thread (srv0start.c:435) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 8: status = VgTs_WaitSys > ==2402== at 0x5F13CE2: select (in /lib/libc-2.7.so) > ==2402== by 0x8A4D1E: os_thread_sleep (os0thread.c:281) > ==2402== by 0x8D6BD4: srv_lock_timeout_and_monitor_thread (srv0srv.c:1917) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 9: status = VgTs_WaitSys > ==2402== at 0x5F13CE2: select (in /lib/libc-2.7.so) > ==2402== by 0x8A4D1E: os_thread_sleep (os0thread.c:281) > ==2402== by 0x8D6193: srv_error_monitor_thread (srv0srv.c:2143) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 10: status = VgTs_WaitSys > ==2402== at 0x4C28D29: pthread_cond_wait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0x8A3FA4: os_event_wait_low (os0sync.c:422) > ==2402== by 0x8D4A40: srv_master_thread (srv0srv.c:2632) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 11: status = VgTs_WaitSys > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 12: status = VgTs_WaitSys > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 13: status = VgTs_WaitSys > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 14: status = VgTs_WaitSys > ==2402== at 0x4C2C428: (within /lib/libpthread-2.7.so) > ==2402== by 0xA78E70: ntse::File::write(unsigned long long, > unsigned int, void const*) (FileLin.cpp:151) > ==2402== by 0xA2C8E1: ntse::Buffer::writePage(ntse::Session*, > ntse::BufferPageHdr*) (Buffer.cpp:527) > ==2402== by 0xA329A7: ntse::Buffer::flushDirtyPages(ntse::Session*, > ntse::File*, unsigned long long, unsigned long long) (Buffer.cpp:668) > ==2402== by 0xA566E0: ntse::BgTask::run() (Session.cpp:1481) > ==2402== by 0xA84BF3: ntse::Task::doRun() (Thread.cpp:389) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 15: status = VgTs_WaitSys > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 16: status = VgTs_WaitSys > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 17: status = VgTs_WaitSys > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 18: status = VgTs_WaitSys > ==2402== at 0x4C28FAD: pthread_cond_timedwait@@GLIBC_2.3.2 (in > /lib/libpthread-2.7.so) > ==2402== by 0xA7E9D8: ntse::Event::wait(int, long) (Sync.cpp:370) > ==2402== by 0xA84B19: ntse::Task::doRun() (Thread.cpp:374) > ==2402== by 0xA855A4: ntse::Thread::main() (Thread.cpp:49) > ==2402== by 0xA855F1: ntse::threadProc(void*) (Thread.cpp:36) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 19: status = VgTs_WaitSys > ==2402== at 0x4C2C797: do_sigwait (in /lib/libpthread-2.7.so) > ==2402== by 0x4C2C83C: sigwait (in /lib/libpthread-2.7.so) > ==2402== by 0x676B22: signal_hand (mysqld.cc:2715) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 20: status = VgTs_WaitSys > ==2402== at 0x4C2B7DB: (within /lib/libpthread-2.7.so) > ==2402== by 0x66ACB6: my_real_read(st_net*, unsigned long*) (net_serv.cc:815) > ==2402== by 0x66B2D3: my_net_read (net_serv.cc:996) > ==2402== by 0x68E88F: do_command(THD*) (sql_parse.cc:799) > ==2402== by 0x680FFC: handle_one_connection (sql_connect.cc:1115) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > Thread 21: status = VgTs_WaitSys > ==2402== at 0x4C2C398: (within /lib/libpthread-2.7.so) > ==2402== by 0xA78DB0: ntse::File::read(unsigned long long, unsigned > int, void*) (FileLin.cpp:137) > ==2402== by 0xA30C50: ntse::Buffer::readBlock(ntse::Session*, > ntse::Bcb*, bool) (Buffer.cpp:1132) > ==2402== by 0xA31A96: ntse::Buffer::postAlloc(ntse::Session*, > ntse::Bcb*, bool, ntse::LockMode) (Buffer.cpp:1046) > ==2402== by 0xA3248C: ntse::Buffer::doGetPage(ntse::Session*, > ntse::File*, ntse::PageType, unsigned long long, ntse::LockMode, bool, > ntse::DBObjStats*) (Buffer.cpp:340) > ==2402== by 0xA5242A: ntse::Session::getPage(ntse::File*, > ntse::PageType, unsigned long long, ntse::LockMode, char const*, > unsigned int, ntse::DBObjStats*, ntse::BufferPageHdr*) > (Session.cpp:443) > ==2402== by 0xA09832: > ntse::IndicePageManager::allocPage(ntse::IndexLog*, ntse::Session*, > unsigned char, unsigned long long*, unsigned short) > (IndexBPTreesManager.cpp:2094) > ==2402== by 0xA8883C: > ntse::DrsBPTreeIndex::insertSMO(ntse::IndexScanHandleInfo*) > (IndexBPTree.cpp:1424) > ==2402== by 0xA89216: > ntse::DrsBPTreeIndex::insertIndexEntry(ntse::IndexScanHandleInfo*, > bool*, bool) (IndexBPTree.cpp:1224) > ==2402== by 0xA8A447: ntse::DrsBPTreeIndex::insert(ntse::Session*, > ntse::SubRecord const*, bool*, bool) (IndexBPTree.cpp:246) > ==2402== by 0xA08EA7: > ntse::DrsBPTreeIndice::insertIndexEntries(ntse::Session*, ntse::Record > const*, unsigned int*) (IndexBPTreesManager.cpp:114) > ==2402== by 0x9E6826: ntse::Table::insert(ntse::Session*, unsigned > char const*, unsigned int*, bool) (Table.cpp:1082) > ==2402== by 0x9C3E96: ha_ntse::write_row(unsigned char*) (ha_ntse.cpp:1016) > ==2402== by 0x76AFE5: handler::ha_write_row(unsigned char*) (handler.cc:4581) > ==2402== by 0x6F79EC: write_record(THD*, st_table*, st_copy_info*) > (sql_insert.cc:1553) > ==2402== by 0x6FB61B: mysql_insert(THD*, TABLE_LIST*, List<Item>&, > List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) > (sql_insert.cc:812) > ==2402== by 0x687FAD: mysql_execute_command(THD*) (sql_parse.cc:3088) > ==2402== by 0x68D0D6: mysql_parse(THD*, char const*, unsigned int, > char const**) (sql_parse.cc:5831) > ==2402== by 0x68E008: dispatch_command(enum_server_command, THD*, > char*, unsigned int) (sql_parse.cc:1216) > ==2402== by 0x68E8FD: do_command(THD*) (sql_parse.cc:857) > ==2402== by 0x680FFC: handle_one_connection (sql_connect.cc:1115) > ==2402== by 0x4C24FC6: start_thread (in /lib/libpthread-2.7.so) > ==2402== by 0x5F1A5AC: clone (in /lib/libc-2.7.so) > > > Note: see also the FAQ.txt in the source distribution. > It contains workarounds to several common problems. > > If that doesn't help, please report this bug to: www.valgrind.org > > In the bug report, send all the above text, the valgrind > version, and what Linux distro you are using. Thanks. > ------------------------------------------------------------------------------------------------------------------------------------------------------- > > Can't figure out what to do. Anyone can help? > > > Best wishes, > Kenneth Tse > Email: xie...@gm... > Twitter: kenneth_tse > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |