Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-21 Thread Harald Dunkel

kodi is affected, too. Attached you can find kodi's log file.
AFAICT it *does* try vdpau first, but then it exits.

Regards
Harri

kodi.log.gz
Description: GNU Zip compressed data


Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-21 Thread Jakub Wilk

* Paul Menzel , 2022-03-20, 07:22:

Control: forward -1 https://github.com/intel/gmmlib/issues/95


I thought it was `forwarded`, but changed after reading the example in 
*How to report a bug in Debian using reportbug* [2], which turned out 
to be wrong.


This documentation bug is tracked as #863069.

--
Jakub Wilk



Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-20 Thread Sebastian Ramacher
On 2022-03-20 07:07:46 +0100, Paul Menzel wrote:
> Control: forward -1 https://github.com/intel/gmmlib/issues/95
> 
> Dear Debian folks,
> 
> 
> Am 20.03.22 um 04:35 schrieb Christoph Anton Mitterer:
> 
> […]
> 
> > This version breaks e.g. video playback with mpv (also vlc):
> > $ mpv test.mp4
> >   (+) Video --vid=1 (h264 720x300 23.976fps)
> >   (+) Audio --aid=1 (aac 2ch 44100Hz)
> > Segmentation fault
> 
> I am only able to reproduce this with VA-API enabled, that means, when I
> pass `--hwdec=vaapi` to mpv. Firefox with VA-API enabled crashes too, but
> not when it’s disabled. Do you have VA-API enabled for mpv?

Considering that this code is only used for VA-API drivers for Intel
GPUs, that's not surprising.

vlc tries to auto-detect the best playback method (unless configuered to
use a specific one). It tries both VA-API and VDPAU and picks the best
match.

Cheers

> 
> […]
> 
> I installed *libigdgmm12-dbgsym*, and created the issue #95 *[regression]
> Terminates with segfault in InitializeGmm/InitContext* upstream [1].
> 
> Hopefully, they analyze and fix it quickly. No idea, if it’s possible to
> revert to an earlier version in Debian sid/unstable until that is fixed.
> 
> 
> Kind regards,
> 
> Paul
> 
> 
> [1]: https://github.com/intel/gmmlib/issues/95
> 

-- 
Sebastian Ramacher


signature.asc
Description: PGP signature


Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-20 Thread Christoph Anton Mitterer
On Sun, 2022-03-20 at 07:07 +0100, Paul Menzel wrote:
> Firefox with VA-API enabled crashes too,
> but not when it’s disabled.


> Do you have VA-API enabled for mpv?
I do have:
hwdec=auto

in mpv.conf, which I think would use vaapi here.

However, I have nothing specifically set for VLC.


Thanks,
Chris.



Processed: Re: Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-19 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://github.com/intel/gmmlib/issues/95
Bug #1007992 [libigdgmm12] libigdgmm12: new version causes segfaults
Set Bug forwarded-to-address to 'https://github.com/intel/gmmlib/issues/95'.

-- 
1007992: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007992
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-19 Thread Paul Menzel

Control: forwarded -1 https://github.com/intel/gmmlib/issues/95


Dear Debian folks,


Am 20.03.22 um 07:07 schrieb Paul Menzel:

Control: forward -1 https://github.com/intel/gmmlib/issues/95


I thought it was `forwarded`, but changed after reading the example in 
*How to report a bug in Debian using reportbug* [2], which turned out to 
be wrong.


[…]


Kind regards,

Paul


[2]: https://www.debian.org/Bugs/Reporting.en.html#control



Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-19 Thread Paul Menzel

Control: forward -1 https://github.com/intel/gmmlib/issues/95

Dear Debian folks,


Am 20.03.22 um 04:35 schrieb Christoph Anton Mitterer:

[…]


This version breaks e.g. video playback with mpv (also vlc):
$ mpv test.mp4
  (+) Video --vid=1 (h264 720x300 23.976fps)
  (+) Audio --aid=1 (aac 2ch 44100Hz)
Segmentation fault


I am only able to reproduce this with VA-API enabled, that means, when I 
pass `--hwdec=vaapi` to mpv. Firefox with VA-API enabled crashes too, 
but not when it’s disabled. Do you have VA-API enabled for mpv?


[…]

I installed *libigdgmm12-dbgsym*, and created the issue #95 
*[regression] Terminates with segfault in InitializeGmm/InitContext* 
upstream [1].


Hopefully, they analyze and fix it quickly. No idea, if it’s possible to 
revert to an earlier version in Debian sid/unstable until that is fixed.



Kind regards,

Paul


[1]: https://github.com/intel/gmmlib/issues/95



Bug#1007992: libigdgmm12: new version causes segfaults

2022-03-19 Thread Christoph Anton Mitterer
Package: libigdgmm12
Version: 22.1.1+ds1-1
Severity: critical
Justification: breaks unrelated software


Hey.


This version breaks e.g. video playback with mpv (also vlc):
$ mpv test.mp4
 (+) Video --vid=1 (h264 720x300 23.976fps)
 (+) Audio --aid=1 (aac 2ch 44100Hz)
Segmentation fault


With:
Mar 20 04:30:17 heisenberg kernel: mpv/vo[292810]: segfault at 30200 ip 
7f93a01e49ae sp 7f93ab2514b0 error 4 in 
libigdgmm.so.12.1.0[7f93a017b000+78000]
Mar 20 04:30:17 heisenberg kernel: Code: ff 4c 8b 55 c8 31 c0 b9 40 00 00 00 4c 
8b 45 b8 4c 89 fe 49 8d 92 b0 33 00 00 48 89 d7 f3 41 0f 6f 00 ba c4 06 00 00 
f3 48 ab <49> 8b 06 49 8d 7a 44 41 c7 82 b8 35 00 00 0a 00 00 00 f3 41 0f 6f
Mar 20 04:30:22 heisenberg kernel: mpv/vo[292830]: segfault at 30200 ip 
7fb5381d49ae sp 7fb53b4564b0 error 4 in 
libigdgmm.so.12.1.0[7fb53816b000+78000]
Mar 20 04:30:22 heisenberg kernel: Code: ff 4c 8b 55 c8 31 c0 b9 40 00 00 00 4c 
8b 45 b8 4c 89 fe 49 8d 92 b0 33 00 00 48 89 d7 f3 41 0f 6f 00 ba c4 06 00 00 
f3 48 ab <49> 8b 06 49 8d 7a 44 41 c7 82 b8 35 00 00 0a 00 00 00 f3 41 0f 6f
Mar 20 04:30:23 heisenberg kernel: mpv/vo[292850]: segfault at 30200 ip 
7f57901de9ae sp 7f579ea9f4b0 error 4 in 
libigdgmm.so.12.1.0[7f5790175000+78000]
Mar 20 04:30:23 heisenberg kernel: Code: ff 4c 8b 55 c8 31 c0 b9 40 00 00 00 4c 
8b 45 b8 4c 89 fe 49 8d 92 b0 33 00 00 48 89 d7 f3 41 0f 6f 00 ba c4 06 00 00 
f3 48 ab <49> 8b 06 49 8d 7a 44 41 c7 82 b8 35 00 00 0a 00 00 00 f3 41 0f 6f
Mar 20 04:30:30 heisenberg kernel: vlc[292895]: segfault at 30200 ip 
7f94f12fb9ae sp 7f94f105bb00 error 4 in 
libigdgmm.so.12.1.0[7f94f1292000+78000]
Mar 20 04:30:30 heisenberg kernel: Code: ff 4c 8b 55 c8 31 c0 b9 40 00 00 00 4c 
8b 45 b8 4c 89 fe 49 8d 92 b0 33 00 00 48 89 d7 f3 41 0f 6f 00 ba c4 06 00 00 
f3 48 ab <49> 8b 06 49 8d 7a 44 41 c7 82 b8 35 00 00 0a 00 00 00 f3 41 0f 6f
Mar 20 04:31:20 heisenberg kernel: mpv/vo[293088]: segfault at 30200 ip 
7f923547a9ae sp 7f925251a4b0 error 4 in 
libigdgmm.so.12.1.0[7f9235411000+78000]
Mar 20 04:31:20 heisenberg kernel: Code: ff 4c 8b 55 c8 31 c0 b9 40 00 00 00 4c 
8b 45 b8 4c 89 fe 49 8d 92 b0 33 00 00 48 89 d7 f3 41 0f 6f 00 ba c4 06 00 00 
f3 48 ab <49> 8b 06 49 8d 7a 44 41 c7 82 b8 35 00 00 0a 00 00 00 f3 41 0f 6f


Downgrading to 22.0.2+ds1-1 fixes the issue.


Cheers,
Chris.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libigdgmm12 depends on:
ii  libc6   2.33-7
ii  libgcc-s1   12-20220319-1
ii  libstdc++6  12-20220319-1

libigdgmm12 recommends no packages.

libigdgmm12 suggests no packages.

-- no debconf information