[Dovecot] While searching: Assertion failed (offset = ctx-input-v_offset)
Hi, while a user is searching through his (1.2 GB, 15) mails, I get a lot of these messages in the log, and the search (with Thunderbird) doesn't finish: Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset = ctx-input-v_offset) Jun 19 14:35:45 stshamail1 dovecot: IMAP(username): Raw backtrace: imap [0x80ce9f4] - imap [0x80ce60c] - imap [0x80c83f4] - imap(message_parser_parse_next_block+0x1d) [0x80c802d] - imap(message_search_msg+0x5f) [0x80c9a7f] - imap [0x8098e0b] - imap [0x809e42b] - imap(mail_search_args_foreach+0x40) [0x809e540] - imap(index_storage_search_next_nonblock+0x256) [0x80989f6] - imap [0x805dc96] - imap [0x805e0d6] - imap(io_loop_handle_timeouts+0x80) [0x80d59c0] - imap(io_loop_handler_run+0x82) [0x80d6522] - imap(io_loop_run+0x28) [0x80d5828] - imap(main+0x4ac) [0x806809c] - /lib/libc.so.6(__libc_start_main+0xdc) [0x4003adec] - imap [0x805a021] Jun 19 14:35:45 stshamail1 dovecot: child 30070 (imap) killed with signal 6 What's wrong here? How to proceed with debugging? Thanks, Patrick. -- STAR Software (Shanghai) Co., Ltd.http://www.star-group.net/ Phone:+86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779 PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005 signature.asc Description: This is a digitally signed message part.
Re: [Dovecot] While searching: Assertion failed (offset = ctx-input-v_offset)
On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote: Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset = ctx-input-v_offset) What Dovecot version? (Didn't I fix this a few weeks ago?) signature.asc Description: This is a digitally signed message part
Re: [Dovecot] While searching: Assertion failed (offset = ctx- input-v_offset)
Hi Timo, On Thursday 19 June 2008, Timo Sirainen wrote: On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote: Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset = ctx-input-v_offset) What Dovecot version? (Didn't I fix this a few weeks ago?) sorry, forgot that vital information :( Version 1.1.rc5 (RPM package from atrpms.net) I'll upgrade to 1.1.rc10 this evening and check again. Patrick. -- STAR Software (Shanghai) Co., Ltd.http://www.star-group.net/ Phone:+86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779 PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005 signature.asc Description: This is a digitally signed message part.
Re: [Dovecot] debugging dovecot and sieve
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Jun 2008, Frank Church wrote: Date: Wed, 18 Jun 2008 17:27:45 +0100 From: Frank Church [EMAIL PROTECTED] To: dovecot@dovecot.org Subject: [Dovecot] debugging dovecot and sieve I have install dovecot and sieve and it doesn't appear to be working. Look for log entries like: Module loaded: /usr/local/dovecot/lib/dovecot/lda/lib90_cmusieve_plugin.so cmusieve: Using sieve path: /home/.../.dovecot.sieve cmusieve: Executing script /home/.../.dovecot.sievec BTW: Better use/post output of dovecot -n in order to see, what settings Dovecot really uses, despite of what you think is written in the conf file. Bye, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIWhWZVJMDrex4hCIRAm3gAKDF//bzLTnN70TYfhDLmKqueyYnZQCg0WQJ TsD+xUk2Lpb8nSqERq9CZOg= =FCFs -END PGP SIGNATURE-
[Dovecot] v1.1.rc12 released
http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz.sig Sorry, one more RC because of the mbox+quota bug. v1.1.0 still planned for tomorrow. - mbox: Don't give Can't find next message offset warnings when plugin (e.g. quota) accesses the message being saved. - deliver: Settings inside protocol imap {} weren't ignored. signature.asc Description: This is a digitally signed message part
Re: [Dovecot] [Dovecot-news] v1.1.rc12 released
Timo Sirainen wrote: http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz.sig Sorry, one more RC because of the mbox+quota bug. v1.1.0 still planned for tomorrow. Opera 9.5 Firefox 3.0 Wine 1.0 OpenOffice 2.4.1 OpenSUSE 11.0 ... Dovecot 1.1.0 Wainting. ;-) -- Best regards, Proskurin Kirill
Re: [Dovecot] v1.1.rc11 released
Hi Timo, After some googling on this problem, I found that adding `#include stdio.h' before other includes in ./src/lib/restrict-access.c. Done. However, the rc12 doesn't seem to have the line before the `#include sys/types.h' line. rpcgen -h /usr/include/rpcsvc/rquota.x rquota.h Here it generates the rquota.h In file included from quota-fs.c:28: rquota.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_args' rquota.h:13: error: expected specifier-qualifier-list before 'bool_t' rquota.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_rquota' rquota.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_gqr_status' rquota.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_rslt' But for some reason it can't use it. I don't really know why. I suppose it's missing some include file? Does it include rpc/rpc.h itself? If not, does it help to include it? The rquota.h doesn't include rpc/rpc.h, and it doesn't help with rpc/rpc.h, throwing the followings (I tested with rc12): gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict - I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../ ../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wch ar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT rquota_xdr. lo -MD -MP -MF .deps/rquota_xdr.Tpo -c rquota_xdr.c -DPIC -o .libs/rquota_xdr.o rquota_xdr.c:1:17: warning: extra tokens at end of #include directive In file included from rquota_xdr.c:2: /usr/include/rpcsvc/rquota.h:49: error: expected specifier-qualifier-list before 'bool_t' rquota_xdr.c: In function 'xdr_getquota_args': rquota_xdr.c:8: error: expected declaration specifiers before 'getquota_args' rquota_xdr.c:9: warning: type of 'objp' defaults to 'int' rquota_xdr.c:9: error: argument 'objp' doesn't match prototype /usr/include/rpcsvc/rquota.h:73: error: prototype declaration rquota_xdr.c:10: error: invalid type argument of '-' rquota_xdr.c:10: error: 'RQ_PATHLEN' undeclared (first use in this function) rquota_xdr.c:10: error: (Each undeclared identifier is reported only once rquota_xdr.c:10: error: for each function it appears in.) rquota_xdr.c:13: error: invalid type argument of '-' rquota_xdr.c: In function 'xdr_rquota': rquota_xdr.c:25: error: expected declaration specifiers before 'rquota' rquota_xdr.c:26: warning: type of 'objp' defaults to 'int' rquota_xdr.c:26: error: argument 'objp' doesn't match prototype /usr/include/rpcsvc/rquota.h:75: error: prototype declaration rquota_xdr.c:27: error: invalid type argument of '-' rquota_xdr.c:30: error: invalid type argument of '-' rquota_xdr.c:33: error: invalid type argument of '-' rquota_xdr.c:36: error: invalid type argument of '-' rquota_xdr.c:39: error: invalid type argument of '-' rquota_xdr.c:42: error: invalid type argument of '-' rquota_xdr.c:45: error: invalid type argument of '-' rquota_xdr.c:48: error: invalid type argument of '-' rquota_xdr.c:51: error: invalid type argument of '-' rquota_xdr.c:54: error: invalid type argument of '-' rquota_xdr.c: At top level: rquota_xdr.c:65: warning: no previous prototype for 'xdr_gqr_status' rquota_xdr.c: In function 'xdr_gqr_status': rquota_xdr.c:66: error: expected declaration specifiers before 'gqr_status' rquota_xdr.c:67: warning: type of 'objp' defaults to 'int' rquota_xdr.c: In function 'xdr_getquota_rslt': rquota_xdr.c:80: error: expected declaration specifiers before 'getquota_rslt' rquota_xdr.c:81: warning: type of 'objp' defaults to 'int' rquota_xdr.c:81: error: argument 'objp' doesn't match prototype /usr/include/rpcsvc/rquota.h:74: error: prototype declaration rquota_xdr.c:82: error: invalid type argument of '-' rquota_xdr.c:85: error: invalid type argument of '-' rquota_xdr.c:87: error: invalid type argument of '-' make: 1254-004 The error code from the last command is 1. I have googled and found a IBM document page: http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.progcomm/doc/progcomc/ch8_rpc.htm (I clicked `Programming in RPC' link and referred to the `Compiling and Linking RPC Programs' section.) According to the page, I set the CFLAGS to `CFLAGS=-D_BSD -DBSD_INCLUDES', but it threw other errors: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict - I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../ ../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wch ar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -D_BSD -DBSD_IN CLUDES -MT quota.lo -MD -MP -MF .deps/quota.Tpo -c quota.c -DPIC -o .libs/quota .o quota.c: In function 'quota_warning_execute':
[Dovecot] Random quirks in 1.1-rc11
OK - I wish I had more details but I'm using rc11 for the server and Thunderbird for the client. I'm using Maildir and I'm doing server side folder delivery using Exim. On server side folders I'm seeing the count of messages in a folder showing 22 unread messages but the messages themselves don't show up. I deleted the index files and it still didn't show up. But then I restarted dovecot and now the messages in that folder are there. I've noticed similar behavior randomly ever since I upgraded to 1.1. The 1.0 never had this problem. Wish I had more details to post.
Re: [Dovecot] v1.1.rc11 released
FWIW, it compiled just fine on AIX using IBM's C for AIX V9 compiler Woonsan Ko wrote: Hi All, I could build and install on Linux and HP-UX machines successfully with gcc, but I failed on an AIX machine with gcc. So may I ask you some advice on making on AIX? The environment is as follows (`gcc -v`): Using built-in specs. Target: powerpc-ibm-aix5.3.0.0 Configured with: ../gcc-4.1.1/configure --disable-nls Thread model: aix gcc version 4.1.1 Firstly, make failed with the following messages: [Snip] Making all in lib make all-am gcc -DHAVE_CONFIG_H -I. -I../.. -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer -arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT restrict-access.o -MD -MP -MF .deps/restrict -access.Tpo -c -o restrict-access.o restrict-access.c In file included from /usr/include/grp.h:57, from restrict-access.c:13: /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:501: error: conflicting types for 'fgetpos64' /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:310: error: previous declaration of 'fgetpos64' was here /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:504: error: conflicting types for 'fseeko64' /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:441: error: previous declaration of 'fseeko64' was here /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:505: error: conflicting types for 'fsetpos64' /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:312: error: previous declaration of 'fsetpos64' was here /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:506: error: conflicting types for 'ftello64' /usr/local/lib/gcc/powerpc-ibm-aix5.3.0.0/4.1.1/include/stdio.h:442: error: previous declaration of 'ftello64' was here make: 1254-004 The error code from the last command is 1. After some googling on this problem, I found that adding `#include stdio.h' before other includes in ./src/lib/restrict-access.c. After that, I met other errors like the following: [Snip] gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-ma il -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wa ll -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-a liasing=2 -MT quota-count.lo -MD -MP -MF .deps/quota-count.Tpo -c quota-count.c -DPIC -o .libs/quota-count.o mv -f .deps/quota-count.Tpo .deps/quota-count.Plo rpcgen -h /usr/include/rpcsvc/rquota.x rquota.h /bin/sh ../../../libtool --tag=CC--mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../ ../src/lib-dict -I../../../src/lib-index -I../../../src/lib-mail -I../../../src/lib-storage -I../../../src/lib-storage/in dex -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpoin ter-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tp o -c -o quota-fs.lo quota-fs.c gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-dict -I../../../src/lib-index -I../../../src/lib-ma il -I../../../src/lib-storage -I../../../src/lib-storage/index -I../../../src/lib-storage/index/maildir -std=gnu99 -g -O2 -Wa ll -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-a liasing=2 -MT quota-fs.lo -MD -MP -MF .deps/quota-fs.Tpo -c quota-fs.c -DPIC -o .libs/quota-fs.o In file included from quota-fs.c:28: rquota.h:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_args' rquota.h:13: error: expected specifier-qualifier-list before 'bool_t' rquota.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_rquota' rquota.h:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_gqr_status' rquota.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xdr_getquota_rslt' quota-fs.c: In function 'do_rquota': quota-fs.c:287: error: storage size of 'call_status' isn't known quota-fs.c:288: error: 'CLIENT' undeclared (first use in this function) quota-fs.c:288: error: (Each undeclared identifier is reported only once quota-fs.c:288: error: for each function it appears in.) quota-fs.c:288: error: 'cl' undeclared (first use in this function) quota-fs.c:309: warning: implicit declaration of function 'clnt_create' quota-fs.c:317: warning: implicit declaration of function 'auth_destroy' quota-fs.c:318: warning: implicit declaration of function 'authunix_create_default' quota-fs.c:326: warning: implicit declaration of function 'clnt_call' quota-fs.c:327: error: 'xdrproc_t' undeclared (first use in this function)
Re: [Dovecot] v1.1.rc12 released (managesieve updated)
Timo Sirainen schreef: http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz.sig I refreshed the managesieve patch for the new dovecot release: http://www.rename-it.nl/dovecot/1.1/dovecot-1.1.rc12-managesieve-0.10.2.diff.gz http://www.rename-it.nl/dovecot/1.1/dovecot-1.1.rc12-managesieve-0.10.2.diff.gz.sig Regards, Stephan
[Dovecot] Using sork-passwd from Horde to change dovecot password
I'm using in my server dovecot and Horde to provide IMAP and Webmail for virtual users. Their password are stored in a passwd file, since the setup is quite simple and small. I'd like to use the Horde module sork-passwd to allow changing of the passwords. Apparently, this can be done for the case of passwd file by using an expect script, or simply calling a program that receives the data. It should not be hard to write a Perl (or Python, or whatever) script that does that. I'm just asking if someone has already done that and is willing to share the solution.
[Dovecot] sig11 in 1.1rc5 fts
This happened from one user near noon on the 17th and 19th (today) of this month. From the backtrace it looks like they were searching, but I won't know for sure unless I need to ask them. Is this possibly fixed already? I just haven't upgraded dovecot in a while due to lack of problems. The sig11 happened a few dozen times, a few seconds apart each day. I have one coredump from each day, and the size was the same. This is a trace from only one. The other backtrace looks pretty much the same. Version: 1.1rc5 OS: FreeBSD 7.0-STABLE #0 0x4101bf11 in node_read_children (trie=0x40c5a800, node=0x40c5a800, level=1) at squat-trie.c:461 data = (const uint8_t *) 0x416b7f9a ;\031\030\023\031\0305\031\030O\031\030\033\031\0309\031\030#\031\030 end = (const uint8_t *) 0x416b7ffe child_chars = (const unsigned char *) 0x414dbd25 Address 0x414dbd25 out of bounds child = (struct squat_node *) 0x40c685f8 children = (struct squat_node *) 0x40c68040 node_offset = 1944868 i = 61 child_idx = 61 child_count = 89 base_offset = 1944314 num = 25 __PRETTY_FUNCTION__ = node_read_children #1 0x4101f17f in squat_trie_map (trie=0x40c5a800, building=false) at squat-trie.c:1518 file_lock = (struct file_lock *) 0x0 dotlock = (struct dotlock *) 0x0 changed = true ret = 0 #2 0x4101b4c9 in squat_trie_open (trie=0x40c5a800) at squat-trie.c:242 No locals. #3 0x4101f908 in squat_trie_get_last_uid (trie=0x40c5a800, last_uid_r=0x7fffce5c) at squat-trie.c:1725 No locals. #4 0x4101a79c in fts_backend_squat_get_last_uid (_backend=0x40c2b150, last_uid_r=0x7fffce5c) at fts-backend-squat.c:104 backend = (struct squat_fts_backend *) 0x40c2b150 #5 0x40e0f822 in fts_backend_get_last_uid (backend=0x40c2b150, last_uid_r=0x7fffce5c) at fts-api.c:80 No locals. #6 0x40e10bb1 in fts_build_init (fctx=0x40cee0f0) at fts-storage.c:177 t = (struct mailbox_transaction_context *) 0x40c2b1e0 backend = (struct fts_backend *) 0x40c2b150 ctx = (struct fts_storage_build_context *) 0x40c2b150 build = (struct fts_backend_build_context *) 0x40c7e120 seqset = {seq1 = 16, seq2 = 1, next = 0x0} last_uid = 0 last_uid_locked = 131072 __PRETTY_FUNCTION__ = fts_build_init #7 0x40e11351 in fts_try_build_init (fctx=0x40cee0f0) at fts-storage.c:320 No locals. #8 0x40e114a6 in fts_mailbox_search_init (t=0x40c2b1e0, charset=0x4ceca0 UTF-8, args=0x40c7e0c0, sort_program=0x0) at fts-storage.c:355 fbox = (struct fts_mailbox *) 0x40cdc040 ctx = (struct mail_search_context *) 0x40c28bc0 fctx = (struct fts_search_context *) 0x40cee0f0 #9 0x004714e1 in mailbox_search_init (t=0x40c2b1e0, charset=0x4ceca0 UTF-8, args=0x40c7e0c0, sort_program=0x0) at mail-storage.c:621 No locals. #10 0x00419f9c in imap_search_init (cmd=0x40c7e048, box=0x40c67048, charset=0x4ceca0 UTF-8, sargs=0x40c7e0c0) at cmd-search.c:36 ctx = (struct imap_search_context *) 0x40c7e190 #11 0x0041a644 in cmd_search (cmd=0x40c7e048) at cmd-search.c:190 ctx = (struct imap_search_context *) 0x40c1e240 sargs = (struct mail_search_arg *) 0x40c7e0c0 args = (const struct imap_arg *) 0x40c84080 args_count = 4 error = 0x0 charset = 0x4ceca0 UTF-8 #12 0x0041bd12 in cmd_uid (cmd=0x40c7e048) at cmd-uid.c:26 command = (struct command *) 0x40c1e2a0 cmd_name = 0x40c84170 SEARCH #13 0x0041d3a4 in client_command_input (cmd=0x40c7e048) at client.c:553 client = (struct client *) 0x40c36180 command = (struct command *) 0x2340c7e0b8 __PRETTY_FUNCTION__ = client_command_input #14 0x0041d5e1 in client_command_input (cmd=0x40c7e048) at client.c:602 client = (struct client *) 0x40c36180 command = (struct command *) 0x40c1e240 __PRETTY_FUNCTION__ = client_command_input #15 0x0041d723 in client_handle_next_command (client=0x40c36180, remove_io_r=0x7fffd0fd) at client.c:643 size = 40 #16 0x0041d769 in client_handle_input (client=0x40c36180) at client.c:653 ---Type return to continue, or q return to quit--- _data_stack_cur_id = 3 ret = false remove_io = false handled_commands = false #17 0x0041d904 in client_input (client=0x40c36180) at client.c:698 cmd = (struct client_command_context *) 0xd16c output = (struct ostream *) 0x40c7a0a8 bytes = 40 __PRETTY_FUNCTION__ = client_input #18 0x004be449 in io_loop_handler_run (ioloop=0x40c19140) at ioloop-kqueue.c:149 ctx = (struct ioloop_handler_context *) 0x40c1be60 events = (struct kevent *) 0x40c35000 event = (const struct kevent *) 0x40c35000 tv = {tv_sec = 1799, tv_usec = 999471}
Re: [Dovecot] v1.1.rc12 released
Timo Sirainen wrote: http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz http://dovecot.org/releases/1.1/rc/dovecot-1.1.rc12.tar.gz.sig Sorry, one more RC because of the mbox+quota bug. v1.1.0 still planned for tomorrow. - mbox: Don't give Can't find next message offset warnings when plugin (e.g. quota) accesses the message being saved. - deliver: Settings inside protocol imap {} weren't ignored. Oh wow. I can't wait to start nagging the Debian/Ubuntu project managers to update their packages! -- Daniel
[Dovecot] Compile failure on Dovecot 1.1-rc12
I am getting this failure when trying to compile dovecot on Sparc Solaris 8: make[4]: Entering directory `/home/systems/looneytr/dovecot-1.1.rc12/src/lib' source='str-find.c' object='str-find.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \ gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/openssl/include -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c str-find.c str-find.c:17: field `goodtab' has incomplete type make[4]: *** [str-find.o] Error 1 This problem has occurred on two separate systems. Have you run into this issue, or are you aware of this issue? Dovecot 1.0.14 builds just fine. Thanks, -Erinn
Re: [Dovecot] Compile failure on Dovecot 1.1-rc12
Erinn Looney-Triggs wrote: I am getting this failure when trying to compile dovecot on Sparc Solaris 8: make[4]: Entering directory `/home/systems/looneytr/dovecot-1.1.rc12/src/lib' source='str-find.c' object='str-find.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \ gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/openssl/include -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c str-find.c str-find.c:17: field `goodtab' has incomplete type make[4]: *** [str-find.o] Error 1 This problem has occurred on two separate systems. Have you run into this issue, or are you aware of this issue? Dovecot 1.0.14 builds just fine. Thanks, -Erinn What version of gcc? What configure options? I had no problems with gcc 3.3.2 (well, a still a few compiler warnings; see http://www.dovecot.org/list/dovecot/2008-June/031350.html) Chris -- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, [EMAIL PROTECTED] IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
Re: [Dovecot] Compile failure on Dovecot 1.1-rc12
On Thu, 2008-06-19 at 16:04 -0600, Erinn Looney-Triggs wrote: I am getting this failure when trying to compile dovecot on Sparc Solaris 8: make[4]: Entering directory `/home/systems/looneytr/dovecot-1.1.rc12/src/lib' source='str-find.c' object='str-find.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \ gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/openssl/include -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c str-find.c str-find.c:17: field `goodtab' has incomplete type You can change goodtab[] to goodtab[1]. There's also another place in the code with the same problem. I don't really want to change this just to fix some ancient compilers (unless more people keep complaining :). signature.asc Description: This is a digitally signed message part
Re: [Dovecot] v1.1.rc11 released
FWIW, it compiled just fine on AIX using IBM's C for AIX V9 compiler It failed to compile with `IBM(R) XL C/C++ Enterprise Edition V8.0 for AIX(R)' on `AIX machine 3 5'. My configuration was `./configure CC=xlc LDFLAGS=-bexpall -brtl'. Did you compile with a simple configuration like `./configure' or `./configure CC=xlc'? Or, did you compile with a wrapper script like dovecot-cc, as explained in http://wiki.dovecot.org/AixPluginsSupport? Were all plugins built to .so files correctly? TIA, Woonsan
Re: [Dovecot] While searching: Assertion failed (offset = ctx- input-v_offset)
Hi, On Thursday 19 June 2008, Patrick Nagel wrote: On Thursday 19 June 2008, Timo Sirainen wrote: On Thu, 2008-06-19 at 14:46 +0800, Patrick Nagel wrote: Jun 19 14:35:45 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 620 (preparsed_parse_body_init): assertion failed: (offset = ctx-input-v_offset) What Dovecot version? (Didn't I fix this a few weeks ago?) sorry, forgot that vital information :( Version 1.1.rc5 (RPM package from atrpms.net) I'll upgrade to 1.1.rc10 this evening and check again. Patrick. Now I get this with 1.1.rc10: Jun 20 11:53:53 stshamail1 dovecot: Panic: IMAP(username): file message-parser.c: line 770 (message_parser_parse_next_block): assertion failed: (ctx-input-eof || ctx-input-closed || ctx-input-stream_errno != 0) Jun 20 11:53:53 stshamail1 dovecot: IMAP(username): Raw backtrace: imap [0x80cfbb0] - imap [0x80cfc0a] - imap [0x80cf4ac] - imap [0x80c8d1a] - imap(message_search_msg+0x5f) [0x80ca61f] - imap [0x8098a8b] - imap [0x809f3ab] - imap(mail_search_args_foreach+0x40) [0x809f4c0] - imap(index_storage_search_next_nonblock+0x256) [0x8098666] - imap [0x805dfe6] - imap [0x805e426] - imap(io_loop_handle_timeouts+0x80) [0x80d6880] - imap(io_loop_handler_run+0x82) [0x80d7492] - imap(io_loop_run+0x28) [0x80d6688] - imap(main+0x4ac) [0x806847c] - /lib/libc.so.6(__libc_start_main+0xdc) [0x4003adec] - imap [0x805a271] Jun 20 11:53:53 stshamail1 dovecot: child 32672 (imap) killed with signal 6 Patrick. -- STAR Software (Shanghai) Co., Ltd.http://www.star-group.net/ Phone:+86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779 PGP key: https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005 signature.asc Description: This is a digitally signed message part.