Could you re-compile with debug on? (add -ggdb to the CFLAGS in the
makefile). Then run the program and see where it crashes.
regards roel
Chris Nolan heeft op dinsdag, 14 jan 2003 om 13:12 (Europe/Amsterdam)
het volgende geschreven:
Hi all,
I've tried this myself but I always manage to get a SIGSEGV whenever I
call the appropriate functions. I need to follow this process:
1. See if a folder exists.
1a. If it doesn't, create it.
2. Insert a whole bunch of messages into that folder.
1a I can easily accomplish. As for 1 and 2, they cause grief.
db_insert_message seems to ignore the last argument you pass to it and
db_imap_append just segfaults upon calling it. I don't remember the
name of the function off-hand, but calling the function that takes a
user_id and folder name and returns a folder ID also segfaults upon
calling. I am checking my arguments for being NULL.
Any suggestions?
Chris
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
Met vriendelijke groet,
Roel Rozendaal
_________________________
R.A. Rozendaal
ICT Manager
IC&S
T: +31 30 2322878
F: +31 30 2322305
www.ic-s.nl