GCC 4.3.0 Odd behavior w/compile & check




Putting x86/cld issues aside with gcc 4.3.0, I decided to give it a try.
So on two machines I starting building it. The first, a Pentium 4. I
noticed while it was compiling, and then really after during 'make check',
this sort of stuff in syslog:


Apr 27 20:14:12 atr2 kernel: sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: nscd S 00000000 0 17039 1
Apr 27 20:14:12 atr2 kernel: c8e76900 00000086 00000000 00000000 c0547e70 8001b3a4 c0123458 0000002a
Apr 27 20:14:12 atr2 kernel: 000056b2 c037276c 00000000 00000064 c037276c c037276c c0549e70 c0372774
Apr 27 20:14:12 atr2 kernel: c0547ed0 c0547ed0 c037276c 8001b000 c8e76900 000003a4 ffffffff 00000000
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [futex_wait+359/623] futex_wait+0x167/0x26f
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [do_futex+95/2166] do_futex+0x5f/0x876
Apr 27 20:14:12 atr2 kernel: [__wake_up_common+49/86] __wake_up_common+0x31/0x56
Apr 27 20:14:12 atr2 kernel: [mntput_no_expire+19/87] mntput_no_expire+0x13/0x57
Apr 27 20:14:12 atr2 kernel: [destroy_inode+43/58] destroy_inode+0x2b/0x3a
Apr 27 20:14:12 atr2 kernel: [d_kill+52/67] d_kill+0x34/0x43
Apr 27 20:14:12 atr2 kernel: [sys_futex+249/268] sys_futex+0xf9/0x10c
Apr 27 20:14:12 atr2 kernel: [filp_close+81/88] filp_close+0x51/0x58
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: nscd S 00000000 0 17040 1
Apr 27 20:14:12 atr2 kernel: c8e76900 00000086 00000000 00000000 c0549e70 8001b3a4 c0123458 0000002a
Apr 27 20:14:12 atr2 kernel: 000056b4 c037276c 00000000 00000064 c0549e68 c0549e68 c0545e70 c0547e70
Apr 27 20:14:12 atr2 kernel: c0549ed0 c0549ed0 c037276c 8001b000 c8e76900 000003a4 ffffffff 00000000
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [futex_wait+359/623] futex_wait+0x167/0x26f
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [do_futex+95/2166] do_futex+0x5f/0x876
Apr 27 20:14:12 atr2 kernel: [mntput_no_expire+19/87] mntput_no_expire+0x13/0x57
Apr 27 20:14:12 atr2 kernel: [destroy_inode+43/58] destroy_inode+0x2b/0x3a
Apr 27 20:14:12 atr2 kernel: [d_kill+52/67] d_kill+0x34/0x43
Apr 27 20:14:12 atr2 kernel: [sys_futex+249/268] sys_futex+0xf9/0x10c
Apr 27 20:14:12 atr2 kernel: [filp_close+81/88] filp_close+0x51/0x58
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: pppd S 7fffffff 0 15212 1
Apr 27 20:14:12 atr2 kernel: c1d60180 00000082 00000000 7fffffff 00000200 c9dddf4c c0296496 00000001
Apr 27 20:14:12 atr2 kernel: c6306a80 00000202 c8ecd200 00000246 c8ecd200 c9dddbe0 ce89e018 00000000
Apr 27 20:14:12 atr2 kernel: c8f06400 c0150486 c9dddf9c c9dddbe0 00000000 0000000a c9ddde5c c9ddde60
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+19/149] schedule_timeout+0x13/0x95
Apr 27 20:14:12 atr2 kernel: [<ce89e018>] ppp_poll+0x18/0x57 [ppp_generic]
Apr 27 20:14:12 atr2 kernel: [do_select+832/915] do_select+0x340/0x393
Apr 27 20:14:12 atr2 kernel: [__pollwait+0/169] __pollwait+0x0/0xa9
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [mempool_alloc+45/158] mempool_alloc+0x2d/0x9e
Apr 27 20:14:12 atr2 kernel: [elv_rb_add+71/79] elv_rb_add+0x47/0x4f
Apr 27 20:14:12 atr2 kernel: [deadline_add_rq_rb+25/44] deadline_add_rq_rb+0x19/0x2c
Apr 27 20:14:12 atr2 kernel: [deadline_add_request+24/59] deadline_add_request+0x18/0x3b
Apr 27 20:14:12 atr2 kernel: [ide_map_sg+41/145] ide_map_sg+0x29/0x91
Apr 27 20:14:12 atr2 kernel: [enqueue_entity+43/61] enqueue_entity+0x2b/0x3d
Apr 27 20:14:12 atr2 kernel: [enqueue_task_fair+22/36] enqueue_task_fair+0x16/0x24
Apr 27 20:14:12 atr2 kernel: [enqueue_task+10/20] enqueue_task+0xa/0x14
Apr 27 20:14:12 atr2 kernel: [__wake_up_common+49/86] __wake_up_common+0x31/0x56
Apr 27 20:14:12 atr2 kernel: [sock_def_readable+39/75] sock_def_readable+0x27/0x4b
Apr 27 20:14:12 atr2 kernel: [unix_dgram_sendmsg+886/993] unix_dgram_sendmsg+0x376/0x3e1
Apr 27 20:14:12 atr2 kernel: [tick_handle_periodic+15/83] tick_handle_periodic+0xf/0x53
Apr 27 20:14:12 atr2 kernel: [sock_sendmsg+187/211] sock_sendmsg+0xbb/0xd3
Apr 27 20:14:12 atr2 kernel: [__do_softirq+53/117] __do_softirq+0x35/0x75
Apr 27 20:14:12 atr2 kernel: [autoremove_wake_function+0/51] autoremove_wake_function+0x0/0x33
Apr 27 20:14:12 atr2 kernel: [core_sys_select+470/655] core_sys_select+0x1d6/0x28f
Apr 27 20:14:12 atr2 kernel: [sys_sendto+280/312] sys_sendto+0x118/0x138
Apr 27 20:14:12 atr2 kernel: [d_lookup+22/49] d_lookup+0x16/0x31
Apr 27 20:14:12 atr2 kernel: [proc_flush_task+273/495] proc_flush_task+0x111/0x1ef
Apr 27 20:14:12 atr2 kernel: [release_task+483/613] release_task+0x1e3/0x265
Apr 27 20:14:12 atr2 last message repeated 2 times
Apr 27 20:14:12 atr2 kernel: [release_task+581/613] release_task+0x245/0x265
Apr 27 20:14:12 atr2 kernel: [do_wait+2280/2386] do_wait+0x8e8/0x952
Apr 27 20:14:12 atr2 kernel: [<ce8a0d30>] ppp_read+0xd1/0x10d [ppp_generic]
Apr 27 20:14:12 atr2 kernel: [sys_select+160/359] sys_select+0xa0/0x167
Apr 27 20:14:12 atr2 kernel: [recalc_sigpending+10/27] recalc_sigpending+0xa/0x1b
Apr 27 20:14:12 atr2 kernel: [sigprocmask+134/144] sigprocmask+0x86/0x90
Apr 27 20:14:12 atr2 kernel: [sys_rt_sigprocmask+67/143] sys_rt_sigprocmask+0x43/0x8f
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: [packet_poll+52/86] packet_poll+0x34/0x56
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: p0f S 7fffffff 0 21046 1
Apr 27 20:14:12 atr2 kernel: c8d6e780 00000082 00000000 7fffffff 00000000 c8ecd464 c0296496 00000ca4
Apr 27 20:14:12 atr2 kernel: 00000090 c1027ba0 c3ff3e40 c015fce8 00000d34 00000202 00000000 00000000
Apr 27 20:14:12 atr2 kernel: c8ecd400 c02378be 00000000 7fffffff 00000001 c9c7b540 c011d66e c42c2b18
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+19/149] schedule_timeout+0x13/0x95
Apr 27 20:14:12 atr2 kernel: [block_write_end+77/85] block_write_end+0x4d/0x55
Apr 27 20:14:12 atr2 kernel: [skb_recv_datagram+281/375] skb_recv_datagram+0x119/0x177
Apr 27 20:14:12 atr2 kernel: [autoremove_wake_function+0/51] autoremove_wake_function+0x0/0x33
Apr 27 20:14:12 atr2 kernel: [packet_recvmsg+71/407] packet_recvmsg+0x47/0x197
Apr 27 20:14:12 atr2 kernel: [sock_recvmsg+206/231] sock_recvmsg+0xce/0xe7
Apr 27 20:14:12 atr2 kernel: [autoremove_wake_function+0/51] autoremove_wake_function+0x0/0x33
Apr 27 20:14:12 atr2 kernel: [generic_file_aio_write+103/190] generic_file_aio_write+0x67/0xbe
Apr 27 20:14:12 atr2 kernel: [sys_recvfrom+215/299] sys_recvfrom+0xd7/0x12b
Apr 27 20:14:12 atr2 kernel: [do_sync_write+0/265] do_sync_write+0x0/0x109
Apr 27 20:14:12 atr2 kernel: [do_sync_write+198/265] do_sync_write+0xc6/0x109
Apr 27 20:14:12 atr2 kernel: [autoremove_wake_function+20/51] autoremove_wake_function+0x14/0x33
Apr 27 20:14:12 atr2 kernel: [autoremove_wake_function+0/51] autoremove_wake_function+0x0/0x33
Apr 27 20:14:12 atr2 kernel: [copy_to_user+37/58] copy_to_user+0x25/0x3a
Apr 27 20:14:12 atr2 kernel: [sock_get_timestamp+110/125] sock_get_timestamp+0x6e/0x7d
Apr 27 20:14:12 atr2 kernel: [sys_socketcall+432/578] sys_socketcall+0x1b0/0x242
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: [packet_poll+52/86] packet_poll+0x34/0x56
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: silcd S c8f0df48 0 21095 1
Apr 27 20:14:12 atr2 kernel: c1d60d80 00000082 05f2d150 c8f0df48 c8f38e4c c8f38e40 c02964fb 00010400
Apr 27 20:14:12 atr2 kernel: c01a7663 c0371290 c0371290 05f2d150 c0115f3a c9ca3a90 c0370a00 c8f38e4c
Apr 27 20:14:12 atr2 kernel: c8f38e5c c01668f1 c8f0df9c c8f38e4c c8f38e5c c8f0df9c c04bd700 00002328
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+120/149] schedule_timeout+0x78/0x95
Apr 27 20:14:12 atr2 kernel: [copy_to_user+37/58] copy_to_user+0x25/0x3a
Apr 27 20:14:12 atr2 kernel: [process_timeout+0/5] process_timeout+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sys_epoll_wait+317/878] sys_epoll_wait+0x13d/0x36e
Apr 27 20:14:12 atr2 kernel: [recalc_sigpending+10/27] recalc_sigpending+0xa/0x1b
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: proftpd S c9de3b70 0 21156 1
Apr 27 20:14:12 atr2 kernel: c8d6e480 00200082 05f2e722 c9de3b70 00000002 c9de3f4c c02964fb c9ef5080
Apr 27 20:14:12 atr2 kernel: c0260b3a c0371340 c0335758 05f2e722 c0115f3a c8e8b540 c0370a00 00000000
Apr 27 20:14:12 atr2 kernel: c9ecca80 c0150486 c9de3f9c c9de3be0 00000000 00000002 c9de3e5c c9de3e60
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+120/149] schedule_timeout+0x78/0x95
Apr 27 20:14:12 atr2 kernel: [tcp_poll+25/287] tcp_poll+0x19/0x11f
Apr 27 20:14:12 atr2 kernel: [process_timeout+0/5] process_timeout+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [do_select+832/915] do_select+0x340/0x393
Apr 27 20:14:12 atr2 kernel: [__pollwait+0/169] __pollwait+0x0/0xa9
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [blk_recount_segments+39/72] blk_recount_segments+0x27/0x48
Apr 27 20:14:12 atr2 kernel: [elv_rb_add+71/79] elv_rb_add+0x47/0x4f
Apr 27 20:14:12 atr2 kernel: [blk_remove_plug+78/90] blk_remove_plug+0x4e/0x5a
Apr 27 20:14:12 atr2 kernel: [mempool_alloc+45/158] mempool_alloc+0x2d/0x9e
Apr 27 20:14:12 atr2 kernel: [elv_rb_add+71/79] elv_rb_add+0x47/0x4f
Apr 27 20:14:12 atr2 kernel: [deadline_add_rq_rb+25/44] deadline_add_rq_rb+0x19/0x2c
Apr 27 20:14:12 atr2 kernel: [mark_page_accessed+28/46] mark_page_accessed+0x1c/0x2e
Apr 27 20:14:12 atr2 kernel: [read_cache_page_async+277/286] read_cache_page_async+0x115/0x11e
Apr 27 20:14:12 atr2 kernel: [ext2_readpage+0/12] ext2_readpage+0x0/0xc
Apr 27 20:14:12 atr2 kernel: [read_cache_page+16/63] read_cache_page+0x10/0x3f
Apr 27 20:14:12 atr2 kernel: [ext2_get_page+49/589] ext2_get_page+0x31/0x24d
Apr 27 20:14:12 atr2 kernel: [blk_recount_segments+39/72] blk_recount_segments+0x27/0x48
Apr 27 20:14:12 atr2 kernel: [autoremove_wake_function+20/51] autoremove_wake_function+0x14/0x33
Apr 27 20:14:12 atr2 kernel: [ide_build_dmatable+50/353] ide_build_dmatable+0x32/0x161
Apr 27 20:14:12 atr2 kernel: [ext2_find_entry+287/419] ext2_find_entry+0x11f/0x1a3
Apr 27 20:14:12 atr2 kernel: [__delay+6/7] __delay+0x6/0x7
Apr 27 20:14:12 atr2 kernel: [__d_lookup+132/198] __d_lookup+0x84/0xc6
Apr 27 20:14:12 atr2 kernel: [do_lookup+79/320] do_lookup+0x4f/0x140
Apr 27 20:14:12 atr2 kernel: [__d_lookup+132/198] __d_lookup+0x84/0xc6
Apr 27 20:14:12 atr2 kernel: [do_lookup+79/320] do_lookup+0x4f/0x140
Apr 27 20:14:12 atr2 kernel: [dput+33/215] dput+0x21/0xd7
Apr 27 20:14:12 atr2 kernel: [mntput_no_expire+19/87] mntput_no_expire+0x13/0x57
Apr 27 20:14:12 atr2 kernel: [__link_path_walk+2564/2589] __link_path_walk+0xa04/0xa1d
Apr 27 20:14:12 atr2 kernel: [core_sys_select+470/655] core_sys_select+0x1d6/0x28f
Apr 27 20:14:12 atr2 kernel: [enqueue_hrtimer+90/98] enqueue_hrtimer+0x5a/0x62
Apr 27 20:14:12 atr2 kernel: [do_path_lookup+305/332] do_path_lookup+0x131/0x14c
Apr 27 20:14:12 atr2 kernel: [__user_walk_fd+61/69] __user_walk_fd+0x3d/0x45
Apr 27 20:14:12 atr2 kernel: [vfs_lstat_fd+22/61] vfs_lstat_fd+0x16/0x3d
Apr 27 20:14:12 atr2 kernel: [enqueue_hrtimer+90/98] enqueue_hrtimer+0x5a/0x62
Apr 27 20:14:12 atr2 kernel: [sys_select+160/359] sys_select+0xa0/0x167
Apr 27 20:14:12 atr2 kernel: [alarm_setitimer+54/92] alarm_setitimer+0x36/0x5c
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: snmpd S c14b9b70 0 21191 1
Apr 27 20:14:12 atr2 kernel: c8eee480 00200082 05f2c9c8 c14b9b70 00000800 c14b9f4c c02964fb c997d580
Apr 27 20:14:12 atr2 kernel: c9ecc480 c8ffdb70 c0326a5c 05f2c9c8 c0115f3a c8e40550 c0370a00 00000000
Apr 27 20:14:12 atr2 kernel: c9ecc480 c0150486 c14b9f9c c14b9be0 00000000 0000000c c14b9e5c c14b9e60
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+120/149] schedule_timeout+0x78/0x95
Apr 27 20:14:12 atr2 kernel: [process_timeout+0/5] process_timeout+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [do_select+832/915] do_select+0x340/0x393
Apr 27 20:14:12 atr2 kernel: [__pollwait+0/169] __pollwait+0x0/0xa9
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 last message repeated 5 times
Apr 27 20:14:12 atr2 kernel: [rmqueue_bulk+36/80] rmqueue_bulk+0x24/0x50
Apr 27 20:14:12 atr2 kernel: [number+327/537] number+0x147/0x219
Apr 27 20:14:12 atr2 kernel: [__rmqueue+20/406] __rmqueue+0x14/0x196
Apr 27 20:14:12 atr2 kernel: [enqueue_entity+43/61] enqueue_entity+0x2b/0x3d
Apr 27 20:14:12 atr2 kernel: [proc_alloc_inode+56/85] proc_alloc_inode+0x38/0x55
Apr 27 20:14:12 atr2 kernel: [security_inode_alloc+22/23] security_inode_alloc+0x16/0x17
Apr 27 20:14:12 atr2 kernel: [alloc_inode+279/388] alloc_inode+0x117/0x184
Apr 27 20:14:12 atr2 kernel: [iget_locked+86/261] iget_locked+0x56/0x105
Apr 27 20:14:12 atr2 kernel: [vsnprintf+1070/1130] vsnprintf+0x42e/0x46a
Apr 27 20:14:12 atr2 kernel: [d_instantiate+54/65] d_instantiate+0x36/0x41
Apr 27 20:14:12 atr2 kernel: [proc_lookup+133/160] proc_lookup+0x85/0xa0
Apr 27 20:14:12 atr2 kernel: [proc_root_lookup+14/38] proc_root_lookup+0xe/0x26
Apr 27 20:14:12 atr2 kernel: [do_lookup+79/320] do_lookup+0x4f/0x140
Apr 27 20:14:12 atr2 kernel: [dput+33/215] dput+0x21/0xd7
Apr 27 20:14:12 atr2 kernel: [__link_path_walk+2301/2589] __link_path_walk+0x8fd/0xa1d
Apr 27 20:14:12 atr2 kernel: [core_sys_select+470/655] core_sys_select+0x1d6/0x28f
Apr 27 20:14:12 atr2 kernel: [number+327/537] number+0x147/0x219
Apr 27 20:14:12 atr2 kernel: [get_unused_fd_flags+73/168] get_unused_fd_flags+0x49/0xa8
Apr 27 20:14:12 atr2 kernel: [vsnprintf+1070/1130] vsnprintf+0x42e/0x46a
Apr 27 20:14:12 atr2 kernel: [vmstat_stop+11/20] vmstat_stop+0xb/0x14
Apr 27 20:14:12 atr2 kernel: [copy_to_user+37/58] copy_to_user+0x25/0x3a
Apr 27 20:14:12 atr2 kernel: [proc_delete_inode+0/65] proc_delete_inode+0x0/0x41
Apr 27 20:14:12 atr2 kernel: [destroy_inode+43/58] destroy_inode+0x2b/0x3a
Apr 27 20:14:12 atr2 kernel: [sys_select+160/359] sys_select+0xa0/0x167
Apr 27 20:14:12 atr2 kernel: [copy_to_user+37/58] copy_to_user+0x25/0x3a
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: snmptrapd S c0ae1b70 0 21207 1
Apr 27 20:14:12 atr2 kernel: c8eeec00 00200086 05f2ca48 c0ae1b70 00000100 c0ae1f4c c02964fb c997dc60
Apr 27 20:14:12 atr2 kernel: c9eccd00 c43fdb70 c0321054 05f2ca48 c0115f3a c8dab540 c0370a00 00000000
Apr 27 20:14:12 atr2 kernel: c9eccd00 c0150486 c0ae1f9c c0ae1be0 00000000 00000009 c0ae1e5c c0ae1e60
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+120/149] schedule_timeout+0x78/0x95
Apr 27 20:14:12 atr2 kernel: [process_timeout+0/5] process_timeout+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [do_select+832/915] do_select+0x340/0x393
Apr 27 20:14:12 atr2 kernel: [__pollwait+0/169] __pollwait+0x0/0xa9
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 last message repeated 2 times
Apr 27 20:14:12 atr2 kernel: [wake_bit_function+0/60] wake_bit_function+0x0/0x3c
Apr 27 20:14:12 atr2 kernel: [read_cache_page_async+277/286] read_cache_page_async+0x115/0x11e
Apr 27 20:14:12 atr2 kernel: [ext2_readpage+0/12] ext2_readpage+0x0/0xc
Apr 27 20:14:12 atr2 kernel: [read_cache_page+16/63] read_cache_page+0x10/0x3f
Apr 27 20:14:12 atr2 kernel: [ext2_get_page+49/589] ext2_get_page+0x31/0x24d
Apr 27 20:14:12 atr2 kernel: [sync_buffer+0/46] sync_buffer+0x0/0x2e
Apr 27 20:14:12 atr2 kernel: [out_of_line_wait_on_bit+98/106] out_of_line_wait_on_bit+0x62/0x6a
Apr 27 20:14:12 atr2 kernel: [ext2_find_entry+287/419] ext2_find_entry+0x11f/0x1a3
Apr 27 20:14:12 atr2 kernel: [__bread+98/117] __bread+0x62/0x75
Apr 27 20:14:12 atr2 kernel: [ext2_get_inode+138/241] ext2_get_inode+0x8a/0xf1
Apr 27 20:14:12 atr2 kernel: [__d_lookup+132/198] __d_lookup+0x84/0xc6
Apr 27 20:14:12 atr2 kernel: [do_lookup+79/320] do_lookup+0x4f/0x140
Apr 27 20:14:12 atr2 kernel: [dput+33/215] dput+0x21/0xd7
Apr 27 20:14:12 atr2 kernel: [mntput_no_expire+19/87] mntput_no_expire+0x13/0x57
Apr 27 20:14:12 atr2 kernel: [__link_path_walk+2564/2589] __link_path_walk+0xa04/0xa1d
Apr 27 20:14:12 atr2 kernel: [mntput_no_expire+19/87] mntput_no_expire+0x13/0x57
Apr 27 20:14:12 atr2 kernel: [link_path_walk+165/175] link_path_walk+0xa5/0xaf
Apr 27 20:14:12 atr2 kernel: [__alloc_skb+75/264] __alloc_skb+0x4b/0x108
Apr 27 20:14:12 atr2 kernel: [sock_init_data+81/324] sock_init_data+0x51/0x144
Apr 27 20:14:12 atr2 kernel: [core_sys_select+470/655] core_sys_select+0x1d6/0x28f
Apr 27 20:14:12 atr2 kernel: [unix_find_other+40/296] unix_find_other+0x28/0x128
Apr 27 20:14:12 atr2 kernel: [sk_free+148/169] sk_free+0x94/0xa9
Apr 27 20:14:12 atr2 kernel: [unix_release_sock+347/371] unix_release_sock+0x15b/0x173
Apr 27 20:14:12 atr2 kernel: [unix_stream_connect+709/755] unix_stream_connect+0x2c5/0x2f3
Apr 27 20:14:12 atr2 kernel: [sys_connect+114/156] sys_connect+0x72/0x9c
Apr 27 20:14:12 atr2 kernel: [sk_free+148/169] sk_free+0x94/0xa9
Apr 27 20:14:12 atr2 last message repeated 3 times
Apr 27 20:14:12 atr2 kernel: [destroy_inode+43/58] destroy_inode+0x2b/0x3a
Apr 27 20:14:12 atr2 kernel: [sys_select+160/359] sys_select+0xa0/0x167
Apr 27 20:14:12 atr2 kernel: [copy_to_user+37/58] copy_to_user+0x25/0x3a
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: [packet_poll+52/86] packet_poll+0x34/0x56
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: ircd S c8f85f48 0 21233 1
Apr 27 20:14:12 atr2 kernel: c8eee600 00200086 05f2c5bf c8f85f48 c207658c c2076580 c02964fb 00000010
Apr 27 20:14:12 atr2 kernel: b7c8cd73 c0371000 c0371000 05f2c5bf c0115f3a c8e40000 c0370a00 c207658c
Apr 27 20:14:12 atr2 kernel: c207659c c01668f1 c8f85f9c c207658c c207659c 002fe94a c04bdc00 0000004b
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+120/149] schedule_timeout+0x78/0x95
Apr 27 20:14:12 atr2 kernel: [process_timeout+0/5] process_timeout+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sys_epoll_wait+317/878] sys_epoll_wait+0x13d/0x36e
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sys_gettimeofday+39/83] sys_gettimeofday+0x27/0x53
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: servlink S 7fffffff 0 29714 21233
Apr 27 20:14:12 atr2 kernel: c9ea9180 00200082 00000000 7fffffff 00400000 c8c7df4c c0296496 c9d6f480
Apr 27 20:14:12 atr2 kernel: 00200246 c9d6f480 c8c7dbe0 c02b46e4 00dcc000 c02b52b0 c9dccd80 00000000
Apr 27 20:14:12 atr2 kernel: c9dccd80 c0150486 c8c7df9c 00000000 00000000 00000017 c8c7de5c c8c7de60
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [schedule_timeout+19/149] schedule_timeout+0x13/0x95
Apr 27 20:14:12 atr2 kernel: [do_select+832/915] do_select+0x340/0x393
Apr 27 20:14:12 atr2 kernel: [__pollwait+0/169] __pollwait+0x0/0xa9
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 last message repeated 2 times
Apr 27 20:14:12 atr2 kernel: [do_IRQ+85/104] do_IRQ+0x55/0x68
Apr 27 20:14:12 atr2 kernel: [dev_queue_xmit+471/505] dev_queue_xmit+0x1d7/0x1f9
Apr 27 20:14:12 atr2 kernel: [eth_header+0/182] eth_header+0x0/0xb6
Apr 27 20:14:12 atr2 kernel: [common_interrupt+35/40] common_interrupt+0x23/0x28
Apr 27 20:14:12 atr2 kernel: [death_by_timeout+109/153] death_by_timeout+0x6d/0x99
Apr 27 20:14:12 atr2 kernel: [ip_finish_output+485/490] ip_finish_output+0x1e5/0x1ea
Apr 27 20:14:12 atr2 kernel: [__nf_ct_refresh_acct+202/253] __nf_ct_refresh_acct+0xca/0xfd
Apr 27 20:14:12 atr2 kernel: [tcp_packet+2436/2461] tcp_packet+0x984/0x99d
Apr 27 20:14:12 atr2 kernel: [__kfree_skb+8/97] __kfree_skb+0x8/0x61
Apr 27 20:14:12 atr2 kernel: [skb_checksum+76/570] skb_checksum+0x4c/0x23a
Apr 27 20:14:12 atr2 kernel: [enqueue_entity+43/61] enqueue_entity+0x2b/0x3d
Apr 27 20:14:12 atr2 kernel: [enqueue_task_fair+22/36] enqueue_task_fair+0x16/0x24
Apr 27 20:14:12 atr2 kernel: [enqueue_task+10/20] enqueue_task+0xa/0x14
Apr 27 20:14:12 atr2 kernel: [__wake_up_common+49/86] __wake_up_common+0x31/0x56
Apr 27 20:14:12 atr2 kernel: [__wake_up_locked+28/31] __wake_up_locked+0x1c/0x1f
Apr 27 20:14:12 atr2 kernel: [__wake_up_common+49/86] __wake_up_common+0x31/0x56
Apr 27 20:14:12 atr2 kernel: [__wake_up_locked+28/31] __wake_up_locked+0x1c/0x1f
Apr 27 20:14:12 atr2 kernel: [__wake_up_common+49/86] __wake_up_common+0x31/0x56
Apr 27 20:14:12 atr2 kernel: [sock_def_readable+39/75] sock_def_readable+0x27/0x4b
Apr 27 20:14:12 atr2 kernel: [core_sys_select+470/655] core_sys_select+0x1d6/0x28f
Apr 27 20:14:12 atr2 kernel: [sock_aio_write+183/191] sock_aio_write+0xb7/0xbf
Apr 27 20:14:12 atr2 kernel: [ip_rcv_finish+0/627] ip_rcv_finish+0x0/0x273
Apr 27 20:14:12 atr2 kernel: [do_sync_write+198/265] do_sync_write+0xc6/0x109
Apr 27 20:14:12 atr2 kernel: [autoremove_wake_function+0/51] autoremove_wake_function+0x0/0x33
Apr 27 20:14:12 atr2 kernel: [common_interrupt+35/40] common_interrupt+0x23/0x28
Apr 27 20:14:12 atr2 kernel: [sys_select+160/359] sys_select+0xa0/0x167
Apr 27 20:14:12 atr2 kernel: [sys_write+65/103] sys_write+0x41/0x67
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: make S 00000001 0 22853 10091
Apr 27 20:14:12 atr2 kernel: c8eee780 00000082 c8daaa98 00000001 c8daab70 00000000 c0111d66 00000000
Apr 27 20:14:12 atr2 kernel: 00000000 00000000 00000000 00000000 00000000 c8daab70 00000004 ffffffff
Apr 27 20:14:12 atr2 kernel: c8daaaa0 00000001 00000001 00000000 bf87b49c c0116a10 0804ad10 10000000
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [do_wait+2218/2386] do_wait+0x8aa/0x952
Apr 27 20:14:12 atr2 kernel: [sys_rt_sigaction+102/123] sys_rt_sigaction+0x66/0x7b
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sys_wait4+49/52] sys_wait4+0x31/0x34
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: sh S 00000001 0 24388 22853
Apr 27 20:14:12 atr2 kernel: c8e76c00 00000086 c1eaca98 00000001 c1eacb70 00000000 c0111d66 00000000
Apr 27 20:14:12 atr2 kernel: 00000000 00000000 00000000 00000000 00000000 c1eacb70 00000004 ffffffff
Apr 27 20:14:12 atr2 kernel: c1eacaa0 00000001 00000001 00000000 00000000 081106a8 c2c85fb8 bfb0b07c
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [do_wait+2218/2386] do_wait+0x8aa/0x952
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sys_wait4+49/52] sys_wait4+0x31/0x34
Apr 27 20:14:12 atr2 kernel: [sys_waitpid+39/43] sys_waitpid+0x27/0x2b
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: make S 00000001 0 24402 24388
Apr 27 20:14:12 atr2 kernel: c8e76780 00000082 c9965ff8 00000001 c99660d0 00000000 c0111d66 00000000
Apr 27 20:14:12 atr2 kernel: 00000000 00000000 00000000 00000000 00000000 c99660d0 00000004 ffffffff
Apr 27 20:14:12 atr2 kernel: c9966000 00000001 00000001 00000000 bfd46aac c0116a10 0804ad10 10000000
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [do_wait+2218/2386] do_wait+0x8aa/0x952
Apr 27 20:14:12 atr2 kernel: [sys_rt_sigaction+102/123] sys_rt_sigaction+0x66/0x7b
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sys_wait4+49/52] sys_wait4+0x31/0x34
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: sh S 00000001 0 24872 24402
Apr 27 20:14:12 atr2 kernel: c8d16300 00000086 c8e8ba88 00000001 c8e8bb60 00000000 c0111d66 00000000
Apr 27 20:14:12 atr2 kernel: 00000000 00000000 00000000 00000000 00000000 c8e8bb60 00000004 ffffffff
Apr 27 20:14:12 atr2 kernel: c8e8ba90 00000001 00000001 00000000 00000000 0811a108 c8e9bfb8 bff62d0c
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [do_wait+2218/2386] do_wait+0x8aa/0x952
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [sys_wait4+49/52] sys_wait4+0x31/0x34
Apr 27 20:14:12 atr2 kernel: [sys_waitpid+39/43] sys_waitpid+0x27/0x2b
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: =======================
Apr 27 20:14:12 atr2 kernel: sh S c9d6e000 0 24887 24872
Apr 27 20:14:12 atr2 kernel: c8d16a80 00000082 0000005d c9d6e000 c9f11800 0000005d c01d34dd c9f11800
Apr 27 20:14:12 atr2 kernel: c9eaa480 c9d6e000 00000000 c8e41540 c010c702 c9d6e120 c9d6e120 0000005d
Apr 27 20:14:12 atr2 kernel: c9d6e000 0000005d 00000000 c01d1417 0000005d 0000005d 080d7808 c9eaa480
Apr 27 20:14:12 atr2 kernel: Call Trace:
Apr 27 20:14:12 atr2 kernel: [write_chan+598/659] write_chan+0x256/0x293
Apr 27 20:14:12 atr2 kernel: [default_wake_function+0/5] default_wake_function+0x0/0x5
Apr 27 20:14:12 atr2 kernel: [tty_write+313/431] tty_write+0x139/0x1af
Apr 27 20:14:12 atr2 kernel: [write_chan+0/659] write_chan+0x0/0x293
Apr 27 20:14:12 atr2 kernel: [tty_write+0/431] tty_write+0x0/0x1af
Apr 27 20:14:12 atr2 kernel: [vfs_write+161/291] vfs_write+0xa1/0x123
Apr 27 20:14:12 atr2 kernel: [sys_write+65/103] sys_write+0x41/0x67
Apr 27 20:14:12 atr2 kernel: [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85
Apr 27 20:14:12 atr2 kernel: [packet_poll+52/86] packet_poll+0x34/0x56
Apr 27 20:14:12 atr2 kernel: =======================


Yeah, OOM killer going nuts on the system. Just how much mem was being used?
I had a 600mb swap on top of the normal memory, and on later tries even *that*
was eaten.



While doing make check, the machine locks up. Check the load avg!

# loadavg
1-minute: 24.180000 5-minute: 34.360000 15-minute: 32.110000

WTF x 10!!!


This is as far as it got:

Test Run By root on Mon Apr 28 05:44:46 2008
Native configuration is i686-pc-linux-gnu

=== gcc tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /usr/src/gcc-4.3.0/gcc/testsuite/config/default.exp as tool-and-target-specific interface fil$Running /usr/src/gcc-4.3.0/gcc/testsuite/gcc.c-torture/compile/compile.exp ...


That was the first machine, a Pentium II. The P4 is faster, with more memory,
200mb swap, but saw similar errors. Not as bad, but you could see it was same
type stuff.


silcd[18449]: segfault at 00000000 eip 0814b1e4 esp bfe93c4c error 4


Using sysrq due to the machine lock-up, I check the memory and 600mb of swap is
used, all of it! Plus the normal RAM. What is going on? Massive bugs in kernel
2.6.24.x? I rebooted 2.6.23.17, and will try 'make check' again.

Some time later ...

Now I run top and can see processes start eating memory, but why? httpd, sendmail,
they are not being used now, so why should GCC's 'make check' affect them? They
are 100% different programs from GCC!

PID Mem. CPU

1060 9.2 33660 18m 14m 1152 4952 5712 28 0 S 20 0 0.0 httpd
1115 7.4 91032 77m 11m 1152 60m 2804 0 0 S 20 0 0.0 httpd
1073 5.4 26488 17m 8560 1152 2244 2140 0 0 S 20 0 0.0 httpd
19250 4.0 12260 5840 6420 112 6912 1692 13 0 S 20 0 15.8 expect
3373 3.3 12256 7016 5240 24 2416 1904 0 0 S 20 0 0.0 snmpd
1284 2.3 8452 4756 3696 484 2728 1724 20 0 S 20 0 0.0 zsh
3406 2.3 12960 9364 3596 272 9204 1520 0 0 S 20 0 0.0 ircd
3376 2.2 11048 7508 3540 28 1372 1016 0 0 S 20 0 0.0 snmptrapd
19181 2.2 6748 3228 3520 136 2876 712 0 0 S 20 0 0.0 make
1285 1.7 7072 4316 2756 484 1408 1540 2 0 S 20 0 0.0 zsh
1035 1.7 7152 4404 2748 640 1544 1392 2 0 S 20 0 0.0 sendmail
1109 1.4 8836 6536 2300 3368 1220 1600 11 0 S 20 0 0.0 smbd
18212 1.3 5424 3272 2152 136 1552 704 0 0 S 20 0 0.0 make
18196 1.3 5308 3244 2064 136 1436 668 3 0 S 20 0 0.0 make
1038 1.2 7096 5124 1972 640 1488 800 0 0 S 20 0 0.0 sendmail
3336 1.2 5780 3900 1880 624 1056 676 0 0 S 20 0 0.3 proftpd
19147 1.0 5168 3564 1604 528 504 1052 0 0 S 20 0 0.0 sh
18198 0.9 5092 3596 1496 528 428 1052 0 0 S 20 0 0.0 sh
19241 0.9 5060 3652 1408 528 396 992 0 0 S 20 0 0.0 sh
1104 0.9 4152 2776 1376 956 1088 944 1 0 S 20 0 0.0 nmbd
3305 0.8 11512 9.9m 1340 1008 8452 1112 1 0 S 20 0 0.0 silcd
19156 0.7 5212 4168 1044 528 548 444 0 0 S 20 0 0.0 sh


(Normal mem. column is usually 0.x except for the running process. )


sar shows heavy usage. 'make check' ran at 5:44am or so:
(user is first column, last is idle)

05:44:34 AM all 3.03 0.00 2.34 0.42 0.00 94.21
05:47:34 AM all 54.76 0.01 44.04 1.19 0.00 0.00
05:50:34 AM all 91.02 0.00 8.89 0.09 0.00 0.00
05:53:34 AM all 99.38 0.00 0.62 0.00 0.00 0.00
05:56:34 AM all 99.36 0.00 0.64 0.00 0.00 0.00
05:59:34 AM all 99.33 0.00 0.67 0.00 0.00 0.00
06:02:39 AM all 97.97 0.33 1.68 0.02 0.00 0.00
06:05:39 AM all 54.98 0.00 44.59 0.43 0.00 0.00
06:08:39 AM all 58.29 0.00 41.30 0.42 0.00 0.00
06:11:39 AM all 54.13 0.00 45.46 0.41 0.00 0.00
06:14:39 AM all 57.30 0.00 42.37 0.33 0.00 0.00
06:17:39 AM all 61.01 0.01 38.70 0.28 0.00 0.00
06:20:39 AM all 61.85 0.00 37.88 0.27 0.00 0.00
06:23:39 AM all 61.38 0.00 38.34 0.27 0.00 0.00
06:26:39 AM all 64.47 0.00 35.31 0.23 0.00 0.00
06:29:39 AM all 56.91 0.01 42.80 0.28 0.00 0.00
06:32:39 AM all 57.14 0.01 42.58 0.27 0.00 0.00
06:35:39 AM all 59.50 0.00 40.22 0.28 0.00 0.00
06:38:39 AM all 55.92 0.01 43.71 0.37 0.00 0.00
06:41:39 AM all 78.95 0.00 20.88 0.17 0.00 0.00
06:44:39 AM all 98.60 0.00 1.39 0.01 0.00 0.00
06:47:39 AM all 99.47 0.00 0.53 0.00 0.00 0.00
06:50:39 AM all 95.78 0.00 4.19 0.02 0.00 0.00
06:53:39 AM all 92.94 0.00 5.28 1.78 0.00 0.00
06:56:39 AM all 99.75 0.00 0.25 0.00 0.00 0.00
06:59:39 AM all 99.72 0.00 0.28 0.00 0.00 0.00
07:02:39 AM all 99.62 0.04 0.34 0.00 0.00 0.00
07:05:39 AM all 97.79 0.00 2.20 0.01 0.00 0.00
07:08:39 AM all 90.62 0.00 6.18 3.21 0.00 0.00
07:11:39 AM all 99.52 0.00 0.48 0.00 0.00 0.00
07:14:39 AM all 99.62 0.00 0.38 0.00 0.00 0.00
Average: all 76.81 0.33 7.27 4.79 0.00 10.79


(Total lock-up and reboot here)

12:57:31 PM LINUX RESTART


Again, the same thing happens:

1-minute: 18.020000 5-minute: 28.710000 15-minute: 29.430000

12:57:31 PM CPU %user %nice %system %iowait %steal %idle
01:00:31 PM all 5.41 43.06 33.51 5.29 0.00 12.73
01:03:31 PM all 0.93 56.79 39.39 2.89 0.00 0.00
01:06:31 PM all 16.90 41.91 38.08 3.10 0.00 0.00
01:09:31 PM all 1.77 54.12 40.92 3.19 0.00 0.00
01:12:31 PM all 1.01 34.52 26.87 0.84 0.00 36.76
01:15:31 PM all 39.46 0.00 31.79 3.02 0.00 25.73
01:18:31 PM all 76.44 0.00 23.34 0.22 0.00 0.00
01:21:31 PM all 98.74 0.00 1.26 0.00 0.00 0.00
01:24:31 PM all 99.09 0.00 0.91 0.00 0.00 0.00
01:27:31 PM all 99.35 0.00 0.65 0.00 0.00 0.00
01:30:31 PM all 99.36 0.00 0.64 0.00 0.00 0.00
01:33:31 PM all 68.99 0.00 30.46 0.56 0.00 0.00
01:36:31 PM all 57.20 0.00 42.33 0.47 0.00 0.00
01:39:31 PM all 55.14 0.00 44.48 0.38 0.00 0.00
01:42:31 PM all 56.86 0.00 42.79 0.35 0.00 0.00
01:45:31 PM all 54.76 0.00 44.95 0.29 0.00 0.00
01:48:31 PM all 66.32 0.00 33.09 0.59 0.00 0.00
01:51:31 PM all 61.03 0.00 38.79 0.18 0.00 0.00
01:54:31 PM all 66.40 0.00 33.40 0.20 0.00 0.00
01:57:31 PM all 55.04 0.00 44.66 0.30 0.00 0.00
02:00:31 PM all 58.42 0.01 41.32 0.25 0.00 0.00
02:03:31 PM all 58.32 0.26 41.33 0.09 0.00 0.00
02:06:31 PM all 57.25 0.51 42.24 0.00 0.00 0.00
02:09:31 PM all 68.83 0.33 30.76 0.09 0.00 0.00
02:12:31 PM all 96.80 0.13 3.07 0.00 0.00 0.00
02:15:31 PM all 99.41 0.24 0.35 0.00 0.00 0.00
02:18:31 PM all 98.44 0.24 1.32 0.00 0.00 0.00
02:21:31 PM all 85.18 0.64 7.91 6.27 0.00 0.00
02:24:31 PM all 98.41 0.24 0.92 0.43 0.00 0.00
02:27:31 PM all 99.69 0.01 0.28 0.01 0.00 0.00
02:30:31 PM all 99.64 0.04 0.32 0.00 0.00 0.00
02:33:31 PM all 99.81 0.05 0.14 0.00 0.00 0.00
02:36:31 PM all 88.60 0.26 8.02 3.13 0.00 0.00
02:39:31 PM all 98.92 0.03 1.04 0.01 0.00 0.00
02:42:31 PM all 99.39 0.05 0.56 0.00 0.00 0.00
02:45:33 PM all 75.73 0.33 11.63 12.31 0.00 0.00
Average: all 68.42 6.49 21.76 1.24 0.00 2.09


Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0
Normal per-cpu:
CPU 0: Hot: hi: 42, btch: 7 usd: 6 Cold: hi: 14, btch: 3 usd: 2
Active:19108 inactive:17937 dirty:0 writeback:0 unstable:0
free:461 slab:988 mapped:2 pagetables:383 bounce:0
DMA free:728kB min:160kB low:200kB high:240kB active:6400kB inactive:6108kB present:16256kB pages_scanned:80699941 all_unreclaimable? yes
lowmem_reserve[]: 0 142 142
Normal free:1116kB min:1448kB low:1808kB high:2172kB active:70032kB inactive:65640kB present:146304kB pages_scanned:403668094 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0
DMA: 0*4kB 1*8kB 1*16kB 0*32kB 1*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 728kB
Normal: 1*4kB 1*8kB 1*16kB 0*32kB 1*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1116kBSwap cache: add 153227, delete 153227, find 3131/3613, race 0+0
Free swap = 0kB
Total swap = 593300kB
Free swap: 0kB
40960 pages of RAM
0 pages of HIGHMEM
1086 reserved pages
78 pages shared
0 pages swap cached
0 pages dirty
0 pages writeback
2 pages mapped
988 pages slab
383 pages pagetables


The only way out, short of reboot/power-off:

SysRq : Kill All Tasks


Now again I try with a massive 2gig swap! This should stop out of mem. problems,
right? Look:

top - 17:42:07 up 4:46, 3 users, load average: 2.18, 1.71, 1.41
Tasks: 67 total, 2 running, 65 sleeping, 0 stopped, 0 zombie
Cpu(s): 1.6%us, 5.6%sy, 0.0%ni, 0.0%id, 91.8%wa, 1.0%hi, 0.0%si, 0.0%st
Mem: 159496k total, 156860k used, 2636k free, 92k buffers
Swap: 2293300k total, 732704k used, 1560596k free, 4492k cached

PID %MEM VIRT SWAP RES CODE DATA SHR nFLT nDRT S PR NI %CPU COMMAND
9366 79.9 801m 676m 124m 6312 793m 436 519 0 R 20 0 4.6 cc1 <-- Wow!
13940 0.4 12256 11m 680 24 2416 308 186 0 S 20 0 0.3 snmpd
13966 0.4 2052 1472 580 48 340 420 14 0 R 20 0 1.6 top
13952 0.3 12964 12m 452 272 9208 388 119 0 S 20 0 0.0 ircd


Check cc1 above. Note the mem it's using all around. Insane. Similar behavior
testing under 2.6.23.17, and 2.6.24.4. The GCC was built with GCC-4.2.3, my
current compiler. None of this sort of thing happend before I started building
this GCC, so it really looks like something is either up with GCC 4.3.0 or its
interaction with something I have here. I know that building the java stuff and
testing it eats memory like mad, because I've always seen that building GCC. I
have the Pentium 2, with its 2gig swap, going now again. After the massive memory
usage with cc1 shown above, the testing and mem usage seem mostly normal for GCC,
so far. I'll let it run and see what happens. Killing cc1 off quickly restored
the memory to the system, BTW.

Now I am really afraid to install that. If it craps out, it's not like I can reload
anything off a distro disk because this isn't a distro, and you need a working compiler
to build a working compiler (the chicken & the egg dilemma).

Thoughts?




--
[** America, the police state **]
Whoooose! What's that noise? Why, it's US citizen's
rights, going down the toilet with Bush flushing.
http://www.theregister.co.uk/2008/01/27/bush_nsa_internal/
http://www.wired.com/politics/security/news/2007/08/wiretap
http://www.hermes-press.com/police_state.htm
http://www.privacyinternational.org/article.shtml?cmd%5B347%5D=x-347-559597

.



Relevant Pages

  • Re: RAM/Memory resources on 7 STABLE
    ... change and it now shows 1436M free in the Mem: ... ALL unused memory is used as disk cache in FreeBSD. ... Swap: 16G Total, 16G Free ... Both of these machines are running nearly identical software; the main difference is that the 2950 quad core is also running Samba. ...
    (freebsd-questions)
  • Re: FreeBSD 7 buildworld error
    ... It looks to me like gcc is trying to allocate a single 130MiB object, but you don't say anything about how much memory is already in use. ... 64mb ram, 384mb of swap normally, with an additional 2gb of swap to a file added for my buildworld attempt. ...
    (freebsd-stable)
  • Re: running out of swapspace / mem
    ... > nearly empty. ... Now, after running for 3,5 days mem and swap are nearly full. ... It'll first eat into cached memory tho. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: fsck_msdosfs failing
    ... I am able to run top at the same time, as as far as I can tell, it doesn't actually run out of memory - Mem has ~564k free, and Swap has 158mb free at its lowest when fsck_msdosfs is running. ... It's an old machine, with 192mb ram, and 359mb swap. ... check ulimit -a ...
    (freebsd-questions)
  • Re: Free Memory and Tasks
    ... Joris Huizer ha scritto: ... How to check the memory used from a task? ... this will allow you to add MEM and SWAP and others if you like ...
    (Debian-User)