Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] pressing send in icedove crashes xorg

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
GNUser
Posts: 18
Joined: 2016-04-13 13:28

[SOLVED] pressing send in icedove crashes xorg

#1 Post by GNUser »

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.

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

Re: icedove crashes xorg when forwarding certain messages

#2 Post by mor »

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
NFT5
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 597
Joined: 2014-10-10 11:38
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 43 times

Re: icedove crashes xorg when forwarding certain messages

#3 Post by NFT5 »

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-a ... 00004.html

GNUser
Posts: 18
Joined: 2016-04-13 13:28

Re: icedove crashes xorg when forwarding certain messages

#4 Post by GNUser »

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: 18
Joined: 2016-04-13 13:28

Re: [SOLVED] pressing send in icedove crashes xorg

#5 Post by GNUser »

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 (http://forums.debian.net/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.

Post Reply