[Bug 297211] New: db-4.4 seems broken, cyrus segfaults
https://bugzilla.novell.com/show_bug.cgi?id=297211#c1 Summary: db-4.4 seems broken, cyrus segfaults Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de Found By: Beta-Customer syslog gets spammed with kernel messages notifying me that the programs imapd, idled and ctl_cyrusdb from cyrus-imapd received a segfault: Aug 3 14:27:25 ccgmbh kernel: imapd[15542]: segfault at 00002b48bb140008 rip 00002b48bc6a9012 rsp 00007fffef9895e0 error 4 Some fiddling later... I recompiled it with -O0 -ggdb3 and -fPIC instead of -fPIE (with lbuild-10.2), but I could not resolve the segfault-at-comment (which usually can only happen when something got compiled with -O or -O2): # gdb ctl_cyrusdb 15551 [....] main (argc=2, argv=0x7fff2ae19b48) at ctl_cyrusdb.c:179 179 int opt, r, r2; (gdb) n [Switching to Thread 47727857595616 (LWP 15551)] 183 char dirname[1024], backup1[1024], backup2[1024]; (gdb) 184 char *archive_files[N(dblist)]; (gdb) 185 char *msg = ""; (gdb) 188 if (geteuid() == 0) fatal("must run as the Cyrus user", EC_USAGE); (gdb) 189 r = r2 = 0; (gdb) 191 while ((opt = getopt(argc, argv, "C:rxc")) != EOF) { (gdb) 192 switch (opt) { (gdb) 194 alt_config = optarg; (gdb) 195 break; (gdb) 201 else usage(); (gdb) 202 break; (gdb) 203 (gdb) 194 alt_config = optarg; (gdb) 223 } (gdb) 228 /* (used by backup directory names) */ (gdb) Program received signal SIGSEGV, Segmentation fault. 0x00002b6881219012 in __db_r_detach () from /usr/lib64/libdb-4.4.so (gdb) up #1 0x00002b6881219d2b in __db_e_attach () from /usr/lib64/libdb-4.4.so (gdb) #2 0x00002b6881219ec3 in __db_e_remove () from /usr/lib64/libdb-4.4.so (gdb) #3 0x00002b68812178eb in __env_open_pp () from /usr/lib64/libdb-4.4.so (gdb) #4 0x000000000044d77e in init (dbdir=0x7fff2ae188c0 "/var/lib/imap/db", myflags=1) at cyrusdb_berkeley.c:215 215 r = dbenv->open(dbenv, dbdir, flags, 0644); (gdb) p dbdir $2 = 0x7fff2ae188c0 "/var/lib/imap/db" (gdb) p flags $3 = 376865 (gdb) Segfault at a comment? I'm giving up on this anyway and switch to dovecot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=297211
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=297211#c1
Reinhard Max
https://bugzilla.novell.com/show_bug.cgi?id=297211#c2
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=297211#c3
Reinhard Max
participants (1)
-
bugzilla_noreply@novell.com