segfaults when executing quota command
Derrick J Brashear
shadow at dementia.org
Tue Apr 12 09:41:07 EDT 2005
On Tue, 12 Apr 2005, Craig White wrote:
>> Not especially. Having symbols would help. It's going to be something in
>> foreach() in lib/cyrusdb_quotalegacy.c, though, since that's the only
>> place you'd be using the system glob().
>>
>> I suppose, for simplicity, you can just add a
>>
>> printf("%s\n", quota_path);
>>
>> before and after
>> /* strip off the qr specific path and replace with pattern */
>> sprintf(strstr(quota_path, FNAME_QUOTADIR) + strlen(FNAME_QUOTADIR),
>> "?/%s*", prefix);
>>
>> And see what 2 lines you get just before the crash, as a way of cheating.
> ----
> OK - excuse my ignorance here please...
No, excuse mine, didn't even occur to me you weren't building from source
directly.
> I used invoca.ch srpms and did rpmbuild from them and never actually
> compiled from source so I suspect that is why I can't locate it.
Well, I guess rpmbuild cleaned up after itself.
> This is a whiteboxlinux 3 (RHEL 3 clone) - and I would take direction
> here...should I install some symbol package for debugging
Would be nice but I wouldn't hold my breath for it. Maybe someone else
here knows.
> or untar the tarball - and compile after your suggested changes ?
> Which would be the
> better course? I actually have this problem on my system (whiteboxlinux)
> and a client system (RHEL 3 ES) but I would rather fool with this on my
> system.
Well, the first would be better, but I bet you can't have it.
---
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