segfaults when executing quota command
Simon Matter
simon.matter at ch.sauter-bc.com
Fri Apr 15 00:55:41 EDT 2005
> On Thu, 2005-04-14 at 15:26 -0400, Derrick J Brashear wrote:
>> > Starting program: /usr/lib/cyrus-imapd/quota -f
>> > [Thread debugging using libthread_db enabled]
>> > [New Thread -1218568064 (LWP 23872)]
>> > /var/lib/imap/quota/q/
>> > /var/lib/imap/quota/?/*
>>
>> Ok, let's take a wild stab at this. I see glob() is being called from
>> libc. What glob.h header is being found during compile?
>
> # find / -name glob.h -print
> /usr/include/glob.h
> /usr/include/cyrus/glob.h
> /usr/local/include/glob.h
> /usr/src/redhat/BUILD/cyrus-imapd-2.2.12/lib/glob.h
> /usr/src/redhat/SOURCES/cyrus-imapd-2.2.12/lib/glob.h
> /opt/dl/heimdal-0.6.3/include/glob.h
> /opt/dl/heimdal-0.6.3/lib/roken/glob.h
>
>> find / -name glob.h -print (unless you have a network filesystem
>> mounted,
>> and then, I guess I need to see the output of df)
>
> # df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/hda5 2.5G 622M 1.8G 27% /
> /dev/hda1 122M 38M 79M 33% /boot
> /dev/hda7 63G 39G 21G 66% /home
> none 109M 0 109M 0% /dev/shm
> /dev/hda2 4.0G 2.7G 1.1G 72% /usr
> /dev/hda3 4.0G 2.8G 1.1G 73% /var
>
> NOTE: I would bet that the /usr/local/include/glob.h is the issue - that
> would be on both systems exhibiting the problem and are apparently put
> there by my compiling heimdal from source (did it on both systems)
>
> Now, how can I fix this?
You could use a separate box to build packages where you have a clean
install of your RedHat/Fedora distribution. If you don't have a box for
doing it, a chroot environment does it too.
Simon
---
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