proxyd is segfaulting

Paul Turgyan pturgyan at umich.edu
Fri Jun 17 11:12:45 EDT 2005


Has anyone else seen proxyd segfaulting while processing
an APPEND command?  Everyday we get 2 or 3 new proxyd
core files on each frontend.

We are running:
       Cyrus IMAP4 Murder v2.2.12
       Linux  2.4.31

Here is a backtrace from one of the core files

(gdb) bt
#0  prot_write (s=0x0,
    buf=0xbfffb3a0
"msmx1RtCuWjZFMZPyr1rqdG1ZNURc/Kp5Hy1DTjGzRLlocneImm6kUmGY3PQ
9Oegqv4p+Gmn6zpc\r\njoiozjdxXUeM9NtprRsqu7HXpu9K87u/iQdEd7K4LM2PkI4DfXtWU6vLT2ug
jWdvd3MPw58Ov7Jv\r\nynm/Lngj357Vra34h/4QzTZLecq8LcDPXnmvOdV+K9zo"...,
len=2048)
    at prot.c:835
#1  0x0804eaea in pipe_command (s=0x8152f30, optimistic_literal=16384)
    at proxyd.c:632
#2  0x08054cf7 in cmd_append (tag=0x8167ce8 "3",
    name=0x8167788 "Sent Messages") at proxyd.c:2889
#3  0x08050afd in cmdloop () at proxyd.c:1577
#4  0x080503df in service_main (argc=2, argv=0x813ce68, envp=0xbffff060)
    at proxyd.c:1370
#5  0x0804cf5e in main (argc=2, argv=0x808e, envp=0xbffff060) at
service.c:530
#6  0x402658be in __libc_start_main (main=0x804c7c0 <main>, argc=2,
    ubp_av=0x808e, init=0x809daf0 <__libc_csu_init>,
    fini=0x809db20 <__libc_csu_fini>, rtld_fini=0x9, stack_end=0x8152f30)
    at ../sysdeps/generic/libc-start.c:152
(gdb)

(gdb) up
#1  0x0804eaea in pipe_command (s=0x8152f30, optimistic_literal=16384)
    at proxyd.c:632
632     proxyd.c: No such file or directory.
        in proxyd.c
(gdb) p s
$1 = (struct backend *) 0x8152f30
(gdb) p *s
$2 = {hostname = "jackiebrown.mail.umich.edu", '\0' <repeats 37 times>,
  addr = {ss_family = 2, __ss_align = 1896797069,
    __ss_padding = '\0' <repeats 119 times>}, sock = -1, context = 0x0,
  timeout = 0x0, saslconn = 0x0, tlsconn = 0x0, tlssess = 0x0,
  capability = 31, last_result = '\0' <repeats 1023 times>, in = 0x0,
  out = 0x0}

(gdb) p eol
$3 = "(\\Seen) \"16-Jun-2005 08:30:25 -0700\" {13045655}\r\n\0?\004\0\0\0XK?lt\0
04\b\b9\025\b3?\0\004\0\0\b9\025\b8Y\026\b\0\0\0\0(3?\ra\a\b\bA\024\b\002\0\0\0
\b9\025\b@\0\0\0\004\0\0\0\001\0\0\0\211a\n\b\0\0\0"
(gdb)


Paul
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list