2008-08-11 06:19:19 webkit crash on bfin561
Leslie Li (CHINA)
Message: 60241
Hi all,
I'm working on a simple browser based on Qt4.4.0 webkit, I have only added two lines in my browser application:
webview = new QWebView;
webview->show();
and, first line that create a webview object has no error occurs, but when get to line
webview->show();
I got these outputs:
browser_simple: page allocation failure. order:9, mode:0x40d0
Hardware Trace:
0 Target : <0x00004788> { _dump_stack + 0x0 }
Source : <0x0002d65e> { ___alloc_pages + 0x17e }
1 Target : <0x0002d65e> { ___alloc_pages + 0x17e }
Source : <0x0000da0e> { _printk + 0x16 }
2 Target : <0x0000da0a> { _printk + 0x12 }
Source : <0x0000d8c0> { _vprintk + 0x1b8 }
3 Target : <0x0000d8b4> { _vprintk + 0x1ac }
Source : <0xffa00d08> { __common_int_entry + 0xd8 }
4 Target : <0xffa00ca6> { __common_int_entry + 0x76 }
Source : <0xffa00ad8> { _return_from_int + 0x58 }
5 Target : <0xffa00ad8> { _return_from_int + 0x58 }
Source : <0xffa00aae> { _return_from_int + 0x2e }
6 Target : <0xffa00a80> { _return_from_int + 0x0 }
Source : <0xffa00ca2> { __common_int_entry + 0x72 }
7 Target : <0xffa00ca0> { __common_int_entry + 0x70 }
Source : <0xffa003ee> { _asm_do_IRQ + 0x6a }
8 Target : <0xffa003e6> { _asm_do_IRQ + 0x62 }
Source : <0x00011afa> { __local_bh_enable + 0x3e }
9 Target : <0x00011abc> { __local_bh_enable + 0x0 }
Source : <0x00011c04> { ___do_softirq + 0x94 }
10 Target : <0x00011bfc> { ___do_softirq + 0x8c }
Source : <0x00011bdc> { ___do_softirq + 0x6c }
11 Target : <0x00011bd0> { ___do_softirq + 0x60 }
Source : <0x000149d4> { _run_timer_softirq + 0x84 }
12 Target : <0x00014964> { _run_timer_softirq + 0x14 }
Source : <0x0001f938> { _hrtimer_run_queues + 0xc8 }
13 Target : <0x0001f908> { _hrtimer_run_queues + 0x98 }
Source : <0x0001f8fe> { _hrtimer_run_queues + 0x8e }
14 Target : <0x0001f8f0> { _hrtimer_run_queues + 0x80 }
Source : <0x0001f92e> { _hrtimer_run_queues + 0xbe }
15 Target : <0x0001f928> { _hrtimer_run_queues + 0xb8 }
Source : <0x0001f8f4> { _hrtimer_run_queues + 0x84 }
Stack from 01be1e18:
01e6e5e0 0002d662 00000000 00000001 000040d0 01e6e76c 00000009 000040d0
00000000 001980a0 00000000 000240d0 01be0000 00000000 00000000 00000073
0002d732 0017a000 0017a000 009b2d40 00000000 04000021 00000000 00000000
0003327e 0017a000 0019809c 000333dc 00194578 00000000 00011cb8 04000021
00194578 02e86720 0017afff 01be1ea0 00000000 00011bd0 004f8924 033dfb88
00003a70 00000000 0017a000 00a68fe8 01be0000 04000021 00000000 00000003
Call Trace:
[<00003a28>] _sys_mmap2+0x0/0x80
[<00008000>] _l1_data_B_sram_alloc+0x8/0x34
[<00062000>] _proc_pid_attr_write+0x10/0xdc
[<00001000>] _run_init_process+0x0/0x18
Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 18, btch: 3 usd: 17 Cold: hi: 6, btch: 1 usd: 0
Active:541 inactive:474 dirty:0 writeback:0 unstable:0
free:4599 slab:923 mapped:0 pagetables:0 bounce:0
DMA free:18396kB min:952kB low:1188kB high:1428kB active:2164kB inactive:1896kB present:56896kB pages_scanned:4189 all_unreclaimable? no
lowmem_reserve[]: 0 0
DMA: 79*4kB 72*8kB 76*16kB 63*32kB 51*64kB 32*128kB 15*256kB 4*512kB 1*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 18396kB
14335 pages of RAM
4650 free pages
1429 reserved pages
0 pages shared
0 pages swap cached
Allocation of length 1548288 from process 89 failed
DMA per-cpu:
CPU 0: Hot: hi: 18, btch: 3 usd: 17 Cold: hi: 6, btch: 1 usd: 0
Active:541 inactive:474 dirty:0 writeback:0 unstable:0
free:4599 slab:923 mapped:0 pagetables:0 bounce:0
DMA free:18396kB min:952kB low:1188kB high:1428kB active:2164kB inactive:1896kB present:56896kB pages_scanned:4189 all_unreclaimable? no
lowmem_reserve[]: 0 0
DMA: 79*4kB 72*8kB 76*16kB 63*32kB 51*64kB 32*128kB 15*256kB 4*512kB 1*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 18396kB
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
[9;15]Abort
does anybody has some idea?
Leslie
TranslateQuoteReplyEditDelete
2008-08-11 10:20:48 Re: webkit crash on bfin561
Mike Frysinger (UNITED STATES)
Message: 60252
the error tells you what the problem is ... your memory is too fragmented to allocate the space you're attempting to
browser_simple: page allocation failure. order:9, mode:0x40d0
DMA: 79*4kB 72*8kB 76*16kB 63*32kB 51*64kB 32*128kB 15*256kB 4*512kB 1*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 18396kB
QuoteReplyEditDelete
2008-08-12 02:46:02 回复: Re: webkit crash on bfin561
Leslie Li (CHINA)
Message: 60272
I guess so! so from the DMA: 79*4KB ... line can I regard that the largest memory block is 1*1024KB? and it is less than the request?
But How can I solve this problem? I run this webkit application from the very beginning after startup.
TranslateQuoteReplyEditDelete
2008-08-12 03:11:01 Re: 回复: Re: webkit crash on bfin561
Yi Li (CHINA)
Message: 60273
You may need to add more physical memory.