After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 82321 - sawfish-ui exits when browsing fonts
sawfish-ui exits when browsing fonts
Status: RESOLVED DUPLICATE of bug 86107
Product: Sawfish
Classification: Deprecated
Component: Config Tool
pre-1.3.x
Other Linux
: High critical
: 1.5.x
Assigned To: John Harper
sawfish QA Team
: 87878 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-05-20 07:09 UTC by Ariel Tankus
Modified: 2009-08-16 15:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Ariel Tankus 2002-05-20 07:09:06 UTC
I attempted to browse a different font from:
Appearance - Appearance - Default font.
When pressing the ``browse'' window, sawfish-ui crashed
with the following messages:
--------------------------
** (rep:18259): WARNING **: Couldn't load font "fixed Medium Semi-Condensed
0" falling back to "Sans Medium Semi-Condensed 0"

** (rep:18259): WARNING **: Couldn't load font "Sans Medium Semi-Condensed
0" falling back to "Sans 0"

** (rep:18259): WARNING **: All font failbacks failed!!!!
--------------------------
sawfish runs OK on my machine (I only wanted to change the font...),
so something is weird that it has no fallbacks.
Comment 1 Luis Villa 2002-05-21 04:38:19 UTC
An actual crash is critical/high but without a way to reproduce this,
I can't really imagine that this is very useful for anyone. :/
Comment 2 John Levon 2002-05-28 19:02:31 UTC
I can reproduce this 100% with garnome 0.10.1

How can I help debug it ? I also get many gtk-critical
assertions with sawfish-ui
Comment 3 John Levon 2002-06-06 02:57:19 UTC
hello ?? What do you need ? xlsfonts, what ?
Comment 4 John Harper 2002-06-30 20:16:20 UTC
sawfish can only load traditional X fonts. This looks like a
pango-style font description. Maybe that's the problem
Comment 5 John Levon 2002-07-11 00:18:18 UTC
So why is it crashing ?
Comment 6 John Harper 2002-07-11 00:57:14 UTC
as far as i know it isn't crashing
Comment 7 John Harper 2002-07-11 00:58:39 UTC
*** Bug 87878 has been marked as a duplicate of this bug. ***
Comment 8 John Levon 2002-07-11 01:36:54 UTC
I'm at a loss how you could conclude that given the summary
is "sawfish-ui crashes when browsing fonts" and the comment
"sawfish-ui crashed", and  my comment "I can reproduce this 100%".
I couldn't find a core file though.

If you're sure that the bug has been /fixed/ then sure, close
it (I'm afraid I cannot test a more recent gnome version). I
would hope it had been fixed before gnome 2 got released anyway.
Comment 9 John Harper 2002-07-11 01:59:20 UTC
when I tried it sawfish-ui popped up a window telling me it couldn't
load the font

I'm sure that the bug exists, and I'm sure that it hasn't been fixed.
But I don't think it crashes sawfish, and probably not event the
config tool
Comment 10 John Levon 2002-07-11 02:29:26 UTC
Nobody said it crashed sawfish itself. And I don't find denying the
facts to be a profitable way to triage bugs, but maybe that's just me.

Would you prefer "attempting to do this causes error messages,
and sawfish config tool to disappear from the screen" ? Or does
that "probably not happen" too ?
Comment 11 John Harper 2002-07-11 06:03:24 UTC
I think we're arguing at cross purposes
Comment 12 Ariel Tankus 2002-07-11 06:17:06 UTC
I just re-checked the whole thing (under GNOME 2.0), and reached the
conclusion that indeed there is no crash (in the usual sense).

Running: gnome/bin/rep sawfish-ui
under gdb gave the following:
-------------------------
Starting program: /home/arielt/software/gnome/bin/rep sawfish-ui

** (rep:20301): WARNING **: Couldn't load font "fixed Medium
Semi-Condensed 0" falling back to "Sans Medium Semi-Condensed 0"

** (rep:20301): WARNING **: Couldn't load font "Sans Medium
Semi-Condensed 0" falling back to "Sans 0"

** (rep:20301): WARNING **: All font failbacks failed!!!!

Program exited with code 01.
(gdb) 
-------------------------

Sorry for not being accurate in the terms of this bug report.

Anyway, I suggest we adopt the description "attempting to do this
causes error messages, and sawfish config tool to disappear from
the screen".

I think we all understand that there is a bug and it must be
fixed (I think an ``exit 1;'' in such a situation is at least
conceptual bug, even if the code line is there on purpose.)
Comment 13 John Harper 2002-07-11 06:52:45 UTC
I think this is a different bug to the one I am thinking about. My bug
is that sawfish can never successfully use the font names that the
gtk2 font dialog returns, since they are in the new style that pango
uses, not the traditional X style that sawfish uses

But this bug looks like the sawfish-ui program can't load the font
itself, which makes me think perhaps the font configuration is wrong

When I run sawfish-ui under gtk2 and select a font, I get a dialog
telling me that sawfish couldn't load the font, I don't get a crash/exit
Comment 14 Christian Marillat 2002-07-11 12:44:10 UTC
Hi,

Here is a debug output from a debian user.

>sawfish
rep: received fatal signal: Segmentation fault

struct debug_buf common:

Backtrace in `fatal_signal_handler':
	<(null)+1076840056>
	<__libc_free+167>
	<(null)+134580255>
	<Fgarbage_collect+645>
	<rep_on_idle+113>
	<(null)+1074085998>
	<rep_event_loop+152>
	<Frecursive_edit+38>
Comment 15 John Harper 2002-07-11 18:07:01 UTC
why did you paste that into this bug?

it doesn't look to be at all related. If it's reproducable please open
a new bug including a proper (gdb with symbols) backtrace
Comment 16 Christian Marillat 2002-07-11 18:54:27 UTC
Yes, this bug is realted to the font.

http://bugs.debian.org/152530

Quotting this bug :

Shortly after choosing a font, sawfish crashes (changing focus seems to
trigger it)
Comment 17 John Harper 2002-07-11 19:25:09 UTC
these are two different issues
Comment 18 Christian Marillat 2002-07-11 19:32:32 UTC
Then can you tell me how to solve this one ?
Comment 19 John Harper 2002-07-11 20:04:50 UTC
which one?
Comment 20 Christian Marillat 2002-07-11 20:11:48 UTC
The one I've forwarded
Comment 21 John Harper 2002-07-11 20:42:20 UTC
As I said before, if you can get a good backtrace from when the
sawfish program crashes, please open a new bug with it. I can't
reproduce this myself, and the backtrace above doesn't have enough
information to be useful, so there's nothing I can do currently
Comment 22 John Harper 2002-07-13 19:46:07 UTC

*** This bug has been marked as a duplicate of 86107 ***