← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 645281] Re: lucid + gm45 freeze with Naali viewer

 

(reporting against xserver-xorg-video-intel since using ubuntu-bugon
"linux" first refused to generate report while intel-drm-next kernel was
installed, and then after i removed it, it crashed on a dangling vmlinuz
link).

so, steps to reproduce on lucid;

 * check out and build naali (git clone http://github.com/realXtend/naali.git; cd naali; bash tools/build-ubuntu-deps.bash)
 * launch it (cd bin; ./viewer)
 * click on "Enter world"
 * witness freeze

I followed https://wiki.ubuntu.com/X/Troubleshooting/Freeze -
 * stock lucid: nothing in kernel.log or Xorg.log
 * drm-intel-next kernel + lucid xorg: behaved same as stock lucid. Nothing in /sys/kernel/debug/dri/0/i915_error_state
 * drm-intel-next kernel + xorg-edgers drivers-only: same as above
 * drm-intel-next + xorg-edgers full ppa: x failed to start

I logged in from another machine and tried to find out where the hang was. Funnily only alt-sysrq + b works from the
console, no other sysrq keys, but I got the task dump using echo -n t > /proc/sysrq-trigger. These are using the
stock lucid kernel + xorg.

Here's naali part of task dump
 viewer        D ffff880133d5c028     0  2230   1795 0x00000004
  ffff880118f599c8 0000000000000082 0000000000015bc0 0000000000015bc0
  ffff880118ff4890 ffff880118f59fd8 0000000000015bc0 ffff880118ff44d0
  0000000000015bc0 ffff880118f59fd8 0000000000015bc0 ffff880118ff4890
 Call Trace:
  [<ffffffff8104c96b>] ? mutex_spin_on_owner+0x8b/0xb0
  [<ffffffff81542d77>] __mutex_lock_slowpath+0xe7/0x170
  [<ffffffff81542c6b>] mutex_lock+0x2b/0x50
  [<ffffffffa0189289>] i915_gem_fault+0x69/0x190 [i915]
  [<ffffffff81112bc4>] __do_fault+0x54/0x500
  [<ffffffff811e6176>] ? ext4_find_entry+0x3c6/0x4c0
  [<ffffffff81116108>] handle_mm_fault+0x1a8/0x3c0
  [<ffffffff81156d40>] ? d_rehash+0x50/0x60
  [<ffffffff81158a96>] ? d_splice_alias+0xc6/0x110
  [<ffffffff81546dea>] do_page_fault+0x12a/0x3b0
  [<ffffffff81544735>] page_fault+0x25/0x30
  [<ffffffff812bd66f>] ? __copy_user_nocache+0x2f/0xc0
  [<ffffffffa0188d3b>] ? i915_gem_gtt_pwrite_fast+0xfb/0x150 [i915]
  [<ffffffffa018b6c9>] i915_gem_pwrite_ioctl+0x1a9/0x1d0 [i915]
  [<ffffffffa0088ef8>] drm_ioctl+0x318/0x4c0 [drm]
  [<ffffffff81118bff>] ? vma_link+0xaf/0xd0
  [<ffffffffa018b520>] ? i915_gem_pwrite_ioctl+0x0/0x1d0 [i915]
  [<ffffffff81112fa9>] ? __do_fault+0x439/0x500
  [<ffffffff81153de2>] vfs_ioctl+0x22/0xa0
  [<ffffffff81154091>] do_vfs_ioctl+0x81/0x380
  [<ffffffff81154411>] sys_ioctl+0x81/0xa0
  [<ffffffff810131b2>] system_call_fastpath+0x16/0x1b

and here's the x server

Xorg          D 0000000000000000     0  1327   1197 0x00400004
 ffff88012c4dbc98 0000000000000082 0000000000015bc0 0000000000015bc0
 ffff88012c4cb1a0 ffff88012c4dbfd8 0000000000015bc0 ffff88012c4cade0
 0000000000015bc0 ffff88012c4dbfd8 0000000000015bc0 ffff88012c4cb1a0
Call Trace:
 [<ffffffff81542d77>] __mutex_lock_slowpath+0xe7/0x170
 [<ffffffff81542c6b>] mutex_lock+0x2b/0x50
 [<ffffffffa018488b>] i915_gem_throttle_ioctl+0x3b/0x90 [i915]
 [<ffffffffa0088ef8>] drm_ioctl+0x318/0x4c0 [drm]
 [<ffffffffa0184850>] ? i915_gem_throttle_ioctl+0x0/0x90 [i915]
 [<ffffffff8101b4b0>] ? __switch_to_xtra+0x160/0x1e0
 [<ffffffff810397a9>] ? default_spin_lock_flags+0x9/0x10
 [<ffffffff8154418f>] ? _spin_lock_irqsave+0x2f/0x40
 [<ffffffff81153de2>] vfs_ioctl+0x22/0xa0
 [<ffffffff81154091>] do_vfs_ioctl+0x81/0x380
 [<ffffffff81154411>] sys_ioctl+0x81/0xa0
 [<ffffffff810131b2>] system_call_fastpath+0x16/0x1b

I also got some task hang messages in the kernel log while messing
around remotely, including from the i915 task:


INFO: task i915:702 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
i915          D ffff880133d5c028     0   702      2 0x00000000
 ffff88012c877d40 0000000000000046 0000000000015bc0 0000000000015bc0
 ffff880133fd1ab0 ffff88012c877fd8 0000000000015bc0 ffff880133fd16f0
 0000000000015bc0 ffff88012c877fd8 0000000000015bc0 ffff880133fd1ab0
Call Trace:
 [<ffffffff81542d77>] __mutex_lock_slowpath+0xe7/0x170
 [<ffffffff81058690>] ? finish_task_switch+0x50/0xe0
 [<ffffffff81542c6b>] mutex_lock+0x2b/0x50
 [<ffffffffa018496d>] i915_gem_retire_work_handler+0x3d/0xa0 [i915]
 [<ffffffffa0184930>] ? i915_gem_retire_work_handler+0x0/0xa0 [i915]
 [<ffffffff81080887>] run_workqueue+0xc7/0x1a0
 [<ffffffff81080a03>] worker_thread+0xa3/0x110
 [<ffffffff81085450>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff81080960>] ? worker_thread+0x0/0x110
 [<ffffffff810850d6>] kthread+0x96/0xa0
 [<ffffffff810141ea>] child_rip+0xa/0x20
 [<ffffffff81085040>] ? kthread+0x0/0xa0
 [<ffffffff810141e0>] ? child_rip+0x0/0x20
INFO: task Xorg:1327 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Xorg          D 0000000000000000     0  1327   1197 0x00400004
 ffff88012c4dbc98 0000000000000082 0000000000015bc0 0000000000015bc0
 ffff88012c4cb1a0 ffff88012c4dbfd8 0000000000015bc0 ffff88012c4cade0
 0000000000015bc0 ffff88012c4dbfd8 0000000000015bc0 ffff88012c4cb1a0
Call Trace:
 [<ffffffff81542d77>] __mutex_lock_slowpath+0xe7/0x170
 [<ffffffff81542c6b>] mutex_lock+0x2b/0x50
 [<ffffffffa018488b>] i915_gem_throttle_ioctl+0x3b/0x90 [i915]
 [<ffffffffa0088ef8>] drm_ioctl+0x318/0x4c0 [drm]
 [<ffffffffa0184850>] ? i915_gem_throttle_ioctl+0x0/0x90 [i915]
 [<ffffffff8101b4b0>] ? __switch_to_xtra+0x160/0x1e0
 [<ffffffff810397a9>] ? default_spin_lock_flags+0x9/0x10
 [<ffffffff8154418f>] ? _spin_lock_irqsave+0x2f/0x40
 [<ffffffff81153de2>] vfs_ioctl+0x22/0xa0
 [<ffffffff81154091>] do_vfs_ioctl+0x81/0x380
 [<ffffffff81154411>] sys_ioctl+0x81/0xa0
 [<ffffffff810131b2>] system_call_fastpath+0x16/0x1b
INFO: task viewer:2230 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
viewer        D ffff880133d5c028     0  2230   1795 0x00000004
 ffff880118f599c8 0000000000000082 0000000000015bc0 0000000000015bc0
 ffff880118ff4890 ffff880118f59fd8 0000000000015bc0 ffff880118ff44d0
 0000000000015bc0 ffff880118f59fd8 0000000000015bc0 ffff880118ff4890
Call Trace:
 [<ffffffff8104c96b>] ? mutex_spin_on_owner+0x8b/0xb0
 [<ffffffff81542d77>] __mutex_lock_slowpath+0xe7/0x170
 [<ffffffff81542c6b>] mutex_lock+0x2b/0x50
 [<ffffffffa0189289>] i915_gem_fault+0x69/0x190 [i915]
 [<ffffffff81112bc4>] __do_fault+0x54/0x500
 [<ffffffff811e6176>] ? ext4_find_entry+0x3c6/0x4c0
 [<ffffffff81116108>] handle_mm_fault+0x1a8/0x3c0
 [<ffffffff81156d40>] ? d_rehash+0x50/0x60
 [<ffffffff81158a96>] ? d_splice_alias+0xc6/0x110
 [<ffffffff81546dea>] do_page_fault+0x12a/0x3b0
 [<ffffffff81544735>] page_fault+0x25/0x30
 [<ffffffff812bd66f>] ? __copy_user_nocache+0x2f/0xc0
 [<ffffffffa0188d3b>] ? i915_gem_gtt_pwrite_fast+0xfb/0x150 [i915]
 [<ffffffffa018b6c9>] i915_gem_pwrite_ioctl+0x1a9/0x1d0 [i915]
 [<ffffffffa0088ef8>] drm_ioctl+0x318/0x4c0 [drm]
 [<ffffffff81118bff>] ? vma_link+0xaf/0xd0
 [<ffffffffa018b520>] ? i915_gem_pwrite_ioctl+0x0/0x1d0 [i915]
 [<ffffffff81112fa9>] ? __do_fault+0x439/0x500
 [<ffffffff81153de2>] vfs_ioctl+0x22/0xa0
 [<ffffffff81154091>] do_vfs_ioctl+0x81/0x380
 [<ffffffff81154411>] sys_ioctl+0x81/0xa0
 [<ffffffff810131b2>] system_call_fastpath+0x16/0x1b

-- 
lucid + gm45 freeze with Naali viewer
https://bugs.launchpad.net/bugs/645281
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.



References