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 528401 - Edit Preferences causes Evo to crash -- address out of bounds
Edit Preferences causes Evo to crash -- address out of bounds
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
Depends on:
Blocks: 522153
 
 
Reported: 2008-04-16 13:06 UTC by Reid Thompson
Modified: 2013-09-13 01:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Possible fix (2.79 KB, patch)
2008-04-17 04:56 UTC, Matthew Barnes
committed Details | Review

Description Reid Thompson 2008-04-16 13:06:56 UTC
Steps to reproduce:
1. start evo - SVN Revision: 35370
2. select Edit/Preferences
3. crash


Stack trace:
no stacktrace produced - evo crashes w/o bug-buddy and w/o core file

Program received signal SIGSEGV, Segmentation fault.
0xb6a24434 in match (eptr=0x1 <Address 0x1 out of bounds>, ecode=0xbfb9aaaf "LANG=C", mstart=0x812eef0 "¯ª¹¿¶ª¹¿Áª¹¿Ôª¹¿ùª¹¿\r«¹¿\"«¹¿9«¹¿H«¹¿\\«¹¿d«¹¿\222«¹¿Å«¹¿â«¹¿\004¬¹¿%¬¹¿F¬¹¿W¬¹¿l¬¹¿\214¬¹¿\227¬¹¿£¬¹¿®¬¹¿º¬¹¿\006­¹¿\022­¹¿t­¹¿\215­¹¿ý­¹¿\n®¹¿\211®¹¿\226®¹¿²®¹¿È®¹¿Û®¹¿÷®¹¿\023¯¹¿(¯¹¿N¯¹¿°¯¹¿¿¯¹¿¢v#¶", offset_top=-1086738344, md=0xb686844b, ims=3216616113, eptrb=0xbf39b088, flags=-1230819666, rdepth=3064588760) at ../../../../glib/glib/pcre/pcre_exec.c:3562
/media/disk-1/home/evo-src/glib/glib/pcre/pcre_exec.c:3562:110020:beg:0xb6a24434

Other information:
SVN Revision: 35370
Comment 1 Reid Thompson 2008-04-16 13:23:45 UTC
ok - managed to get it to throw a core file.
bt shows 
(gdb) bt
  • #0 g_private_get_posix_impl
    at ../../../glib/gthread/gthread-posix.c line 286
  • #1 IA__g_thread_self
    at ../../../glib/glib/gthread.c line 754
  • #2 IA__g_static_private_get
    at ../../../glib/glib/gthread.c line 422
  • #3 IA__g_get_language_names
    at ../../../glib/glib/gutils.c line 3006
  • #4 spell_language_pick_default
    at ../../../../gtkhtml/components/editor/gtkhtml-spell-language.c line 326
  • #5 gtkhtml_spell_language_lookup
    at ../../../../gtkhtml/components/editor/gtkhtml-spell-language.c line 368
  • #6 spell_language_pick_default
    at ../../../../gtkhtml/components/editor/gtkhtml-spell-language.c line 330
  • #7 gtkhtml_spell_language_lookup
    at ../../../../gtkhtml/components/editor/gtkhtml-spell-language.c line 368
  • #8 spell_language_pick_default
    at ../../../../gtkhtml/components/editor/gtkhtml-spell-language.c line 330
  • #9 gtkhtml_spell_language_lookup
    at ../../../../gtkhtml/components/editor/gtkhtml-spell-language.c line 368

Comment 2 Reid Thompson 2008-04-16 13:26:08 UTC
starting a fresh build with a clean build area -- will update if a clean build fixes the issue
Comment 3 Matthew Barnes 2008-04-16 19:46:03 UTC
Update and rebuild your GtkHtml.

*** This bug has been marked as a duplicate of 526877 ***
Comment 4 Reid Thompson 2008-04-17 04:05:27 UTC
Edit/Preferences crash is occurring with these svn versions ( approx 10:45 pm EDT 20070416).  This is after rm -rf all source directories noted below and re-downloading and rebuilding.  I'll try to get another stack trace tomorrow.

glib
Revision: 6860
libsoup
Revision: 1136
gtkhtml
Revision: 8824
evolution-data-server
Revision: 8653
evolution
Revision: 35372
evolution-exchange
Revision: 1622
evolution-webcal
Revision: 429


Comment 5 Matthew Barnes 2008-04-17 04:56:49 UTC
Created attachment 109400 [details] [review]
Possible fix

Hrm, tricky little bugger.  Give this a try.
Comment 6 Matthew Barnes 2008-04-17 11:43:18 UTC
Adding this to my "new composer" tracker (bug #522153).
Comment 7 Reid Thompson 2008-04-17 13:01:52 UTC
On initial check, patch seems to have fixed the issue. I can bring up the Edit/Preferences window and navigate through the subselections/sub-windows without any apparent adverse affect.
Comment 8 Matthew Barnes 2008-04-17 16:19:25 UTC
Patch committed to GtkHtml revision 8826.