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 525996 - Emit a better error message about XDG_DATA_DIRS
Emit a better error message about XDG_DATA_DIRS
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer]
: 526586 529687 (view as bug list)
Depends on:
Blocks: 522153
 
 
Reported: 2008-04-03 15:53 UTC by Reid Thompson
Modified: 2013-09-13 01:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Reid Thompson 2008-04-03 15:53:59 UTC
Steps to reproduce:
1. select an email
2. click on Reply button
3. crash


Stack trace:
System: Linux 2.6.24-gentoo-r4 #1 SMP PREEMPT Mon Mar 31 12:07:10 EDT 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: marble-look
Icon Theme: gnome

Memory status: size: 144883712 vsize: 144883712 resident: 45342720 share: 20086784 rss: 45342720 rss_rlim: 4294967295
CPU usage: start_time: 1207237652 rtime: 490 utime: 396 stime: 94 cutime:695 cstime: 143 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/opt/evo/bin/evolution'

[?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb66346d0 (LWP 23939)]
[New Thread 0xb5dfab90 (LWP 23971)]
[New Thread 0xb3152b90 (LWP 23954)]
[New Thread 0xb415fb90 (LWP 23952)]
0xb7f01410 in __kernel_vsyscall ()

Thread 1 (Thread 0xb66346d0 (LWP 23939))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 IA__g_spawn_sync
    at ../../../glib/glib/gspawn.c line 374
  • #3 IA__g_spawn_command_line_sync
    at ../../../glib/glib/gspawn.c line 682
  • #4 run_bug_buddy
    at gnome-breakpad.cc line 213
  • #5 check_if_gdb
    at gnome-breakpad.cc line 283
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 225
  • #7 google_breakpad::ExceptionHandler::HandleException
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 196
  • #8 <signal handler called>
  • #9 __kernel_vsyscall
  • #10 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #11 *__GI_abort
    at abort.c line 88
  • #12 IA__g_assertion_message
  • #13 IA__g_assertion_message_expr
    at ../../../glib/glib/gtestutils.c line 1229
  • #14 gtkhtml_editor_get_managed_widget
    at ../../../../gtkhtml/components/editor/gtkhtml-editor.c line 969
  • #15 gtkhtml_editor_private_init
    at ../../../../gtkhtml/components/editor/gtkhtml-editor-private.c line 193
  • #16 editor_init
    at ../../../../gtkhtml/components/editor/gtkhtml-editor.c line 833
  • #17 IA__g_type_create_instance
    at ../../../glib/gobject/gtype.c line 1567
  • #18 g_object_constructor
    at ../../../glib/gobject/gobject.c line 1046
  • #19 editor_constructor
    at ../../../../gtkhtml/components/editor/gtkhtml-editor.c line 457
  • #20 msg_composer_constructor
    at ../../../evolution/composer/e-msg-composer.c line 2053
  • #21 IA__g_object_newv
    at ../../../glib/gobject/gobject.c line 937
  • #22 IA__g_object_new_valist
    at ../../../glib/gobject/gobject.c line 986
  • #23 IA__g_object_new
    at ../../../glib/gobject/gobject.c line 795
  • #24 create_composer
    at ../../../evolution/composer/e-msg-composer.c line 2840
  • #25 e_msg_composer_new_with_type
    at ../../../evolution/composer/e-msg-composer.c line 2907
  • #26 reply_get_composer
    at ../../../evolution/mail/em-composer-utils.c line 1465
  • #27 em_utils_reply_to_message
    at ../../../evolution/mail/em-composer-utils.c line 2059
  • #28 reply_to_message
    at ../../../evolution/mail/em-composer-utils.c line 1971
  • #29 get_message_done
    at ../../../evolution/mail/mail-ops.c line 1727
  • #30 mail_msg_idle_cb
    at ../../../evolution/mail/mail-mt.c line 503
  • #31 g_idle_dispatch
    at ../../../glib/glib/gmain.c line 4087
  • #32 g_main_dispatch
    at ../../../glib/glib/gmain.c line 2009
  • #33 IA__g_main_context_dispatch
    at ../../../glib/glib/gmain.c line 2561
  • #34 g_main_context_iterate
    at ../../../glib/glib/gmain.c line 2642
  • #35 IA__g_main_loop_run
    at ../../../glib/glib/gmain.c line 2850
  • #36 bonobo_main
    at bonobo-main.c line 311
  • #37 main
    at ../../../evolution/shell/main.c line 782
  • #0 __kernel_vsyscall


----------- .xsession-errors (342 sec old) ---------------------
SSL-VPN logging out...
SSL-VPN connection is terminated.
Exiting NetExtender client
JNI: LaunchNX: Exiting LaunchNX, returning (1)
Loading saved profiles...
Loaded profile: hatch.ateb.com
Done.
stop id=13 "Giant Eagle"-"Giant Eagle related efforts" 3:32:20 01-34-13 hours=3 min=212 secs=12740
start id=12 "ShopKo"-"ShopKo related efforts" 11:00:34 00-00-00 hours=11 min=660 secs=39634
(gnome-terminal:27820): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
(gnome-terminal:27820): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
(gnome-terminal:27820): Vte-WARNING **: No handler for control sequence `device-control-string' defined.
--------------------------------------------------


Other information:
had to manually post bug -- bug buddy failed to post with this error 

---begin bug buddy failure ---
Bug Buddy has encountered an error while submitting your report to the Bugzilla server.  Details of the error are included below.

Failed to parse the xml-rpc response.  Response follows:

Unable to parse XML-RPC Response

3

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse><fault><value><struct><member><name>faultString</name><value><string>Application failed during request deserialization:
not well-formed (invalid token) at line 23, column 0, byte 1699 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 187
</string></value></member><member><name>faultCode</name><value><string>Client</string></value></member></struct></value></fault></methodResponse>

Distribution: Gentoo Base System release 1.12.11.1
Gnome Release: 2.20.3 2008-01-17 (Gentoo)
BugBuddy Version: 2.20.1
Comment 1 Matthew Barnes 2008-04-03 19:43:57 UTC
Reid, does setting XDG_DATA_DIRS fix this?

Adding this to my tracker bug (bug #522153).  I'm sure others will hit this.
Comment 2 Reid Thompson 2008-04-04 11:41:36 UTC
Yes -- setting XDG_DATA_DIRS appropriately does fix this.
I build from SVN using the makefile from Paul at http://mad-scientist.us/evolution.html which PREFIX set to /opt/evo
Adding 
  export XDG_DATA_DIRS=/opt/evo/share:$XDG_DATA_DIRS
to the the /opt/evo/bin/evolution-svn start script allows evo to find the appropriate files.
Comment 3 Matthew Barnes 2008-04-06 21:29:29 UTC
*** Bug 526586 has been marked as a duplicate of this bug. ***
Comment 4 Matthew Barnes 2008-04-07 16:08:19 UTC
Fixed in revision 8814.

You'll still get a Bug Buddy crash, but GtkHTML will spit something like this to standard error before dying:


*** FATAL ERROR ***

gtkhtml could not find the required file "gtkhtml-editor.ui" in any of
the system-wide data directories given by the XDG_DATA_DIRS environment
variable.  gtkhtml looked for:

        /usr/local/share/gtkhtml-3.14/gtkhtml-editor.ui
        /usr/share/gtkhtml-3.14/gtkhtml-editor.ui

See http://www.freedesktop.org/Standards/basedir-spec for more
information about standard base directories.
Comment 5 Matthew Barnes 2008-04-24 11:53:28 UTC
*** Bug 529687 has been marked as a duplicate of this bug. ***