Bug 3312 - Freeze on startup (cairo-scaled-font.c:459)
Summary: Freeze on startup (cairo-scaled-font.c:459)
Status: RESOLVED INVALID
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: UI (show other bugs)
Version: 3.11.0
Hardware: PC Linux
: P3 blocker
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2014-10-27 12:27 UTC by aleks
Modified: 2014-10-27 13:47 UTC (History)
0 users

See Also:


Attachments
This is how 'broken' window looks like (2.18 KB, image/png)
2014-10-27 12:27 UTC, aleks
no flags Details
This is how working window should look like (18.57 KB, image/png)
2014-10-27 12:27 UTC, aleks
no flags Details

Description aleks 2014-10-27 12:27:20 UTC
Created attachment 1441 [details]
This is how 'broken' window looks like

When starting claws-mail, it freezes on startup, displaying partially drawn window (broken, controls, or list of mail is not displaying).

I then cannot close window normally, xkill leaves process in the background, and only killall helps.

Problem is inconsistant, closing and starting program repeatedly fixes this and everything works fine, until next start. This seems random to me.

Issue appeared somewhere about v3.10.0

I am running v3.11.0 on GNU Operating System (Archlinux distribution).

-- ERROR OUTPUT START --

claws-mail: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
claws.c:102:Starting Claws Mail version Claws Mail 3.11.0
utils.c:1924:using default rc_dir /home/muchweb/.claws-mail
main.c:2174:Using control socket /tmp/claws-mail-1001/3382360de817c896880f2200f8944259
main.c:2269:another Claws Mail instance is already running.

** (process:2701): WARNING **: Socket IO timeout


** (process:2701): WARNING **: [11:13:27] Socket IO timeout.

Claws Mail is already running on display .

-- ERROR OUTPUT END --

Please note that another process was NOT running.
Comment 1 aleks 2014-10-27 12:27:53 UTC
Created attachment 1442 [details]
This is how working window should look like
Comment 2 Ricardo Mones 2014-10-27 12:51:45 UTC
Seems a problem of your distribution, not of Claws Mail:

https://bbs.archlinux.org/viewtopic.php?id=169075

Have you tried to use a different font ?
Comment 3 Ricardo Mones 2014-10-27 12:55:08 UTC
(In reply to comment #2)
> Seems a problem of your distribution, not of Claws Mail:
> 
> https://bbs.archlinux.org/viewtopic.php?id=169075
> 
> Have you tried to use a different font ?

Well, to be fair, not a distribution problem, but a cairo problem, other distros have also same issue:

http://forums.debian.net/viewtopic.php?f=6&t=109680

;-)
Comment 4 aleks 2014-10-27 13:06:41 UTC
Thank you.

I have refreshed font size

    $ sudo fc-cache -f -v

but this didn't help (still crashing).

---

> Have you tried to use a different font ?

This would mean changing font for all of my GTK programs, which not really a good solution for me. Also claws-main is only crashing in about 80% of times. No other program is crashing like this.

---

I am running Cairo version 1.14.0-1
Comment 5 Ricardo Mones 2014-10-27 13:29:12 UTC
(In reply to comment #4)
> Thank you.
> 
> I have refreshed font size
> 
>     $ sudo fc-cache -f -v
> 
> but this didn't help (still crashing).
> 
> ---
> 
> > Have you tried to use a different font ?
> 
> This would mean changing font for all of my GTK programs, which not really a
> good solution for me. Also claws-main is only crashing in about 80% of
> times. No other program is crashing like this.
> 
> ---
> 
> I am running Cairo version 1.14.0-1

And downgrading Cairo?
Comment 6 Paul 2014-10-27 13:35:56 UTC
(In reply to comment #4)
> This would mean changing font for all of my GTK programs, which not really a
> good solution for me. Also claws-main is only crashing in about 80% of
> times. No other program is crashing like this.

Actually it wouldn't mean that. It could mean just your GTK2 apps, or, more fine grained than that, just for Claws. You can just place a gtkrc-2.0 file in ~/.claws-mail/
Comment 7 aleks 2014-10-27 13:46:25 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > This would mean changing font for all of my GTK programs, which not really a
> > good solution for me. Also claws-main is only crashing in about 80% of
> > times. No other program is crashing like this.
> 
> Actually it wouldn't mean that. It could mean just your GTK2 apps, or, more
> fine grained than that, just for Claws. You can just place a gtkrc-2.0 file
> in ~/.claws-mail/

This has fixed an issue. I have changed GTK font in gtkrc-2.0 file from "Terminus 10" to "Monospace 10" (which defaults to Terminus anyway) and it works OK, still using then same font.

Note You need to log in before you can comment on or make changes to this bug.