[SOLVED] pressing send in icedove crashes xorg

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED] pressing send in icedove crashes xorg

Postby GNUser » 2017-02-23 17:49

I'm on Debian testing (Stretch). When using icedove, forwarding certain emails causes X to crash as soon as I press "Send".

The console that shows up after X has crashed shows a helpful (?) message: "glamor_picture.c:291: glamor_upload_picture_to_texture: Assertion `!pixmap_priv->fbo' failed. xinit: connection to x server lost". I figured out that glamor_picture.c is part of the xorg package.

Here are my package versions:
icedove 1:45.6.0-2
xorg 1:7.7+18

I already tried downgrading icedove to the version in Jessie, but same problem occurs. I tried Thunderbird from Sid, same problem.

It seems that the problem is in xorg, and has already been fixed upstream (see https://bugs.freedesktop.org/show_bug.cgi?id=99346). I checked to see whether Sid had a newer version of the xorg package and, alas, it does not.

Anything I should do to help make sure this problem does not make it into Stretch when it is released as stable? I'm a relative newbie to Debian.

Unfortunately, I forward messages a lot, so I need a work-around until this is fixed. Any ideas?
Last edited by GNUser on 2017-02-25 06:47, edited 2 times in total.
GNUser
 
Posts: 10
Joined: 2016-04-13 13:28

Re: icedove crashes xorg when forwarding certain messages

Postby mor » 2017-02-23 22:19

GNUser wrote:Anything I should do to help make sure this problem does not make it into Stretch when it is released as stable? I'm a relative newbie to Debian.

You could check if a bug has already been filed under xorg (and icedove too, to be sure) and if no one has (after a quick look I couldn't find any) then you should.

GNUser wrote:Unfortunately, I forward messages a lot, so I need a work-around until this is fixed. Any ideas?

Have you tried getting icedove from mozilla.debian.net or thunderbird directly from the mozilla.org website?
I have to say it's a long shot because it seems to be the same version for all and also the bug appears to go beyond just icedove/thunderbird, but you never know.

Other than that, comment #4 from the bug report you linked has a patch, try that, it's a pretty easy one.

Bye
User avatar
mor
 
Posts: 969
Joined: 2010-08-28 15:16
Location: mor@debian

Re: icedove crashes xorg when forwarding certain messages

Postby NFT5 » 2017-02-23 23:59

The problem with Icedove crashing unexpectedly has been brought up before, but, IIRC, not linked to xorg.

However, the solution may be on the way with Icedove to be replaced by Thunderbird:
https://lists.debian.org/debian-devel-announce/2017/02/msg00004.html
User avatar
NFT5
 
Posts: 209
Joined: 2014-10-10 11:38
Location: Canberra, Australia

Re: icedove crashes xorg when forwarding certain messages

Postby GNUser » 2017-02-24 14:16

Thanks for the input. I went ahead and filed a bug report: https://bugs.debian.org/cgi-bin/bugrepo ... bug=856041

Ironically, clicking on the "download patch" link here (https://patchwork.freedesktop.org/patch/135036/) triggers the xorg crash and the same exact message concerning glamor_picture.c shows up in the console.

@mor: Thanks for the helpful links in your signature. I installed the build-deps for xorg and got what I thought was the source code for xorg from the deb-src repository, but I couldn't find glamor_render.c in what was downloaded. I thought it would be a simple matter of editing the source code then building a .deb from it with "dpkg-buildpackage -rfakeroot -us -uc". I guess it's not that easy.
GNUser
 
Posts: 10
Joined: 2016-04-13 13:28

Re: [SOLVED] pressing send in icedove crashes xorg

Postby GNUser » 2017-02-25 06:55

I realized that it's not the forwarding of emails that crashes xorg. It has something to do with the little progress box that shows up when an email is being sent, so the crash also happens sometimes when sending an email that was written from scratch.

Easiest way to reproduce the problem is to open up firefox-esr and click where it says "download patch" here: https://patchwork.freedesktop.org/patch/135036/

At any rate, I was able to fix all the problems above. The source package that contains glamor_render.c is actually xorg-server. I basically just followed the steps in mor's link (viewtopic.php?t=38976) except that I didn't do the "debchange -b -v" step and, before dpkg-buildpackage step I added the four lines into glamor_render.c as indicated in Olivier's patch. To my surprise, the dpkg-buildpackage step actually generated several .deb packages. I only installed the two that I already had in my system: xserver-common and xserver-xorg-core, and all problems went away after a reboot.
GNUser
 
Posts: 10
Joined: 2016-04-13 13:28


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable