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 301665 - Galeon Crash [window_cmd_help_about]
Galeon Crash [window_cmd_help_about]
Status: RESOLVED FIXED
Product: galeon
Classification: Deprecated
Component: general
1.3.20
Other All
: High critical
: 1.3.21
Assigned To: galeon-maint
galeon-maint
Depends on:
Blocks:
 
 
Reported: 2005-04-23 07:38 UTC by Mitko
Modified: 2005-05-04 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (1.21 KB, patch)
2005-05-02 22:12 UTC, Crispin Flowerday (not receiving bugmail)
none Details | Review

Description Mitko 2005-04-23 07:38:08 UTC
Distribution: Slackware Slackware 10.1.0
Package: galeon
Severity: normal
Version: GNOME2.10.0 1.3.20
Gnome-Distributor: FRG gsb.sourceforge.net
Synopsis: Galeon Crash
Bugzilla-Product: galeon
Bugzilla-Component: general
Bugzilla-Version: 1.3.20
BugBuddy-GnomeVersion: 2.0 (2.10.0)
Description:
Description of the crash:
Galeon crashes each time I try to choose About program option in the
Help Menu

Steps to reproduce the crash:
1. Start Galeon
2. Choose Help Menu
3. Choose About

Expected Results:


How often does this happen?
Each time

Additional Information:
Using Freerock Gnome


Debugging Information:

Backtrace was generated from '/usr/bin/galeon'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 2576)]
[New Thread 32769 (LWP 2578)]
[New Thread 16386 (LWP 2579)]
[New Thread 32771 (LWP 2582)]
0x40e9c4ab in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 16384 (LWP 2576))

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 ??
    from /usr/lib/./libgnomeui-2.so.0
  • #2 ??
  • #3 libgnomeui_module_info_get
    from /usr/lib/./libgnomeui-2.so.0
  • #4 nsProfileLock::FatalSignalHandler
    from /usr/lib/mozilla-1.7.6/libgtkembedmoz.so
  • #5 __pthread_sighandler
    from /lib/libpthread.so.0
  • #6 <signal handler called>
  • #7 append_escaped_text
    from /usr/lib/./libglib-2.0.so.0
  • #8 g_markup_escape_text
    from /usr/lib/./libglib-2.0.so.0
  • #9 g_markup_vprintf_escaped
    from /usr/lib/./libglib-2.0.so.0
  • #10 g_markup_printf_escaped
    from /usr/lib/./libglib-2.0.so.0
  • #11 gtk_about_dialog_get_name
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #12 gtk_about_dialog_set_name
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #13 gtk_about_dialog_get_type
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #14 g_type_create_instance
    from /usr/lib/./libgobject-2.0.so.0
  • #15 g_object_constructor
    from /usr/lib/./libgobject-2.0.so.0
  • #16 g_object_newv
    from /usr/lib/./libgobject-2.0.so.0
  • #17 g_object_new_valist
    from /usr/lib/./libgobject-2.0.so.0
  • #18 g_object_new
    from /usr/lib/./libgobject-2.0.so.0
  • #19 window_cmd_help_about
  • #20 g_cclosure_marshal_VOID__VOID
    from /usr/lib/./libgobject-2.0.so.0
  • #21 g_closure_invoke
    from /usr/lib/./libgobject-2.0.so.0
  • #22 signal_emit_unlocked_R
    from /usr/lib/./libgobject-2.0.so.0
  • #23 g_signal_emit_valist
    from /usr/lib/./libgobject-2.0.so.0
  • #24 g_signal_emit
    from /usr/lib/./libgobject-2.0.so.0
  • #25 gtk_action_new
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #26 gtk_action_activate
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #27 g_cclosure_marshal_VOID__VOID
    from /usr/lib/./libgobject-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/./libgobject-2.0.so.0
  • #29 signal_emit_unlocked_R
    from /usr/lib/./libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/./libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/./libgobject-2.0.so.0
  • #32 gtk_widget_activate
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #33 gtk_menu_shell_activate_item
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #34 gtk_menu_shell_deactivate
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #35 gtk_menu_reorder_child
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #36 gtk_marshal_VOID__UINT_STRING
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #37 g_type_class_meta_marshal
    from /usr/lib/./libgobject-2.0.so.0
  • #38 g_closure_invoke
    from /usr/lib/./libgobject-2.0.so.0
  • #39 signal_emit_unlocked_R
    from /usr/lib/./libgobject-2.0.so.0
  • #40 g_signal_emit_valist
    from /usr/lib/./libgobject-2.0.so.0
  • #41 g_signal_emit
    from /usr/lib/./libgobject-2.0.so.0
  • #42 gtk_widget_send_expose
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #43 gtk_propagate_event
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #44 gtk_main_do_event
    from /usr/lib/./libgtk-x11-2.0.so.0
  • #45 gdk_x11_register_standard_event_type
    from /usr/lib/./libgdk-x11-2.0.so.0
  • #46 g_main_dispatch
    from /usr/lib/./libglib-2.0.so.0
  • #47 g_main_context_dispatch
    from /usr/lib/./libglib-2.0.so.0
  • #48 g_main_context_iterate
    from /usr/lib/./libglib-2.0.so.0
  • #49 g_main_loop_run
    from /usr/lib/./libglib-2.0.so.0
  • #50 bonobo_main
    from /usr/lib/./libbonobo-2.so.0
  • #51 main
  • #0 waitpid
    from /lib/libpthread.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2005-04-23 03:38 -------


Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "galeon".
   Setting to default milestone for this product, '---'
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here, unknown@bugzilla.gnome.org.
   Previous reporter was dbatakliev@hotmail.com.
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Crispin Flowerday (not receiving bugmail) 2005-05-01 12:05:11 UTC
What locale are you running? (to find out run "locale" in an xterm)
Comment 2 Mitko 2005-05-02 14:08:55 UTC
My locale is bg_BG
Comment 3 Crispin Flowerday (not receiving bugmail) 2005-05-02 15:39:20 UTC
Unfortunatly I still can't reproduce this problem, what version of gtk+ are you
using ? 

And is there any chance you could try compiling up a debug build of gtk+ so that
the stacktrace contains the arguments that were passed to the function ? Please
see http://live.gnome.org/GettingTraces for more information about how to do so.
Comment 4 Yanko Kaneti 2005-05-02 20:26:32 UTC
The crash is reproducible under bg_BG.CP1251, and not under bg_BG.UTF-8
perhaps this means that a bind_textdomain_codeset to UTF-8 is missing somewhere
in the stack.
Comment 5 Crispin Flowerday (not receiving bugmail) 2005-05-02 21:38:05 UTC
Yep, ok I can reproduce using bg_BG.CP1251, my stacktrace is:

  • #0 append_escaped_text
    at gmarkup.c line 1884
  • #1 IA__g_markup_escape_text
    at gmarkup.c line 1946
  • #2 IA__g_markup_vprintf_escaped
    at gmarkup.c line 2194
  • #3 IA__g_markup_printf_escaped
    at gmarkup.c line 2251
  • #4 update_name_version
    at gtkaboutdialog.c line 737
  • #5 IA__gtk_about_dialog_set_name
    at gtkaboutdialog.c line 769
  • #6 gtk_about_dialog_init
    at gtkaboutdialog.c line 513
  • #7 IA__g_type_create_instance
    at gtype.c line 1596
  • #8 g_object_constructor
    at gobject.c line 1045
  • #9 IA__g_object_newv
    at gobject.c line 942
  • #10 IA__g_object_new_valist
    at gobject.c line 1026
  • #11 IA__g_object_new
    at gobject.c line 823
  • #12 window_cmd_help_about
    at window-commands.c line 921


I have to admit I'm a bit clueless on translation issues, we do have a
bind_textdomain_codeset call in src/galeon-main.c, and it looks like it is in
the appropriate place ....
Comment 6 Crispin Flowerday (not receiving bugmail) 2005-05-02 22:12:29 UTC
Created attachment 45956 [details] [review]
Fix

Yaneti, you are quite correct, the bind_textdomain_codeset(UTF-8) called after
the application name is set, which screws up the about dialog, this patch fixes
it.
Comment 7 Crispin Flowerday (not receiving bugmail) 2005-05-03 20:34:54 UTC
Fixed in CVS:

http://mail.gnome.org/archives/cvs-commits-list/2005-May/msg00397.html
Comment 8 Mitko 2005-05-04 12:41:55 UTC
Thanks! You're great!