[Dovecot] [DC2.x ]pop3-login seg faults when compiled with gcc 4.5.2 and gold
interfaSys sàrl
interfasys at gmail.com
Thu Sep 2 03:13:20 EEST 2010
On 02/09/2010 00:35, Timo Sirainen wrote:
> On 1.9.2010, at 23.35, interfaSys sàrl wrote:
>
>> Adding sleep() didn't change anything, it crashes right from the start
>> and there isn't much info in the trace. It seems it cannot create the
>> first thread.
> ...
>> #0 0x0000000800a29fa1 in _pthread_mutex_init_calloc_cb () from
>> /lib/libc.so.7
>
> I wonder why it's even trying to use pthreads .. Dovecot doesn't use threads. Maybe that's the problem, it's linking wrong libraries.
>
Probably because I used the CFLAGS for OpenMP. But even if I don't use
CFLAGS, I get a segfault. Could it be because some libraries are using it?
#0 0x0000000800911fa1 in _pthread_mutex_init_calloc_cb () from
/lib/libc.so.7
(gdb) bt full
#0 0x0000000800911fa1 in _pthread_mutex_init_calloc_cb () from
/lib/libc.so.7
No symbol table info available.
#1 0x0000000800912cad in _pthread_mutex_init_calloc_cb () from
/lib/libc.so.7
No symbol table info available.
#2 0x00000008009139d5 in _pthread_mutex_init_calloc_cb () from
/lib/libc.so.7
No symbol table info available.
#3 0x0000000800913bd2 in _pthread_mutex_init_calloc_cb () from
/lib/libc.so.7
No symbol table info available.
#4 0x00000008009193e9 in malloc () from /lib/libc.so.7
No symbol table info available.
#5 0x00000008008e50a9 in sem_close () from /lib/libc.so.7
No symbol table info available.
#6 0x00000008008e5331 in sem_init () from /lib/libc.so.7
No symbol table info available.
#7 0x00000008004e8d12 in __do_global_ctors_aux () from
/usr/local/lib/gcc45/libgomp.so.1
No symbol table info available.
#8 0x00000008004e015e in _init () from /usr/local/lib/gcc45/libgomp.so.1
No symbol table info available.
#9 0x00000008005331b0 in ?? () from /libexec/ld-elf.so.1
No symbol table info available.
#10 0x000000080040bc49 in dlsym () from /libexec/ld-elf.so.1
No symbol table info available.
#11 0x000000080040d011 in dlopen () from /libexec/ld-elf.so.1
No symbol table info available.
#12 0x0000000800407789 in ?? () from /libexec/ld-elf.so.1
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.
More information about the dovecot
mailing list