Skip to content

Instantly share code, notes, and snippets.

View vladimmi's full-sized avatar

Vladimir Marchevsky vladimmi

View GitHub Profile
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
/** @var array $arParams */
/** @var array $arResult */
/** @global CMain $APPLICATION */
/** @global CUser $USER */
/** @global CDatabase $DB */
/** @var CBitrixComponentTemplate $this */
/** @var string $templateName */
/** @var string $templateFile */
/** @var string $templateFolder */
JCSmartFilter.prototype.postHandler = function (result, fromCache)
{
var hrefFILTER, url, curProp;
var modef = BX('modef');
var modef_num = BX('modef_num');
console.log('post handler');
if (!!result && !!result.ITEMS)
{
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.13.0-24-generic (buildd@batsu) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 (Ubuntu 3.13.0-24.47-generic 3.13.9)
[ 0.000000] Command line: root=/dev/xvda1 console=hvc0 ro
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] ACPI in unprivileged domain disabled
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.13.0-24-generic (buildd@batsu) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 (Ubuntu 3.13.0-24.47-generic 3.13.9)
[ 0.000000] Command line: root=/dev/xvda1 console=hvc0 ro
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] ACPI in unprivileged domain disabled
@vladimmi
vladimmi / config.log
Created September 18, 2014 11:03
Phalcon 2.0, Ubuntu 14.04
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --silent --enable-phalcon
## --------- ##
## Platform. ##
/*
+----------------------------------------------------------------------+
| Xdebug |
+----------------------------------------------------------------------+
| Copyright (c) 2002-2013 Derick Rethans |
+----------------------------------------------------------------------+
| This source file is subject to version 1.0 of the Xdebug license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://xdebug.derickrethans.nl/license.php |
#0 0x00007f032055145d in xdebug_build_fname (edata=0x7fff6f477fb0, tmp=0xccaec0) at /root/abs/xdebug/src/xdebug-2.2.4/xdebug_stack.c:904
fname = 0x7f032055c9b9 "whoops"
#1 xdebug_add_stack_frame (zdata=zdata@entry=0x7fff6f477fb0, op_array=0x0, type=type@entry=1)
at /root/abs/xdebug/src/xdebug-2.2.4/xdebug_stack.c:1025
edata = 0x7fff6f477fb0
opline_ptr = 0x7f032a0c00c0
tmp = 0xccaec0
cur_opcode = <optimized out>
param = <optimized out>
i = 0
/*
+----------------------------------------------------------------------+
| Xdebug |
+----------------------------------------------------------------------+
| Copyright (c) 2002-2013 Derick Rethans |
+----------------------------------------------------------------------+
| This source file is subject to version 1.0 of the Xdebug license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://xdebug.derickrethans.nl/license.php |
@vladimmi
vladimmi / gdb.txt
Created March 26, 2014 16:41
Phalcon 1.3.1 SEGFAULT
#0 0x00007f2a6eec6387 in xdebug_build_fname (edata=0x7ffff30e3890, tmp=0x1111330) at /root/abs/xdebug/src/xdebug-2.2.4/xdebug_stack.c:918
fname = 0x39 <error: Cannot access memory at address 0x39>
#1 xdebug_add_stack_frame (zdata=zdata@entry=0x7ffff30e3890, op_array=0x0, type=type@entry=1)
at /root/abs/xdebug/src/xdebug-2.2.4/xdebug_stack.c:1039
edata = 0x7ffff30e3890
opline_ptr = 0x7f2a78a320e0
tmp = 0x1111330
cur_opcode = <optimized out>
param = <optimized out>
i = 0