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
==14551== Memcheck, a memory error detector | |
==14551== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. | |
==14551== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info | |
==14551== Command: lighttpd -D -f /etc/lighttpd/lighttpd.conf | |
==14551== Parent PID: 5063 | |
==14551== | |
--14551-- | |
--14551-- Valgrind options: | |
--14551-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp | |
--14551-- --tool=memcheck |
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
INSERT INTO `repligard` (`id`, `changed`, `updated`, `realm`, `guid`, `action`, `sitegroup`, `locked`, `author`, `typename`, `lang`, `object_action`, `object_action_date`) VALUES | |
(0, '2011-03-14 15:43:12', '0000-00-00 00:00:00', '', '633fc6364e4911e09e4261d972b583da83da', 'create', 0, 0, 0, 'openpsa_person', 0, 3, '0000-00-00 00:00:00'); | |
INSERT INTO `person` (`id`, `username`, `password`, `firstname`, `lastname`, `birthdate`, `street`, `postcode`, `city`, `homephone`, `handphone`, `workphone`, `homepage`, `email`, `extra`, `img`, `info`, `topic`, `subtopic`, `department`, `office`, `created`, `creator`, `pgpkey`, `sitegroup`, `metadata_size`, `metadata_creator`, `metadata_created`, `metadata_revisor`, `metadata_revised`, `metadata_revision`, `metadata_approver`, `metadata_approved`, `metadata_locker`, `metadata_locked`, `metadata_owner`, `metadata_authors`, `metadata_schedule_start`, `metadata_schedule_end`, `metadata_hidden`, `metadata_nav_noentry`, `guid`, `metadata_published`, `metadata_imported`, `metada |
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
--TEST-- | |
test for creating child objects with guid parent field | |
--SKIPIF-- | |
<?php if (!extension_loaded("midgard2")) print "skip"; ?> | |
--INI-- | |
midgard.engine = On | |
midgard.http = On | |
midgard.memory_debug = Off | |
midgard.configuration= | |
midgard.configuration_file=[[CFG_FILE]] |
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
MINIT done (pid = 9361) | |
RINIT | |
:: midgard_connection::get_instance() | |
:: ==> instance=0x9878578 | |
[0x98785fc] php_midgard_gobject_new(midgard_connection) | |
[0x98785fc] <= php_midgard_gobject_new() | |
[0x9878578] midgard_connection::__construct() | |
---> midgard_connection_set_loghandler(3) | |
---> global_loghandler = 3 | |
[0x9878578] --> glib refcount=1 |
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
# phpunit --colors --no-globals-backup ./midcom/core/privilegeTest.php | |
PHP Deprecated: midgard.superglobals_compat option is deprecated and might be removed in next release in Unknown on line 0 | |
*** glibc detected *** /usr/bin/php: double free or corruption (fasttop): 0x09980cd8 *** | |
======= Backtrace: ========= | |
/lib/libc.so.6(+0x6c501)[0x9d1501] | |
/lib/libc.so.6(+0x6dd70)[0x9d2d70] | |
/lib/libc.so.6(cfree+0x6d)[0x9d5e5d] | |
/lib/libglib-2.0.so.0(g_free+0x36)[0xff4486] | |
/lib/libglib-2.0.so.0(g_strfreev+0x30)[0x100d480] | |
/usr/lib/php5/20090626+lfs/midgard2.so(zm_startup_midgard2+0xff4)[0xacee14] |
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 ?? () |
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
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
# 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
/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] |