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 554282 - advanced search -> expression makes evolution permanently crashing
advanced search -> expression makes evolution permanently crashing
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal blocker
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[disk-summary]
Depends on:
Blocks: 543389
 
 
Reported: 2008-09-29 12:09 UTC by Stanislav Brabec
Modified: 2008-10-14 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stanislav Brabec 2008-09-29 12:09:50 UTC
I have entered Advanced Search and entered advanced search for expression "list-post.*zypp-devel".

It is no more possible to use evolution, as it crashes a second after every start.

...
folders table successfully created 
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 1 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE deleted = 1 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE read = 0 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 0 AND deleted = 0 [no such table: Outbox]
Error in SQL SELECT statement: SELECT COUNT (*) FROM 'Outbox' WHERE junk = 1 AND deleted = 0 [no such table: Outbox]
...
store_db_path ...
...
(evolution:26293): e-data-server-WARNING **: Error in parsing: Unknown identifier: list-post

(evolution:26293): e-data-server-CRITICAL **: e_sexp_eval: assertion `f->tree != NULL' failed


Program received signal SIGSEGV, Segmentation fault.

Thread 140736846227792 (LWP 26308)

  • #0 camel_sexp_to_sql_sexp
  • #1 camel_folder_search_search
  • #2 imap_search_by_expression
  • #3 regen_list_exec
    at message-list.c line 3970
  • #4 mail_msg_proxy
    at mail-mt.c line 521
  • #5 ??
    from /usr/lib64/libglib-2.0.so.0
  • #6 ??
    from /usr/lib64/libglib-2.0.so.0
  • #7 start_thread
    at pthread_create.c line 297
  • #8 clone
    from /lib64/libc.so.6
  • #9 ??

Comment 1 André Klapper 2008-09-29 15:50:17 UTC
What exact version is this?
Can you create an empty file named ~/.evolution/.running and start Evo without crashing?
Comment 2 Stanislav Brabec 2008-09-29 16:31:57 UTC
Evolution 2.23.92 from openSUSE 11.1 beta 1.

File ~/.evolution/.running already exists and evolution is still crashing. Removing this file does not help as well.

But removing of ~/.evolution/mail/imap/.../folders/INBOX/cmeta stops repeated crashing.
Comment 3 Srinivasa Ragavan 2008-09-29 17:18:00 UTC
Stanislav, I'm on this tomorrow morning.

Basically, the search expression crashes while being converted to a sql query on the sexp parser. Removing the cmeta file, erases the last search, so it may be still fine. Anyways, the original bug is that the search crashes. This is due to new disk summary version.
Comment 4 Srinivasa Ragavan 2008-09-30 02:49:21 UTC
I haven't used this field before. What does this expression supposed to do. Even on 2.22, it doesn't work. Well, it doesn't crash also.

Andre/Others: Wasn't this expression supposed to be an s-expression ? I thought so.
Comment 5 Stanislav Brabec 2008-09-30 10:13:41 UTC
I have no idea about developer intention, but I was thinking that it is a generic header match search for headers that are not listed elsewhere. I don't know, whether it is true and whether it was intended to use regular or globbing expressions.
Comment 6 Srinivasa Ragavan 2008-10-14 19:01:07 UTC
I tried the same exp on 2.22 it didn't crash, but didn't work also. Same behaviour on 2.24.1 (stable/trunk: Fixed.)