First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 25385
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Lisa Seelye (RETIRED) <lisa@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stuart Herbert (RETIRED) <stuart@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
diff.txt Patch to fix infinite loop problem patch Stuart Herbert (RETIRED) 2003-07-27 13:48 0000 383 bytes Details | Diff
diff.txt Patch with fix for _set() robustness problem patch Stuart Herbert (RETIRED) 2003-07-27 14:18 0000 1.25 KB Details | Diff
diff.txt Latest diff for improved robustness patch Stuart Herbert (RETIRED) 2003-07-28 01:21 0000 1.93 KB Details | Diff
kawaser.php kawaser.php patch admin 2006-11-13 20:36 0000 162.50 KB Details | Diff
kawaser.jpg.jpg kawaser.jpg.jpg image/jpeg admin 2006-11-13 20:39 0000 162.50 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 25385 depends on: Show dependency tree
Bug 25385 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-07-27 13:46 0000
I've had this happen when memcached segfaulted partway through operation ...
there may be other ways to reproduce this fault.

Basically, the PHP client goes into an infinite loop trying to get a valid
socket to a server.  Because no socket is available, the loop never exits (until
it exceeds the PHP execution time limit).

I've attached a patch to fix this.





Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Stuart Herbert (RETIRED) 2003-07-27 13:48:59 0000 -------
Created an attachment (id=15096) [details]
Patch to fix infinite loop problem

------- Comment #2 From Stuart Herbert (RETIRED) 2003-07-27 14:18:11 0000 -------
Created an attachment (id=15101) [details]
Patch with fix for _set() robustness problem

This patch has the inifinite loop fix, and also traps a problem where the
expiry time would not be passed across the network to memcached.

With these patches, the PHP client is now working for me on a production
machine (so far ;-)

------- Comment #3 From Stuart Herbert (RETIRED) 2003-07-28 01:21:09 0000 -------
Created an attachment (id=15113) [details]
Latest diff for improved robustness

This latest patch further improves the robustness of the PHP API when memcached
is unavailable.

------- Comment #4 From Lisa Seelye (RETIRED) 2003-07-28 20:10:01 0000 -------
I'm going to incorporate these diffs into the ebuild while waiting for a new
release.

Look for -r1 to be out with some cheap hack to get around start-stop-daemon
(init script) and these patches some time Tuesday.

------- Comment #5 From Lisa Seelye (RETIRED) 2003-07-29 19:15:27 0000 -------
gonna close this since 1.1.7 is out and the php api was retouched

------- Comment #6 From admin 2006-11-13 20:36:39 0000 -------
Created an attachment (id=101892) [details]
kawaser.php

hi

------- Comment #7 From admin 2006-11-13 20:39:00 0000 -------
Created an attachment (id=101893) [details]
kawaser.jpg.jpg

hi

First Last Prev Next    No search results available      Search page      Enter new bug