|Summary:||ASTERISK-19346: Registering multiple Google calendars via caldav crashes Asterisk|
|Reporter:||Stefan Flemming (sflemming)||Labels:|
|Date Opened:||2012-02-11 17:15:45.000-0600||Date Closed:||2017-09-13 14:51:45|
|Versions:||188.8.131.52 10.1.0||Frequency of|
|Environment:||Gentoo Linux, Kernel 3.2.1, Asterisk 10.1||Attachments:||( 0) backtrace.txt|
( 1) backtrace.txt
( 2) backtrace.txt
|Description:||When multiple google calendars are registered, Asterisk either crashes when it is started or after some time.|
I was able to reproduce it with Asterisk 10.1 and 1.8 on Gentoo Linux (Kernel 2.6-3.2)
by simply registering 8 calendars.
All calendars use the same account and the following snippet shows the configuration
that I use for each calendar.
type = caldav
url = https://www.google.com/calendar/dav/REPLACED@group.calendar.google.com/events/
user = REPLACED@REPLACED.org
secret = REPLACED
refresh = 60
timeframe = 120
|Comments:||By: Paul Belanger (pabelanger) 2012-02-12 08:16:01.604-0600|
Thank you for your bug report. In order to move your issue forward, we require a backtrace from the core file produced after the crash. Also, be sure you have DONT_OPTIMIZE enabled in menuselect within the Compiler Flags section, then:
After enabling, reproduce the crash, and then execute the backtrace instructions. When complete, attach that file to this issue report.
By: Stefan Flemming (sflemming) 2012-02-12 09:47:51.008-0600
I will do my best, give me some time to find out how to configure my gentoo ebuild to disable optimization.
It is a production environment and I cannot easily recompile Asterisk until I know what 'make install' will override. I will try to setup Asterisk on a different computer, compile the latest version and create a backtrace.
By: Stefan Flemming (sflemming) 2012-02-18 14:03:33.135-0600
We have tried to reproduce the problem with two Ubuntu machines and I also replaced my asterisk installation with one built with BETTER_BACKTRACES and DONT_OPTIMIZE. Now I have the problem that 'calendar show calenders' does not even show up a calendar although I have the same calendar.conf.
I went back to my gentoo installation and installed the ebuild after setting COMPILER_FLAGS=DONT_OPTIMIZE G711_NEW_ALGORITHM BETTER_BACKTRACES in .asterisk.makeopts. The calendars are back but still crash.
I attach the backtrace.txt but think it might not be really helpful since it seems to be incomplete?
Maybe I there is still an issue with the debug flags? I will try to find out how to enable the debugging symbols.
By: Stefan Flemming (sflemming) 2012-02-23 16:09:59.466-0600
Now a valid backtrace.
By: Stefan Flemming (sflemming) 2012-03-01 10:57:41.942-0600
I recompiled the whole system with debug flags and attached a backtrace. The problem is still reproducible.
By: Sean Bright (seanbright) 2017-09-13 14:51:45.432-0500
I can't reproduce this with Asterisk 13.17.1 and it looks like Google is no longer supporting the CalDAV endpoints.
If you currently have an operable Google CalDAV endpoint, can reproduce the bug in at least Asterisk 13.17.1, and can provide SSH access for me to debug, please feel free to re-open.