|
Sorry invalid previous message, please put sogo in debug mode and break into NSException to provide backtrace
Sebastien |
|
|
Hi,
Here in debug mode:
Apr 04 13:15:51 sogod [322074]: |SOGo| starting method 'POST' on uri '/SOGo/connect'
2023-04-04 13:15:51.317 sogod[322074:322074] <MySQL4Channel[0x0x55c8fc8fba20] connection=0x0x55c8fc894630> SQL: SELECT c_password FROM sogo_users_view4 WHERE mail = 'contact@abc.com';
2023-04-04 13:15:51.318 sogod[322074:322074] <MySQL4Channel[0x0x55c8fc8fba20] connection=0x0x55c8fc894630> query has results, entering fetch-mode.
Apr 04 13:15:51 sogod [322074]: SOGoRootPage successful login from '24.201.88.52' for user 'contact@abc.com' - expire = -1 grace = -1
2023-04-04 13:15:51.320 sogod[322074:322074] <MySQL4Channel[0x0x55c8fcd9eba0] connection=0x0x55c8fcda0ae0> SQL: SELECT * FROM sogo_users_view4 WHERE (domain = 'abc.com') AND ((c_uid = 'contact') OR (mail = 'contact') OR (mail = 'contact'));
2023-04-04 13:15:51.320 sogod[322074:322074] <MySQL4Channel[0x0x55c8fcd9eba0] connection=0x0x55c8fcda0ae0> query has results, entering fetch-mode.
2023-04-04 13:15:51.321 sogod[322074:322074] EXCEPTION: <NSException: 0x55c8fc6ef440> NAME:NSInvalidArgumentException REASON:Tried to add nil value for key 'cn' to dictionary INFO:{} |
|
|
https://www.sogo.nu/support/faq/how-do-i-debug-sogo.html |
|
|
Hi,
Sorry but is there no other option to get a stackstrace except debugging it ? Definitively, you should log all exception fully in the log ? |
|
|
Hi,
Is the debug wiki still accurate ? I cannot add the breakpoingt to the exception raise method
(gdb) b [NSException raise]
Function "[NSException raise]" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 ([NSException raise]) pending. |
|