Ticket #438 (closed defect: invalid)
pdosqlexec triggers segmentation fault
| Reported by: | extraordinaire | Owned by: | mrook |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.2 |
| Component: | phing-tasks-ext | Version: | 2.4.0 |
| Keywords: | Cc: |
Description (last modified by extraordinaire) (diff)
It seems pdosqlexec triggers a segmentation fault.
While executing the attached target, pdosqlexec deals with roughly 200 files, totalling 40Mb.
The segmentation fault occurs after executing half of the files, on one file that is 4Mb in size and it occurs even after reducing the fileset to only one file (the 4Mb one).
[phingcall] Calling Buildfile '/var/www/vhosts/project/build.xml' with target 'loadData'
[exec] Executing command: pwd 2>&1 [exec] Executing command: basename /var/www/vhosts/project 2>&1
MyProject > loadData: [pdosqlexec] Executing file: /var/www/vhosts/project/sql/data_sys_history.sql Segmentation fault
$ php -v PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010 22:56:44) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with Xdebug v2.0.4, Copyright (c) 2002-2008, by Derick Rethans
<target name="loadData" description="Loads MySQL data">
<pdosqlexec url="mysql:host=${db.host}; dbname=${db.name}" userid="${db.root.user}" password="${db.root.pass}">
<fileset dir="${db.paths.data}">
<include name="data_*.sql"/>
</fileset>
</pdosqlexec>
</target>
Attachments
Change History
comment:1 Changed 7 months ago by extraordinaire
- Component changed from phing-core to phing-tasks-ext
- Description modified (diff)
comment:2 Changed 6 months ago by mrook
Do you have some testfiles for me? Or this is issue already resolved :)
