← Back to team overview

kernel-packages team mailing list archive

[Bug 1451682] Re: kernel hung , when I running a Qt5(based QML)demo with openGL , ubuntu12.04 pandaboard

 

This is not a Qt crash by itself. The problem being in the sgx540 closed
source driver makes it unlikely anyone can help. One's best bet would be
if there'd be newer sgx540 drivers available from the PowerVR vendor.

** Package changed: qtdeclarative-opensource-src (Ubuntu) => linux-ti-
omap4 (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-ti-omap4 in Ubuntu.
https://bugs.launchpad.net/bugs/1451682

Title:
  kernel hung ,when I running a Qt5(based QML)demo with openGL
  ,ubuntu12.04 pandaboard

Status in linux-ti-omap4 package in Ubuntu:
  New

Bug description:
  Hello, experts:
  Recently, I run a Qt5 demo on my pandaboard with opengl that uses hardware acceleration ,my system is ubuntu12.04(kernel is linux-ti-omap4 (3.4.0-1491.3) precise).  After about half a day the demo hung, then the kernel panic(I am a chinese student ,Please forgive my poor English level).

  the kernel info is this:
  ---------------------------------------------------------------------------------------------------------------------
  root@yy-desktop:/home/yy# [10920.823944] INFO: task irq/142-emif.1:137 blocked for more than 120 seconds.
  [10920.831420] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [10920.848144] Kernel panic - not syncing: hung_task: blocked tasks
  [10920.854522] [<c001be78>] (unwind_backtrace+0x0/0xec) from [<c0585454>] (dump_stack+0x20/0x24)
  [10920.863586] [<c0585454>] (dump_stack+0x20/0x24) from [<c0585970>] (panic+0x98/0x1e8)
  [10920.871795] [<c0585970>] (panic+0x98/0x1e8) from [<c00bb7b4>] (watchdog+0x1f8/0x25c)
  [10920.880004] [<c00bb7b4>] (watchdog+0x1f8/0x25c) from [<c00661ac>] (kthread+0x9c/0xac)
  [10920.888336] [<c00661ac>] (kthread+0x9c/0xac) from [<c0014884>] (kernel_thread_exit+0x0/0x8)
  [10920.897186] CPU1: stopping
  [10920.900085] [<c001be78>] (unwind_backtrace+0x0/0xec) from [<c0585454>] (dump_stack+0x20/0x24)
  [10920.909118] [<c0585454>] (dump_stack+0x20/0x24) from [<c00196ac>] (handle_IPI+0x108/0x1e4)
  [10920.917907] [<c00196ac>] (handle_IPI+0x108/0x1e4) from [<c00086e0>] (gic_handle_irq+0x68/0x70)
  [10920.927032] [<c00086e0>] (gic_handle_irq+0x68/0x70) from [<c05904c0>] (__irq_svc+0x40/0x70)
  [10920.935913] Exception stack(0xed063b48 to 0xed063b90)
  [10920.941253] 3b40:                   c0ac44b4 00000001 ed063b60 00000000 c0ac44b4 ed00b000
  [10920.949951] 3b60: ed00b000 00000001 00000000 00200010 00000000 ed063b9c ed063ba0 ed063b90
  [10920.958618] 3b80: c01423a0 c058f898 200b0113 ffffffff
  [10920.963989] [<c05904c0>] (__irq_svc+0x40/0x70) from [<c058f898>] (_raw_spin_unlock+0xc/0x50)
  [10920.972930] [<c058f898>] (_raw_spin_unlock+0xc/0x50) from [<c01423a0>] (put_super+0x34/0x3c)
  [10920.981903] [<c01423a0>] (put_super+0x34/0x3c) from [<c014248c>] (drop_super+0x28/0x2c)
  [10920.990386] [<c014248c>] (drop_super+0x28/0x2c) from [<c01432cc>] (prune_super+0x158/0x16c)
  [10920.999267] [<c01432cc>] (prune_super+0x158/0x16c) from [<c0108758>] (shrink_slab+0xa4/0x3a4)
  [10921.008300] [<c0108758>] (shrink_slab+0xa4/0x3a4) from [<c010bcc4>] (do_try_to_free_pages+0x318/0x560)
  [10921.018188] [<c010bcc4>] (do_try_to_free_pages+0x318/0x560) from [<c010c1cc>] (try_to_free_pages+0xe8/0x1b4)
  [10921.028625] [<c010c1cc>] (try_to_free_pages+0xe8/0x1b4) from [<c00fc710>] (__perform_reclaim+0x84/0xb4)
  [10921.038604] [<c00fc710>] (__perform_reclaim+0x84/0xb4) from [<c00ff61c>] (__alloc_pages_nodemask+0x428/0x758)
  [10921.049133] [<c00ff61c>] (__alloc_pages_nodemask+0x428/0x758) from [<c004301c>] (copy_process.part.26+0xb0/0xfe0)
  [10921.060028] [<c004301c>] (copy_process.part.26+0xb0/0xfe0) from [<c00440c8>] (do_fork+0x124/0x3ac)
  [10921.069519] [<c00440c8>] (do_fork+0x124/0x3ac) from [<c00149c8>] (kernel_thread+0x78/0x88)
  [10921.078308] [<c00149c8>] (kernel_thread+0x78/0x88) from [<c005dd00>] (__call_usermodehelper+0x4c/0x94)
  [10921.088195] [<c005dd00>] (__call_usermodehelper+0x4c/0x94) from [<c0061918>] (process_one_work+0x254/0x454)
  [10921.098510] [<c0061918>] (process_one_work+0x254/0x454) from [<c0061ea4>] (worker_thread+0x1ac/0x2d0)
  [10921.108306] [<c0061ea4>] (worker_thread+0x1ac/0x2d0) from [<c00661ac>] (kthread+0x9c/0xac)
  [10921.117095] [<c00661ac>] (kthread+0x9c/0xac) from [<c0014884>] (kernel_thread_exit+0x0/0x8)
  [10921.125946] panic occurred, switching back to text console
  ----------------------------------------------------------------------------------------------------------------------------

  then I reboot the pandaboard , after 3 hours, the kernel panic again,
  The results of each kernel crash causes are not the same:

  ------------------------------------------------------------------------------------------------------------------------------

  root@yy-desktop:/opt# [11042.000427] INFO: task kworker/0:2:2395 blocked for more than 120 seconds.
  [11042.007751] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [11043.024078] Kernel panic - not syncing: hung_task: blocked tasks
  [11043.030456] [<c001be78>] (unwind_backtrace+0x0/0xec) from [<c0585454>] (dump_stack+0x20/0x24)
  [11043.039489] [<c0585454>] (dump_stack+0x20/0x24) from [<c0585970>] (panic+0x98/0x1e8)
  [11043.047698] [<c0585970>] (panic+0x98/0x1e8) from [<c00bb7b4>] (watchdog+0x1f8/0x25c)
  [11043.055938] [<c00bb7b4>] (watchdog+0x1f8/0x25c) from [<c00661ac>] (kthread+0x9c/0xac)
  [11043.064239] [<c00661ac>] (kthread+0x9c/0xac) from [<c0014884>] (kernel_thread_exit+0x0/0x8)
  [11043.073089] CPU0: stopping
  [11043.075958] [<c001be78>] (unwind_backtrace+0x0/0xec) from [<c0585454>] (dump_stack+0x20/0x24)
  [11043.085021] [<c0585454>] (dump_stack+0x20/0x24) from [<c00196ac>] (handle_IPI+0x108/0x1e4)
  [11043.093780] [<c00196ac>] (handle_IPI+0x108/0x1e4) from [<c00086e0>] (gic_handle_irq+0x68/0x70)
  [11043.102935] [<c00086e0>] (gic_handle_irq+0x68/0x70) from [<c05904c0>] (__irq_svc+0x40/0x70)
  [11043.111785] Exception stack(0xeb3a3ad8 to 0xeb3a3b20)
  [11043.117126] 3ac0:                                                       ed00a0a4 eb3a2000
  [11043.125823] 3ae0: 00000000 ed00a000 eb3a3bb4 eb3a3c58 0000000a eb3a3bbc 0000000a 00200010
  [11043.134490] 3b00: ed00a0a4 eb3a3bac eb3a3b10 eb3a3b20 c010761c c010a97c 40000113 ffffffff
  [11043.143157] [<c05904c0>] (__irq_svc+0x40/0x70) from [<c010a97c>] (shrink_mem_cgroup_zone+0x74/0x524)
  [11043.152862] [<c010a97c>] (shrink_mem_cgroup_zone+0x74/0x524) from [<c010ae9c>] (shrink_zone+0x70/0xa4)
  [11043.162719] [<c010ae9c>] (shrink_zone+0x70/0xa4) from [<c010bbec>] (do_try_to_free_pages+0x240/0x560)
  [11043.172515] [<c010bbec>] (do_try_to_free_pages+0x240/0x560) from [<c010c1cc>] (try_to_free_pages+0xe8/0x1b4)
  [11043.182922] [<c010c1cc>] (try_to_free_pages+0xe8/0x1b4) from [<c00fc710>] (__perform_reclaim+0x84/0xb4)
  [11043.192901] [<c00fc710>] (__perform_reclaim+0x84/0xb4) from [<c00ff61c>] (__alloc_pages_nodemask+0x428/0x758)
  [11043.203430] [<c00ff61c>] (__alloc_pages_nodemask+0x428/0x758) from [<c0131b2c>] (new_slab+0x98/0x218)
  [11043.213195] [<c0131b2c>] (new_slab+0x98/0x218) from [<c0587d50>] (__slab_alloc.isra.43.constprop.50+0x208/0x540)
  [11043.223999] [<c0587d50>] (__slab_alloc.isra.43.constprop.50+0x208/0x540) from [<c0133f0c>] (kmem_cache_alloc_trace+0x6c/0x1cc)
  [11043.236083] [<c0133f0c>] (kmem_cache_alloc_trace+0x6c/0x1cc) from [<c03556d0>] (drm_vm_open_locked+0x50/0x98)
  [11043.246612] [<c03556d0>] (drm_vm_open_locked+0x50/0x98) from [<c0350a50>] (drm_gem_mmap+0x144/0x170)
  [11043.256286] [<c0350a50>] (drm_gem_mmap+0x144/0x170) from [<c044a960>] (omap_gem_mmap+0x20/0x6c)
  [11043.265533] [<c044a960>] (omap_gem_mmap+0x20/0x6c) from [<c0120f38>] (mmap_region+0x2b8/0x4f8)
  [11043.274658] [<c0120f38>] (mmap_region+0x2b8/0x4f8) from [<c0121468>] (do_mmap_pgoff+0x2f0/0x348)
  [11043.283996] [<c0121468>] (do_mmap_pgoff+0x2f0/0x348) from [<c0121580>] (sys_mmap_pgoff+0xc0/0x11c)
  [11043.293487] [<c0121580>] (sys_mmap_pgoff+0xc0/0x11c) from [<c0013600>] (ret_fast_syscall+0x0/0x30)
  [11043.303009] panic occurred, switching back to text console
  ---------------------------------------------------------------------------------------------------------------------------------------------------

  My guess is that sgx540 driver causes a kernel crash, Ubuntu in terms
  of 3D acceleration seems to be a lot less,Can you give me some advice
  to help me? Thank you very much!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/1451682/+subscriptions