[Dovecot] Help! Uidlist files are gone and won't come back; imap keeps coredumping!

Mario Nigrovic Mario.Nigrovic at freescale.com
Sun Jun 18 22:27:10 EEST 2006


Timo -

   Compiling either of the two latest versions fails at ntlm.  I'm using the exact same build script I've always used, so I'm not sure how to proceed.  I can't find a --without-ntlm switch to add to configure...

+ ./configure --prefix=/home/mario/tools/SunOS --with-gnu-ld=/_TOOLS_/dist/gnu-gcc-3.4.3-binutils-2.15/sparc-sun-solaris2.8/bin/ld --enable-shared --disable-nls --disable-ipv6 --without-vpopmail --without-pop3d

Config.h includes:
/* Define to 1 if you have the <stdint.h> header file. */
/* #undef HAVE_STDINT_H */

But src/lib-ntlm/ntlm-des.c just blindly includes stdint.h anyway.  This is a change from beta 8.

make[3]: Entering directory `/home/mario/tools/SunOS/build/dovecot-1.0.beta9_20060618/src/lib-ntlm'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/lib -I/home/mario/tools/SunOS/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast  -MT ntlm-des.o -MD -MP -MF ".deps/ntlm-des.Tpo" -c -o ntlm-des.o ntlm-des.c; \
then mv -f ".deps/ntlm-des.Tpo" ".deps/ntlm-des.Po"; else rm -f ".deps/ntlm-des.Tpo"; exit 1; fi
ntlm-des.c:9:20: stdint.h: No such file or directory
ntlm-des.c:285: error: parse error before "uint32_t"
ntlm-des.c:285: warning: no semicolon at end of struct or union
ntlm-des.c:291: error: parse error before "bitsel"
ntlm-des.c:291: error: parse error before '*' token
ntlm-des.c:292: warning: return type defaults to `int'
ntlm-des.c:292: warning: no previous prototype for 'bitsel'
ntlm-des.c: In function `bitsel':
ntlm-des.c:293: error: `uint32_t' undeclared (first use in this function)
ntlm-des.c:293: error: (Each undeclared identifier is reported only once
ntlm-des.c:293: error: for each function it appears in.)
ntlm-des.c:293: error: parse error before "ret"
ntlm-des.c:294: error: `size' undeclared (first use in this function)
ntlm-des.c:295: error: `bitnums' undeclared (first use in this function)
ntlm-des.c:296: error: `ret' undeclared (first use in this function)
ntlm-des.c:298: error: `input' undeclared (first use in this function)
ntlm-des.c: At top level:
ntlm-des.c:303: error: parse error before "key_msw"
ntlm-des.c: In function `des_key_setup':
ntlm-des.c:335: error: `uint32_t' undeclared (first use in this function)
ntlm-des.c:335: error: parse error before "C"
ntlm-des.c:339: error: `buf' undeclared (first use in this function)
ntlm-des.c:339: error: `key_lsw' undeclared (first use in this function)
ntlm-des.c:340: error: `key_msw' undeclared (first use in this function)
ntlm-des.c:342: error: `C' undeclared (first use in this function)
ntlm-des.c:343: error: `D' undeclared (first use in this function)
ntlm-des.c:350: error: `sched' undeclared (first use in this function)
ntlm-des.c: At top level:
ntlm-des.c:355: error: parse error before "SPboxes"
ntlm-des.c:355: warning: type defaults to `int' in declaration of `SPboxes'
ntlm-des.c:491: warning: data definition has no type or storage class
ntlm-des.c:528: error: parse error before '*' token
ntlm-des.c: In function `des_encipher':
ntlm-des.c:531: error: `uint32_t' undeclared (first use in this function)
ntlm-des.c:531: error: parse error before "swap"
ntlm-des.c:533: error: `swap' undeclared (first use in this function)
ntlm-des.c:533: error: `L' undeclared (first use in this function)
ntlm-des.c:533: error: `R' undeclared (first use in this function)
ntlm-des.c:533: warning: left-hand operand of comma expression has no effect
ntlm-des.c:533: warning: left-hand operand of comma expression has no effect
ntlm-des.c:533: warning: left-hand operand of comma expression has no effect
ntlm-des.c:533: warning: left-hand operand of comma expression has no effect

etc, etc.

					Mario
Timo Sirainen wrote:
> On Sun, 2006-06-11 at 09:09 -0700, Mario Nigrovic wrote:
>> Timo Sirainen wrote:
>>> On Thu, 2006-06-01 at 14:17 -0700, Mario Nigrovic-rvvk40 wrote:
>>>> Context #6 seems interesting.  Why is the cxt pointer 0x25 here? and what the heck is that size?
>>> It just means that gdb isn't perfect and sometimes it looks at things
>>> wrong, especially if the binary was compiled with optimization enabled.
>>>
>>> But that crash probably wasn't caused by the real problem. Attached
>>> another patch which hopefully works correctly. :)
>> Sorry - I didn't install the patch to fix the "null" error string for the last report.  Here is a core dump from a version of imap with that patch compiled in.
> 
> Something's really weird in your system :) I think I'm a bit further in
> figuring this out, but the next problem seems to be that dovecot-uidlist
> doesn't exist when it should.. They have at no point come back? And
> there are no permission or other write problems to the maildir?
> 
> If you try the latest snapshot from http://dovecot.org/nightly/ does it
> anymore crash?
> 


-- 
I don't need a name; my number's just fine. |   Mario.Nigrovic at freescale.com
It's nobody else's -- just mine, all mine.  |                   480-413-3578
                                                           Internal Use Only


More information about the dovecot mailing list