Bug 669859 - gucharmap does't start.
Summary: gucharmap does't start.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gucharmap
Version: rawhide
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 669891 674850 675888 694606 (view as bug list)
Depends On:
Blocks: F15Blocker, F15FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2011-01-15 06:39 UTC by sangu
Modified: 2011-04-12 04:49 UTC (History)
16 users (show)

Fixed In Version: gtk3-3.0.8-2.fc15
Clone Of:
Environment:
Last Closed: 2011-04-07 05:13:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 639584 0 None None None Never

Description sangu 2011-01-15 06:39:37 UTC
Description of problem:
$ gdb gucharmap
(gdb) r
Starting program: /usr/bin/gucharmap 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeb65e700 (LWP 29490)]
**
ERROR:gucharmap-chartable.c:851:get_font_size_px: assertion failed: (priv->font_desc != NULL)

Program received signal SIGABRT, Aborted.
0x00007ffff403c1b5 in raise () from /lib64/libc.so.6

(gdb) bt
#0  0x00007ffff403c1b5 in raise () from /lib64/libc.so.6
#1  0x00007ffff403db66 in abort () from /lib64/libc.so.6
#2  0x00007ffff4634184 in g_assertion_message (domain=<value optimized out>, 
    file=<value optimized out>, line=<value optimized out>, func=
    0x7ffff787ee10 "get_font_size_px", message=
    0x915950 "assertion failed: (priv->font_desc != NULL)")
    at gtestutils.c:1358
#3  0x00007ffff4634720 in g_assertion_message_expr (domain=0x0, file=
    0x7ffff787eb0a "gucharmap-chartable.c", line=851, func=
    0x7ffff787ee10 "get_font_size_px", expr=<value optimized out>)
    at gtestutils.c:1369
#4  0x00007ffff7876211 in get_font_size_px (chartable=
    0x858000 [GucharmapChartable]) at gucharmap-chartable.c:851
#5  0x00007ffff78779a4 in gucharmap_chartable_get_preferred_width (widget=
    0x858000 [GucharmapChartable], minimum=0x7fffffffd274, natural=
    0x7fffffffd270) at gucharmap-chartable.c:1796
#6  0x00007ffff73fe543 in compute_size_for_orientation (widget=
    0x858000 [GucharmapChartable], orientation=GTK_SIZE_GROUP_HORIZONTAL, 
    for_size=-1, minimum_size=0x7fffffffd32c, natural_size=0x7fffffffd328)
    at gtksizerequest.c:213
#7  0x00007ffff73f00eb in gtk_scrolled_window_get_preferred_size (widget=
    0x822e80 [GtkScrolledWindow], orientation=GTK_ORIENTATION_HORIZONTAL, 
    minimum_size=0x7fffffffd3e4, natural_size=0x7fffffffd3e0)
---Type <return> to continue, or q <return> to quit---
    at gtkscrolledwindow.c:2127
#8  0x00007ffff73fe543 in compute_size_for_orientation (widget=
    0x822e80 [GtkScrolledWindow], orientation=GTK_SIZE_GROUP_HORIZONTAL, 
    for_size=-1, minimum_size=0x7fffffffd43c, natural_size=0x7fffffffd438)
    at gtksizerequest.c:213
#9  0x00007ffff73fe63e in gtk_widget_get_preferred_size (widget=
    0x822e80 [GtkScrolledWindow], minimum_size=0x7fffffffd520, natural_size=
    0x0) at gtksizerequest.c:532
#10 0x00007ffff73af389 in gtk_notebook_size_request (widget=
    0x768af0 [GtkNotebook], requisition=0x7fffffffd580) at gtknotebook.c:1976
#11 0x00007ffff73afbbc in gtk_notebook_get_preferred_width (
    widget=<value optimized out>, minimum=0x7fffffffd624, natural=
    0x7fffffffd620) at gtknotebook.c:2260
#12 0x00007ffff73fe543 in compute_size_for_orientation (widget=
    0x768af0 [GtkNotebook], orientation=GTK_SIZE_GROUP_HORIZONTAL, for_size=
    -1, minimum_size=0x7fffffffd67c, natural_size=0x7fffffffd678)
    at gtksizerequest.c:213
#13 0x00007ffff73b9e5b in gtk_paned_get_preferred_size (widget=
    0x835000 [GucharmapCharmap], orientation=GTK_ORIENTATION_HORIZONTAL, 
    minimum=0x7fffffffd724, natural=0x7fffffffd720) at gtkpaned.c:879
#14 0x00007ffff73fe543 in compute_size_for_orientation (widget=
    0x835000 [GucharmapCharmap], orientation=GTK_SIZE_GROUP_HORIZONTAL, 
    for_size=-1, minimum_size=0x7fffffffd7ac, natural_size=0x7fffffffd7a8)
---Type <return> to continue, or q <return> to quit---
    at gtksizerequest.c:213
#15 0x00007ffff72ad94b in gtk_box_get_size (widget=<value optimized out>, 
    orientation=GTK_ORIENTATION_HORIZONTAL, minimum_size=0x7fffffffd864, 
    natural_size=0x7fffffffd860) at gtkbox.c:903
#16 0x00007ffff73fe543 in compute_size_for_orientation (widget=
    0x6d3040 [GtkVBox], orientation=GTK_SIZE_GROUP_HORIZONTAL, for_size=-1, 
    minimum_size=0x7fffffffd8bc, natural_size=0x7fffffffd8b8)
    at gtksizerequest.c:213
#17 0x00007ffff74db122 in gtk_window_get_preferred_width (
    widget=<value optimized out>, minimum_size=0x7fffffffd964, natural_size=
    0x7fffffffd960) at gtkwindow.c:6172
#18 0x00007ffff73fe543 in compute_size_for_orientation (widget=
    0x6760e0 [GucharmapWindow], orientation=GTK_SIZE_GROUP_HORIZONTAL, 
    for_size=-1, minimum_size=0x7fffffffd9bc, natural_size=0x7fffffffd9b8)
    at gtksizerequest.c:213
#19 0x00007ffff73fe63e in gtk_widget_get_preferred_size (widget=
    0x6760e0 [GucharmapWindow], minimum_size=0x7fffffffda80, natural_size=0x0)
    at gtksizerequest.c:532
#20 0x00007ffff74d93b5 in gtk_window_compute_hints (new_flags=read_sleb128: Corrupted DWARF expression.
)
    at gtkwindow.c:7193
#21 gtk_window_compute_configure_request (window=0x6760e0 [GucharmapWindow], 
    request=0x7fffffffdb40, geometry=0x7fffffffdb00, flags=0x7fffffffdb6c)
    at gtkwindow.c:6514
---Type <return> to continue, or q <return> to quit---
#22 0x00007ffff74dc045 in gtk_window_show (widget=0x6760e0 [GucharmapWindow])
    at gtkwindow.c:4613
#23 0x00007ffff5132ace in g_closure_invoke (closure=0x65ba60, return_value=
    0x0, n_param_values=1, param_values=0x88ea20, invocation_hint=
    0x7fffffffdd00) at gclosure.c:767
#24 0x00007ffff51447a3 in signal_emit_unlocked_R (node=<value optimized out>, 
    detail=0, instance=0x6760e0, emission_return=0x0, instance_and_params=
    0x88ea20) at gsignal.c:3182
#25 0x00007ffff514eb4a in g_signal_emit_valist (
    instance=<value optimized out>, signal_id=<value optimized out>, 
    detail=<value optimized out>, var_args=0x7fffffffdef0) at gsignal.c:2983
#26 0x00007ffff514ecf3 in g_signal_emit (instance=<value optimized out>, 
    signal_id=<value optimized out>, detail=<value optimized out>)
    at gsignal.c:3040
#27 0x00007ffff74cfc1e in gtk_widget_show (widget=0x6760e0 [GucharmapWindow])
    at gtkwidget.c:3895
#28 0x000000000040c2bc in main (argc=1, argv=0x7fffffffe1a8) at main.c:104


Version-Release number of selected component (if applicable):
2.33.2-2.fc15.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
gtk3-2.99.2-1.fc15.x86_64
glib2-2.27.91-1.fc15.x86_64
pango-1.28.3-1.fc15.x86_64

Comment 1 Matthias Clasen 2011-01-25 23:54:53 UTC
It starts just fine here in current rawhide. This may have been fixed by updates of gnome-themes-standard and or gtk-theme-engine-clearlooks. Are you still seeing it ?

Comment 2 sangu 2011-01-26 06:18:48 UTC
(In reply to comment #1)
> It starts just fine here in current rawhide. This may have been fixed by
> updates of gnome-themes-standard and or gtk-theme-engine-clearlooks. Are you
> still seeing it ?

gtk3-2.99.2-2.fc15.x86_64
glib2-2.27.92-2.fc15.x86_64
gnome-themes-standard-2.91.7-1.fc15.x86_64
gtk-theme-engine-clearlooks-2.91.5-2.fc15.x86_64

This bug still happens in current rawhide.

Then, when gucharmap starts with --fonts option( $ gucharmap --fonts 'Sans 9' ), this issue does't happen.

Comment 3 Joachim Frieben 2011-01-26 07:53:10 UTC
$ gucharmap 
**
ERROR:gucharmap-chartable.c:851:get_font_size_px: assertion failed: (priv->font_desc != NULL)
Abort (core dumped)

I can confirm this issue for a fully updated "rawhide" system including packages:
gtk3-2.99.2-2.fc15.x86_64
glib2-2.27.92-2.fc15.x86_64
gtk-theme-engine-clearlooks-2.91.5-2.fc15.x86_64

Package gnome-themes-standard is not installed.

Comment 4 Matthias Clasen 2011-02-12 00:44:21 UTC
(In reply to comment #2)

> Then, when gucharmap starts with --fonts option( $ gucharmap --fonts 'Sans 9'
> ), this issue does't happen.


That is curious. I get

 gucharmap --fonts 'Sans 9'
Unknown option --fonts

Comment 5 Matthias Clasen 2011-02-12 00:48:37 UTC
What does  gconftool-2 --get /apps/gucharmap/font

say ?

Comment 6 sangu 2011-02-12 05:12:03 UTC
(In reply to comment #4)
> That is curious. I get
> 
>  gucharmap --fonts 'Sans 9'
> Unknown option --fonts

Sorry. gucharmap --font 'Sans 9' is right.
(In reply to comment #5)

> What does  gconftool-2 --get /apps/gucharmap/font
> 
> say ?

$ gconftool-2 --get /apps/gucharmap/font
No value set for `/apps/gucharmap/font

$ gucharmap
gucharmap crashs.
So, 
1 Launch gucharmap with option --font 'Sans 9'
gconftool-2 --get /apps/gucharmap/font
No value set for `/apps/gucharmap/font

2. Setting other font name  in gucharmap

$  gconftool-2 --get /apps/gucharmap/font
Serif 9

3. quit gucharmap

4, Launch gucharmap 
gucharmap works well.

Comment 7 Michel Lind 2011-03-12 11:20:01 UTC
Is this due to the gconf->dconf transition, so gucharmap can no longer detect the user's preferred font?

In which case, either we should hard-code a font, or provide a launcher script that picks the current font and propagate it to gucharmap.

Hm, I wonder that's why the password prompt for gnome-keyring has different-looking "bullets" to that in gnome-screensaver

Comment 8 Michel Lind 2011-03-12 11:22:28 UTC
*** Bug 675888 has been marked as a duplicate of this bug. ***

Comment 9 Michel Lind 2011-03-12 11:24:20 UTC
*** Bug 669891 has been marked as a duplicate of this bug. ***

Comment 10 Michel Lind 2011-03-12 11:24:54 UTC
*** Bug 674850 has been marked as a duplicate of this bug. ***

Comment 11 Nicolas Heydens 2011-03-13 06:45:10 UTC
Package: gucharmap-2.33.2-6.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1.ouverture
2.crash
3.


Comment
-----
Au moment de l'ouverture.

Comment 12 NoBrend 2011-03-14 22:37:00 UTC
Package: gucharmap-2.33.2-6.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1.Running Charecter Map
2.
3.

Comment 13 M. A. MacLain 2011-03-16 01:24:29 UTC
Package: gucharmap-2.33.2-6.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Happened while while running FireFox
2.
3.

Comment 14 Fabian Deutsch 2011-03-17 14:05:41 UTC
Package: gucharmap-2.33.2-6.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Just started gucharmap
2.
3.

Comment 15 Luya Tshimbalanga 2011-03-18 06:30:55 UTC
Package: gucharmap-2.33.2-6.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
1. Start the application (Application -> Accessories -> Character Map)
2.
3.


Comment
-----
Character Map applications crashed by attempting to start it.

Comment 16 Trevor Davenport 2011-03-25 18:32:08 UTC
Package: gucharmap-2.33.2-6.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)


How to reproduce
-----
Tried to launch gucharmap.  Hits assert everytime.

Comment 17 Trevor Davenport 2011-04-07 04:27:07 UTC
I no longer have any problems with gucharmap-3.0.0-1.fc15 update.

Comment 18 Paul W. Frields 2011-04-12 04:49:39 UTC
*** Bug 694606 has been marked as a duplicate of this bug. ***


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