[Tickets #7335] Re: create.php ticket
bugs at horde.org
bugs at horde.org
Wed Oct 29 14:58:10 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7335
------------------------------------------------------------------------------
Ticket | 7335
Updated By | ralph at rsrc.de
Summary | create.php ticket
Queue | Whups
Version | 1.0-RC1
Type | Bug
State | Not A Bug
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
ralph at rsrc.de (2008-10-29 10:58) wrote:
> I'm facing the same Problem when calling "Create Ticket"-Page
Me too. Apache child process is segfaulting.
With the help of eaccelerator I was able to pin it down:
in four places in WHUPS/lib/Driver/sql.php the function sprintf is
being called in order to generate a log message with one argument
being generated by implode:
$string = sprintf("Whups_Driver_sql::getQueueUsers(): query=%s;
values=%s", $query, implode(',', $values));
It doesn't crash if called like this:
$dummy = implode(',', $values);
$string = sprintf("Whups_Driver_sql::getQueueUsers(): query=%s;
values=%s", $query, $dummy;
Affected line are: 1460, 1574, 1828, 2063.
In the first affected function getQueueUsers($queueId) when crashing
$queueID seems to be empty, therefore $values = array($queueId) is
empty and implode(empty string) inside sprintf eventually becomes a
invalid parameter?
No patch attached, as cause in uncertain.
More information about the bugs
mailing list