Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454208 - x11-libs/cairo-1.12.10 - breaks claws-mail (still applies for -r1,-r2)
Summary: x11-libs/cairo-1.12.10 - breaks claws-mail (still applies for -r1,-r2)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben de Groot (RETIRED)
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-26 20:48 UTC by avx
Modified: 2013-03-06 11:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace -f claws-mail (strace.claws-mail.txt.gz,33.74 KB, application/x-gzip)
2013-01-28 14:55 UTC, avx
Details
thunar rendering issues (thunar.png,529.56 KB, image/png)
2013-01-28 15:36 UTC, avx
Details
gdb backtrace (claws-mail-3.9.0-vs-cairo-1.12.12.bt,11.97 KB, application/octet-stream)
2013-02-06 22:09 UTC, avx
Details
gdb backtrace (claws-mail-3.9.0-vs-cairo-1.12.12.bt,93.84 KB, application/octet-stream)
2013-02-07 00:31 UTC, avx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description avx 2013-01-26 20:48:51 UTC
After the upgrade to 1.12.10, claws-mail locks up at start without completing drawing the window; app is not useable in this state.

Additionally, thunar has sometimes problems rendering it's icons, can be solved by scrolling or refresh.

Neither problem existed before and downgrading cairo to 1.12.8 fixes it for me.

Reproducible: Always

Steps to Reproduce:
1. emerge =cairo-1.12.10
2. `claws-mail`
3.
Actual Results:  
unusable application

Expected Results:  
should work

for me it's major, thus setting severity to it.
Comment 1 Rafał Mużyło 2013-01-26 23:01:57 UTC
> for me it's major,...

....

Anyway, check bug 454108.
Comment 2 Branko Grubic 2013-01-27 08:31:21 UTC
Same here with thunar. But claws-mail works fine for me. 

(~amd64)
x11-libs/cairo-1.12.10
xfce-base/thunar-1.6.2
mail-client/claws-mail-3.9.0
Comment 3 avx 2013-01-27 17:20:00 UTC
(In reply to comment #1)
> > for me it's major,...
> 
> ....
> 
> Anyway, check bug 454108.

Seen that, doesn't solve anything for me.
Comment 4 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-01-28 08:38:19 UTC
Can you try to run the applications with `strace -f` and attach the resulting logs?

It might be it is not an I/O related problem, in which case you can run them with gdb and have the relevant packages compiled with debug symbols, once they hang interrupt them (CTRL+C) and inspect the backtrace by typing backtrace.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-01-28 09:48:36 UTC
I think this is could be a duplicate of bug 454108.
Comment 6 avx 2013-01-28 14:55:58 UTC
Created attachment 337110 [details]
strace -f claws-mail

As requested, here is a gzipped strace-f of claws-mail. ^C didn't work, so had to kill it from another terminal.
Comment 7 avx 2013-01-28 14:57:07 UTC
If you also need something for thunar, let me know. It's not unusable bad right now, but I'll notice.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-01-28 15:08:07 UTC
First interesting thing would be which of the issues still exist with 1.12.10-r1
Comment 9 avx 2013-01-28 15:24:29 UTC
All mentioned.

claws doesn't render it's interface and locks up to an unusable state, can only be force killed.

thunar still has problems rendering some document icons, to be specific, it seems like only thumbnail icons (i.e. from office-docs) are affected, not general purpose icons like for .mp3 or .png.
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-01-28 15:28:10 UTC
Please provide a screenshot of thunar image corruption with 1.12.10-r1 (and from 1.12.10 if it is any different)
Comment 11 avx 2013-01-28 15:36:25 UTC
Created attachment 337124 [details]
thunar rendering issues

screenshot of thunar as requested, filenames redacted
Comment 12 avx 2013-01-28 15:37:51 UTC
Taking back my comment from above, affecting definetly more icon types.

Restarting thunar sometimes affects other icons and the ones currently not rendered correctly are fine, I don't see a pattern.
Comment 13 Small_Penguin 2013-01-29 13:35:54 UTC
I confirm the problems reported in thunar with cairo-1.12.10. Downgrading to 1.12.8 solves the problems.

I first suspected this to be a problem with the graphics card drivers (r600 git, mesa git, linux-3.7.3). Maybe cairo-1.12.10 now uses hardware acceleration for rendering some stuff which cairo-1.12.8 didn't.
Comment 14 avx 2013-01-29 16:33:52 UTC
(In reply to comment #13)
> I first suspected this to be a problem with the graphics card drivers (r600
> git, mesa git, linux-3.7.3). Maybe cairo-1.12.10 now uses hardware
> acceleration for rendering some stuff which cairo-1.12.8 didn't.

Dunno, but could be, thus: gentoo-sources-3.7.3, nvidia-drivers-313.18
Comment 15 Small_Penguin 2013-01-30 19:49:40 UTC
It doesn't happen on a r600 with CAYMAN chip and kernel-3.6.11.
Comment 16 Small_Penguin 2013-01-31 08:12:38 UTC
I stand corrected. It happens with r600 on CAYMAN too.
Comment 17 avx 2013-02-02 12:29:00 UTC
https://bugs.gentoo.org/show_bug.cgi?id=454468 fixed the corruption in thunar, but claws still doesn't work, thus still forced to mask >1.12.8
Comment 18 Matt Turner gentoo-dev 2013-02-06 04:08:10 UTC
Does it still exist with 1.12.12?
Comment 19 avx 2013-02-06 19:24:38 UTC
(In reply to comment #18)
> Does it still exist with 1.12.12?

Yes, problem still there.

Currently in the process of running `emerge -e claws-mail`, doubt that will help, though.
Comment 20 Matt Turner gentoo-dev 2013-02-06 20:53:15 UTC
(In reply to comment #19)
> (In reply to comment #18)
> > Does it still exist with 1.12.12?
> 
> Yes, problem still there.
> 
> Currently in the process of running `emerge -e claws-mail`, doubt that will
> help, though.

Okay, seems like it's time to file a bug upstream at bugs.freedesktop.org.
Comment 21 avx 2013-02-06 21:32:11 UTC
(In reply to comment #20)
> Okay, seems like it's time to file a bug upstream at bugs.freedesktop.org.

Would I need to do that or can some @Gentoo-dev do that? Not really motivated to create and monitor yet another account :/

Regarding the `emerge -e claws-mail` run, as expected, it didn't help, neither does pulling and building the latest CVS snapshot of claws.
Comment 22 Matt Turner gentoo-dev 2013-02-06 21:46:54 UTC
Upstream says that a gdb backtrace of claws would be useful.

See http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 23 avx 2013-02-06 22:09:15 UTC
Created attachment 338156 [details]
gdb backtrace

Hope I've done that right:

- recompiled with -O1 and taking care of the other flags in your linked guide
- `gdb /usr/bin/claws-mail`
- set logging file foo
- set logging on
- run
- ^C (since nothing else was doable with claws)
- thread apply all bt full
- quit

If that's the wrong way or I also need to compile every dep with debug-stuff, please tell me/give detailed info.
Comment 24 Matt Turner gentoo-dev 2013-02-06 22:37:30 UTC
(In reply to comment #23)
> Created attachment 338156 [details]
> gdb backtrace
> 
> Hope I've done that right:
> 
> - recompiled with -O1 and taking care of the other flags in your linked guide
> - `gdb /usr/bin/claws-mail`
> - set logging file foo
> - set logging on
> - run
> - ^C (since nothing else was doable with claws)
> - thread apply all bt full
> - quit
> 
> If that's the wrong way or I also need to compile every dep with
> debug-stuff, please tell me/give detailed info.

Yeah, we probably need debug symbols. 

The best way to do this is to add
FEATURES="splitdebug"
and add -g or -ggdb to your CFLAGS and then remerge

gtk+:2 glib pango cairo gobject-introspection claws-mail

Then the backtrace should have a lot more information.
Comment 25 avx 2013-02-07 00:31:58 UTC
Created attachment 338180 [details]
gdb backtrace

Same procedure as above, except for the changes and rebuilds you suggest.

OT, wondering if I'm the only ~amd64 user of claws :p
Comment 26 avx 2013-03-06 11:30:24 UTC
I needed to make a complete new install of the whole system, back on ~amd64 now and copied over my .claws-mail, it's working again.

So I'm guessing, some dep was broken but not listed to be rebuilt or something. Anyway, fixed for me, thus closing, sry for the inconvenience.