This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Doctrine\Tests\ORM\Functional; | |
use Doctrine\Tests\Models\CMS\CmsUser; | |
use Doctrine\ORM\Event\OnFlushEventArgs; | |
use Doctrine\ORM\Events; | |
require_once __DIR__ . '/../../TestInit.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==6441== Memcheck, a memory error detector | |
==6441== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==6441== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info | |
==6441== Command: php /usr/bin/phpunit --no-globals-backup test/org/openpsa/invoices/ | |
==6441== Parent PID: 6439 | |
==6441== | |
--6441-- | |
--6441-- Valgrind options: | |
--6441-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp | |
--6441-- --log-file=valgrind3.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CODE: | |
midgard_connection::get_instance()->set_loglevel('debug'); | |
$qb = new midgard_query_builder('midgard_user'); | |
$qb->add_constraint('person', '=', $this->_person->guid); | |
$qb->add_constraint('authtype', '=', $GLOBALS['midcom_config']['auth_type']); | |
$result = $qb->execute(); | |
midgard_connection::get_instance()->set_loglevel('warn'); | |
LOGFILE: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/bin/php-cgi", ["/usr/bin/php-cgi", "openpsa/test.php"], [/* 24 vars */]) = 0 | |
brk(0) = 0xa18e000 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7792000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY) = 3 | |
fstat64(3, {st_mode=S_IFREG|0644, st_size=98905, ...}) = 0 | |
mmap2(NULL, 98905, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7779000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Schema | |
<type name="org_openpsa_products_product" table="org_openpsa_products_product" parent="org_openpsa_products_product_group" parentfield="productGroup"> | |
<property name="id" type="unsigned integer" primaryfield="id" /> | |
<property name="productGroup" link="org_openpsa_products_product_group:id" type="unsigned integer" parentfield="productGroup"/> | |
</type> | |
<type name="org_openpsa_products_product_group" table="org_openpsa_products_product_group" upfield="up"> | |
<property name="id" type="unsigned integer" primaryfield="id" /> | |
<property name="up" upfield="up" link="org_openpsa_products_product_group:id" type="unsigned integer"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/etc/php5/apache2/php.ini~:extension=midgard.so | |
/etc/php5/apache2/php.ini:extension=midgard.so | |
/etc/php5/apache2/conf.d/midgard2.ini~:extension=midgard2.so | |
/etc/php5/apache2/conf.d/midgard2.ini~:[midgard2] | |
/etc/php5/apache2/conf.d/midgard2.ini~:; midgard.engine = On | |
/etc/php5/apache2/conf.d/midgard2.ini~:; midgard.http = Off | |
/etc/php5/apache2/conf.d/midgard2.ini~:; midgard.superglobals_compat = Off | |
/etc/php5/apache2/conf.d/midgard2.ini~:; midgard.memory_debug = Off | |
/etc/php5/apache2/conf.d/midgard2.ini:;extension=midgard2.so | |
/etc/php5/apache2/conf.d/midgard2.ini:[midgard2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is example configuration file | |
# Do not create config files with conf extension | |
[MidgardDir] | |
# Shared files, architecture independent | |
# Default is $prefix/share/midgard | |
#ShareDir= | |
# Application specific files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/php5/cgi/conf.d/midgard2.ini | |
extension=midgard2.so | |
[midgard2] | |
midgard.engine = On | |
midgard.http = Off | |
midgard.superglobals_compat = On | |
midgard.configuration_file="/etc/midgard2/conf.d/midgard2" | |
; midgard.memory_debug = Off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) run -D -f /etc/lighttpd/lighttpd.conf | |
Starting program: /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf | |
PHP Warning: Failed to read midgard config file. Permission denied in Unknown on line 0 | |
PHP Warning: [Midgard2 minit] Failed to initialize configs in Unknown on line 0 | |
PHP Fatal error: Unable to start midgard2 module in Unknown on line 0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Code to reproduce: | |
$mc = new midgard_collector('midgard_article', 'metadata.deleted', false); | |
$mc->set_offset(12); | |
Segfault: | |
Program received signal SIGSEGV, Segmentation fault. | |
0x00000000 in ?? () |
NewerOlder