Re: Core-dump when running "cyr_info" - 3.8.1

"Joost Roeleveld via Info" <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <20240206155904.EGroupware.AD7AkJX-xWPm8XT2m5CV0if@_>
All,

Adding the "devel" list to this as I will need help/advice from developers.

After analysing the code a bit more, I noticed it goes wrong for  
"OPT_BYTESIZE"

I added the following to the case-statement:
  case OPT_BYTESIZE:
  printf("%s: BYTESIZE NOT IMPLEMENTED\n", imapopts[i].optname);
  break;

  case OPT_NOTOPT:
  printf("%s: NOTOPT NOT IMPLEMENTED\n", imapopts[i].optname);
  break;

And grepping "NOT IMPLEMENTED" in the output, I see all the "_size"  
options that are listed on the following URL:
https://www.cyrusimap.org/imap/download/release-notes/3.8/x/3.8.0.html

I noticed this is fixed in the version on github, but would like  
confirmation that using this will not cause any issues with the rest  
of the package.

Many thanks,

Joost



----------------------- Original message -----------------------
From: "J. Roeleveld via Info" <[email protected]>
To: Info <[email protected]>
Date: Tue, 06 Feb 2024 16:02:26 +0100
----------------------------------------------------------------

> Hi All,
>
> After installing Cyrus 3.8.1 and running through the upgrade steps,  
> I had a coredump while running:
>
> # cyr_info conf-default -M /etc/cyrus.conf -C /etc/imapd.conf
> 
> Same happens with the option "conf-all"
> 
> Using "conf-lint" returns no output (which hopefully means I have no
> deprecated options.
> However, the coredump is worrying.
> 
> Using "gdb", I get the following backtrace:
> 
> (gdb) bt
> #0 0x00007fa7e5aa9e0c in __pthread_kill_implementation () from /lib64/
> libc.so.6
> #1 0x00007fa7e5a5a226 in raise () from /lib64/libc.so.6
> #2 0x00007fa7e5a428b7 in abort () from /lib64/libc.so.6
> #3 0x000055edc7d6d5ea in do_defconf[cold] ()
> #4 0x000055edc7d6d7eb in main ()
> 
> Unfortunately, this doesn't give me any ideas where this happens.
> 
> Thanks for any help,
> 
> Joost
> 




------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T61bf1243494c11a8-Mb0eb8f09c18c7f201c999bc1
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.