No description
Find a file
Guido Günther b57567ff9e Geary.Imap.FolderSession: Don't crash on empty preview
If we didn't set a preview we crash like

    *[wrn] 12:54:59.0908 geary:application-certificate-manager.vala:74: No GCR slot URIs found, GCR certificate pinning unavailable
    *[wrn] 12:55:10.0501 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession: No preview specifiers "body.peek[1]<0.256>" and "body.peek[1.mime]" found
    *[wrn] 12:55:10.0502 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession:  - has body[1.mime]
    *[wrn] 12:55:10.0502 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession:  - has body[header.fields (references)]
    *[wrn] 12:55:10.0502 Geary: [goa_account_1614080076_2] [imap] [GearyImapClientSession(selected:INBOX selected RW, GearyImapClientConnection(0001/imap.example.com:993/up)), Imap.Folder(>INBOX), ro: false, permanent_flags: \Answered \Flagged \* \Seen \Deleted \Draft, accepts_user_flags: true] GearyImapFolderSession:  - has body[1]<0>
    ![crt] 12:55:10.0502 GLib:Did not see expected message GLib-GObject-WARNING **: g_object_weak_unref: couldn't find weak ref *
    ![crt] 12:55:10.0502 geary:geary_email_set_message_preview: assertion 'GEARY_RF_C822_IS_PREVIEW_TEXT (preview)' failed

    (gdb) bt
    #0  __GI_raise (sig=sig@entry=5) at ../sysdeps/unix/sysv/linux/raise.c:50
    #1  0x0000ffff919a71d8 in _g_log_abort (breakpoint=1) at ../../../glib/gmessages.c:554
    #2  g_logvPython Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x8:
     (log_domain=0xffff91f1d908 "geary", log_level=10, format=<optimized out>, args=#3  0x0000ffff919a7440 in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>)
        at ../../../glib/gmessages.c:1415
    #4  0x0000ffff91eabaf8 in geary_imap_folder_session_fetched_data_to_email
        (error=0xffff11aeb2f0, preview_charset_specifier=0xaaaafe108120 [GearyImapFetchBodyDataSpecifier], preview_specifier=0xaaaafe0ec070 [GearyImapFetchBodyDataSpecifier], body_specifier=0x0, header_specifiers_length1=<optimized out>, header_specifiers=0x0, required_fields=927, fetched_data=<optimized out>, uid=0xaaaafe48de90 [GearyImapUID], self=0xaaaafe1059b0 [GearyImapFolderSession])
        at src/engine/libgeary-engine.a.p/imap/api/imap-folder-session.c:6795
    #5  __lambda103_ (error=0xffff11aeb360, _data28_=0xaaaafdf2d760) at src/engine/libgeary-engine.a.p/imap/api/imap-folder-session.c:4541
    #6  ___lambda103__geary_nonblocking_concurrent_concurrent_callback (cancellable=<optimized out>, self=0xaaaafdf2d760, error=0xffff11aeb360) at src/engine/libgeary-engine.a.p/imap/api/imap-folder-session.c:4640
    #7  0x0000ffff91e412d0 in geary_nonblocking_concurrent_concurrent_operation_execute (self=0xaaaafe48f6d0 [GearyNonblockingConcurrentConcurrentOperation])
        at src/engine/libgeary-engine.a.p/nonblocking/nonblocking-concurrent.c:672
    #8  geary_nonblocking_concurrent_on_work_ready (op=0xaaaafe48f6d0 [GearyNonblockingConcurrentConcurrentOperation], self=<optimized out>)
        at src/engine/libgeary-engine.a.p/nonblocking/nonblocking-concurrent.c:501
    #9  _geary_nonblocking_concurrent_on_work_ready_gfunc (data=0xaaaafe48f6d0, self=<optimized out>) at src/engine/libgeary-engine.a.p/nonblocking/nonblocking-concurrent.c:296
    #10 0x0000ffff919ca3c8 in g_thread_pool_thread_proxy (data=<optimized out>) at ../../../glib/gthreadpool.c:354
    #11 0x0000ffff919c98f4 in g_thread_proxy (data=0xaaaafde2e120) at ../../../glib/gthread.c:820
    #12 0x0000ffff8b437628 in start_thread (arg=0xffff11aeb520) at pthread_create.c:477
    #13 0x0000ffff916a801c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78

Create an empty preview to avoid that.
2021-02-24 13:18:50 +01:00
.gitlab/issue_templates Update Gitlab issue templates 2019-07-05 12:47:29 +10:00
bindings/vapi build: Add minimal ICU VAPI for UBreakIterator 2021-01-19 20:49:01 +11:00
build-aux build: Fix flatpak CI failing 2020-10-14 20:05:15 +11:00
desktop desktop/org.gnome.Geary.appdata.xml.in.in: Mention search in relnotes 2021-01-19 22:02:50 +11:00
help app icon: darker yellow for better contrast 2021-01-17 11:31:57 +01:00
icons icons: Add icon for beta profile 2021-01-20 20:28:07 +11:00
po Update Hungarian translation 2021-02-18 22:05:51 +00:00
sql ImapDb.Database: Register new ICU-based tokeniser for FTS 2021-01-19 20:48:59 +11:00
src Geary.Imap.FolderSession: Don't crash on empty preview 2021-02-24 13:18:50 +01:00
subprojects/vala-unit build: Remove libhandy submodule from the build 2020-08-27 08:34:08 +10:00
test Geary.RFC822.MailboxAddress: Handle long headers being folded 2021-01-20 19:24:17 +11:00
ui composer-headerbar: Use HdyHeaderBar 2021-02-11 01:14:04 -06:00
.gitattributes .gitattributes: add syntax highlight for meson.build in Web UI 2019-04-30 10:40:42 +03:00
.gitignore Add a compatibility JSON-based flatpak manifest 2019-10-25 11:48:09 +11:00
.gitlab-ci.yml ImapDb.Database: Register new ICU-based tokeniser for FTS 2021-01-19 20:48:59 +11:00
AUTHORS Update THANKS, etc. 2017-10-02 20:52:45 +11:00
BUILDING.md ImapDb.Database: Register new ICU-based tokeniser for FTS 2021-01-19 20:48:59 +11:00
code-of-conduct.md code-of-conduct.md: Actually specify an address for reporting abuse 2020-04-08 12:41:56 +10:00
CONTRIBUTING.md README.md, CONTRIBUTING.md: Mention discourse & update for consistency 2020-06-24 23:02:46 +10:00
COPYING Added COPYING, AUTHORS, and MAINTAINERS files: #3697. 2011-06-06 15:23:04 -07:00
COPYING.icons Remove now-unused mail-spam-symbolic icon. Bug 737862. 2016-07-14 13:06:52 +10:00
COPYING.pyyaml Add a compatibility JSON-based flatpak manifest 2019-10-25 11:48:09 +11:00
geary.doap geary.doap: Remove Jim as a maintainer, he hasn't been around in a while 2020-08-19 10:56:12 +10:00
meson.build build: Add minimal ICU VAPI for UBreakIterator 2021-01-19 20:49:01 +11:00
meson_options.txt build: Update how build profiles are handled 2020-10-03 23:34:31 +10:00
NEWS Update files for 40.alpha release 2021-01-18 22:02:42 +11:00
org.gnome.Geary.json org.gnome.Geary.yaml: Workaround for WebKitGTK not printing under Flatpak 2021-01-17 20:19:36 +11:00
org.gnome.Geary.yaml org.gnome.Geary.yaml: Workaround for WebKitGTK not printing under Flatpak 2021-01-17 20:19:36 +11:00
README.md README.md: Minor improvements 2020-10-03 23:34:31 +10:00
THANKS THANKS: Updated 2020-08-27 10:34:52 +10:00

Geary: Send and receive email

Geary icon

Geary is an email application built around conversations, for the GNOME 3 desktop. It allows you to read, find and send email with a straight-forward, modern interface.

Visit https://wiki.gnome.org/Apps/Geary for more information.

GitHub users please note: Bug reports, code contributions and translations are managed using GNOME's infrastructure, so we cannot accept tickets or pull requests on GitHub. Please see the links below for more information.

Geary displaying a conversation

Building & Licensing

Please consult the BUILDING.md and COPYING files for more information about building Geary and the licence granted by its copyright holders for redistribution.

Getting in Touch

Code Of Conduct

We follow the Contributor Covenant as our Code of Conduct. All communications in project spaces are expected to adhere to it.

Contributing to Geary

Want to help improve Geary? Here are some ways to contribute:


Copyright © 2016 Software Freedom Conservancy Inc.
Copyright © 2017-2020 Michael Gratton mike@vee.net