astroidmail / astroid

A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
http://astroidmail.github.io
Other
613 stars 65 forks source link

gmime-CRITICAL and GLib-GObject-CRITICAL messages #691

Open shaolintl opened 4 years ago

shaolintl commented 4 years ago

Hello,

When the client starts up and when opening a new tab, I get the error messages below.

I am using Debian and Astroid configuration has output the libraries shown at the end.

The client works well but I was wondering if the error messages can be avoided. Thanks!

(astroid:15961): GLib-GObject-CRITICAL **: 15:58:38.752: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(astroid:15961): gmime-CRITICAL **: 15:58:38.752: internet_address_list_length: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed

(astroid:15961): gmime-CRITICAL **: 15:58:38.752: internet_address_list_length: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed [15:58:38] [0x00007fc2d4cfe700] [M] [error] address: no address in string.

-- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Available config types: Debug;Release CMake Warning at CMakeLists.txt:26 (message): No CMAKE_BUILD_TYPE value specified, defaulting to Debug.

-- Building astroid v0.15-17-g8db62e57 -- Found Notmuch 5.2.0 -- Looking for notmuch_database_index_file -- Looking for notmuch_database_index_file - found -- Notmuch was built against GMime 3.0.0 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") -- Checking for module 'gtkmm-3.0>=3.10' -- Found gtkmm-3.0, version 3.24.0 -- Checking for module 'glibmm-2.4' -- Found glibmm-2.4, version 2.58.0 -- Checking for module 'webkit2gtk-4.0>=2.22' -- Found webkit2gtk-4.0, version 2.28.2 -- Checking for module 'libsass' -- Found libsass, version 3.5.5 -- Checking for module 'giomm-2.4' -- Found giomm-2.4, version 2.58.0 -- Checking for module 'gio-unix-2.0' -- Found gio-unix-2.0, version 2.58.3 -- Checking for module 'libsoup-2.4' -- Found libsoup-2.4, version 2.64.2 -- Checking for module 'gmime-3.0>=3.0.0' -- Found gmime-3.0, version 3.2.1 -- Looking for pthread.h CMake Warning (dev) at /usr/share/cmake-3.13/Modules/CheckIncludeFile.cmake:70 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CMAKE_REQUIRED_LIBRARIES is set to:

/usr/lib/x86_64-linux-gnu/libnotmuch.so

For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/share/cmake-3.13/Modules/FindThreads.cmake:121 (CHECK_INCLUDE_FILE) CMakeLists.txt:107 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

-- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Boost version: 1.67.0 -- Found the following Boost libraries: -- filesystem -- program_options -- log_setup -- log -- thread -- date_time -- system -- regex -- chrono -- atomic -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found suitable version "3.6.1", minimum required is "3.0") -- Checking for module 'vte-2.91' -- Found vte-2.91, version 0.54.2 -- Looking for sass_context.h -- Looking for sass_context.h - not found -- Looking for sass/context.h -- Looking for sass/context.h - found -- Checking for module 'gobject-introspection-1.0' -- Found gobject-introspection-1.0, version 1.58.3 -- Checking for module 'libpeas-1.0>=1.0.0' -- Found libpeas-1.0, version 1.22.0 -- Boost version: 1.67.0 -- Found the following Boost libraries: -- unit_test_framework -- Configuring done -- Generating done

phylor commented 3 years ago

I have the same errors. However, they occur for me if I write a response to a message in GVim and then close the editor.

[21:13:37] [0x00007f85b32cf180] [M] [info] msg: loading message from file (mid supplied): /home/myuser/.cache/astroid/1610050377.5mbdgwn2x2.astroid@myhostname

(astroid:51493): GLib-GObject-CRITICAL **: 21:13:37.943: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.943: g_mime_message_get_from: assertion 'GMIME_IS_MESSAGE (message)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_message_get_subject: assertion 'GMIME_IS_MESSAGE (message)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_object_get_header: assertion 'GMIME_IS_OBJECT (object)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_object_get_header: assertion 'GMIME_IS_OBJECT (object)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_object_get_header: assertion 'GMIME_IS_OBJECT (object)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_message_get_date: assertion 'GMIME_IS_MESSAGE (message)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_message_get_mime_part: assertion 'GMIME_IS_MESSAGE (message)' failed
[21:13:37] [0x00007f85b32cf180] [M] [error] chunk (5): got NULL mime_object.

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_object_get_content_type: assertion 'GMIME_IS_OBJECT (object)' failed
[21:13:37] [0x00007f85b32cf180] [M] [warning] chunk (5): content-type not specified, could be mime-message.

(astroid:51493): GLib-GObject-CRITICAL **: 21:13:37.944: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: internet_address_list_length: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: internet_address_list_length: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
[21:13:37] [0x00007f85b32cf180] [M] [error] address: no address in string.

(astroid:51493): GLib-GObject-CRITICAL **: 21:13:37.944: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[21:13:37] [0x00007f85b32cf180] [M] [error] ac: error: could not figure out which account:  belongs to.
[21:13:37] [0x00007f85b32cf180] [M] [warning] cm: warning: unknown sending address, using default.

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_message_get_addresses: assertion 'GMIME_IS_MESSAGE (message)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: internet_address_list_to_string: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_message_get_addresses: assertion 'GMIME_IS_MESSAGE (message)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: internet_address_list_to_string: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: g_mime_message_get_addresses: assertion 'GMIME_IS_MESSAGE (message)' failed

(astroid:51493): gmime-CRITICAL **: 21:13:37.944: internet_address_list_to_string: assertion 'IS_INTERNET_ADDRESS_LIST (list)' failed
[21:13:37] [0x00007f85b32cf180] [M] [info] msg: loading message from GMimeStream.
[21:13:37] [0x00007f85b32cf180] [M] [info] chunk: contents: loaded 0 bytes in 0.021 ms.
[21:13:37] [0x00007f85b32cf180] [M] [info] chunk: file size: 0 (time used to calculate: 0.074 s.)

The file GVim edited in $HOME/.cache/astroid contains my reply. Astroid is then not able to read the content of that file (it seems), because the reply is rendered completely empty in Astroid (without text and without receipients).

Is this an incompatibility with glib?