totem crashed with SIGTRAP in __glXSendError() from MakeContextCurrent()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GStreamer |
Fix Released
|
Unknown
|
|||
gstreamer-vaapi (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
mesa (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
totem (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
https:/
https:/
https:/
https:/
---
Backtrace goes through:
totem -> clutter-gst (frame update) -> cogl (pipeline free) -> gstreamer (buffer free) -> gstreamer-vaapi (destroy objects) -> Nvidia libglvd (CommonMakeCurrent / InternalMakeCur
Ubuntu bug doesn't say anything about what's the use-case / when this happens and whether it's reproducible (is it e.g. timing related), it seems just some random crash that Apport collects.
In the backtrace Mesa MakeContextCurr
-------
if (gc) {
/* Attempt to bind the context. We do this before mucking with
* gc and __glXSetCurrent
* case of an error.
*
* If an error occurs, set the Null context since we've already
* blown away our old context. The caller is responsible for
* figuring out how to handle setting a valid context.
*/
if (gc->vtable-
return GL_FALSE;
}
-------
I.e. bug is in what is given to Mesa, not what Mesa does.
-> NOTOURBUG
To me it looks something that could happen when Totem is exiting, gst-vaapi is trying to use resources that have already been freed, and X catching that when Gstreamer gstvaapitexture
ProblemType: Crash
DistroRelease: Ubuntu 18.04
Package: totem 3.26.0-0ubuntu5
ProcVersionSign
Uname: Linux 4.15.0-10-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 23 11:26:51 2018
ExecutablePath: /usr/bin/totem
InstallationDate: Installed on 2017-05-04 (323 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170503)
ProcCmdline: /usr/bin/totem --gapplication-
Signal: 5
SourcePackage: totem
StacktraceTop:
?? () from /usr/lib/
?? () from /usr/lib/
?? () from /usr/lib/
?? () from /usr/lib/
?? () from /usr/lib/
Title: totem crashed with signal 5
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
summary: |
- totem crashed with signal 5 + totem crashed with SIGTRAP in __glXSendError() from MakeContextCurrent() |
information type: | Private → Public |
tags: | added: cosmic |
tags: | added: disco |
description: | updated |
Changed in mesa: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mesa (Ubuntu): | |
status: | New → Invalid |
description: | updated |
description: | updated |
no longer affects: | gstreamer (Ubuntu) |
Changed in totem (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in gstreamer: | |
status: | Unknown → New |
no longer affects: | mesa |
affects: | totem → gstreamer |
Changed in gstreamer: | |
status: | Unknown → Fix Released |
StacktraceTop: entry=0x56326c2 d49e0, errorCode= errorCode@ entry=0 '\000', resourceID= resourceID@ entry=0, minorCode= minorCode@ entry=26, coreX11error= coreX11error@ entry=false) at ../../. ./src/glx/ glx_error. c:62 49e0, draw=39845959, read=39845959, gc_user= 0x56326d414050) at ../../. ./src/glx/ glxcurrent. c:216 rrentVendor (dpy=dpy@ entry=0x56326c2 d49e0, draw=draw@ entry=39845959, read=read@ entry=39845959, ctxInfo= ctxInfo@ entry=0x56326d3 f6910, callerOpcode= <optimized out>, threadState= threadState@ entry=0x56326c6 aee90, vendor= 0x56326c479200) at ../../. ./src/GLX/ libglx. c:823 49e0, draw=39845959, read=39845959, context=<optimized out>, callerOpcode= <optimized out>) at ../../. ./src/GLX/ libglx. c:1005 0x56326c71fed0) at ../../. ./../gst- libs/gst/ vaapi/gstvaapit exture_ glx.c:87
__glXSendError (dpy=dpy@
MakeContextCurrent (dpy=0x56326c2d
InternalMakeCu
CommonMakeCurrent (dpy=0x56326c2d
destroy_objects (texture=