|
From: Joshua Moore-O. <jo...@ch...> - 2003-06-13 20:30:03
|
I was running a lot of data through some stuff bugtesting, when I got this... I'm just duly reporting it. Josh. valgrind: the `impossible' happened: add_waiting_fd: VG_N_WAITING_FDS is too low Basic block ctr is approximately 1200000 sched status: Thread 1: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x40181DD4: (within /usr/lib/valgrind/valgrind.so) ==5789== by 0x40217C4C: __pthread_getspecific_addr (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x402181D0: libc_internal_tsd_address (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x402BCCF3: _IO_vfscanf_internal (in /lib/libc-2.3.1.so) ==5789== by 0x402C50C4: _IO_vsscanf (in /lib/libc-2.3.1.so) ==5789== by 0x402C17CC: __GI_sscanf (in /lib/libc-2.3.1.so) ==5789== by 0x804E62A: ffm_load_data_pair (ffm_load_data_pair.c:5) ==5789== by 0x804E5C8: ffm_fill (ffm_fill.c:10) ==5789== by 0x804E19F: ffm_load_from_buffer (ffm_load_from_buffer.c:51) ==5789== by 0x804DE1F: ffm_load_from_file (ffm_load_from_file.c:28) ==5789== by 0x804D6AD: thread_data_init (thread_data_init.c:32) ==5789== by 0x804C37F: main (main.c:73) ==5789== by 0x40274DC3: __libc_start_main (in /lib/libc-2.3.1.so) ==5789== by 0x804A2A0: (within /home/chatgris/code/mastermailings/code/daemons/sendparser/sendctrl) Thread 2: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804D4BA: send_value_get_response (send_value_get_response.c:10) ==5789== by 0x804D2C3: send_message_source (send_message_source.c:13) ==5789== by 0x804CDCE: send_message (send_message.c:54) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 3: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804D4BA: send_value_get_response (send_value_get_response.c:10) ==5789== by 0x804D2C3: send_message_source (send_message_source.c:13) ==5789== by 0x804CDCE: send_message (send_message.c:54) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 4: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804D4BA: send_value_get_response (send_value_get_response.c:10) ==5789== by 0x804D414: send_priority (send_priority.c:24) ==5789== by 0x804CD85: send_message (send_message.c:47) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 5: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804D4BA: send_value_get_response (send_value_get_response.c:10) ==5789== by 0x804D414: send_priority (send_priority.c:24) ==5789== by 0x804CD85: send_message (send_message.c:47) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 6: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804CD3D: send_message (send_message.c:41) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 7: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804CD3D: send_message (send_message.c:41) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 8: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804CD3D: send_message (send_message.c:41) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 9: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804CD3D: send_message (send_message.c:41) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 10: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804CD3D: send_message (send_message.c:41) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 11: status = WaitFD, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804CD3D: send_message (send_message.c:41) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 12: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x4032D934: __GI___libc_read (in /lib/libc-2.3.1.so) ==5789== by 0x804C586: netstring_get (netstring_get.c:10) ==5789== by 0x804CD3D: send_message (send_message.c:41) ==5789== by 0x40216569: thread_wrapper (in /usr/lib/valgrind/libpthread.so) ==5789== by 0x40165C6E: do__quit (in /usr/lib/valgrind/valgrind.so) Thread 13: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x402164BD: thread_wrapper (in /usr/lib/valgrind/libpthread.so) Thread 14: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x402164BD: thread_wrapper (in /usr/lib/valgrind/libpthread.so) Thread 15: status = Runnable, associated_mx = 0x0, associated_cv = 0x0 ==5789== at 0x402164BD: thread_wrapper (in /usr/lib/valgrind/libpthread.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: js...@ac... In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. |
|
From: Nicholas N. <nj...@ca...> - 2003-06-14 10:23:33
|
On Fri, 13 Jun 2003, Joshua Moore-Oliva wrote: > I was running a lot of data through some stuff bugtesting, when I got this... > > I'm just duly reporting it. > > valgrind: the `impossible' happened: > add_waiting_fd: VG_N_WAITING_FDS is too low > Basic block ctr is approximately 1200000 It's easy to fix, VG_N_WAITING_FDS is just a constant chosen for a table size. It's defined in coregrind/vg_include.h as 10, if you bump it up to 20 or 50 or something, hopefully that will fix the problem. And we should probably do likewise in the CVS head now that you've hit your head against the limit. Thanks for the report. N |