2 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildrop compiling problem?!
FromSent OnAttachments
denis moellerFeb 7, 2005 5:02 am 
Doc WalkerFeb 7, 2005 7:56 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] maildrop compiling problem?!Actions...
From:denis moeller (nim@latrina.de)
Date:Feb 7, 2005 5:02:46 am
List:net.sourceforge.lists.courier-maildrop

Hey there,

recently I've been trying to compile version 1.7.0, no errors, no warnings. But whenever I ran the program, it broke with a segfault - I watched at the code and examined that it breaks when packing the sql-statement for getting the user's maildir in a string. The agument "username" of get_user_mysql() simply was NULL - everytime, no matter what arguments I ran the program with. After making some debug output in run(), I found the bug: the code gets the right "-d", but it uses the following space as optarg instead of the username - what the hell? I tried a different version and the same thing happened. Since I'm not THAT into writing C++ in unix, I'm sure this must be something with my compiler environment ... Do you have any idea what I did wrong? I do have Suse 9.2 installed. If you need more info about my system to get an idea, let me know. :-) Thanks. P.S. I've seen quite a bunch of users online posting questions about the same thing: maildrop crashing. Maybe they all have the same problem!