SOGo | BTS

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004566SOGoWeb Mailpublic2018-10-05 04:562018-10-14 01:00
Reporterslainsavage 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusnewResolutionopen 
PlatformServerOSarchlinuxOS Versioncurrent
Product Version4.0.2 
Target VersionFixed in Version 
Summary0004566: After upgrade to 4.0.2, I get "An error occurred during object publishing"
DescriptionAfter upgrading to version 4.0.2 I get the following error message in my web browser right after authentication has completed.

An error occurred during object publishing
the requested object could not be found!


In my system logs I see the following error when starting sogo.


sogod[29991]: Error (objc-load):/usr/lib/GNUstep/SOGo/MailPartViewers.SOGo/MailPartViewers: undefined
symbol: SSL_load_error_strings
sogod[29991]: Oct 05 08:16:29 sogod [29991]: [so-product-registry] could not load product: MailPartViewers
sogod[29991]: Error (objc-load):/usr/lib/GNUstep/SOGo/MailerUI.SOGo/MailerUI: undefined symbol: __objc_class_name_UIxMailSizeFormatter
sogod[29991]: Oct 05 08:16:29 sogod [29991]: [so-product-registry] could not load product: MailerUI

Steps To ReproduceCompile version 4.0.2 from source on archlinux
Additional InformationIf I compile version 4.0.1 from source on archlinux then everything works as expected.

I am using the following software versions

kernel: 4.18.10-1
opnessl: 1.1.1-1
gnustep-base: 1.25.1-3
TagsNo tags attached.
Attached Filespatch file icon SOPE-4.0.2-OpenSSL-1.1_fix-1.patch [^] (784 bytes) 2018-10-11 00:36 [Show Content]
patch file icon SOGo-4.0.2-OpenSSL-1.1.0_fixes-1.patch [^] (1,106 bytes) 2018-10-11 00:36 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0013087)
slainsavage (reporter)
2018-10-09 03:17

I have managed to get 4.0.2 working by reverting UI/MailPartViewers/UIxMailPartSignedViewer.m back to how it was in 4.0.1

I removed SSL_load_error_strings(); and changed

validationMessage = [[self labelForKey: [NSString stringWithUTF8String: sslError ? sslError : "(no erro r information available)"]] retain];

to

validationMessage = [[self labelForKey: [NSString stringWithUTF8String: sslError]] retain];

This is not a proper solution but hopefully it will help someone to track down the real problem
(0013088)
slainsavage (reporter)
2018-10-09 03:31

Some more info that might be helpful

UIxMailPartSignedViewer.m was modified with commit 5a48fca43dc387033f53f6f99ac045eae1cf9604 to resolve 0004433 "(fix) avoid displaying empty signed emails when using GNU TLS"
(0013093)
DJ_L (reporter)
2018-10-11 00:35
edited on: 2018-10-11 01:04

Somebody more capable should double check this, but two patches should be close to correct.

^^ check should actually be: #if OPENSSL_VERSION_NUMBER < 0x10100000L

(0013094)
slainsavage (reporter)
2018-10-11 03:38

Thanks DJ_L,

I have tested the patches on two of my systems and everything is now working.
(0013104)
DJ_L (reporter)
2018-10-14 01:00

https://github.com/inverse-inc/sope/pull/46 [^]
and
https://github.com/inverse-inc/sogo/pull/243 [^]

- Issue History
Date Modified Username Field Change
2018-10-05 04:56 slainsavage New Issue
2018-10-09 03:18 slainsavage Note Added: 0013087
2018-10-09 03:31 slainsavage Note Added: 0013088
2018-10-11 00:29 DJ_L Note Added: 0013092
2018-10-11 00:30 DJ_L Note Deleted: 0013092
2018-10-11 00:35 DJ_L Note Added: 0013093
2018-10-11 00:36 DJ_L File Added: SOPE-4.0.2-OpenSSL-1.1_fix-1.patch
2018-10-11 00:36 DJ_L File Added: SOGo-4.0.2-OpenSSL-1.1.0_fixes-1.patch
2018-10-11 01:04 DJ_L Note Edited: 0013093 View Revisions
2018-10-11 03:38 slainsavage Note Added: 0013094
2018-10-14 01:00 DJ_L Note Added: 0013104


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker