segfaults when executing quota command
Craig White
craigwhite at azapple.com
Sun Apr 3 14:28:06 EDT 2005
On Sun, 2005-04-03 at 13:35 -0400, Derrick J Brashear wrote:
> On Sun, 3 Apr 2005, Craig White wrote:
>
> > (gdb) run -f
> > Starting program: /usr/lib/cyrus-imapd/quota -f
> > (no debugging symbols found)...(no debugging symbols found)...(no
> > debugging symbols found)...(no debugging symbols found)...(no debugging
> > symbols found)...(no debugging symbols found)...(no debugging symbols
> > found)...(no debugging symbols found)...(no debugging symbols
> > found)...(no debugging symbols found)...(no debugging symbols
> > found)...(no debugging symbols found)...(no debugging symbols
> > found)...(no debugging symbols found)...[Thread debugging using
> > libthread_db enabled]
> > [New Thread -1218568064 (LWP 7193)]
> > (no debugging symbols found)...
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1218568064 (LWP 7193)]
> > 0x00d1c513 in _int_realloc () from /lib/tls/libc.so.6
>
> If you have one stack frame only, you have some serious problems. I doubt
> you do. What's the rest of the backtrace?
> (gdb's "where" commands)
----
thanks - I know not of these things - appreciate your patience with me.
(gdb) where
#0 0x00be1513 in _int_realloc () from /lib/tls/libc.so.6
#1 0x00be0156 in realloc () from /lib/tls/libc.so.6
#2 0x00c1b586 in glob_in_dir () from /lib/tls/libc.so.6
#3 0x00c1a7fc in glob () from /lib/tls/libc.so.6
#4 0x0808328e in mboxlist_findsub_alt ()
#5 0x0804baa0 in ?? ()
#6 0x0811b1e8 in ?? ()
#7 0xbfff8580 in ?? ()
#8 0x00000000 in ?? ()
indeed, it was not the only stack. There was no rest of the backtrace
unless you are asking for the stuff that came 'before' I executed '(gdb)
run -f' which I didn't include because I didn't think that it had
meaningful information but for completeness...
# su - cyrus -c 'gdb /usr/lib/cyrus-imapd/quota'
cyrus at TOBYHOUSE.COM's Password:
su: krb5_verify_user: unable to reach any KDC in realm TOBYHOUSE.COM
GNU gdb Red Hat Linux (6.1post-1.20040607.52rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging
symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
and that is where it waited for me until I ran the '(gdb) run -f'
command which gave me the result in the previous post I made which to
which I added '(gdb) where' - listed above.
I wish I understood what I was doing here...
Thanks
Craig
---
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