Angus,

Only one solution: gdb

#> gdb /usr/sbin/dbmail-smtp

gdb> run -c user -s [EMAIL PROTECTED]

... segfault ...

gdb> bt

this will list a number of call that led up to the segfault. Copy-and-paste to your email client. Look for the first one related to dbmail or mysql, skipping the libc stuff. This line has a number in front of it. That's the stack-frame number and very likely the one that triggered the signal 11. In gdb select this number, i.e.

gdb> f 5

This will list more calls. Copy and paste them all.

gdb> f 6

jump back a frame, and copy the output.


etc...

The output should give us a pretty good idea about what's going on.

You could also provide me with shell access, and I'll do it myself.

O yeah, and make sure your dbmail binaries are installed with symbols: CFLAGS 
+= -g

This could be a mysql problem. mysql-4.1 is not that well tested around here. I don't use it, and I don't think Aaron and Ilja use it.

But it could be all kind of other issues as well. No way to tell without a 
backtrace.

Really though, supporting these kind of issues would become much simpler if we could integrate this stuff in dbmail itself, like python's execinfo. I'll look into that some more, soon.


Angus Jordan wrote:
Ok.

Does anyone else have any ideas, please?

Thank you,
Angus


On Sun, 19 Dec 2004 14:03:51 +0100, tonton1664 <[EMAIL PROTECTED]> wrote:

Angus Jordan wrote:

Hmm...

I'm not even sure if I have libgmime installed at all.  Is this
required to run dbmail 2.0.1?

I definitely haven't installed it on purpose, and I don't see it in my
packages database.  Any idea if it's installed by default in FreeBSD
5.1, 5.2.1, or 5.3?


sorry, this was for the experimental version 2.1.x. 2.0.1 doesn't need
libgmime

_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail


_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail



--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to