Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Out of memory error
Date: Fri, 18 Nov 2011 17:44:06
Message-Id: 201111181742.51438.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Out of memory error on gentoo kernel 3.0.6 by Mick
1 On Thursday 17 Nov 2011 06:53:29 Mick wrote:
2 > What started as a Firefox make error revealed an out of memory error.
3 > Since this is the first time ever that this old x86 laptop has developed
4 > such an ailment I am not sure what may be causing this? The error is
5 > repeatable.
6 >
7 > This is what dmesg shows:
8 > =======================================
9 > lowmem_reserve[]: 0 618 618
10 > Normal free:3092kB min:3140kB low:3924kB high:4708kB active_anon:297788kB
11 > inactive_anon:297872kB active_file:1480kB inactive_file:1632kB
12 > unevictable:656kB isolated(anon):0kB isolated(file):0kB present:633792kB
13 > mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:8kB
14 > slab_reclaimable:4560kB
15 > slab_unreclaimable:5528kB kernel_stack:1160kB pagetables:1648kB
16 > unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:5424
17 > all_unreclaimable? yes lowmem_reserve[]: 0 0 0
18 > DMA: 1*4kB 287*8kB 14*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
19 > 0*2048kB 0*4096kB = 2556kB
20 > Normal: 773*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
21 > 0*2048kB 0*4096kB = 3092kB
22 > 4263 total pagecache pages
23 > 3318 pages in swap cache
24 > Swap cache stats: add 100110, delete 96792, find 12476/15173
25 > Free swap = 0kB
26 > Total swap = 257004kB
27 > 163776 pages RAM
28 > 3742 pages reserved
29 > 833 pages shared
30 > 157340 pages non-shared
31 > [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
32 > [ 3989] 0 3989 622 22 0 -17 -1000 udevd
33 > [ 4257] 0 4257 621 42 0 -17 -1000 udevd
34 > [ 5093] 0 5093 481 7 0 0 0 ifplugd
35 > [ 5316] 0 5316 524 1 0 0 0 dhcpcd
36 > [ 5358] 0 5358 860 25 0 0 0 smartd
37 > [ 5359] 104 5359 693 30 0 0 0 dbus-daemon
38 > [ 5381] 0 5381 943 6 0 0 0 syslog-ng
39 > [ 5382] 0 5382 1588 57 0 0 0 syslog-ng
40 > [ 5429] 0 5429 1048 11 0 0 0 cron
41 > [ 5435] 0 5435 477 12 0 0 0 acpid
42 > [ 5469] 0 5469 6548 68 0 0 0
43 > console-kit- dae
44 > [ 5548] 0 5548 5719 78 0 0 0 polkitd
45 > [ 5575] 0 5575 590 36 0 0 0 chronyd
46 > [ 5599] 0 5599 825 1 0 0 0 login
47 > [ 5600] 0 5600 486 1 0 0 0 agetty
48 > [ 5601] 0 5601 486 1 0 0 0 agetty
49 > [ 5602] 0 5602 486 1 0 0 0 agetty
50 > [ 5603] 0 5603 486 1 0 0 0 agetty
51 > [ 5604] 0 5604 486 1 0 0 0 agetty
52 > [ 5613] 1000 5613 1333 31 0 0 0 bash
53 > [ 5621] 1000 5621 1325 111 0 0 0 screen
54 > [ 5622] 1000 5622 1333 1 0 0 0 bash
55 > [ 5628] 0 5628 1200 1 0 0 0 su
56 > [ 5629] 0 5629 1333 1 0 0 0 bash
57 > [ 5665] 0 5665 1578 26 0 -17 -1000 sshd
58 > [ 5705] 65534 5705 548 1 0 0 0 boa
59 > [ 5722] 0 5722 1099 1 0 0 0 rsync
60 > [ 6194] 0 6194 22569 1083 0 0 0 emerge
61 > [ 8944] 0 8944 477 1 0 0 0 sandbox
62 > [ 8945] 0 8945 1832 1 0 0 0 ebuild.sh
63 > [ 8965] 0 8965 2449 1 0 0 0 ebuild.sh
64 > [ 8983] 0 8983 974 1 0 0 0 emake
65 > [ 8988] 0 8988 734 1 0 0 0 make
66 > [ 9275] 0 9275 798 1 0 0 0 make
67 > [17096] 0 17096 785 43 0 0 0 make
68 > [17871] 0 17871 769 1 0 0 0 make
69 > [23499] 0 23499 871 49 0 0 0 make
70 > [ 4249] 0 4249 2421 2 0 0 0 sshd
71 > [ 4266] 1000 4266 2421 1 0 0 0 sshd
72 > [ 4267] 1000 4267 1333 1 0 0 0 bash
73 > [ 6224] 0 6224 803 1 0 0 0 make
74 > [ 6243] 0 6243 2232 1 0 0 0 python2.7
75 > [ 6244] 0 6244 679 1 0 0 0
76 > i686-pc-linux- g
77 > [ 6245] 0 6245 650 1 0 0 0 collect2
78 > [ 6246] 0 6246 187711 147110 0 0 0 ld
79 > Out of memory: Kill process 6246 (ld) score 803 or sacrifice child
80 > Killed process 6246 (ld) total-vm:750844kB, anon-rss:588432kB, file-rss:8kB
81 > ld: page allocation failure: order:0, mode:0x20058
82 > Pid: 6246, comm: ld Not tainted 3.0.6-gentoo #1
83 > Call Trace:
84 > [<c107109c>] ? warn_alloc_failed+0xbc/0xf0
85 > [<c107399d>] ? __alloc_pages_nodemask+0x52d/0x700
86 > [<c106d936>] ? find_or_create_page+0x46/0xa0
87 > [<c10bce26>] ? __getblk+0xc6/0x1e0
88 > [<c103f823>] ? wake_up_bit+0x13/0x30
89 > [<c11029c8>] ? search_by_key+0x68/0x1170
90 > [<c108a5ad>] ? try_to_unmap_one+0x13d/0x270
91 > [<c1291f36>] ? radix_tree_delete+0x116/0x240
92 > [<c1023be0>] ? enqueue_task_rt+0x20/0x130
93 > [<c1072e5c>] ? __pagevec_free+0x1c/0x30
94 > [<c1023d25>] ? enqueue_task.clone.127+0x35/0x70
95 > [<c1103bed>] ? search_for_position_by_key+0x11d/0x2e0
96 > [<c1103afb>] ? search_for_position_by_key+0x2b/0x2e0
97 > [<c108a5ad>] ? try_to_unmap_one+0x13d/0x270
98 > [<c10ef5cf>] ? _get_block_create_0+0xbf/0x7a0
99 > [<c15dede8>] ? mutex_lock+0x8/0x20
100 > [<c10f2d0c>] ? reiserfs_get_block+0xdac/0x1470
101 > [<c128b120>] ? changed_ioprio+0x70/0x70
102 > [<c127e8af>] ? elv_set_request+0xf/0x30
103 > [<c10790d5>] ? shrink_zone+0x225/0x550
104 > [<c1060cb3>] ? __delayacct_freepages_end+0x23/0x30
105 > [<c1079f74>] ? do_try_to_free_pages+0x304/0x320
106 > [<c10c47db>] ? do_mpage_readpage+0x34b/0x5f0
107 > [<c106d4ae>] ? add_to_page_cache_locked+0x4e/0xd0
108 > [<c10c4ba2>] ? mpage_readpages+0xc2/0x110
109 > [<c10f1f60>] ? restart_transaction+0xa0/0xa0
110 > [<c10efd30>] ? reiserfs_bmap+0x80/0x80
111 > [<c10752ce>] ? __do_page_cache_readahead+0x16e/0x1f0
112 > [<c10f1f60>] ? restart_transaction+0xa0/0xa0
113 > [<c107557e>] ? ra_submit+0x1e/0x30
114 > [<c106f31d>] ? filemap_fault+0x2bd/0x380
115 > [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
116 > [<c1081d80>] ? __do_fault+0x40/0x400
117 > [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
118 > [<c1084161>] ? handle_pte_fault+0x81/0x5b0
119 > [<c1084711>] ? handle_mm_fault+0x81/0xc0
120 > [<c101be90>] ? do_page_fault+0x100/0x440
121 > [<c109832b>] ? vfs_read+0x13b/0x160
122 > [<c1098391>] ? sys_read+0x41/0x80
123 > [<c101bd90>] ? vmalloc_sync_all+0xd0/0xd0
124 > [<c15dfc01>] ? error_code+0x65/0x6c
125 > Mem-Info:
126 > DMA per-cpu:
127 > CPU 0: hi: 0, btch: 1 usd: 0
128 > Normal per-cpu:
129 > CPU 0: hi: 186, btch: 31 usd: 123
130 > active_anon:76029 inactive_anon:76095 isolated_anon:0
131 > active_file:370 inactive_file:409 isolated_file:0
132 > unevictable:164 dirty:0 writeback:0 unstable:0
133 > free:1412 slab_reclaimable:1175 slab_unreclaimable:1394
134 > mapped:3 shmem:2 pagetables:435 bounce:0
135 > DMA free:2556kB min:76kB low:92kB high:112kB active_anon:6328kB
136 > inactive_anon:6508kB active_file:0kB inactive_file:4kB unevictable:0kB
137 > isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB
138 > writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:140kB
139 > slab_unreclaimable:48kB kernel_stack:8kB pagetables:92kB unstable:0kB
140 > bounce:0kB writeback_tmp:0kB pages_scanned:2 all_unreclaimable? yes
141 > lowmem_reserve[]: 0 618 618
142 > Normal free:3092kB min:3140kB low:3924kB high:4708kB active_anon:297788kB
143 > inactive_anon:297872kB active_file:1480kB inactive_file:1632kB
144 > unevictable:656kB isolated(anon):0kB isolated(file):0kB present:633792kB
145 > mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:8kB
146 > slab_reclaimable:4560kB
147 > slab_unreclaimable:5528kB kernel_stack:1160kB pagetables:1648kB
148 > unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:5424
149 > all_unreclaimable? yes lowmem_reserve[]: 0 0 0
150 > DMA: 1*4kB 287*8kB 14*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
151 > 0*2048kB 0*4096kB = 2556kB
152 > Normal: 773*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
153 > 0*2048kB 0*4096kB = 3092kB
154 > 4263 total pagecache pages
155 > 3318 pages in swap cache
156 > Swap cache stats: add 100110, delete 96792, find 12476/15173
157 > Free swap = 0kB
158 > Total swap = 257004kB
159 > 163776 pages RAM
160 > 3742 pages reserved
161 > 833 pages shared
162 > 157340 pages non-shared
163 > ld invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0,
164 > oom_score_adj=0 Pid: 23785, comm: ld Not tainted 3.0.6-gentoo #1
165 > Call Trace:
166 > [<c106fb30>] ? dump_header.clone.15+0x50/0x170
167 > [<c1060cb3>] ? __delayacct_freepages_end+0x23/0x30
168 > [<c106fe29>] ? oom_kill_process.clone.18+0x59/0x240
169 > [<c1250f88>] ? security_real_capable_noaudit+0x38/0x60
170 > [<c103194c>] ? has_capability_noaudit+0xc/0x20
171 > [<c106fd6c>] ? oom_badness+0x8c/0xf0
172 > [<c107035f>] ? out_of_memory+0x22f/0x2b0
173 > [<c1073b54>] ? __alloc_pages_nodemask+0x6e4/0x700
174 > [<c106f1e3>] ? filemap_fault+0x183/0x380
175 > [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
176 > [<c1081d80>] ? __do_fault+0x40/0x400
177 > [<c106f060>] ? __lock_page_or_retry+0xb0/0xb0
178 > [<c1084161>] ? handle_pte_fault+0x81/0x5b0
179 > [<c1084711>] ? handle_mm_fault+0x81/0xc0
180 > [<c101be90>] ? do_page_fault+0x100/0x440
181 > [<c109832b>] ? vfs_read+0x13b/0x160
182 > [<c1098391>] ? sys_read+0x41/0x80
183 > [<c101bd90>] ? vmalloc_sync_all+0xd0/0xd0
184 > [<c15dfc01>] ? error_code+0x65/0x6c
185 > Mem-Info:
186 > DMA per-cpu:
187 > CPU 0: hi: 0, btch: 1 usd: 0
188 > Normal per-cpu:
189 > CPU 0: hi: 186, btch: 31 usd: 141
190 > active_anon:75982 inactive_anon:76098 isolated_anon:0
191 > active_file:397 inactive_file:407 isolated_file:0
192 > unevictable:164 dirty:0 writeback:0 unstable:0
193 > free:1404 slab_reclaimable:1162 slab_unreclaimable:1478
194 > mapped:3 shmem:1 pagetables:417 bounce:0
195 > DMA free:2556kB min:76kB low:92kB high:112kB active_anon:6256kB
196 > inactive_anon:6504kB active_file:4kB inactive_file:4kB unevictable:0kB
197 > isolated(anon):0kB isolated(file):0kB present:15804kB mlocked:0kB dirty:0kB
198 > writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:192kB
199 > slab_unreclaimable:92kB kernel_stack:0kB pagetables:80kB unstable:0kB
200 > bounce:0kB writeback_tmp:0kB pages_scanned:11 all_unreclaimable? yes
201 > lowmem_reserve[]: 0 618 618
202 > Normal free:3060kB min:3140kB low:3924kB high:4708kB active_anon:297672kB
203 > inactive_anon:297888kB active_file:1584kB inactive_file:1624kB
204 > unevictable:656kB isolated(anon):0kB isolated(file):0kB present:633792kB
205 > mlocked:0kB dirty:0kB writeback:0kB mapped:12kB shmem:4kB
206 > slab_reclaimable:4456kB
207 > slab_unreclaimable:5820kB kernel_stack:1144kB pagetables:1588kB
208 > unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:5337
209 > all_unreclaimable? yes lowmem_reserve[]: 0 0 0
210 > DMA: 1*4kB 1*8kB 21*16kB 29*32kB 10*64kB 3*128kB 1*256kB 0*512kB 0*1024kB
211 > 0*2048kB 0*4096kB = 2556kB
212 > Normal: 765*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
213 > 0*2048kB 0*4096kB = 3060kB
214 > 3607 total pagecache pages
215 > 2636 pages in swap cache
216 > Swap cache stats: add 232678, delete 230042, find 46486/55792
217 > Free swap = 0kB
218 > Total swap = 257004kB
219 > 163776 pages RAM
220 > 3742 pages reserved
221 > 826 pages shared
222 > 157335 pages non-shared
223 > [ pid ] uid tgid total_vm rss cpu oom_adj oom_score_adj name
224 > [ 3989] 0 3989 622 22 0 -17 -1000 udevd
225 > [ 4257] 0 4257 621 42 0 -17 -1000 udevd
226 > [ 5093] 0 5093 481 7 0 0 0 ifplugd
227 > [ 5316] 0 5316 524 1 0 0 0 dhcpcd
228 > [ 5358] 0 5358 860 25 0 0 0 smartd
229 > [ 5359] 104 5359 693 1 0 0 0 dbus-daemon
230 > [ 5381] 0 5381 943 6 0 0 0 syslog-ng
231 > [ 5382] 0 5382 1588 63 0 0 0 syslog-ng
232 > [ 5429] 0 5429 1048 11 0 0 0 cron
233 > [ 5435] 0 5435 477 12 0 0 0 acpid
234 > [ 5469] 0 5469 6802 1 0 0 0
235 > console-kit- dae
236 > [ 5548] 0 5548 5719 1 0 0 0 polkitd
237 > [ 5599] 0 5599 825 1 0 0 0 login
238 > [ 5600] 0 5600 486 1 0 0 0 agetty
239 > [ 5601] 0 5601 486 1 0 0 0 agetty
240 > [ 5602] 0 5602 486 1 0 0 0 agetty
241 > [ 5603] 0 5603 486 1 0 0 0 agetty
242 > [ 5604] 0 5604 486 1 0 0 0 agetty
243 > [ 5613] 1000 5613 1333 1 0 0 0 bash
244 > [ 5621] 1000 5621 1325 61 0 0 0 screen
245 > [ 5622] 1000 5622 1333 1 0 0 0 bash
246 > [ 5628] 0 5628 1200 1 0 0 0 su
247 > [ 5629] 0 5629 1333 1 0 0 0 bash
248 > [ 5665] 0 5665 1578 1 0 -17 -1000 sshd
249 > [ 5705] 65534 5705 548 1 0 0 0 boa
250 > [ 5722] 0 5722 1099 1 0 0 0 rsync
251 > [ 6379] 0 6379 15005 4817 0 0 0 emerge
252 > [14369] 0 14369 477 1 0 0 0 sandbox
253 > [14370] 0 14370 1832 1 0 0 0 ebuild.sh
254 > [14390] 0 14390 2449 1 0 0 0 ebuild.sh
255 > [14408] 0 14408 974 1 0 0 0 emake
256 > [14413] 0 14413 734 1 0 0 0 make
257 > [14700] 0 14700 798 1 0 0 0 make
258 > [22517] 0 22517 785 43 0 0 0 make
259 > [23288] 0 23288 769 1 0 0 0 make
260 > [28925] 0 28925 871 48 0 0 0 make
261 > [ 6767] 0 6767 590 36 0 0 0 chronyd
262 > [23763] 0 23763 803 1 0 0 0 make
263 > [23782] 0 23782 2232 1 0 0 0 python2.7
264 > [23783] 0 23783 679 1 0 0 0
265 > i686-pc-linux- g
266 > [23784] 0 23784 650 1 0 0 0 collect2
267 > [23785] 0 23785 196182 144287 0 0 0 ld
268 > Out of memory: Kill process 23785 (ld) score 841 or sacrifice child
269 > Killed process 23785 (ld) total-vm:784728kB, anon-rss:577136kB,
270 > file-rss:12kB =======================================
271 >
272 > Of course this morning the firefox emerge has terminated (failed to Make)
273 > and swap has been freed:
274 >
275 > # free
276 > total used free shared buffers cached
277 > Mem: 640392 133084 507308 0 81360 23972
278 > -/+ buffers/cache: 27752 612640
279 > Swap: 257004 6156 250848
280 >
281 >
282 > This is the Firefox emerge just in case you notice something:
283 > =======================================
284 > make[5]: Leaving directory `/mnt/video/tmp_portage/portage/www-
285 > client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-
286 > gnu/startupcache'
287 > make[5]: Entering directory `/mnt/video/tmp_portage/portage/www-
288 > client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-
289 > gnu/toolkit/library'
290 > nsStaticXULComponents.cpp
291 > i686-pc-linux-gnu-g++ -o nsStaticXULComponents.o -c
292 > -I../../dist/stl_wrappers -I../../dist/system_wrappers -include
293 > /mnt/video/tmp_portage/portage/www-
294 > client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
295 > DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
296 > -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
297 > -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
298 > -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE=\"Linux3.0\" -DOSARCH=Linux
299 > -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
300 > -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
301 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
302 > release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
303 > client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
304 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
305 > release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
306 > r1/work/mozilla-release/widget/src/windows -
307 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
308 > release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
309 > client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
310 > I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
311 > I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
312 > -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
313 > -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
314 > -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
315 > -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
316 > -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
317 > ../../mozilla-config.h -MD -MF
318 > .deps/nsStaticXULComponents.pp /mnt/video/tmp_portage/portage/www-
319 > client/firefox-7.0.1-r1/work/mozilla-
320 > release/toolkit/library/nsStaticXULComponents.cpp
321 > nsUnicharUtils.cpp
322 > i686-pc-linux-gnu-g++ -o nsUnicharUtils.o -c -I../../dist/stl_wrappers -
323 > I../../dist/system_wrappers -include /mnt/video/tmp_portage/portage/www-
324 > client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
325 > DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
326 > -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
327 > -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
328 > -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE=\"Linux3.0\" -DOSARCH=Linux
329 > -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
330 > -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
331 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
332 > release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
333 > client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
334 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
335 > release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
336 > r1/work/mozilla-release/widget/src/windows -
337 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
338 > release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
339 > client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
340 > I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
341 > I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
342 > -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
343 > -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
344 > -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
345 > -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
346 > -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
347 > ../../mozilla-config.h -MD -MF .deps/nsUnicharUtils.pp
348 > /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
349 > release/obj-i686-pc-linux-gnu/toolkit/library/nsUnicharUtils.cpp
350 > nsBidiUtils.cpp
351 > i686-pc-linux-gnu-g++ -o nsBidiUtils.o -c -I../../dist/stl_wrappers -
352 > I../../dist/system_wrappers -include /mnt/video/tmp_portage/portage/www-
353 > client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
354 > DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
355 > -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
356 > -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
357 > -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE=\"Linux3.0\" -DOSARCH=Linux
358 > -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
359 > -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
360 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
361 > release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
362 > client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
363 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
364 > release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
365 > r1/work/mozilla-release/widget/src/windows -
366 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
367 > release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
368 > client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
369 > I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
370 > I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
371 > -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
372 > -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
373 > -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
374 > -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
375 > -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
376 > ../../mozilla-config.h -MD -MF .deps/nsBidiUtils.pp
377 > /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
378 > release/obj-i686-pc-linux-gnu/toolkit/library/nsBidiUtils.cpp
379 > nsRDFResource.cpp
380 > i686-pc-linux-gnu-g++ -o nsRDFResource.o -c -I../../dist/stl_wrappers -
381 > I../../dist/system_wrappers -include /mnt/video/tmp_portage/portage/www-
382 > client/firefox-7.0.1-r1/work/mozilla-release/config/gcc_hidden.h -
383 > DMOZ_ENABLE_GTK2 -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS
384 > -DMOZ_AUTH_EXTENSION - DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET
385 > -DMOZ_FILEVIEW -DICON_DECODER - DMOZ_SPELLCHECK -DMOZ_ZIPWRITER
386 > -DIMPL_XREAPI -DMOZILLA_INTERNAL_API - DOSTYPE=\"Linux3.0\" -DOSARCH=Linux
387 > -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI - DEXPORT_XPT_API -DEXPORT_XPTC_API
388 > -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -
389 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
390 > release/intl/unicharutil/util -I/mnt/video/tmp_portage/portage/www-
391 > client/firefox-7.0.1-r1/work/mozilla-release/intl/unicharutil/src -
392 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
393 > release/config -I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
394 > r1/work/mozilla-release/widget/src/windows -
395 > I/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
396 > release/widget/src/build -I/mnt/video/tmp_portage/portage/www-
397 > client/firefox-7.0.1-r1/work/mozilla-release/toolkit/library -I. -
398 > I../../dist/include -I../../dist/include/nsprpub -I/usr/include/nspr -
399 > I/usr/include/nss -fPIC -fno-rtti -fno-exceptions -Wall
400 > -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
401 > -Wno-non-virtual-dtor - Wcast-align -Wno-invalid-offsetof
402 > -Wno-variadic-macros -Werror=return-type - march=pentium3 -pipe -mno-avx
403 > -ffunction-sections -fdata-sections -fno-strict- aliasing -std=gnu++0x
404 > -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 - DMOZILLA_CLIENT -include
405 > ../../mozilla-config.h -MD -MF .deps/nsRDFResource.pp
406 > /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
407 > release/obj-i686-pc-linux-gnu/toolkit/library/nsRDFResource.cpp
408 > /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
409 > release/obj-i686-pc-linux-gnu/config/nsinstall -D ../../dist/sdk/lib
410 > rm -f libxul.so
411 > /usr/bin/python2.7 /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
412 > r1/work/mozilla-release/config/pythonpath.py -I../../config
413 > /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
414 > release/config/expandlibs_exec.py --uselist -- i686-pc-linux-gnu-g++
415 > -fno- rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual
416 > -Wsynth -Wno- ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align
417 > -Wno-invalid-offsetof - Wno-variadic-macros -Werror=return-type
418 > -march=pentium3 -pipe -mno-avx - ffunction-sections -fdata-sections
419 > -fno-strict-aliasing -std=gnu++0x -pthread - pipe -DNDEBUG -DTRIMMED -g
420 > -O2 -fPIC -shared -Wl,-z,defs -Wl,--gc-sections - Wl,-h,libxul.so -o
421 > libxul.so nsStaticXULComponents.o nsUnicharUtils.o nsBidiUtils.o
422 > nsRDFResource.o -lpthread -Wl,-O1 -Wl,--as-needed -Wl,-
423 > rpath-link,/mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-
424 > r1/work/mozilla-release/obj-i686-pc-linux-gnu/dist/bin -Wl,-rpath-
425 > link,/usr/lib ../../toolkit/xre/libxulapp_s.a
426 > ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a
427 > ../../staticlib/components/libi18n.a
428 > ../../staticlib/components/libchardet.a
429 > ../../staticlib/components/libjar50.a
430 > ../../staticlib/components/libstartupcache.a
431 > ../../staticlib/components/libpref.a
432 > ../../staticlib/components/libhtmlpars.a
433 > ../../staticlib/components/libimglib2.a
434 > ../../staticlib/components/libgkgfx.a
435 > ../../staticlib/components/libgklayout.a
436 > ../../staticlib/components/libdocshell.a
437 > ../../staticlib/components/libembedcomponents.a
438 > ../../staticlib/components/libwebbrwsr.a
439 > ../../staticlib/components/libnsappshell.a
440 > ../../staticlib/components/libtxmgr.a
441 > ../../staticlib/components/libcommandlines.a
442 > ../../staticlib/components/libtoolkitcomps.a
443 > ../../staticlib/components/libpipboot.a
444 > ../../staticlib/components/libpipnss.a
445 > ../../staticlib/components/libappcomps.a
446 > ../../staticlib/components/libjsreflect.a
447 > ../../staticlib/components/libcomposer.a
448 > ../../staticlib/components/libjetpack_s.a
449 > ../../staticlib/components/libtelemetry.a
450 > ../../staticlib/components/libjsctypes.a
451 > ../../staticlib/components/libjsperf.a
452 > ../../staticlib/components/libgkplugin.a
453 > ../../staticlib/components/libunixproxy.a
454 > ../../staticlib/components/libjsd.a
455 > ../../staticlib/components/libautoconfig.a
456 > ../../staticlib/components/libauth.a
457 > ../../staticlib/components/libcookie.a
458 > ../../staticlib/components/libpermissions.a
459 > ../../staticlib/components/libuniversalchardet.a
460 > ../../staticlib/components/librdf.a
461 > ../../staticlib/components/libwindowds.a
462 > ../../staticlib/components/libfileview.a
463 > ../../staticlib/components/libstoragecomps.a
464 > ../../staticlib/components/libplaces.a
465 > ../../staticlib/components/libtkautocomplete.a
466 > ../../staticlib/components/libsatchel.a
467 > ../../staticlib/components/libpippki.a
468 > ../../staticlib/components/libwidget_gtk2.a
469 > ../../staticlib/components/libsystem-pref.a
470 > ../../staticlib/components/libimgicon.a
471 > ../../staticlib/components/libaccessibility.a
472 > ../../staticlib/components/libremoteservice.a
473 > ../../staticlib/components/libspellchecker.a
474 > ../../staticlib/components/libzipwriter.a
475 > ../../staticlib/components/libservices-crypto.a
476 > ../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a
477 > ../../staticlib/libdomplugins_s.a
478 > ../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a
479 > ../../staticlib/libipcshell_s.a ../../staticlib/libgfx2d.a
480 > ../../staticlib/libgfxipc_s.a ../../staticlib/libxpcom_core.a
481 > ../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a
482 > ../../staticlib/libmozreg_s.a ../../staticlib/libgtkxtbin.a
483 > ../../staticlib/libthebes.a ../../staticlib/libycbcr.a
484 > ../../staticlib/libangle.a ../../dist/lib/libmozsqlite3.a -L../../dist/bin
485 > - L../../dist/lib -ljpeg -lpng ../../gfx/qcms/libmozqcms.a
486 > /mnt/video/tmp_portage/portage/www-client/firefox-7.0.1-r1/work/mozilla-
487 > release/obj-i686-pc-linux-gnu/dist/lib/libjs_static.a -lffi
488 > -Wl,-R/usr/lib - L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf
489 > -lcairo -lpixman-1 - lfreetype -lfontconfig -L/usr/lib -lXrender
490 > -lcairo -lX11
491 > ../../gfx/harfbuzz/src/libmozharfbuzz.a ../../gfx/ots/src/libmozots.a -lz
492 > - lhunspell-1.3 -L/usr/lib -levent -L/usr/lib -lvpx -lasound -
493 > L../../dist/bin -L../../dist/lib -Wl,-R/usr/lib -L/usr/lib -lplds4 -lplc4
494 > - lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.a -ldbus-1 -lpthread
495 > -lrt - L/usr/lib -lX11 -lXext -pthread -lpangoft2-1.0 -lfreetype
496 > -lfontconfig - lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
497 > -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgtk-x11-2.0
498 > -latk-1.0 -lgio-2.0 -lpangoft2-1.0 - lfreetype -lfontconfig -lgdk-x11-2.0
499 > -lpangocairo-1.0 -lgdk_pixbuf-2.0 - lpango-1.0 -lcairo -lgmodule-2.0
500 > -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lXt -lgthread-2.0 -lfreetype
501 > -lz -lbz2 -lstartup-notification-1 -ldl -lrt collect2: ld terminated
502 > with signal 9 [Killed]
503 > make[5]: *** [libxul.so] Error 1
504 > make[5]: Leaving directory `/mnt/video/tmp_portage/portage/www-
505 > client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-
506 > gnu/toolkit/library'
507 > make[4]: *** [libs_tier_platform] Error 2
508 > make[4]: Leaving directory `/mnt/video/tmp_portage/portage/www-
509 > client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-gnu'
510 > make[3]: *** [tier_platform] Error 2
511 > make[3]: Leaving directory `/mnt/video/tmp_portage/portage/www-
512 > client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-gnu'
513 > make[2]: *** [default] Error 2
514 > make[2]: Leaving directory `/mnt/video/tmp_portage/portage/www-
515 > client/firefox-7.0.1-r1/work/mozilla-release/obj-i686-pc-linux-gnu'
516 > make[1]: *** [realbuild] Error 2
517 > make[1]: Leaving directory `/mnt/video/tmp_portage/portage/www-
518 > client/firefox-7.0.1-r1/work/mozilla-release'
519 > make: *** [build] Error 2
520 > emake failed
521 > * ERROR: www-client/firefox-7.0.1-r1 failed (compile phase):
522 > * emake failed
523 > *
524 > * Call stack:
525 > * ebuild.sh, line 56: Called src_compile
526 > * environment, line 6699: Called die
527 > * The specific snippet of code:
528 > * CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)"
529 > MOZ_MAKE_FLAGS="${MAKEOPTS}" emake -f client.mk || die "emake failed";
530 > =======================================
531 >
532 > I also attach the kernel kernel .config file just in case I've built
533 > something I shouldn't have in this kernel.
534
535 I've changed the title ever so slightly. I am getting an out of memory error
536 with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the kernel.
537
538 The error as far as firefox is concerned is the same. Is this a firefox bug, or
539 is my decrepit old laptop incapable of compiling Firefox ...
540
541 Am I the only one suffering from this?
542 --
543 Regards,
544 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: Out of memory error Nikos Chantziaras <realnc@×××××.de>