[packagekit] Mysterious system freeze while running make check

Matthias Klumpp matthias at nlinux.org
Fri Jan 28 09:56:17 PST 2011


Hi!
I still have the problem that the system freezes completely when running
"make check" on the current dev version of PackageKit. I don't know why
this happens, but it definitely shouldn't happen.

There are multiple system log entries which look like [1] and the system
starts killing applications because it runs out of memory. This happens in
just a few seconds (1-2). [2]

The last output of make check is:
 /packagekit-glib2/task-wrapper: 17:49:57 PackageKit adding state
0x1e6d820
  17:49:57 PackageKit doing install
  17:49:57 PackageKit role now simulate-install-packages
  17:49:57 PackageKit emit transaction-list-changed (when idle)
  17:49:57 PackageKit emit transaction-list-changed (when idle)
  17:49:57 PackageKit already processing request 0x1, so ignoring
  17:49:57 PackageKit already processing request 0x1, so ignoring

The last daemon output is:
  17:49:57 PackageKit frontend_socket changed to (null)
  17:49:57 PackageKit no data
  17:49:57 PackageKit failed to set the session state (non-fatal): failed
to get the proxy from the database
  17:49:57 PackageKit emitting changed
  17:49:57 PackageKit doing nothing, as not update or install
  17:49:57 PackageKit setting transaction role to
simulate-install-packages
  17:49:57 PackageKit setting role to simulate-install-packages
  17:49:57 PackageKit setting role for /486_ceeaedaa_data to
simulate-install-packages
  17:49:57 PackageKit emitting changed

I run a standard Ubuntu Kernel 2.6.35 on a system with 1GB RAM, 2.4GHz
Dual-Core AMD CPU. If this is related to system configuration or to
Ubuntu/Debian, I'm sorry for bothering you with this...
But in any case userspace should never freeze the whole system, so it
might be a serious bug somewhere.

Kind regards
   Matthias Klumpp

~~~~~~~~~~~~~~~~~~~~~~~~
[1]

28.01.2011 17:53:46     localhost       kernel  [ 7350.008923]
lt-packagekitd cpuset=/ mems_allowed=0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008927] Pid: 4182,
comm: lt-packagekitd Tainted: P            2.6.35-23-generic #41-Ubuntu
28.01.2011 17:53:46     localhost       kernel  [ 7350.008930] Call Trace:
28.01.2011 17:53:46     localhost       kernel  [ 7350.008941] 
[<ffffffff810aee7d>] ? cpuset_print_task_mems_allowed+0x9d/0xb0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008946] 
[<ffffffff81104371>] dump_header+0x81/0xc0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008950] 
[<ffffffff81104431>] oom_kill_process+0x81/0x180
28.01.2011 17:53:46     localhost       kernel  [ 7350.008953] 
[<ffffffff81104968>] __out_of_memory+0x58/0xd0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008956] 
[<ffffffff81104a66>] out_of_memory+0x86/0x1c0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008960] 
[<ffffffff811083fe>] __alloc_pages_slowpath+0x58e/0x5a0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008963] 
[<ffffffff811085aa>] __alloc_pages_nodemask+0x19a/0x1f0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008967] 
[<ffffffff810d1bd9>] ? delayacct_end+0x89/0xa0
28.01.2011 17:53:46     localhost       kernel  [ 7350.008972] 
[<ffffffff8113a60a>] alloc_pages_current+0x9a/0x100
28.01.2011 17:53:46     localhost       kernel  [ 7350.008975] 
[<ffffffff811019c7>] __page_cache_alloc+0x87/0x90
28.01.2011 17:53:46     localhost       kernel  [ 7350.008979] 
[<ffffffff8110b8e9>] __do_page_cache_readahead+0xc9/0x210
28.01.2011 17:53:46     localhost       kernel  [ 7350.008982] 
[<ffffffff8110ba51>] ra_submit+0x21/0x30
28.01.2011 17:53:46     localhost       kernel  [ 7350.008985] 
[<ffffffff81103265>] filemap_fault+0x3f5/0x450
28.01.2011 17:53:46     localhost       kernel  [ 7350.008990] 
[<ffffffff8111de84>] __do_fault+0x54/0x560
28.01.2011 17:53:46     localhost       kernel  [ 7350.008994] 
[<ffffffff81120e29>] handle_mm_fault+0x1b9/0x440
28.01.2011 17:53:46     localhost       kernel  [ 7350.008997] 
[<ffffffff81123b7e>] ? remove_vma+0x6e/0x90
28.01.2011 17:53:46     localhost       kernel  [ 7350.009003] 
[<ffffffff8158d73a>] do_page_fault+0x12a/0x350
28.01.2011 17:53:46     localhost       kernel  [ 7350.009006] 
[<ffffffff8158a2b5>] page_fault+0x25/0x30
28.01.2011 17:53:46     localhost       kernel  [ 7350.009009] Mem-Info:
28.01.2011 17:53:46     localhost       kernel  [ 7350.009011] Node 0 DMA
per-cpu:
28.01.2011 17:53:46     localhost       kernel  [ 7350.009014] CPU    0:
hi:    0, btch:   1 usd:   0
28.01.2011 17:53:46     localhost       kernel  [ 7350.009017] CPU    1:
hi:    0, btch:   1 usd:   0
28.01.2011 17:53:46     localhost       kernel  [ 7350.009019] Node 0
DMA32 per-cpu:
28.01.2011 17:53:46     localhost       kernel  [ 7350.009021] CPU    0:
hi:  186, btch:  31 usd: 159
28.01.2011 17:53:46     localhost       kernel  [ 7350.009024] CPU    1:
hi:  186, btch:  31 usd:  92

------------------------
[2]

28.01.2011 17:52:53     localhost       kernel  [ 7303.706887] Out of
memory: kill process 1922 (kopete) score 150105 or a child
28.01.2011 17:52:53     localhost       kernel  [ 7303.706892] Killed
process 1922 (kopete) vsz:600420kB, anon-rss:7388kB, file-rss:164kB
28.01.2011 17:52:53     localhost       kernel  [ 7303.712695] kio_desktop
invoked oom-killer: gfp_mask=0x200da, order=0, oom_adj=0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712700] kio_desktop
cpuset=/ mems_allowed=0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712703] Pid: 4203,
comm: kio_desktop Tainted: P            2.6.35-23-generic #41-Ubuntu
28.01.2011 17:52:53     localhost       kernel  [ 7303.712706] Call Trace:
28.01.2011 17:52:53     localhost       kernel  [ 7303.712715] 
[<ffffffff810aee7d>] ? cpuset_print_task_mems_allowed+0x9d/0xb0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712721] 
[<ffffffff81104371>] dump_header+0x81/0xc0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712724] 
[<ffffffff81104431>] oom_kill_process+0x81/0x180
28.01.2011 17:52:53     localhost       kernel  [ 7303.712728] 
[<ffffffff81104968>] __out_of_memory+0x58/0xd0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712731] 
[<ffffffff81104a66>] out_of_memory+0x86/0x1c0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712735] 
[<ffffffff811083fe>] __alloc_pages_slowpath+0x58e/0x5a0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712739] 
[<ffffffff811085aa>] __alloc_pages_nodemask+0x19a/0x1f0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712744] 
[<ffffffff8113b7e9>] alloc_page_vma+0x89/0x140
28.01.2011 17:52:53     localhost       kernel  [ 7303.712749] 
[<ffffffff8112f36e>] read_swap_cache_async+0xde/0x130
28.01.2011 17:52:53     localhost       kernel  [ 7303.712752] 
[<ffffffff8112fcc1>] ? valid_swaphandles+0x141/0x170
28.01.2011 17:52:53     localhost       kernel  [ 7303.712756] 
[<ffffffff8112f447>] swapin_readahead+0x87/0xc0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712762] 
[<ffffffff8112077d>] do_swap_page+0x10d/0x600
28.01.2011 17:52:53     localhost       kernel  [ 7303.712766] 
[<ffffffff81120f4b>] handle_mm_fault+0x2db/0x440
28.01.2011 17:52:53     localhost       kernel  [ 7303.712772] 
[<ffffffff8158d73a>] do_page_fault+0x12a/0x350
28.01.2011 17:52:53     localhost       kernel  [ 7303.712775] 
[<ffffffff8158a2b5>] page_fault+0x25/0x30
28.01.2011 17:52:53     localhost       kernel  [ 7303.712781] 
[<ffffffff812c1e7c>] ? __get_user_8+0x1c/0x23
28.01.2011 17:52:53     localhost       kernel  [ 7303.712786] 
[<ffffffff8109190d>] ? exit_robust_list+0x5d/0x160
28.01.2011 17:52:53     localhost       kernel  [ 7303.712791] 
[<ffffffff8104ef55>] ? select_idle_sibling+0x95/0x150
28.01.2011 17:52:53     localhost       kernel  [ 7303.712795] 
[<ffffffff81036dc9>] ? default_spin_lock_flags+0x9/0x10
28.01.2011 17:52:53     localhost       kernel  [ 7303.712800] 
[<ffffffff8105e423>] mm_release+0x113/0x130
28.01.2011 17:52:53     localhost       kernel  [ 7303.712804] 
[<ffffffff81064df6>] exit_mm+0x26/0x140
28.01.2011 17:52:53     localhost       kernel  [ 7303.712808] 
[<ffffffff810d2aed>] ? taskstats_exit+0x19d/0x260
28.01.2011 17:52:53     localhost       kernel  [ 7303.712811] 
[<ffffffff81589a65>] ? _raw_spin_lock_irq+0x15/0x20
28.01.2011 17:52:53     localhost       kernel  [ 7303.712815] 
[<ffffffff81065161>] do_exit+0x141/0x3f0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712819] 
[<ffffffff81065465>] do_group_exit+0x55/0xd0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712823] 
[<ffffffff81076351>] get_signal_to_deliver+0x201/0x440
28.01.2011 17:52:53     localhost       kernel  [ 7303.712828] 
[<ffffffff81009989>] do_signal+0x69/0x1a0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712832] 
[<ffffffff8105209a>] ? finish_task_switch+0x4a/0xd0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712836] 
[<ffffffff81009b25>] do_notify_resume+0x65/0x90
28.01.2011 17:52:53     localhost       kernel  [ 7303.712840] 
[<ffffffff8115359a>] ? sys_write+0x7a/0x80
28.01.2011 17:52:53     localhost       kernel  [ 7303.712844] 
[<ffffffff8100a3c0>] int_signal+0x12/0x17
28.01.2011 17:52:53     localhost       kernel  [ 7303.712846] Mem-Info:
28.01.2011 17:52:53     localhost       kernel  [ 7303.712848] Node 0 DMA
per-cpu:
28.01.2011 17:52:53     localhost       kernel  [ 7303.712851] CPU    0:
hi:    0, btch:   1 usd:   0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712853] CPU    1:
hi:    0, btch:   1 usd:   0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712855] Node 0
DMA32 per-cpu:
28.01.2011 17:52:53     localhost       kernel  [ 7303.712858] CPU    0:
hi:  186, btch:  31 usd:  60
28.01.2011 17:52:53     localhost       kernel  [ 7303.712860] CPU    1:
hi:  186, btch:  31 usd:  67
28.01.2011 17:52:53     localhost       kernel  [ 7303.712865]
active_anon:109799 inactive_anon:109879 isolated_anon:0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712867] 
active_file:256 inactive_file:640 isolated_file:0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712868] 
unevictable:0 dirty:0 writeback:247 unstable:0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712869]  free:2006
slab_reclaimable:3289 slab_unreclaimable:5984
28.01.2011 17:52:53     localhost       kernel  [ 7303.712870] 
mapped:1592 shmem:3602 pagetables:6247 bounce:0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712872] Node 0 DMA
free:4032kB min:60kB low:72kB high:88kB active_anon:5536kB
inactive_anon:5636kB active_file:20kB inactive_file:296kB unevictable:0kB
isolated(anon):0kB isolated(file):0kB present:15708kB mlocked:0kB dirty:0kB
writeback:0kB mapped:16kB shmem:4kB slab_reclaimable:40kB
slab_unreclaimable:176kB kernel_stack:0kB pagetables:160kB unstable:0kB
bounce:0kB writeback_tmp:0kB pages_scanned:576 all_unreclaimable? yes
28.01.2011 17:52:53     localhost       kernel  [ 7303.712884]
lowmem_reserve[]: 0 994 994 994
28.01.2011 17:52:53     localhost       kernel  [ 7303.712887] Node 0
DMA32 free:3992kB min:4000kB low:5000kB high:6000kB active_anon:433660kB
inactive_anon:433880kB active_file:1004kB inactive_file:2264kB
unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1017888kB
mlocked:0kB dirty:0kB writeback:988kB mapped:6352kB shmem:14404kB
slab_reclaimable:13116kB slab_unreclaimable:23760kB kernel_stack:2440kB
pagetables:24828kB unstable:0kB bounce:0kB writeback_tmp:0kB
pages_scanned:13280 all_unreclaimable? yes
28.01.2011 17:52:53     localhost       kernel  [ 7303.712898]
lowmem_reserve[]: 0 0 0 0
28.01.2011 17:52:53     localhost       kernel  [ 7303.712902] Node 0 DMA:
2*4kB 13*8kB 10*16kB 9*32kB 2*64kB 2*128kB 2*256kB 1*512kB 0*1024kB
1*2048kB 0*4096kB = 4016kB
28.01.2011 17:52:53     localhost       kernel  [ 7303.712914] Node 0
DMA32: 494*4kB 0*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB
0*2048kB 0*4096kB = 3992kB
28.01.2011 17:52:53     localhost       kernel  [ 7303.712924] 11432 total
pagecache pages
28.01.2011 17:52:53     localhost       kernel  [ 7303.712926] 6904 pages
in swap cache
28.01.2011 17:52:53     localhost       kernel  [ 7303.712928] Swap cache
stats: add 341643, delete 334739, find 43980/50024
28.01.2011 17:52:53     localhost       kernel  [ 7303.712930] Free swap 
= 0kB
28.01.2011 17:52:53     localhost       kernel  [ 7303.712932] Total swap
= 1028092kB
28.01.2011 17:52:53     localhost       kernel  [ 7303.719138] 262080
pages RAM
28.01.2011 17:52:53     localhost       kernel  [ 7303.719141] 6383 pages
reserved
28.01.2011 17:52:53     localhost       kernel  [ 7303.719143] 3737 pages
shared
28.01.2011 17:52:53     localhost       kernel  [ 7303.719144] 251415
pages non-shared
28.01.2011 17:52:53     localhost       kernel  [ 7303.719148] Out of
memory: kill process 1882 (kmix) score 146738 or a child
28.01.2011 17:52:53     localhost       kernel  [ 7303.719152] Killed
process 1882 (kmix) vsz:586952kB, anon-rss:2196kB, file-rss:124kB
28.01.2011 17:52:59     localhost       kernel  [ 7322.926977]
lt-packagekitd invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0
28.01.2011 17:53:02     localhost       kernel  [ 7322.926984]
lt-packagekitd cpuset=/ mems_allowed=0
28.01.2011 17:53:02     localhost       kernel  [ 7322.926988] Pid: 4182,
comm: lt-packagekitd Tainted: P            2.6.35-23-generic #41-Ubuntu
28.01.2011 17:53:02     localhost       kernel  [ 7322.926991] Call Trace:
28.01.2011 17:53:02     localhost       kernel  [ 7322.927004] 
[<ffffffff810aee7d>] ? cpuset_print_task_mems_allowed+0x9d/0xb0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927010] 
[<ffffffff81104371>] dump_header+0x81/0xc0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927013] 
[<ffffffff81104431>] oom_kill_process+0x81/0x180
28.01.2011 17:53:02     localhost       kernel  [ 7322.927016] 
[<ffffffff81104968>] __out_of_memory+0x58/0xd0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927019] 
[<ffffffff81104a66>] out_of_memory+0x86/0x1c0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927023] 
[<ffffffff811083fe>] __alloc_pages_slowpath+0x58e/0x5a0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927027] 
[<ffffffff811085aa>] __alloc_pages_nodemask+0x19a/0x1f0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927032] 
[<ffffffff8113b7e9>] alloc_page_vma+0x89/0x140
28.01.2011 17:53:02     localhost       kernel  [ 7322.927037] 
[<ffffffff8111c790>] do_anonymous_page+0x160/0x350
28.01.2011 17:53:02     localhost       kernel  [ 7322.927041] 
[<ffffffff81120f9f>] handle_mm_fault+0x32f/0x440
28.01.2011 17:53:02     localhost       kernel  [ 7322.927044] 
[<ffffffff81123b7e>] ? remove_vma+0x6e/0x90
28.01.2011 17:53:02     localhost       kernel  [ 7322.927051] 
[<ffffffff8158d73a>] do_page_fault+0x12a/0x350
28.01.2011 17:53:02     localhost       kernel  [ 7322.927054] 
[<ffffffff8158a2b5>] page_fault+0x25/0x30
28.01.2011 17:53:02     localhost       kernel  [ 7322.927057] Mem-Info:
28.01.2011 17:53:02     localhost       kernel  [ 7322.927059] Node 0 DMA
per-cpu:
28.01.2011 17:53:02     localhost       kernel  [ 7322.927062] CPU    0:
hi:    0, btch:   1 usd:   0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927064] CPU    1:
hi:    0, btch:   1 usd:   0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927066] Node 0
DMA32 per-cpu:
28.01.2011 17:53:02     localhost       kernel  [ 7322.927069] CPU    0:
hi:  186, btch:  31 usd:   0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927071] CPU    1:
hi:  186, btch:  31 usd:  30
28.01.2011 17:53:02     localhost       kernel  [ 7322.927077]
active_anon:110332 inactive_anon:110411 isolated_anon:0
28.01.2011 17:53:02     localhost       kernel  [ 7322.927078] 
active_file:397 inactive_file:456 isolated_file:0





More information about the PackageKit mailing list