Summary: | net-mail/courier-imap-4.4.1 - stack smashing detected | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Piasek (RETIRED) <dagger> |
Component: | New packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | l |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | strace |
Description
Robert Piasek (RETIRED)
2009-03-25 02:27:05 UTC
Created attachment 186162 [details]
strace
It could be related to a problem I've not yet been able to debug, which seems to have something to do with the way courier-imap interacts with gnutls. I managed to get a backtrace back in August 2008, but haven't had a chance to look at it since then, and went back to courier-imap-4.1.2-r2 (though had to hack the ebuild to get it to compile... see #226127). gdb /usr/sbin/couriertls 28309 GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... Attaching to program: /usr/sbin/couriertls, process 28309 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 0xffffe410 in __kernel_vsyscall () (gdb) c Continuing. Executing new program: /usr/sbin/couriertls.orig Program received signal SIGSEGV, Segmentation fault. 0x0804cbd8 in gen_encryption_desc (session=0x8075060, dump_func=0x804cbd8 <gen_encryption_desc+67>, dump_arg=0xbf5ba904) at libcouriergnutls.c:2231 2231 (*dump_func)(",", 1, dump_arg); (gdb) bt #0 0x0804cbd8 in gen_encryption_desc (session=0x8075060, dump_func=0x804cbd8 <gen_encryption_desc+67>, dump_arg=0xbf5ba904) at libcouriergnutls.c:2231 #1 0x0804cc92 in tls_get_encryption_desc (ssl=0x8074fb0) at libcouriergnutls.c:2216 #2 0x0804b77b in verify_connection (ssl=0x8074fb0, dummy=0x0) at starttls.c:322 #3 0x0804db97 in dohandshake (ssl=0x8074fb0, fd=0, r=0xbf5baeb0, w=0xbf5bae30) at libcouriergnutls.c:1049 #4 0x0804dbe0 in tls_transfer (t=0xbf5baf64, ssl=0x8074fb0, fd=0, r=0xbf5baeb0, w=0xbf5bae30) at libcouriergnutls.c:1771 #5 0x0804c1e6 in dossl (fd=0, argn=6, argc=6, argv=0xbf5bb124) at starttls.c:477 #6 0x0804c737 in main (argc=6, argv=0xbf5bb124) at starttls.c:801 (gdb) print *(char**)dump_arg $1 = 0x807aa10 "Â \001(@Â \001(@" Robert, you could try not linking against gnutls (but see #237937). Please retry with 4.16.2-r1 |