Bug 90814

Summary: quick dump fails when compiled --with-libunwind
Product: DRI Reporter: Chris Wilson <chris>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, luisbite+freedesktop
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Chris Wilson 2015-06-02 11:28:23 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=89704#c17

Adam Honse 2015-03-28 04:18:22 UTC:

I compiled it but when I run quick_dump.py I get:

root@Adam-WinBook:/home/adam/intel-gpu-tools/tools/quick_dump# ./quick_dump.py 
Traceback (most recent call last):
  File "./quick_dump.py", line 17, in <module>
    import chipset
  File "/home/adam/intel-gpu-tools/tools/quick_dump/chipset.py", line 28, in <module>
    _chipset = swig_import_helper()
  File "/home/adam/intel-gpu-tools/tools/quick_dump/chipset.py", line 24, in swig_import_helper
    _mod = imp.load_module('_chipset', fp, pathname, description)
  File "/usr/lib/python3.4/imp.py", line 243, in load_module
    return load_dynamic(name, filename, file)
ImportError: /home/adam/intel-gpu-tools/tools/quick_dump/_chipset.so: undefined symbol: _Ux86_64_getcontext
Comment 1 Jani Nikula 2015-06-02 11:37:38 UTC
With the introduction of tools/intel_reg, I think we could just deprecate quick_dump.py for one IGT release and drop it after that.

intel_reg can reuse the register definitions written for quick_dump.py.
Comment 2 Jani Nikula 2015-08-18 15:23:10 UTC
WONTFIX, please use intel_reg.
Comment 3 Ville Syrjala 2015-08-18 15:33:57 UTC
Fixed quite a while ago.

commit 4271b15f3c8df92f7f0e5201b292644d66da0054
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Thu Apr 9 21:23:06 2015 +0300

    quick_dump: Fix undefined symbols from libunwind

commit 3dff4af5e053b9b64b1167621088ed8eea9e3222
Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
Date:   Thu Apr 9 21:20:25 2015 +0300

    quick_dump: Don't allow undefined symbols in _chipset.so
Comment 4 Chris Wilson 2015-12-31 11:55:20 UTC
*** Bug 93510 has been marked as a duplicate of this bug. ***
Comment 5 Chris Wilson 2016-01-02 12:35:06 UTC
*** Bug 93510 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.