View Issue Details

IDProjectCategoryView StatusLast Update
0005998SOGoBackend Mailpublic2024-08-09 07:02
Reporterbero Assigned Toqhivert  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSOpenMandrivaOS VersionCooker
Product Version5.11.0 
Summary0005998: sogod crashes on startup
Description

After applying the patch from https://bugs.sogo.nu/view.php?id=5997 to make it compile, SOGo installs fine, but sogod crashes on startup. There's nothing in the logs; the backtrace of the crash is

Process 3722621 (sogod) of user 988 dumped core.

Stack trace of thread 3722621:
#0 0x0000ffffbe35e140 _c_NSPropertyListSerializationpropertyListWithData_options_formaterror (libgnustep-base.so.1.29 + 0x46e140)
0000001 0x0000ffffbe35dd6c _c_NSPropertyListSerialization
propertyListFromData_mutabilityOption_formaterrorDescription (libgnustep-base.so.1.29 + 0x46dd6c)
0000002 0x0000ffffbe3cee80 _c_NSUserDefaults_PrivatecreateArgumentDictionary_ (libgnustep-base.so.1.29 + 0x4dee80)
0000003 0x0000ffffbe3c9b38 _c_NSUserDefaultsinitialize (libgnustep-base.so.1.29 + 0x4d9b38)
0000004 0x0000ffffbdea9214 objc_send_initialize (libobjc.so.4.6 + 0x29214)
0000005 0x0000ffffbdeb11f4 slowMsgLookup (libobjc.so.4.6 + 0x311f4)
0000006 0x0000ffffbdeb5494 objc_msgSend_stret (libobjc.so.4.6 + 0x35494)
0000007 0x0000ffffbef4100c _c_SOGoSystemDefaults
prepareUserDefaults (libSOGo.so.5 + 0xc100c)
0000008 0x0000ffffbdea9214 objc_send_initialize (libobjc.so.4.6 + 0x29214)
0000009 0x0000ffffbdeb11f4 slowMsgLookup (libobjc.so.4.6 + 0x311f4)
0000010 0x0000ffffbdeb5494 objc_msgSend_stret (libobjc.so.4.6 + 0x35494)
0000011 0x0000aaaae05b8f14 main (sogod + 0x18f14)
0000012 0x0000ffffbdc20a94 __libc_start_call_main (libc.so.6 + 0x30a94)
0000013 0x0000ffffbdc20b78
libc_start_main (libc.so.6 + 0x30b78)
0000014 0x0000aaaae05b8db0 _start (sogod + 0x18db0)
ELF object binary architecture: AARCH64

Potentially relevant library/toolchain versions:
glibc 2.40
libobjc 2.1
gnustep-base 1.29.0
sope 5.11.0
sogo 5.11.0
clang 18.1.8

Steps To Reproduce

run
sogod -WOWorkersCount 3 -WOPidFile /run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
on OpenMandriva cooker or a sufficiently similar system

Sogo 5.8.4 runs fine in the same environment.

TagsNo tags attached.

Activities

qhivert

qhivert

2024-08-08 15:08

administrator   ~0017792

Could you share your sogo.conf? Looks like something can be wrong with it. Mind the passwords.

bero

bero

2024-08-08 15:53

reporter   ~0017793

{
        SOGoProfileURL = "postgresql://sogo:********@localhost:5432/sogo/sogo_user_profile";
        OCSFolderInfoURL = "postgresql://sogo:********@localhost:5432/sogo/sogo_folder_info";
        OCSSessionsFolderURL = "postgresql://sogo:********@localhost:5432/sogo/sogo_sessions_folder";
        OCSEMailAlarmsFolderURL = "postgresql://sogo:********@localhost:5432/sogo/sogo_alarms_folder";
        OCSStoreURL = "postgresql://sogo:********@localhost:5432/sogo/sogo_store";
        OCSAclURL = "postgresql://sogo:********@localhost:5432/sogo/sogo_acl";
        OCSCacheFolderURL = "postgresql://sogo:********@localhost:5432/sogo/sogo_cache_folder";

        SOGoMailingMechanism = smtp;
        SOGoSMTPServer = "localhost";
        SOGoSMTPAuthenticationType = "PLAIN";
        SOGoDraftsFolderName = Drafts;
        SOGoSentFolderName = Sent;
        SOGoTrashFolderName = Trash;
        SOGoJunkFolderName = Junk;
        SOGoSieveServer = sieve://127.0.0.1:4190;
        SOGoAppointmentSendEMailNotifications = YES;
        SOGoACLsSendEMailNotifications = YES;
        SOGoFoldersSendEMailNotifications = YES;
        SOGoCalendarDefaultRoles = (
                PublicViewer,
                ConfidentialDAndTViewer
        );

        SOGoPageTitle = "OpenMandriva Mail Server";
        SOGoVacationEnabled = YES;
        SOGoEnableEMailAlarms = YES;
        SOGoForwardEnabled = YES;
        SOGoSieveScriptsEnabled = YES;
        SOGoMailAuxiliaryUserAccountsEnabled = YES;
        SOGoMailMessageCheck = every_minute;
        SOGoMailCustomFullName = "OpenMandriva user";
        SOGoMailCustomFromEnabled = YES;
        SOGoMailAuxiliaryUserAccountsEnabled = YES;
        SOGoFirstDayOfWeek = 1;
        SOGoMemcachedHost = 127.0.0.1:11211;

        SOGoLanguage = English;
        SOGoTimeZone = Europe/Zurich;

        SOGoUserSources =
        (
                {
                        type = sql;
                        id = directory;
                        viewURL = "postgresql://mail:********@localhost:5432/mail/users";
                        canAuthenticate = YES;
                        isAddressBook = YES;
                        userPasswordAlgorithm = sha256;
                }
        );

}
bero

bero

2024-08-08 15:54

reporter   ~0017794

The various %quot;s in there are actually quotation marks "

bero

bero

2024-08-08 16:11

reporter   ~0017796

It crashes the same way if I rename sogo.conf to sogo.conf.disabled and try to start without any config in place.

bero

bero

2024-08-08 20:55

reporter   ~0017797

It's a problem with one of the underlying libraries -- I just updated the whole underlying stack (libobjc 2.2.1, gnustep-make 2.9.2, gnustep-base 1.30.0), then rebuilt sope and sogo against it, and it's working now without problems.

Issue History

Date Modified Username Field Change
2024-08-08 14:13 bero New Issue
2024-08-08 15:08 qhivert Note Added: 0017792
2024-08-08 15:08 qhivert Assigned To => qhivert
2024-08-08 15:08 qhivert Status new => feedback
2024-08-08 15:53 bero Note Added: 0017793
2024-08-08 15:53 bero Status feedback => assigned
2024-08-08 15:54 bero Note Added: 0017794
2024-08-08 16:11 bero Note Added: 0017796
2024-08-08 20:55 bero Note Added: 0017797
2024-08-09 07:02 qhivert Status assigned => closed
2024-08-09 07:02 qhivert Resolution open => fixed