Bug 104796

Summary: [CAIRO] Latest commits compilation crashes IGT kms_pipe_crc_basic family
Product: cairo Reporter: hecmundo <hector.edmundox.ramirez.gomez>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED INVALID QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: blocker    
Priority: highest CC: elizabethx.de.la.torre.mena, humberto.i.perez.rodriguez
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: dmesg output when this family is ran

Description hecmundo 2018-01-25 22:59:53 UTC
Created attachment 136966 [details]
dmesg output when this family is ran

When compiling cairo using either commits 6b05938 or 82f4028 (2 newest) and Intel GPU Tools latest commit (872fd8f), 18 tests of family kms_pipe_crc_basic crash showing the following trace:

Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [cfree+0x22]
 #3 [_cairo_ft_font_face_destroy+0x87]
 #4 [cairo_font_face_destroy+0x8a]
 #5 [_cairo_toy_font_face_destroy+0x43]
 #6 [cairo_font_face_destroy+0x8a]
 #7 [_cairo_gstate_fini+0x2a]
 #8 [_cairo_default_context_fini+0x3d]
 #9 [_cairo_default_context_destroy+0x1d]
 #10 [igt_create_color_fb+0x79]
 #11 [test_read_crc.constprop.4+0x19f]
 #12 [__real_main181+0x532]
 #13 [main+0x27]
 #14 [__libc_start_main+0xf1]
 #15 [_start+0x2a]
 #16 [<unknown>+0x2a]

Last successful cairo commit is 6c6756, which shows no fails on IGT suite tests.
Comment 1 Humberto Israel Perez Rodriguez 2018-01-29 15:19:09 UTC
Hi psychon@znc.in

i see you change the bug from new to needinfo but you did not leave any comments, could you leave a comment and then change again to needinfo please ?
Comment 2 Uli Schlachter 2018-02-02 16:38:14 UTC
Well... Assuming I wanted to investigate this crash, what would you want me to do? Whatever kms_pipe_crc_basic is (is it part of Intel GPU Tools? What is Intel GPU Tools anyway?), it's not part of cairo. The Google approach did not work either: https://github.com/mkuoppal/intel-gpu-tools/search?utf8=%E2%9C%93&q=kms_pipe_crc_basic&type=

So basically, I cannot say more than "sorry, what?" on this bug report and I do not even know which cairo backend is used, or anything.
Comment 3 Hector Velazquez 2018-02-12 14:31:33 UTC
This test has a crash on GLK QA 

Tests List:

igt@gem_shrink@get-pages-userptr
igt@gem_userptr_blits@mlocked-unsync-normal
igt@kms_cursor_crc@cursor-128x128-suspend
igt@kms_cursor_crc@cursor-64x64-suspend
igt@kms_plane@plane-panning-bottom-right-suspend-pipe-A-planes
igt@kms_plane@plane-panning-bottom-right-suspend-pipe-B-planes
igt@kms_plane@plane-panning-bottom-right-suspend-pipe-C-planes
igt@kms_rotation_crc@sprite-rotation-270
igt@kms_rotation_crc@sprite-rotation-270-flip
igt@kms_rotation_crc@sprite-rotation-90
igt@kms_rotation_crc@sprite-rotation-90-flip
igt@kms_rotation_crc@sprite-rotation-90-pos-100-0

IGT-Version: 1.21-g94bd67c (x86_64) (Linux: 4.15.0-drm-tip-ww6-commit-078873d+ x86_64)

======================================
        output sample
======================================
. . .
Received signal SIGSEGV.
Stack trace: 
 #0 [fatal_sig_handler+0xfb]
 #1 [killpg+0x40]
 #2 [cfree+0x22]
 #3 [_cairo_ft_font_face_destroy+0x87]
 #4 [cairo_font_face_destroy+0x8a]
 #5 [_cairo_toy_font_face_destroy+0x43]
 #6 [cairo_font_face_destroy+0x8a]
 #7 [_cairo_gstate_fini+0x2a]
 #8 [_cairo_default_context_fini+0x3d]
 #9 [_cairo_default_context_destroy+0x1d]
 #10 [igt_create_color_fb+0x79]
 #11 [create_cursor_fb.constprop.5+0x37]
 #12 [run_test_generic.constprop.4+0x6b]
 #13 [__real_main627+0xc7]
 #14 [main+0x23]
 #15 [__libc_start_main+0xf0]
 #16 [_start+0x29]
 #17 [<unknown>+0x29]
. . .

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.