Re: segfaults with cyrus-imapd 3.0.9 on latest arch linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi -

I can confirm this segmentation fault on my own Arch VM with cyrus installed from the AUR package.

As an experiment, I tried building the package with

   --disable-pcre

but then I can't even get the program to compile:

----------------------------
In file included from lib/glob.c:50:
lib/glob.h:57:5: error: unknown type name ‘regex_t’
     regex_t regex;
     ^~~~~~~
lib/glob.c: In function ‘glob_init’:
lib/glob.c:112:5: warning: implicit declaration of function ‘regcomp’; did you mean ‘memcmp’? [-Wimplicit-function-declaration]
     regcomp(&g->regex, buf_cstring(&buf), REG_EXTENDED);
     ^~~~~~~
     memcmp
lib/glob.c:112:43: error: ‘REG_EXTENDED’ undeclared (first use in this function)
     regcomp(&g->regex, buf_cstring(&buf), REG_EXTENDED);
                                        ^~~~~~~~~~~~
----------------------------

It would appear that --disable-pcre is a configuration option you can't actually use.


On 3/19/19 5:37 PM, Andreas Piesk wrote:
Am 19.03.19 um 22:00 schrieb Patrick Goetz:

Have you tried the 3.0.9 AUR package?

   https://aur.archlinux.org/packages/cyrus-imapd

Once you get the dependencies down, this one compiles and runs.


I noticed the package, it's good to see a recent version in AUR but it has too many dependecies for my taste, I need a stripped down version.

Unfortunately the AUR package doesn't work for me either, i build it in a VM with a fresh installed arch and it has the same problem:

Starting program: /usr/bin/cyrdump user/test
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7c76205 in re_compile_internal () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff7c76205 in re_compile_internal () from /usr/lib/libc.so.6
#1  0x00007ffff7c77511 in regcomp () from /usr/lib/libc.so.6
#2  0x00007ffff7e3d980 in glob_init () from /usr/lib/libcyrus.so.0
#3  0x00007ffff7f38276 in ?? () from /usr/lib/libcyrus_imap.so.0
#4  0x00007ffff7f3e5b7 in mboxlist_findallmulti () from /usr/lib/libcyrus_imap.so.0
#5  0x00005555555561aa in ?? ()
#6  0x00007ffff7bbb223 in __libc_start_main () from /usr/lib/libc.so.6
#7  0x00005555555561ee in ?? ()


Best Regards,
-ap


----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux