|
|
Choosing A Webhost: |
Re: [Dbmail] DBmail 2.x, PostgreSQL, IMAP: msg#00088mail.imap.dbmail
Sandino Araico Sanchez wrote: [root-4eEy/tdnw2Y@xxxxxxxxxxxxxxxx root] gdb --pid=361<snip gdb preamble (gdb) continue This seems to suggest a bug in the trace() function in debug.c Problem is.. I can't seem to find what's wrong. For clarity, I'll print the function below. Can anybody find anything that's wrong? void trace (int level, char *formatstring, ...) { va_list argp; va_start(argp, formatstring); if (level <= TRACE_LEVEL) { if (TRACE_VERBOSE != 0) { vfprintf (err_out_stream, formatstring, argp); if (formatstring[strlen(formatstring)]!='\n') fprintf (err_out_stream,"\n"); } if (TRACE_TO_SYSLOG != 0) { if (formatstring[strlen(formatstring)]=='\n') formatstring[strlen(formatstring)]='\0'; if (level <= TRACE_WARNING) { /* set LOG_ALERT at warnings */ vsyslog (LOG_ALERT, formatstring, argp); } else vsyslog (LOG_NOTICE, formatstring, argp); } va_end(argp); } /* very big fatal error * bailout */ if (level == TRACE_FATAL) exit(EXIT_CODE); if (level == TRACE_STOP) exit(EXIT_CODE); } Currently, I'm a bit lost here.. Sandino, could you try recompiling with TRACE_TO_SYSLOG (in debug.c) set to 0 (zero), and running again. Maybe there's an error earlier in the code, which will show up in a different place when not tracing to syslog. BTW, I'm also sending this to dbmail-dev Ilja -- IC&S Stadhouderslaan 57 3583 JD Utrecht PGP-key: http://www.ic-s.nl/keys/ilja.txt
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Accessing my relational Database through a layer of JDBC, Ralf Hauser |
|---|---|
| Next by Date: | RE: DBmail 2.x, PostgreSQL, IMAP, John Hansen |
| Previous by Thread: | Re: DBmail 2.x, PostgreSQL, IMAP, Sandino Araico Sanchez |
| Next by Thread: | Re: Re: [Dbmail] DBmail 2.x, PostgreSQL, IMAP, Sandino Araico Sanchez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |