Ticket #438 (new defect)

Opened 5 weeks ago

Last modified 6 days ago

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

Changed 5 weeks ago by extraordinaire

  • component changed from phing-core to phing-tasks-ext
  • description modified (diff)

Changed 2 weeks ago by mrook

Do you have some testfiles for me? Or this is issue already resolved :)

Changed 6 days ago by mrook

  • milestone changed from 2.4.1 to 2.4.2

Add/Change #438 (pdosqlexec triggers segmentation fault)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.