Evolution 1.0.8 seems to compile without error and everything seems to work perfectly at first, i.e. i can retrieve emails read them and so forth. When i try to compose a new message, any key except for normal letters are not possible to write. For example attempting to press the space bar in the message itself results in the composer window to vanish leaving a grey space. Only the to, from and subject fields remain (all of which have no problems accepting any keypress). Closing the message then returns the error "Unable to retrieve message from editor" I am running evolution from KDE 3.0.4, and my compile flags are "-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char" I'm running Gentoo 1.4 rc1 on my ibook2 600, running kernel version 2.4.19-r6 The output of emerge info is: Portage 2.0.45 (default-ppc-1.4, gcc-3.2, glibc-2.2.5-r7) ================================================================= System uname: 2.4.19-r6 ppc USE="oss dvd xv gpm jpeg nls mitshm gif gnome png truetype ppc gnome-libs gtkhtml gdbm berkdb slang readline arts tetex bonobo java guile X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla" ARCH="ppc" COMPILER="gcc3" CHOST="powerpc-unknown-linux-gnu" CFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char" CXXFLAGS="-O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char" ACCEPT_KEYWORDS="ppc" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/blackdown-jdk-1.3.1" JAVA_HOME="/opt/blackdown-jdk-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
what version of gal ?
emerge -s gal * gnome-extra/gal Latest version available: 0.20-r1 Latest version installed: 0.20-r1 Size of downloaded files: 930 kB Homepage: http://www.gnome.org/ Description: The Gnome Application Libraries
reassigning to nall@gentoo.org
hi can you send emerge -s gtkhtml as well? thanks
First: emerge -s gtkhtml * gnome-extra/gtkhtml Latest version available: 1.0.4 Latest version installed: 1.0.4 Size of downloaded files: 1,282 kB Homepage: http://www.gnome.org/ Description: Lightweight HTML rendering/printing/editing engine. Second, i just started experimenting again, and finally managed to circumvent the problem: When composing message i opened the properties option in the edit menu. Then in Gnome control center i entered "Document Handlers" -> "HTML viewer" and selected the "miscellaneous" tab. Here i unselected the "Enable Spell checking" alternative. Returning to my message i could now press any key in the message itself. The error returns if the spell checking is turned back on. I am using aspell-no on my system, version 0.50.2. Does this still constitue a bug, or am i supposed to close this bug now? thanks!
hi, thanks for the great info. what version of gnome-spell do you have installed?
emerge -s gnome-spell showed gnome-spell as not installed, so i immediately emerged it. I am now running 0.4.1-r3. Unfortunately i can still reproduce the error by turning spell checking on.
try this. - open 2 terminals - in the first one, execute: killev - then execute: gnome-spell-component (it may be gnome-spell-component-0.4 or such) - wait a few seconds - in the second terminal, execute: evolution - open a new compose window in evo and type some stuff (cause the error) - collect all output from the gnome-spell-component terminal and post it here. thanks!
I did exactly what you wrote, unfortunately neither terminal returns any error messages (or any message for that matter) when the error occurs. The terminal that started evolution returns this message when evolution itself is closed: Waiting for component to die -- OAFIID:GNOME_Evolution_Calendar_ShellComponent (1) Waiting for component to die -- OAFIID:GNOME_Evolution_Mail_ShellComponent (1) Sorry...
i think this stems from not having spell in your USE variable. can you try executing oaf-slay and attempting to cause the failure again? (this might make some gnome applications die (including evo), so back up anything before running it.
I executed oaf-slay, and repeated the test procedure to no avail, still no error message. I don't have more time now, but if you recommend it i will try adding SPELL to my USE variables and then emerge evolution again. thanks!
*** Bug 11644 has been marked as a duplicate of this bug. ***
so this is pretty strange. the only reason the USE spell variable is used in the evolution is to pull in gnome-spell as a dependency. i talked to some evo guys and gnome-spell is supposed to be a drop-in component. it shouldn't matter that you installed it after installing evolution. when you press a key that will insert whitespace (spacebar, return) that's when the gnome-spell-component is queried. is this what you're seeing? your message said non-letter/number, but what about any other non-whitespace character (eg: !@#$%^&*-=). you might also try: 1. logging out and logging back in or 2. finding the rebooting -- can't hurt and maybe will reset something that needs resetting. wait_tom@yahoo.com: can you post some info about your system? 1. emerge -s gal gtkhtml gnome-spell aspell 2. are you running evolution from KDE? 3. does this only happen when typing whitespace?
Created attachment 6369 [details] emerge -s gal gtkhtml gnome-spell aspell Ok I did not have aspell installed. I did as suggested in a previous post by disabling aspell in gnome control center html-viewer misc... and the editor works fine now. here included is also answer to 3 questions. 1. see output of emerge in attached file. 2. I am running evo on gnome 3. It does happen when typing space and strange character and return or enter... thanks for the help
that's gnome-spell, not gnomespell. my guess is it isn't installed since you don't have spell in your USE variable, but i'd like to see the output. also, to both tom and sangar, can you do the following: 1. fire up evolution 2. open a terminal andrun: gdb /usr/bin/gnome-gtkhtml-editor-1.1 (version might be different for you) 3. at the gdb prompt type: run 4. (the program should start and do nothing) 5. now, in evo, open a composition window and type some stuff to make it crash. 6. hopefully, the gdb session stopped and you have a gdb prompt again 7. at this prompt type: where 8. post all of the text from the terminal in this bug (starting from step #2) my best guess is that the gtkhtml component is dying due to some spell checking stuff. i know the above is a bit involved, but this output should help. thanks.
here included is the output from step2. Evo didn't crash on step 5. Everything is working well as long as spelling is disabled. bash-2.05a$ gdb /usr/bin/gnome-gtkhtml-editor GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "powerpc-unknown-linux-gnu"... (gdb) run Starting program: /usr/bin/gnome-gtkhtml-editor ** WARNING **: Cannot activate spell dictionary (iid:OAFIID:GNOME_Spell_Dictionary:0.1) Message: OAF error activating component: Nothing matched the requirements. Bonobo-WARNING **: Activation exception 'Unknown CORBA exception id: 'IDL:OAF/GeneralError:1.0'' gtkhtml-WARNING **: Getting cursor base for an HTMLText with no slaves -- 0x100ca438 Program exited normally. (gdb) where No stack. (gdb)
tom, do you have gnome-spell intalled? if so, what version?
Yes, gnome-spell-0.4.1-r3
and just to make sure we're on the same page, have you guys logged out/logged back in (or rebooted) since emerging this stuff? tom, are you using gnome-1.4 or 2.0?
Hi, sorry about the delay, had to finish my exams. First, it seems the bug can be triggerd by any other non-whitespace character (eg: !@#$%^&*-=). Second, i've tried rebooting multiple times with no better results. Finally the gdb run proved valuable it seems, my errors are different from wait_tom, but then again I crashed evo on purpose, assuming this is what you want to see. (gdb) run Starting program: /usr/bin/gnome-gtkhtml-editor (no debugging symbols found)...(no debugging symbols found)... gtkhtml-WARNING **: Getting cursor base for an HTMLText with no slaves -- 0x100c e710 gtkhtml-ERROR **: file htmlinterval.c: line 184 (html_interval_get_from_index): assertion failed: (i) aborting... (no debugging symbols found)...(no debugging symbols found)... Program received signal SIGABRT, Aborted. 0x0ea22660 in kill () from /lib/libc.so.6 (gdb) where #0 0x0ea22660 in kill () from /lib/libc.so.6 #1 0x0ea22334 in raise () from /lib/libc.so.6 #2 0x0ea23db4 in abort () from /lib/libc.so.6 #3 0x0ed663a8 in g_log () from /usr/lib/libglib-1.2.so.0 #4 0x0ed66414 in g_log () from /usr/lib/libglib-1.2.so.0 #5 0x0ffa2dec in html_interval_get_bytes () from /usr/lib/libgtkhtml.so.20 #6 0x0ff70234 in get_text_bytes () from /usr/lib/libgtkhtml.so.20 #7 0x0ff6e134 in get_text () from /usr/lib/libgtkhtml.so.20 #8 0x0ff69f04 in html_clueflow_spell_check () from /usr/lib/libgtkhtml.so.20 #9 0x0ff77874 in html_engine_spell_check_range () from /usr/lib/libgtkhtml.so.20 #10 0x0ff7e25c in insert_object_do () from /usr/lib/libgtkhtml.so.20 #11 0x0ff7b464 in html_engine_insert_text () from /usr/lib/libgtkhtml.so.20 #12 0x0ff7bc9c in html_engine_paste_text () from /usr/lib/libgtkhtml.so.20 #13 0x0ff6252c in key_press_event () from /usr/lib/libgtkhtml.so.20 #14 0x0eef2c9c in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0 #15 0x0ef3436c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0 #16 0x0ef32328 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 #17 0x0ef79450 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0 #18 0x0f738458 in bonobo_plug_key_press_event () from /usr/lib/libbonobox.so.2 #19 0x0eef2c9c in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0 #20 0x0ef3436c in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0 #21 0x0ef32328 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 ---Type <return> to continue, or q <return> to quit--- #22 0x0ef79450 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0 #23 0x0eef1aac in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0 #24 0x0eef10e0 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0 #25 0x0eddbc28 in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0 #26 0x0ed648c0 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0 #27 0x0ed646bc in g_main_iterate () from /usr/lib/libglib-1.2.so.0 #28 0x0ed63464 in g_main_run () from /usr/lib/libglib-1.2.so.0 #29 0x0eef0cc8 in gtk_main () from /usr/lib/libgtk-1.2.so.0 #30 0x0f7fb868 in bonobo_main () from /usr/lib/libbonobo.so.2 #31 0x10015de0 in main () #32 0x0ea0dfb4 in __libc_start_main () from /lib/libc.so.6 (gdb) quit
and then it dawns on me... i think i've seen this before. can each of you scale your CFLAGS back to -O2 and re-emerge gtkhtml-1.0.4?
It works! the -O2 did the trick, i can turn on spell-checking in the Gnome Control panel now without incurring the bug. Thanks!
i guess the only question that's left is: does gcc-3.2.1 fix this? are either of you upgrading to gcc-3.2.1 soon? i think it's been marked as stable for ppc now. when you upgrade, could you try emerging gtkhtml with -O3 again and see if this persists. thanks.
Upgrading to gcc-3.2.1 and emerging gtkhtml with -O3 solves the problem, unfortunately a new bug occurs when starting evolution itself, making all mailboxes inaccessible. The error reads: "Could not load /usr/lib/evolution/camel-providers/1.0/libcamellocal.so: /usr/lib/evolution/camel-providers/1.0/libcamellocal.so: R_PPC_REL24 relocation at 0x0e087ff4 for symbol '+x j' out of range" I am leaving for christmas now, and will not have access to the net until January 11. I will emerge gtkhtml with -O2 for now that fixes my problem anyway, thanks for all the great help! Merry christmas :)
tom? any luck with -O2? i've committed a fix in the gtkhtml-1.0.4 ebuild that forces -O2 during compile. i'll close this once i hear from you.
will try solution today and let you know...
recompiled gtkhtml with CFLAG -02 and evo works with check spelling enabled... Problem solved. thx... :)
this is fixed in portage. any setting of -O3 or -Os is changed to -O2 for gtkhtml-1.0.4 yes, someone could have -O4, but it's not even listed in the man page, so we'll just change the optimization levels listed there > -O2. for your viewing pleasure: http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/gnome-extra/gtkhtml/gtkhtml-1.0.4.ebuild.diff?r1=1.6&r2=1.7 closing.