List Info

Thread: Re: segfault on amd64 v2.2.3-1 .deb




Re: segfault on amd64 v2.2.3-1 .deb
country flaguser name
Netherlands
2007-05-06 06:41:47
Tom Allison wrote:
> 
> On May 3, 2007, at 10:48 PM, Aaron Stone wrote:
> 
>> I have nearly identical hardware, albeit running
Gentoo. Same kernel, to
>> a T, on both my dom0 and domU... never has
segfaulted except for the
>> known issue in bug #517.
>>
>> Could you attach gdb to one of your dbmail
processes and get a backtrace
>> from the segfault?
>>
>> Aaron
> 
> OK, but I'm going to have to figure out how to do that
one.  ;)
> 
> It would probably be a good idea for me to learn how to
do this, makes
> me a better "participant".

You'll have to build dbmail with debugging symbols
(CFLAGS+=-g)
You also better build dbmail static (./configure
--enable-shared=no
--enable-static=yes)
After that you can create a txt file containing a sequence
of imap commands:

cat >> imapcmd.txt << EOF
1 login testuser1 test
2 select INBOX
3 fetch 1 (UID ALL)
4 logout
EOF

run the imap commands through a gdb wrapped dbmail-imapd:

gdb ./dbmail-imapd
gdb> run -n -f /etc/dbmail/dbmail-test.conf <
imapcmd.txt
*segfault*
gdb> bt

the test-scripts directory in the tarball contains a number
of imap
command sequences I use the test stuff.



-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

Re: segfault on amd64 v2.2.3-1 .deb
country flaguser name
United States
2007-05-06 17:45:53
I think the problem I'm going to have with this is the
"compile..."  
part.
I suspect that the problem is related to the .deb build
(it's  
compile) more than compiling dbmail on my machine.

However, I can try compiling dbmail from source on this
machine and  
first check to see if it's still causing a segfault.  But it
will be  
a couple of days before I can really dig into this.  I have
need to  
set up HTTPS first and then I'll have lot's of time
available for  
dbmail.

On May 6, 2007, at 7:41 AM, Paul J Stevens wrote:

> Tom Allison wrote:
>>
>> On May 3, 2007, at 10:48 PM, Aaron Stone wrote:
>>
>>> I have nearly identical hardware, albeit
running Gentoo. Same  
>>> kernel, to
>>> a T, on both my dom0 and domU... never has
segfaulted except for the
>>> known issue in bug #517.
>>>
>>> Could you attach gdb to one of your dbmail
processes and get a  
>>> backtrace
>>> from the segfault?
>>>
>>> Aaron
>>
>> OK, but I'm going to have to figure out how to do
that one.  ;)
>>
>> It would probably be a good idea for me to learn
how to do this,  
>> makes
>> me a better "participant".
>
> You'll have to build dbmail with debugging symbols
(CFLAGS+=-g)
> You also better build dbmail static (./configure
--enable-shared=no
> --enable-static=yes)
> After that you can create a txt file containing a
sequence of imap  
> commands:
>
> cat >> imapcmd.txt << EOF
> 1 login testuser1 test
> 2 select INBOX
> 3 fetch 1 (UID ALL)
> 4 logout
> EOF
>
> run the imap commands through a gdb wrapped
dbmail-imapd:
>
> gdb ./dbmail-imapd
> gdb> run -n -f /etc/dbmail/dbmail-test.conf <
imapcmd.txt
> *segfault*
> gdb> bt
>
> the test-scripts directory in the tarball contains a
number of imap
> command sequences I use the test stuff.
>
>
>
> -- 
>  
____________________________________________________________
____
>   Paul Stevens                                     
paul at nfg.nl
>   NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
>   The Netherlands________________________________http://www.nfg.nl
> _______________________________________________
> DBmail mailing list
> DBmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

_______________________________________________
DBmail mailing list
DBmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )