maya-calendar crashes at start (memory access violation)

Bug #1420431 reported by Robert Sliwinski on 2015-02-10
170
This bug affects 34 people
Affects Status Importance Assigned to Milestone
Maya
Confirmed
Undecided
Unassigned

Bug Description

Maya won't start, I can't figure out why:

robert@robert-ThinkPad-T440s:~$ maya-calendar

** (maya-calendar:21904): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-W6xfcfRVr4: Verbindungsaufbau abgelehnt
[_LOG_LEVEL_INFO 19:22:00.887760] Application.vala:155: Kalender version: 0.3
[_LOG_LEVEL_INFO 19:22:00.887813] Application.vala:157: Kernel version: 3.19.0-031900rc4-generic
[_LOG_LEVEL_FATAL 19:22:01.105403] maya_util_is_the_all_day: assertion 'dtend != NULL' failed
[_LOG_LEVEL_FATAL 19:22:01.105439] Kalender will not function properly.
[_LOG_LEVEL_FATAL 19:22:01.105473] [GLib] g_date_time_format: assertion 'datetime != NULL' failed
[_LOG_LEVEL_FATAL 19:22:01.105489] Kalender will not function properly.
Speicherzugriffsfehler (Speicherabzug geschrieben)
robert@robert-ThinkPad-T440s:~$

I'm using a German localisation of elementary OS freya, maya is called "Kalender".

ProblemType: Bug
DistroRelease: elementary OS 0.3
Package: maya-calendar 0.3~r759+pkg66~ubuntu0.3.1 [origin: LP-PPA-elementary-os-daily]
Uname: Linux 3.19.0-031900rc4-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CrashDB: maya_calendar
CurrentDesktop: Pantheon
Date: Tue Feb 10 19:19:43 2015
ExecutablePath: /usr/bin/maya-calendar
GSettings:

InstallationDate: Installed on 2014-09-16 (147 days ago)
InstallationMedia: elementary OS 0.3 "Freya" - Daily amd64 (20140810)
SourcePackage: maya-calendar
UpgradeStatus: No upgrade log present (probably fresh install)

Robert Sliwinski (8-r) wrote :
description: updated
Ruchir (ruchir-brahmbhatt) wrote :

I face this issue since beginning. After adding my google calendar, I can no longer start maya-calendar and get same errors. Removing ~/.local/share/evolution directory didn't help. Playing with dconf entries also didn't help.

humunculus (3-clemens) wrote :

Hi,
I've got the same issues (also after adding a Google-Calendar) and I'm using the German localization too.

zeeeeee (miesogeno) wrote :

Hi guys,
try this, read my comments in #11, for the crash on start issue, and #13, for importing calendars:
https://bugs.launchpad.net/maya/+bug/1388515
I hope it helps you.

Stefan A. B. (steveb13687) wrote :

Hi guys,

same thing here. I already tried the above mentioned workarounds with no effect.

Here's what terminal replies after launching maya:

[_LOG_LEVEL_INFO 15:44:16.552528] Application.vala:155: Kalender version: 0.3.1.1
[_LOG_LEVEL_INFO 15:44:16.552581] Application.vala:157: Kernel version: 3.19.0-39-generic
[_LOG_LEVEL_FATAL 15:44:16.789360] maya_util_is_the_all_day: assertion 'dtend != NULL' failed
[_LOG_LEVEL_FATAL 15:44:16.789426] Kalender will not function properly.
[_LOG_LEVEL_FATAL 15:44:16.789471] [GLib] g_date_time_format: assertion 'datetime != NULL' failed
[_LOG_LEVEL_FATAL 15:44:16.789494] Kalender will not function properly. Segmentation fault (Speicherabzug geschrieben)

I've now added a midori-wrapper with google calendar to my dock but this is no replacement for Maya. I hope this can be fixed soon...

Thank you in advance!

Stefan A. B. (steveb13687) wrote :

--> Update to my above post:

Bug seems to be directly connected to Google. CalDav import works as usual with other host!

Markus Hallfors (destroyerko) wrote :

Just got this same bug after fresh elementaryOS install and then added a Google account to calendar.

[_LOG_LEVEL_INFO 00:13:47.168565] Application.vala:155: Calendar version: 0.3.1.1
[_LOG_LEVEL_INFO 00:13:47.168675] Application.vala:157: Kernel version: 3.19.0-56-generic
[_LOG_LEVEL_FATAL 00:13:47.773995] maya_util_is_the_all_day: assertion 'dtend != NULL' failed
[_LOG_LEVEL_FATAL 00:13:47.774076] Calendar will not function properly.
[_LOG_LEVEL_FATAL 00:13:47.774174] [GLib] g_date_time_format: assertion 'datetime != NULL' failed
[_LOG_LEVEL_FATAL 00:13:47.774223] Calendar will not function properly.
[1] 3692 segmentation fault (core dumped) maya-calendar

I imported a Google calendar (it is not an English calendar) and I got the same issue.
On a fresh installation of Loki stable.

Zisu Andrei (matzipan) wrote :

Hello,

Can you please provide a backtrace of where the issue is occuring?

gdb maya-calendar
run
-- try and reproduce the bug, and when the bug occurs, type in the next line --
bt

And paste the output here.

Stefan A. B. (steveb13687) wrote :

I installed eOS Loki recently. Google calendar is working fine...

For this reasons i can't provide the requested information.

Zisu Andrei (matzipan) on 2016-09-21
Changed in maya:
status: New → Incomplete
Sean Seago (speedkreature) wrote :

Rather than add another "me too", I'd like to post the needed backtrace.

There are a few errors on my install in the console, but some of the warnings and one fatal error can be removed by installing evolution-data-server-online-accounts.

The output of gdb maya-calendar, etc is as follows:

#0 0x00007ffff52de87c in g_date_time_to_timezone () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff509e439 in maya_util_is_multiday_event () from /usr/lib/x86_64-linux-gnu/libmaya-calendar.so.0
#2 0x0000555555568740 in maya_view_agenda_view_agenda_event_row_update ()
#3 0x0000555555568ec8 in maya_view_agenda_view_agenda_event_row_construct ()
#4 0x0000555555569d54 in ?? ()
#5 0x00007ffff55cafa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff55dcfc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff55e5d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff55e6555 in g_signal_emit_by_name () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007ffff509605e in ?? () from /usr/lib/x86_64-linux-gnu/libmaya-calendar.so.0
#10 0x00007ffff55cdf49 in g_cclosure_marshal_VOID__POINTERv () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff55cb1d4 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff55e59a6 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff55e608f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff4b98c8c in ?? () from /usr/lib/x86_64-linux-gnu/libecal-1.2.so.19
#15 0x00007ffff52f405a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007ffff52f4400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff52f4722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007ffff6af6395 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#19 0x000055555556b4ff in ?? ()
#20 0x00007ffff55cb1d4 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff55e59a6 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff55e608f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff5df9a56 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#24 0x00007ffff5df9c42 in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#25 0x00007ffff4e24f30 in granite_application_run () from /usr/lib/x86_64-linux-gnu/libgranite.so.3
#26 0x000055555556bac6 in maya_main ()
#27 0x00007ffff3f78830 in __libc_start_main (main=0x555555567470 <main>, argc=1, argv=0x7fffffffe078, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe068)
    at ../csu/libc-start.c:291
#28 0x00005555555674b9 in _start ()

Zisu Andrei (matzipan) wrote :

Sean Seago, can you confirm eds-online-accounts is not installed on a fresh Loki? Can you please file a separate report for this.

Thank you for your backtrace.

Changed in maya:
status: Incomplete → Confirmed
SB (sir-beafy) wrote :

Hello,
having exact same behaviour as speedkreature. One error about credentials is gone, once eds-online-accounts is installed (which is not present on fresh install, which I am on).

The other error about timezone remains like in the posted stacktrace.

SB (sir-beafy) wrote :
Eric Göpel (capstan) wrote :

I'm having the exact same problem, but just with one of my subcalendars. I'ts the only calendar I have shared to other persons, may this be a problem?
(Although calendars shared from others to me are working....)
The rest is the same between all of them...

I'm on Loki.

Mark Queitzsch (mqueitzsch) wrote :

Maya calendar closes the moment I open it, too. Fresh Elementary (Loki) install. Calendar opened and stayed opened until I configured a Google account with app password. Backtrace follows:

Starting program: /usr/bin/maya-calendar
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1103700 (LWP 4861)]
[New Thread 0x7fffdbfff700 (LWP 4862)]
[INFO 22:22:34.036514] Application.vala:155: Calendar version: 0.4.0.2
[INFO 22:22:34.036554] Application.vala:157: Kernel version: 4.4.0-66-generic
[New Thread 0x7fffd9a09700 (LWP 4864)]
[New Thread 0x7fffd9208700 (LWP 4865)]
[New Thread 0x7fffd8a07700 (LWP 4866)]
[New Thread 0x7fffcbddb700 (LWP 4867)]
[WARNING 22:22:34.152940] [e-data-server] e_module_load_all_in_directory: Error opening directory '/usr/lib/evolution-data-server/credential-modules': No such file or directory
[New Thread 0x7fffc9d46700 (LWP 4868)]
[New Thread 0x7fffc950e700 (LWP 4876)]
[FATAL 22:22:34.320211] maya_util_is_all_day: assertion 'dtend != NULL' failed
[FATAL 22:22:34.320332] [GLib] g_date_time_format: assertion 'datetime != NULL' failed

Thread 1 "maya-calendar" received signal SIGSEGV, Segmentation fault.
0x00007ffff52dc87c in g_date_time_to_timezone ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) bt
#0 0x00007ffff52dc87c in g_date_time_to_timezone ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007ffff509c439 in maya_util_is_multiday_event ()
   from /usr/lib/x86_64-linux-gnu/libmaya-calendar.so.0
#2 0x0000555555568740 in maya_view_agenda_view_agenda_event_row_update ()
#3 0x0000555555568ec8 in maya_view_agenda_view_agenda_event_row_construct ()
#4 0x0000555555569d54 in ?? ()
#5 0x00007ffff55c8fa5 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff55dafc1 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff55e3d5c in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers