[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2013-03-29 Thread Bug Watch Updater
** Changed in: php5 (Debian)
   Status: Won't Fix = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/418220

Title:
  apache2 crashed with SIGSEGV in pdo_parse_params()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/418220/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2013-03-29 Thread Ondřej Surý
It's not related to the Debian bug mentioned.  See the reporter's
comment below.

** Changed in: php5 (Debian)
   Importance: Unknown = Undecided

** Changed in: php5 (Debian)
   Status: Fix Released = New

** Changed in: php5 (Debian)
 Remote watch: Debian Bug tracker #402181 = None

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/418220

Title:
  apache2 crashed with SIGSEGV in pdo_parse_params()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/418220/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2010-01-11 Thread Ondřej Surý
** Changed in: php5 (Ubuntu)
   Status: Triaged = Fix Released

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-10-07 Thread Bug Watch Updater
** Changed in: php5 (Debian)
   Status: Unknown = Won't Fix

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-25 Thread DarkNova
I traced the problem to a bug in ext/pdo/pdo_sql_parser.c that must have
been introduced somewhere around 5.2.6. I started working on a fix but
then thought to replace that file with one from a newer version of PHP.
I tried replacing with the one from 5.2.10.dfsg.1-2ubuntu4 and the bug
had already been fixed in that version. It looks like a fix was
submitted almost a year ago in bug: http://bugs.php.net/bug.php?id=44251

I've attached a diff of the changes between 5.2.6.dfsg.1-3ubuntu4.2 and
5.2.10.dfsg.1-2ubuntu4 in case you want them, but you may consider this
already fixed since it is at least fixed in 5.2.10 which will come out
in Karmic. Using the Karmic package works fine for me, but it would
probably be nice if it was backported to Jaunty for other people. Thanks
for your help,

Nick


** Bug watch added: bugs.php.net/ #44251
   http://bugs.php.net/bug.php?id=44251

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-25 Thread DarkNova

** Attachment added: Diff for ext/pdo/pdo_sql_parser.c
   
http://launchpadlibrarian.net/32455577/5.2.6.dfsg.1-3ubuntu4.2-5.2.10.dfsg.1-2ubuntu4-diff

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-22 Thread DarkNova
I have been analyzing the differences between my Jaunty server which has
the segmentation fault problem, and a Jaunty virtual machine which works
fine. I've determined the key difference:

The problem machine has package php5-mysql (version
5.2.6.dfsg.1-3ubuntu4.2) installed. To eliminate the segmentation fault,
I installed a different (apparently older) version of pdo and pdo_mysql
by doing sudo pecl install pdo_mysql which overwrote Ubuntu's
installed pdo and pdo_mysql libraries.

These modified libraries are found at /usr/lib/php5/20060613/pdo.so and
/usr/lib/php5/20060613/pdo_mysql.so.

Key file version differences:

pdo.c: BAD: 1.57.2.17.2.10.GOOD: 1.57.2.17
pdo_dbh.c: BAD: 1.82.2.31.2.22.GOOD: 1.82.2.30
pdo_sql_parser.c: BAD: 1.35.2.6.2.15 ...GOOD: 1.35.2.6
pdo_sql_parser.re: BAD: 1.28.2.4.2.12...GOOD: 1.28.2.4
pdo_sqlstate.c: BAD: 1.7.2.1.2.2..GOOD: 1.7.2.1
pdo_stmt.c: BAD: 1.118.2.38.2.34GOOD: 1.118.2.38
php_pdo_driver.h: BAD: 1.66.2.11.2.8...GOOD: 1.66.2.11
php_pdo.h: BAD: 1.7.2.5.2.4...GOOD: 1.7.2.5

mysql_driver.c: BAD: 1.59.2.13.2.6...GOOD: 1.59.2.13
mysql_statement.c: BAD: 1.48.2.14.2.7...GOOD: 1.48.2.14

So the file versions are very close so there wasn't much changed between
them. It looks like the newer version either had a bug introduced that
causes this segmentation fault, or it is also possible that the way the
Ubuntu package was compiled is causing a problem I suppose? I don't know
much about the internals of this library so is there someone who is
familiar with the internals of PDO comment? Thanks.

Nick


** Tags added: php5-mysql

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-22 Thread DarkNova
I just built the pdo.so and pdo_mysql.so library files from the Ubuntu
source package by doing apt-get -b source php5-mysql and then copying
those 2 .so files to /usr/lib/php5/20060613 and restarted Apache. The
segmentation fault happened in the same way. This seems to indicate that
there was a bug introduced with this newer version and the problem
probably wasn't with the way the package was compiled.

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-22 Thread Ondřej Surý
Could you perhaps isolate this to source code diff?

O.

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-21 Thread DarkNova
I was able to get the test libmysqlclient15off package properly
installed and I tested with it and confirmed that that did fix the case
reported in bug 524366, BUT unfortunately it did not fix my bug as I've
reported here. It happens in the exact same way. So if it is actually
caused by the same bug as
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/343870 then that fix
doesn't work on my bug, otherwise it is a different bug. Since that bug
was related to a race condition that affected multiple cores, I disabled
all but one core using the maxcpus kernel boot option and the bug
still occurred.

** This bug is no longer a duplicate of bug 343870
   php-cli segmentation fault with mysql extension

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-18 Thread Chuck Short
Thanks for the bug report but what program is causing this crash?

Thanks
chuck

** Changed in: php5 (Ubuntu)
   Status: New = Triaged

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-18 Thread Ondřej Surý
Hi,

where does this:

#2  0x7fb51a1354d2 in xdebug_execute_internal (
current_execute_data=0x7fff2af4ef70, return_value_used=1)
at /build/buildd/xdebug-2.0.3/build-php5/xdebug.c:1605
edata = (zend_execute_data *) 0x7fff2af4ef70
fse = (function_stack_entry *) 0x7fb5246ab4c0
cur_opcode = (zend_op *) 0x1
do_return = 0
function_nr = 266972

come from? (Is that packaged php5-xdebug? What version?)

Is the bug reproducible?

Could you try disabling xdebug, and trying to reproduce the problem?

Or could you try setting up karmic virtual machine and trying to
reproduce it there?

Ondrej

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-18 Thread DarkNova
Hello Ondrej,

Thanks for the response. Yes, that line was from package php5-xdebug. I
had tried using that package to help track down the bug. I uninstalled
it and the crash still occurs in the same way, only the stacktrace now
doesn't include the xdebug part of course.

The bug is reproducible in that I created a simple test case which
causes the crash about 90% of the time. I'm not sure why the other 10%
of the time the crash does not occur.

Yesterday I created a Jaunty Server virtual machine and tried my test
and the crash did not occur under the virtual machine. I am currently
trying to figure out what, if any, differences there are between my
physical computer and the virtual machine, other than my physical
machine is running Jaunty (plain) and the other is Jaunty Server. All
the PHP and Apache packages are the same version. Thanks.

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-18 Thread Ondřej Surý
*** This bug is a duplicate of bug 343870 ***
https://bugs.launchpad.net/bugs/343870

** This bug has been marked a duplicate of bug 343870
   php-cli segmentation fault with mysql extension

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-09-14 Thread Chuck Short
** Also affects: php5 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402181
   Importance: Unknown
   Status: Unknown

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-08-31 Thread Chuck Short
** Package changed: apache2 (Ubuntu) = php5 (Ubuntu)

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-08-31 Thread Ondřej Surý
I guess this could be same bug as in http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=402181

The solution is also same, ask your vendor to fix binary compatibility
or don't use packaged php5.

** Bug watch added: Debian Bug tracker #402181
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402181

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 418220] Re: apache2 crashed with SIGSEGV in pdo_parse_params()

2009-08-24 Thread DarkNova

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/30744577/Dependencies.txt

** Attachment added: ProcMaps.txt
   http://launchpadlibrarian.net/30744578/ProcMaps.txt

** Attachment added: ProcStatus.txt
   http://launchpadlibrarian.net/30744579/ProcStatus.txt

** Attachment added: Stacktrace.txt
   http://launchpadlibrarian.net/30744580/Stacktrace.txt

** Attachment added: ThreadStacktrace.txt
   http://launchpadlibrarian.net/30744581/ThreadStacktrace.txt

-- 
apache2 crashed with SIGSEGV in pdo_parse_params()
https://bugs.launchpad.net/bugs/418220
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs