View Issue Details

IDProjectCategoryView StatusLast Update
0005593SOGoWeb Mailpublic2022-11-10 10:55
ReporterAndreyEver Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version5.7.1 
Summary0005593: Segfault in Mailer on mail with TNEF attachnemt
Description

Sogo webmail fails to display email (as well as Outlook via EAS)

Segfault in Mailer in syslog

root@mail:/tmp# uname -a
Linux mail 5.10.0-17-amd64 0000001 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux

problematic eml:
https://drive.google.com/file/d/11GKYok2fhuZsrV9f82zAb0rsKWZvfKnt/view?usp=sharing

Additional Information

Aug 30 14:51:44 mail kernel: [ 1085.639982] sogod[1109]: segfault at 10 ip 00007f4e18ea5742 sp 00007ffc48715860 error 4 in Mailer[7f4e18e79000+36000]
Aug 30 14:51:44 mail kernel: [ 1085.640002] Code: 8b 45 90 48 05 88 00 00 00 48 89 45 b8 c6 45 8f 00 c6 45 8e 01 80 7d 8f 00 0f 84 86 00 00 00 48 8b 45 b8 48 8b 00 48 83 c0 10 <8b> 00 89 85 fc fb ff ff 8b 85 fc fb ff ff 89 c7 e8 e9 3a fd ff 85

Aug 30 14:51:27 sogod [1109]: 93.189.148.130 "POST /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/headers HTTP/1.0" 200 54301/510 0.209 - - 0 - 21
Aug 30 14:51:28 sogod [1109]: 93.189.148.130 "POST /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/headers HTTP/1.0" 200 44236/510 0.193 - - 0 - 21
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: <0x0x7f4e1d4556a0[NSString]> Got invalid multibyte sequence. ToEncode: UTF-16LE FromEncode: US-ASCII.
Aug 30 14:51:30 sogod [1109]: 93.189.148.130 "POST /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/headers HTTP/1.0" 200 47284/510 0.180 - - -24K - 21
Aug 30 14:51:31 sogod [1109]: 93.189.148.130 "POST /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/headers HTTP/1.0" 200 43230/510 0.181 - - 0 - 21
Aug 30 14:51:32 sogod [1109]: 93.189.148.130 "POST /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/headers HTTP/1.0" 200 52036/510 0.193 - - 0 - 21
Aug 30 14:51:33 sogod [1109]: 93.189.148.130 "POST /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/headers HTTP/1.0" 200 43130/510 0.218 - - 24K - 21
Aug 30 14:51:34 sogod [1109]: 93.189.148.130 "POST /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/headers HTTP/1.0" 200 47951/510 0.189 - - 0 - 21
Aug 30 14:51:36 sogod [1109]: 10.42.254.242 "PROPFIND /SOGo/dav/v.filippov@vtor-plast.ru/Contacts/global_address_book/ HTTP/1.0" 207 19789/297 0.070 - - -368K - 21
Aug 30 14:51:36 sogod [1109]: 10.42.254.242 "PROPFIND /SOGo/dav/v.filippov@vtor-plast.ru/Contacts/global_address_book/ HTTP/1.0" 207 19789/297 0.059 - - 0 - 21
Aug 30 14:51:38 sogod [1109]: [WARN] <0x0x7f4e1db46f60[WOxElemBuilder]> could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder
Aug 30 14:51:38 sogod [1109]: 93.189.148.130 "GET /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/2410/view HTTP/1.0" 200 13228/0 0.092 - - 724K - 21
Aug 30 14:51:38 sogod [1109]: 93.189.148.130 "GET /SOGo/so/d.oshanin@eco-vp.ru/Mail/0/folderINBOX/2410/1/2/image001.jpg HTTP/1.0" 200 5028/0 0.051 - - 0 - 21
Aug 30 14:51:43 sogod [1109]: [RM:MailerUI] LOOKUP FAILED: UIxMailPartTNEFViewer
Aug 30 14:51:43 sogod [1109]: [RM:MailerUI] PARENT (<0x0x55bb2c998900[WEResourceManager]:>) SAID: (null)
Aug 30 14:51:44 sogod [1109]: [WARN] <0x55bb2c8ce250[SOGoTNEFMailBodyPart]:2> Unidentified extension .pdf
Aug 30 14:51:44 sogod [1109]: [WARN] <0x55bb2c8ce250[SOGoTNEFMailBodyPart]:2> Unidentified extension .xlsx
Aug 30 14:51:44 sogod [1109]: [WARN] <0x55bb2c8ce250[SOGoTNEFMailBodyPart]:2> Unidentified extension .jpg
Aug 30 14:51:44 sogod [1109]: [WARN] <0x55bb2c8ce250[SOGoTNEFMailBodyPart]:2> Unidentified extension .doc
Aug 30 14:51:44 sogod [1109]: [WARN] <0x55bb2c8ce250[SOGoTNEFMailBodyPart]:2> Unidentified extension .pdf

TagsActiveSync, tnef, webmail

Activities

AndreyEver

AndreyEver

2022-08-31 08:38

reporter   ~0016193

The most affected setup by this bug is Outlook connected via EAS
In webmail only single (problematic) mail is not displayed but in Outlook whole sync process get stocked for a while.

the_nic

the_nic

2022-08-31 10:45

reporter   ~0016195

do you have a stacktrace in coredumpctl? (you'll have to install debug packages to see them)

AndreyEver

AndreyEver

2022-08-31 11:11

reporter   ~0016196

do you really need it from my side?
it's 100% reproducible - just import eml from the link above to any mail folder (via IMAP client like Thunderbold) and try to access this mail via SoGo webmail

AndreyEver

AndreyEver

2022-11-10 10:55

reporter   ~0016377

Any progress? Any mail with TNEF attachment blocks Outlook sync completely

Issue History

Date Modified Username Field Change
2022-08-30 12:23 AndreyEver New Issue
2022-08-30 12:29 AndreyEver Tag Attached: webmail
2022-08-30 12:29 AndreyEver Tag Attached: ActiveSync
2022-08-30 12:29 AndreyEver Tag Attached: tnef
2022-08-31 08:38 AndreyEver Note Added: 0016193
2022-08-31 10:45 the_nic Note Added: 0016195
2022-08-31 11:11 AndreyEver Note Added: 0016196
2022-11-10 10:55 AndreyEver Note Added: 0016377