|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-02 16:49 UTC] chagenbu@php.net
[2001-05-03 15:32 UTC] chagenbu@php.net
[2001-05-27 15:35 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 10:00:02 2025 UTC |
function that causes crash <?php> imap_open('{newsserver/nntp}'.'test.test','username','password') || die("can't connect: ".imap_last_error()); </php> backtrace from gdb ( i know it says nothing but i did as described in the backtrace faq.) #0 0x0 in ?? () I have a problem with imap_open: I can do imap_open on nntp server that has no authentication. But when i try on a nntpserver that requires a password.. php dumps core (signal 11 gdb backtrace is #0 0x0 in ?? ()) ( i executed the cgi version of php to be sure that apache has nothing to do with it.) i tested c-client with the mtest program and it worked perfectly. I've tried to compile php4 with -enable-debug but i'm not so experienced with gdb so when i load the core-file i still get no symbols or references to the instruction that causes the problem. it should be simple to test: try to connect to a nntp server without username and password try to connect to a nntp server that requires username and password i have looked through the c-client code and the php4 extension and i could imagine the problem might be in mm_login but i'm not certain. the server is running: php4.0.5-dev latest cvs linux 2.2.12-20smp imap (imap-2001.BETA.SNAP-0102201858) also tried (imap-4.7c) All help is appreciated and if anybody wants more information or maybe a test nntp account i can provide that (just send me a mail bo@erichsen.com).