Skip to content

Instantly share code, notes, and snippets.

View lambday's full-sized avatar

Soumyajit De lambday

  • Meta
  • London
  • 09:27 (UTC)
View GitHub Profile
-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.6.3
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2013 Soumyajit De
*/
#include <shogun/lib/config.h>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
module toy_latch;
bit data;
bit outp;
bit clock;
bit enable;
bit latch1;
bit latch2;
always_latch begin if ((clock & (enable))) latch1 <= ~data; end;
module toy_ff;
bit data;
bit ff;
bit ff_neg;
bit clock;
always_ff @(negedge clock)
begin
ff <= data;
end
Start 133: integration-python_modular-tester-regression_gaussian_process_modular
*** glibc detected *** /usr/bin/python: double free or corruption (!prev): 0x0000000002696190 ***
======= Backtrace: =========
/lib64/libc.so.6[0x318fc7da76]
/lib64/libc.so.6[0x318fc7ed5e]
/usr/local/lib/libshogun.so.14(_ZdlPv+0x18)[0x7f39c26ac7e7]
/usr/local/lib/libshogun.so.14(_ZN6shogun21CExactInferenceMethodD0Ev+0x24)[0x7f39c280af04]
/usr/local/lib/libshogun.so.14(_ZN6shogun9CSGObject5unrefEv+0xcc)[0x7f39c208c50a]
/usr/local/lib/libshogun.so.14(_ZN6shogun23CGaussianProcessMachineD1Ev+0x3c)[0x7f39c286ac82]
/usr/local/lib/libshogun.so.14(_ZN6shogun26CGaussianProcessRegressionD1Ev+0x2a)[0x7f39c2735ab2]
#include <arprec/mp_real.h>
void test()
{
mp::mp_init(100, NULL, true);
mp_real u(1.932467)
mp_real val=sin(u); // this leaks
// mp_real val=sinh(u); // this doesn't
mp::mp_finalize();
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
==10140== Memcheck, a memory error detector
==10140== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==10140== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==10140== Command: ./a.out
==10140==
[INFO] Reducing number of features from 2 to 2
[DEBUG] force: 0
[INFO] preprocessing using preproc PruneVarSubMean
[INFO] get Feature matrix: 10x2
[INFO] Preprocessing feature matrix
#include <shogun/base/init.h>
#include <shogun/base/Parameter.h>
#include <shogun/lib/common.h>
#include <shogun/base/SGObject.h>
#include <shogun/io/SGIO.h>
#include <shogun/mathematics/Statistics.h>
using namespace shogun;
int main(int argc, char **argv)