View Issue Details

IDProjectCategoryView StatusLast Update
0003471SOGoWeb Calendarpublic2016-03-23 11:03
Reporterslainsavage Assigned Toludovic  
PriorityhighSeveritycrashReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version3.0.0 
Fixed in Version3.1.0 
Summary0003471: When selecting calendar via the web interface sogo core dumps
Description

When I click on calendar via the web interface it will only show the event list and in my logs I can see "buffer overflow detected". If I then click on one of the events in my list a new window will appear in the center of the screen but with no info in the window and the same error message in my log.

buffer overflow detected : /usr/bin/sogod terminated
sogod[4051]: ======= Backtrace: =========

TagsNo tags attached.

Activities

ludovic

ludovic

2016-01-29 09:52

administrator   ~0009365

Have a look at this http://sogo.nu/nc/support/faq/article/how-do-i-debug-sogo-2.html

and produce a stack trace please.

slainsavage

slainsavage

2016-01-29 16:01

reporter   ~0009370

Last edited: 2016-01-29 16:01

This is a weird problem. If I compile sogo with --enable-debug then it works 100% fine and does not crash when clicking on calendar but if it is compiled with --disable-debug then it will crash if I click on calendar. What do you recommend should I do next to try and pin point the problem.

slainsavage

slainsavage

2016-01-29 16:22

reporter   ~0009371

Not sure if this will help, this is in my log file

Jan 29 21:15:57 sogod [2373]: <0x0x560d7fe54ec0[NGImap4Client]> TLS started successfully.
Jan 29 21:15:57 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/Mail/0/folderINBOX/163/view HTTP/1.1" 200 1088/0 0.352 - - 0
Jan 29 21:15:59 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/Calendar HTTP/1.1" 302 0/0 0.002 - - 0
Jan 29 21:15:59 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/Calendar/view HTTP/1.1" 200 14020/0 0.032 62163 77% 532K
Jan 29 21:16:00 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/jsonDefaults HTTP/1.1" 200 2612/0 0.003 - - 0
Jan 29 21:16:00 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/jsonSettings HTTP/1.1" 200 1176/0 0.002 - - 0
Jan 29 21:16:00 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/Calendar/alarmslist?browserTime=1454102160 HTTP/1.1" 200 63/0 0.002 - - 0
Jan 29 21:16:00 sogod [2373]: 127.0.0.1 "POST /SOGo/so/user1@mymailserver.co.za/Calendar/saveSelectedList HTTP/1.1" 204 0/25 0.006 - - 0
Jan 29 21:16:00 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/Calendar/eventslist?asc=1&day=20160129&filterpopup=view_next31&search=title_Category_Location&sort=start&value= HTTP/1.1" 200 1055/0 0.010 - - 120K
Jan 29 21:16:00 sogod [2373]: 127.0.0.1 "GET /SOGo/so/user1@mymailserver.co.za/Calendar/eventsblocks?ed=20160131&sd=20151228&view=monthview HTTP/1.1" 200 1731/0 0.004 - - 0
buffer overflow detected : /usr/bin/sogod terminated
======= Backtrace: =========

ludovic

ludovic

2016-03-23 11:03

administrator   ~0009819

This should be fixed in 3.0.3. Please try the nightly builds to be sure.

I'm pretty sure it was caused by this: https://github.com/inverse-inc/sogo/commit/9a4d2c6b1c2c56c38ce6078b988022b3eb4a310e

Issue History

Date Modified Username Field Change
2016-01-29 09:51 slainsavage New Issue
2016-01-29 09:52 ludovic Note Added: 0009365
2016-01-29 16:01 slainsavage Note Added: 0009370
2016-01-29 16:01 slainsavage Note Edited: 0009370
2016-01-29 16:22 slainsavage Note Added: 0009371
2016-03-23 11:03 ludovic Note Added: 0009819
2016-03-23 11:03 ludovic Status new => resolved
2016-03-23 11:03 ludovic Fixed in Version => 3.1.0
2016-03-23 11:03 ludovic Resolution open => fixed
2016-03-23 11:03 ludovic Assigned To => ludovic