Bug #51424 [Fbk]: crypt() function hangs after 3rd call

From: Date: Mon, 29 Mar 2010 11:21:47 +0000
Subject: Bug #51424 [Fbk]: crypt() function hangs after 3rd call
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-149142@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51424&edit=1

 ID:               51424
 Updated by:       pajoye@php.net
 Reported by:      laacz at laacz dot lv
 Summary:          crypt() function hangs after 3rd call
 Status:           Feedback
 Type:             Bug
 Package:          Strings related
 Operating System: Ubuntu 9.04 x64
 PHP Version:      5.3.2

 New Comment:

Stupid me, you did not call crypt php. Please do it again using:

gdb --args php crypt.php

or

gdb php
> run crypt.php
<break>
> bt


Previous Comments:
------------------------------------------------------------------------
[2010-03-29 13:18:08] pajoye@php.net

It does not look like a crypt issue at all. Is the src file you call
exactly what you pasted here? Or can you attach it as zip please?

------------------------------------------------------------------------
[2010-03-29 13:14:42] laacz at laacz dot lv

Added GDB backtrace as a patch (what a system:).

------------------------------------------------------------------------
[2010-03-29 13:07:54] pajoye@php.net

It works just fine here.

Can you try to run it through gdb, stop the app when it reached the
endless loop, and get a backtrace (bt)?

------------------------------------------------------------------------
[2010-03-29 13:05:31] pajoye@php.net

"Click Here to Submit a Patch" sounds like what you need

------------------------------------------------------------------------
[2010-03-29 12:50:19] laacz at laacz dot lv

Since I do not know how to attach files here, there goes links:

php_config.h: http://pastebin.com/xxKxuBS2
config.h: http://pastebin.com/8KcBe0FF

Also, added strace output: http://pastebin.com/sP4hT4LB

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=51424


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51424&edit=1


Thread (19 messages)

« previous php.bugs (#149142) next »