Skip to content

Instantly share code, notes, and snippets.

@aboltart
aboltart / gist:7f254dc7ec33d9d39ec5
Created March 13, 2015 09:07
Passenger 5.0.4 error stack trace
App 31504 stdout:
App 1766 stdout:
[ pid=31140, timestamp=1426237226 ] Process aborted! signo=SIGSEGV(11), reason=SEGV_MAPERR, si_addr=0x2d322e73, randomSeed=1426237173
[ pid=31140 ] Crash log dumped to /var/tmp/passenger-crash-log.1426237226
[ pid=31140 ] Date, uname and ulimits:
Fri Mar 13 11:00:26 EET 2015
Linux 2.6.18-238.12.1.el5PAE #1 SMP Sat May 7 20:37:06 EDT 2011 i686 i686
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
@aboltart
aboltart / gist:f90cab21db56073ff947
Created September 24, 2014 19:50
Ruby benchmarking test cases
#===========================================
# 1. Benchmark
#
require 'benchmark'
Benchmark.bmbm do |x|
x.report ('<<') do
1_000_000.times do
one = 'one'
two = 'two'
@aboltart
aboltart / gist:8265c0adbc43df1d97d5
Created May 31, 2014 18:43
logstalgia-1.0.5 confogure error
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
@aboltart
aboltart / gist:4478591
Created January 7, 2013 21:25
.rvm/src/yaml-0.1.4/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by yaml configure 0.1.4, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure --prefix=/Users/aabolts/.rvm/usr --disable-dependency-tracking
## --------- ##
## Platform. ##
@aboltart
aboltart / gist:4478576
Created January 7, 2013 21:25
.rvm/src/ruby-2.0.0-rc1/config.log
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 --enable-shared --disable-install-doc --prefix=/Users/aabolts/.rvm/rubies/ruby-2.0.0-rc1 --with-opt-dir=/Users/aabolts/.rvm/usr:/Users/aabolts/.rvm/usr --with-arch=i386
## --------- ##
## Platform. ##
@aboltart
aboltart / gist:4478281
Created January 7, 2013 20:51
ruby-2.0.0-rc1/configure.log
[2013-01-07 22:36:08] env CFLAGS=-O3 -march=native -O3 ./configure --enable-shared --disable-install-doc --prefix=/Users/aabolts/.rvm/rubies/ruby-2.0.0-rc1 --with-opt-dir=/Users/aabolts/.rvm/usr:/Users/aabolts/.rvm/usr --with-arch=i386
checking build system type... x86_64-apple-darwin12.2.1
checking host system type... x86_64-apple-darwin12.2.1
checking target system type... x86_64-apple-darwin12.2.1
checking whether the C compiler works... no
configure: error: in `/Users/aabolts/.rvm/src/ruby-2.0.0-rc1':
configure: error: C compiler cannot create executables
See `config.log' for more details
@aboltart
aboltart / gist:4478267
Created January 7, 2013 20:50
ruby-2.0.0-rc1/yaml/configure.log
2013-01-07 22:33:32] env CFLAGS=-march=native -O3 -arch i386 -O3 CCFLAGS= -arch i386 -O3 CXXFLAGS= -arch i386 -O3 LDFLAGS= -arch i386 ./configure --prefix=/Users/aabolts/.rvm/usr --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc-4.2
@aboltart
aboltart / gist:4478250
Created January 7, 2013 20:48
ruby-2.0.0-rc1 install stack trace
[ ~ ] % rvm --debug install 2.0.0 --32
2.0.0 - install
__rvm_update_configure_env(4):CFLAGS= -arch i386 -O3 CCFLAGS= -arch i386 -O3 CXXFLAGS= -arch i386 -O3 LDFLAGS= -arch i386:
found compiler: gcc-4.2
Fetching yaml-0.1.4.tar.gz to /Users/aabolts/.rvm/archives
Fetching: https://rvm.io/src/yaml-0.1.4.tar.gz
Fetch command: curl -f -L --create-dirs -C - -o yaml-0.1.4.tar.gz
No archive, downloading
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
@aboltart
aboltart / gist:4197730
Created December 3, 2012 20:25
activesupport 3.2.9 + ruby-2.0.0-preview2 fails
[2012-12-03 22:24:54.116] FATAL NoMethodError (private method `_dump_without_zone' called for 2012-12-03 22:24:52 +0200:Time):
activesupport (3.2.9) lib/active_support/core_ext/time/marshal.rb:54:in `_dump'
activesupport (3.2.9) lib/active_support/message_verifier.rb:53:in `dump'
activesupport (3.2.9) lib/active_support/message_verifier.rb:53:in `generate'
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:300:in `[]='
actionpack (3.2.9) lib/action_dispatch/middleware/session/cookie_store.rb:67:in `set_cookie'
rack (1.4.1) lib/rack/session/abstract/id.rb:330:in `commit_session'
rack (1.4.1) lib/rack/session/abstract/id.rb:206:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
@aboltart
aboltart / gist:4193407
Created December 3, 2012 07:32
ruby-oci8 + ruby-2.0.0-preview2 32 bit error
Using ruby-oci8 (2.1.3) from http://github.com/kubo/ruby-oci8.git (at master) * Checking out revision: master
Successfully built RubyGem
Name: ruby-oci8
Version: 2.1.3
File: ruby-oci8-2.1.3.gem
with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/aabolts/.rvm/rubies/ruby-2.0.0-preview2/bin/ruby extconf.rb
checking for load library path...