2009-04-09 10:36:22 Application crash
Nikolay Chokoev (IRELAND)
Message: 72469
Hi,
I'm running a Qt application which works fine, but it crashes after few seconds receiving touchscreen events. I.e. if the app is untouched - no problem, but if I move a pointer through the screen for few seconds it crashes with following message.
Where could be the problem?
How can I foundout more...
syslogd invoked oom-killer: gfp_mask=0x200d2, order=0, oomkilladj=0
Hardware Trace:
0 Target : <0x00004970> { _dump_stack + 0x0 }
Source : <0x0002fb9a> { _oom_kill_process + 0xd2 } CALL pcrel
1 Target : <0x0002fb9a> { _oom_kill_process + 0xd2 }
Source : <0x0000f0ee> { _printk + 0x16 } RTS
2 Target : <0x0000f0ea> { _printk + 0x12 }
Source : <0x0000f8f6> { _vprintk + 0x12a } RTS
3 Target : <0x0000f8ea> { _vprintk + 0x11e }
Source : <0xffa00aea> { __common_int_entry + 0xca } <7>evbug.c: Event. Dev:
input0, Type: 3, Code: 24, Value: 0
RTI
4 Target : <0xffa00a88> { __common_int_entry + 0x68 }
Source : <0xffa008ee> { _return_from_int + 0x4e } RAISE 0xf
5 Target : <0xffa008ee> { _return_from_int + 0x4e }
Source : <0xffa008ce> { _return_from_int + 0x2e } 0x5488
6 Target : <0xffa008a0> { _return_from_int + 0x0 }
Source : <0xffa00a84> { __common_int_entry + 0x64 } 0x0113
7 Target : <0xffa00a82> { __common_int_entry + 0x62 }
Source : <0xffa002e2> { _asm_do_IRQ + 0x62 } RTS
8 Target : <0xffa002da> { _asm_do_IRQ + 0x5a }
Source : <0x00012dc6> { __local_bh_enable + 0x3e } RTS
9 Target : <0x00012d88> { __local_bh_enable + 0x0 }
Source : <0x00012eb0> { ___do_softirq + 0xa0 } JUMP.L
10 Target : <0x00012ea8> { ___do_softirq + 0x98 }
Source : <0x00012e88> { ___do_softirq + 0x78 } IF !CC JUMP
11 Target : <0x00012e6a> { ___do_softirq + 0x5a }
Source : <0x000163ee> { _run_timer_softirq + 0x82 } RTS
12 Target : <0x00016380> { _run_timer_softirq + 0x14 }
Source : <0x00021226> { _hrtimer_run_pending + 0x86 } RTS
13 Target : <0x0002121a> { _hrtimer_run_pending + 0x7a }
Source : <0x000211c6> { _hrtimer_run_pending + 0x26 } IF !CC JUMP
14 Target : <0x000211a0> { _hrtimer_run_pending + 0x0 }
Source : <0x0001637c> { _run_timer_softirq + 0x10 } CALL pcrel
15 Target : <0x0001636c> { _run_timer_softirq + 0x0 }
Source : <0x00012e68> { ___do_softirq + 0x58 } CALL (P2)
Stack info:
SP: [0x01c99b88] <0x01c99b88> /* kernel dynamic memory */
FP: (0x01c99b88)
Memory from 0x01c99b80 to 01c9a000
01c99b80: 01c99b88 00000000 [00000000]<0002fb9e> 03edb9e0 00000000 00000000
03ed3288
01c99ba0: 000200d2 00000000 00000000 0016f650 <0000dd6a> 000000e4 <0002fd20>
00148388
01c99bc0: 01c98000 <0002feb2> 03edb9e0 0017955c <7>evbug.c: Event. Dev: input0,
Type: 3, Code: 24, Value: 0
00000124 000000bb 03ed36a0 000000a0
01c99be0: 0017955c 00000001 01c99c08 00000048 000000bb 00000000 00148388
01c99be4
01c99c00: 00000071 15382102 00000000 00000001 <00031e3c> 03ed30a0 0018a1a0
00000000
01c99c20: 00000000 000200d2 00000000 00000042 000200d2 000200d2 00000000
0018a1a0
01c99c40: 00000001 00000048 01c98000 01c98000 00000000 000200d2 01c98000
00000010
01c99c60: 00000000 00000000 00000000 00000000 00000000 <0002dbbe> ffffffff
00656c60
01c99c80: 00656c60 00000000 014f1678 00000000 0000025d <001125a4> 00000000
01cebe00
01c99ca0: 00000000 <000505f4> 01c99d34 00000000 0025d000 0000004d 00001000
01593fa0
01c99cc0: 00000000 <0002e076><0002e00e> 01c98000 014f1678 0000004d 00000000
0025d000
01c99ce0: 00001000 01c99cf4 0014ff97 0025d000 00000000 0000004d 00000000
01c99d34
01c99d00: 01c99d30 014f1678 0011a9fc 014f15e0 00000000 00000000 0011a9fc
00000017
01c99d20: 01c99e9c 00000001 00000017 0000004d 01c99dac 01593fa0 014f1678 <
0002e508>
01c99d40: 014f15e0 00000064 00656c60 00000000 01c99e9c 00000000 0025cfe9
01c99e18
01c99d60: 00000000 00000000 0025cfe9 00000000 01c99e60 00000064 00000000
01c99e18
01c99d80: 03ec4420 01a2a640 00000001 01c99e9c 000000ff 00000003 <ffa002b4>
0000001f
01c99da0: 00000064 014f1678 <0002ee78> 01c99e18 014f15e0 00656c60 014f164c
01c99e9c
01c99dc0: 00000000 0025cfe9 01c99e18 01c99e9c 00000001 01c99e60 00000001
00000000
01c99de0: 01d1fcb4 <0003cfb8> 00656c60 01c99ef0 01d80fe8 01c99e18 01c99e9c
00000064
01c99e00: 00000004 <0003a80c><00061edc> 00000001 0025cfe9 00000000 <00062290>
00000000
01c99e20: 00000000 00000001 ffffffff 00656c60 00000000 00000000 00000000
00000000
01c99e40: 03ed30a0 00000000 00000000 0060a61c 03ed30a0 0001e818 01c99e58
01c99e58
01c99e60: 0025cfe9 00000000 01c99dac 00000010 00000000 <000947ce> 00000064
01d1fb18
01c99e80: 00000000 01d1fcfc 01d1fcfc <00061edc> 0060a61c 00000010 01c99eb8
01c90318
01c99ea0: 00000064 <0003d690> 00656c60 00000004 01c99ef0 01c90318 00000001
00000000
01c99ec0: 00000001 01c99ef0 <000462c2><0003d9f6> 00656c60 01c90318 00000064
01c90318
01c99ee0: 00000007 01d1fd34 <0001321e> 01c99ef0 0025cfe9 00000000 00000000 <
ffa0076c>
01c99f00: 0003d9c4 00000000 ffffe000 01d1fb18 01d1fabb 00000000 00000004
00000004
01c99f20: 01c90318 001cf68e 00008000 00000000 00000000 01c9a000 001cf68e
001cf68e
01c99f40:<01408130> ffa00ca0 02003004 001de077 001e18e1 001de076 001e18de
00000000
01c99f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
01c99f80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
01c99fa0: 00000000 00000000 00000000 001f9bd0 01c90164 01d1fca8 01d1fcb4
01d81a34
01c99fc0: 01c90318 01d80fe8 0149f9d0 001cf684 00000004 0149d990 00000064
01c90318
01c99fe0: 00000004 00000004 00000064 01c90318 00000004 00000004 00000004
00000006
01c9a000: 01c9b000
Return addresses in stack:
frame 1 : <0x0002fb9e> { _oom_kill_process + 0xd6 }
address : <0x0000dd6a> { _copy_process + 0x782 }
address : <0x0002fd20> { _badness + 0xb4 }
address : <0x0002feb2> { _out_of_memory + 0x11a }
address : <0x00031e3c> { ___alloc_pages_internal + 0x234 }
address : <0x0002dbbe> { _grab_cache_page_write_begin + 0x56 }
address : <0x001125a4> { _schedule_timeout + 0x6c }
address : <0x000505f4> { _simple_write_begin + 0x28 }
address : <0x0002e076> { _generic_file_buffered_write + 0x132 }
address : <0x0002e00e> { _generic_file_buffered_write + 0xca }
address : <0x0002e508> { ___generic_file_aio_write_nolock + 0x1e4 }
address : <0xffa002b4> { _asm_do_IRQ + 0x34 }
address : <0x0002ee78> { _generic_file_aio_write + 0x54 }
address : <0x0003cfb8> { _do_sync_write + 0xac }
address : <0x0003a80c> { _kmem_cache_alloc + 0x50 }
address : <0x00061edc> { _locks_free_lock + 0x2c }
address : <0x00062290> { ___posix_lock_file + 0x88 }
address : <0x000947ce> { _add_timer_randomness + 0xb2 }
address : <0x00061edc> { _locks_free_lock + 0x2c }
address : <0x0003d690> { _vfs_write + 0x6c }
address : <0x000462c2> { _sys_fcntl + 0x22 }
address : <0x0003d9f6> { _sys_write + 0x32 }
address : <0x0001321e> { _irq_enter + 0xa }
address : <0xffa0076c> { _system_call + 0x68 }
address : <0x01408130> [ /bin/busybox + 0x8130 ]
Mem-Info:
DMA per-cpu:
CPU 0: hi: 18, btch: 3 usd: 3
Active_anon:0 active_file:2784 inactive_anon:0
inactive_file:3021 dirty:0 writeback:0 unstable:0
free:1024 slab:435 mapped:0 pagetables:0 bounce:0
DMA free:4096kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:
0kB active_file:11136kB inactive_file:12084kB present:64004kB pages_scanned:3369
8 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0
DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB
1*4096kB 0*8192kB 0*16384kB 0*32768kB = 4096kB
5805 total pagecache pages
16127 pages RAM
544 pages reserved
0 pages shared
14537 pages non-shared
Out of memory: kill process 248 (sh) score 187 or a child
Killed process 254 (adiembdemo)
Killed
Regards,
Nikolay
QuoteReplyEditDelete
2009-04-10 01:16:10 Re: Application crash
Mike Frysinger (UNITED STATES)
Message: 72493
summary: you ran out of and/or fragmented memory:
Out of memory: kill process 248 (sh) score 187 or a child
specific information as to how much memory was available:
DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB
1*4096kB 0*8192kB 0*16384kB 0*32768kB = 4096kB
solution is to try and cut down on memory usage. it's a pretty ugly situation on no-mmu as you cant get away with the virtual memory preventing physical memory from being allocated if not used.