Hi I also got a SEGV while using the 1.0 version of pop3d. It seems to get caught in this loop and I haven't figured out how to debug it because there is no foreground mode for the server to run under gdb.
Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: pop3(): incoming buffer: [USER [EMAIL PROTECTED] Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: pop3(): command issued :cmd [USER], value [EMAIL PROTECTED] Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: pop3(): command looked up as commandtype 1 Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: ParentSigHandler(): i'm no longer father Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: ChildSighandler(): got signal [11] Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: ChildSighandler(): cannot ignore this. Terminating Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: ChildSighandler(): write stream still open, closing Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: ChildSighandler(): read stream still open, closing Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: ChildSighandler(): database connection still open, closing Dec 4 16:53:13 serv0r dbmail/pop3d[3349]: ChildSighandler(): exit Dec 4 16:53:13 serv0r dbmail/pop3d[3343]: ParentSigHandler(): got signal [17] Dec 4 16:53:13 serv0r dbmail/pop3d[3343]: StartServer(): child [3349] has exited Dec 4 16:53:13 serv0r dbmail/pop3d[3343]: StartServer(): creating new child Dec 4 16:53:13 serv0r dbmail/pop3d[3624]: CreateChild(): signal handler placed, going to perform task now Dec 4 16:53:13 serv0r dbmail/pop3d[3624]: PerformChildTask(): waiting for connection Thanks, Andy On 12/4/02 13:39, "Bret Baptist" <[EMAIL PROTECTED]> wrote: > It looks like it is happening with every bounce. I tested a few invalid email > addresses and I always get the sig11. I am getting the bounce message, so > that is working. I am running Linux, (Debian 3.0, postfix 1.1.11, MySQL > 3.23.51). > > Questions below the logs. > > Here are the logs at TraceLevel 5: > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): starting procedure > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): found [DBMAIL] tag > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): no value specified > for service item []. > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [host] value > [localhost] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [user] value > [dbmail] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [pass] value > [NotMyRealPassword] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [db] value > [dbmail] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): no value specified > for service item []. > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [TRACE_LEVEL] > value [5] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): service [DBMAIL] > added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): config for [DBMAIL] > read, found [5] items > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): starting procedure > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): found [SMTP] tag > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [SENDMAIL] > value [/usr/sbin/sendmail] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item > [DBMAIL_FROM_ADDRESS] value [EMAIL PROTECTED] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [POSTMASTER] > value [EMAIL PROTECTED] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [AUTO_NOTIFY] > value [no] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [AUTO_REPLY] > value [no] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): item [TRACE_LEVEL] > value [5] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): service [SMTP] added > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): config for [SMTP] > read, found [6] items > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [trace_level] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value [5] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [host] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value > [localhost] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [db] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value > [dbmail] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [user] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value > [dbmail] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [pass] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value > [NotMyRealPassword] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: read_header(): readheader start > Dec 4 12:22:11 destiny dbmail/smtp[22791]: read_header(): mem current: [1035] > reallocated to [2048] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: read_header(): end header found > Dec 4 12:22:11 destiny dbmail/smtp[22791]: read_header(): readheader done > Dec 4 12:22:11 destiny dbmail/smtp[22791]: read_header(): header size [1069] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: read_header(): function > successfull > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mime_readheader(): entering mime > loop > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mime_readheader(): found double > newline; header size: 22 lines > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): mimelist > currently has [16] nodes > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): mail address > parser starting > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): total fields in > header 16 > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): scanning for > Return-Path > Dec 4 12:22:11 destiny last message repeated 15 times > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): found > [EMAIL PROTECTED], next in list is (null) > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): found 1 > emailaddresses > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): mail address > parser finished > Dec 4 12:22:11 destiny dbmail/smtp[22791]: main(): using SPECIAL_DELIVERY to > email addresses > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list_special(): gathering > info from command line > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list_special(): adding > [EMAIL PROTECTED] to userlist > Dec 4 12:22:11 destiny dbmail/smtp[22791]: auth_check_user(): checking user > [EMAIL PROTECTED] in alias table > Dec 4 12:22:11 destiny dbmail/smtp[22791]: auth_check_user(): executing > query, checks [-1] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: __auth_query(): executing query > [SELECT deliver_to FROM aliases WHERE alias="[EMAIL PROTECTED]"] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: auth_check_user(): user > [EMAIL PROTECTED] not in aliases table > Dec 4 12:22:11 destiny dbmail/smtp[22791]: insert_messages(): user > [EMAIL PROTECTED] found total of [0] aliases > Dec 4 12:22:11 destiny dbmail/smtp[22791]: insert_messages(): no users found > to deliver to. Checking for domain forwards > Dec 4 12:22:11 destiny dbmail/smtp[22791]: insert_messages(): checking for > domain aliases. Domain = [EMAIL PROTECTED] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: auth_check_user(): checking user > [EMAIL PROTECTED] in alias table > Dec 4 12:22:11 destiny dbmail/smtp[22791]: auth_check_user(): executing > query, checks [-1] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: __auth_query(): executing query > [SELECT deliver_to FROM aliases WHERE alias="@iexposure.com"] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: auth_check_user(): user > @iexposure.com not in aliases table > Dec 4 12:22:11 destiny dbmail/smtp[22791]: insert_messages(): domain > [EMAIL PROTECTED] found total of [0] aliases > Dec 4 12:22:11 destiny dbmail/smtp[22791]: insert_messages(): we need to > deliver [0] messages to external addresses > Dec 4 12:22:11 destiny dbmail/smtp[22791]: insert_messages(): allocating > [524288] bytes of memory for readblock > Dec 4 12:22:11 destiny dbmail/smtp[22791]: insert_messages(): sending bounces > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [DBMAIL_FROM_ADDRESS] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value > [EMAIL PROTECTED] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [SENDMAIL] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value > [/usr/sbin/sendmail] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): searching value > for config item [POSTMASTER] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: GetConfigValue(): found value > [EMAIL PROTECTED] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: bounce(): creating bounce message > for bounce type [1] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: bounce(): sending 'no such user' > bounce for destination [EMAIL PROTECTED] > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): mimelist > currently has [16] nodes > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): mail address > parser starting > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): total fields in > header 16 > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): scanning for > Return-Path > Dec 4 12:22:11 destiny last message repeated 15 times > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): found > [EMAIL PROTECTED], next in list is (null) > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): found 1 > emailaddresses > Dec 4 12:22:11 destiny dbmail/smtp[22791]: mail_adr_list(): mail address > parser finished > > > > What does this mean? > Dec 4 12:22:11 destiny dbmail/smtp[22791]: ReadConfig(): no value specified > for service item []. > > I noticed that on a sucessful run we get this: > Dec 4 12:22:08 destiny dbmail/smtp[22788]: insert_messages(): Freeing memory > blocks > Dec 4 12:22:08 destiny dbmail/smtp[22788]: insert_messages(): header freed > Dec 4 12:22:08 destiny dbmail/smtp[22788]: insert_messages(): uniqueid freed > Dec 4 12:22:08 destiny dbmail/smtp[22788]: insert_messages(): strblock freed > Dec 4 12:22:08 destiny dbmail/smtp[22788]: insert_messages(): insertquery > freed > Dec 4 12:22:08 destiny dbmail/smtp[22788]: insert_messages(): updatequery > freed > Dec 4 12:22:08 destiny dbmail/smtp[22788]: insert_messages(): End of function > Dec 4 12:22:08 destiny dbmail/smtp[22788]: main(): freeing memory blocks > Dec 4 12:22:08 destiny dbmail/smtp[22788]: main(): they're all free. we're > done. > > Let me know if there is any additional information I can provide you. > > > Bret. > > > > On Wednesday 04 December 2002 11:46 am, Roel Rozendaal - IC&S wrote: >> Hi, >> >> This is not supposed to happen - signal 11 is a segmentation fault. >> Could you provide some more information - does it happen with every >> bounce? Is the bounce send or does dbmail-smtp die before sending the >> mail? We currently are not experiencing any segfaults with dbmail-smtp, >> could you tell us which system you are using? FreeBSD and solaris for >> example are more stringent on memory errors and give almost always a >> signal 11 where linux often just runs the process and only has it >> crash if the process invades the memory page of another process. >> >> regards roel >> >> Bret Baptist heeft op woensdag, 4 dec 2002 om 18:32 (Europe/Amsterdam) >> >> het volgende geschreven: >>> I have noticed that when dbmail-smtp checks to make sure that an email >>> address >>> is valid, finds out that it is not, and then sends out a bounce, it >>> gives a >>> signal 11 back to postfix. This means that postfix deffers the >>> message and >>> trys to send it again. >>> >>> This is the log from postfix. >>> >>> Dec 4 11:27:30 destiny postfix/pipe[18072]: 08F361B3303: >>> to=<[EMAIL PROTECTED]>, relay=dbmail, delay=770, status=deferred >>> (Command died with signal 11: "/usr/local/bin/dbmail-smtp") >>> >>> Is anyone else seeing this behavior? >>> >>> Thanks. >>> >>> -- >>> Bret Baptist >>> Systems and Technical Support Specialist >>> [EMAIL PROTECTED] >>> Internet Exposure, Inc. >>> http://www.iexposure.com >>> >>> (612)676-1946 x17 >>> Web Development-Web Marketing-ISP Services >>> ------------------------------------------ >>> >>> >>> Today is the tomorrow you worried about yesterday. >>> >>> _______________________________________________ >>> Dbmail mailing list >>> Dbmail@dbmail.org >>> https://mailman.fastxs.nl/mailman/listinfo/dbmail >> >> _______________________________________________ >> Dbmail mailing list >> Dbmail@dbmail.org >> https://mailman.fastxs.nl/mailman/listinfo/dbmail