One of my vertica cluster node down, and in log file a found :
2016-03-19 20:01:55.263 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.263 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.266 nameless:0x7f325accb730 [Main] <INFO> Handling signal: 11
2016-03-19 20:01:55.291 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.291 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.292 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.292 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.292 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.292 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.293 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.293 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.294 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.294 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.294 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.294 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.295 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.295 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.296 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.296 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.297 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.297 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.297 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.297 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.298 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> SortManager found maxMerges 7 too small(38 MB Assigned).
2016-03-19 20:01:55.298 Init Session:0x7f3420013970-b00000000a70ab [EE] <INFO> After disabling optimization, maxMerges becomes 7.
2016-03-19 20:01:55.305 EEThread:0x7f307fab12c0-c0000000099401 [EE] <INFO> Running ROS from sort buffer. Merge chunks = 1, merges per batch = 36
2016-03-19 20:01:55.305 EEThread:0x7f3379799f10-c0000000099401 [EE] <INFO> Running ROS from sort buffer. Merge chunks = 1, merges per batch = 36
2016-03-19 20:01:55.305 EEThread:0x7f2fb3edbea0-c0000000099401 [EE] <INFO> Running ROS from sort buffer. Merge chunks = 1, merges per batch = 36
2016-03-19 20:01:55.306 EEThread:0x7f307fab12c0-c0000000099401 [EE] <INFO> Finished writing one ROS at 0.00 sec. Write cost 0.00 sec, including compress pipe wait 0.00 sec
2016-03-19 20:01:55.306 EEThread:0x7f3379799f10-c0000000099401 [EE] <INFO> Finished writing one ROS at 0.00 sec. Write cost 0.00 sec, including compress pipe wait 0.00 sec
2016-03-19 20:01:55.307 EEThread:0x7f2fb3edbea0-c0000000099401 [EE] <INFO> Finished writing one ROS at 0.00 sec. Write cost 0.00 sec, including compress pipe wait 0.00 sec
2016-03-19 20:01:55.308 EEThread:0x7f307fab12c0-c0000000099401 [EE] <INFO> Finished writing ROSes from sort buffer.
2016-03-19 20:01:55.309 EEThread:0x7f3379799f10-c0000000099401 [EE] <INFO> Finished writing ROSes from sort buffer.
2016-03-19 20:01:55.309 EEThread:0x7f2fb3edbea0-c0000000099401 [EE] <INFO> Finished writing ROSes from sort buffer.
2016-03-19 20:01:56.780 nameless:0x7f325accb730 [Main] <PANIC> Received fatal signal SIGSEGV.
2016-03-19 20:01:56.780 nameless:0x7f325accb730 [Main] <PANIC> Info: si_code: 128, si_pid: 0, si_uid: 0, si_addr: (nil)
ErrorReport.txt
BEGIN BACKTRACE
Vertica Backtrace at Sat Mar 19 20:01:55 2016
-------------------------
Vertica Analytic Database v7.2.1-0 $BrandId$
vertica(v7.2.1-0) built by jeeves#build-centos6 from releases/VER_7_2_RELEASE_BUILD_1_0_20151116#177918 on 'Mon Nov 16 16:59:07 2015' $BuildId$
00400000-0485f000 r-xp 00000000 fc:03 52166764 /opt/vertica/bin/vertica
0485f000-07020000 rw-p 0445f000 fc:03 52166764 /opt/vertica/bin/vertica
07020000-07139000 rw-p 00000000 00:00 0
08931000-08e42000 rw-p 00000000 00:00 0 [heap]
7f34c7538000-7f34c7801000 r--p 00000000 fc:03 8650892 /usr/lib/locale/locale-archive
7f34c7801000-7f34c8746000 r--s 00000000 fc:03 52168242 /opt/vertica/share/icu/icudt42l.dat
7f34c8746000-7f34c8751000 r-xp 00000000 fc:03 28573925 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f34c8751000-7f34c8950000 ---p 0000b000 fc:03 28573925 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f34c8950000-7f34c8951000 r--p 0000a000 fc:03 28573925 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f34c8951000-7f34c8952000 rw-p 0000b000 fc:03 28573925 /lib/x86_64-linux-gnu/libnss_files-2.19.so
7f34c8952000-7f34c895d000 r-xp 00000000 fc:03 28573915 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f34c895d000-7f34c8b5c000 ---p 0000b000 fc:03 28573915 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f34c8b5c000-7f34c8b5d000 r--p 0000a000 fc:03 28573915 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f34c8b5d000-7f34c8b5e000 rw-p 0000b000 fc:03 28573915 /lib/x86_64-linux-gnu/libnss_nis-2.19.so
7f34c8b5e000-7f34c8b75000 r-xp 00000000 fc:03 28573909 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f34c8b75000-7f34c8d74000 ---p 00017000 fc:03 28573909 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f34c8d74000-7f34c8d75000 r--p 00016000 fc:03 28573909 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f34c8d75000-7f34c8d76000 rw-p 00017000 fc:03 28573909 /lib/x86_64-linux-gnu/libnsl-2.19.so
7f34c8d76000-7f34c8d78000 rw-p 00000000 00:00 0
7f34c8d78000-7f34c8d81000 r-xp 00000000 fc:03 28573908 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f34c8d81000-7f34c8f80000 ---p 00009000 fc:03 28573908 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f34c8f80000-7f34c8f81000 r--p 00008000 fc:03 28573908 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f34c8f81000-7f34c8f82000 rw-p 00009000 fc:03 28573908 /lib/x86_64-linux-gnu/libnss_compat-2.19.so
7f34c8f82000-7f34c9384000 rw-p 00000000 00:00 0
7f34c9384000-7f34d9524000 rw-p 00000000 00:00 0
7f34d9524000-7f34d9725000 rw-p 00000000 00:00 0
7f34d9725000-7f34d974a000 r-xp 00000000 fc:03 28573816 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f34d974a000-7f34d9949000 ---p 00025000 fc:03 28573816 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f34d9949000-7f34d994d000 r--p 00024000 fc:03 28573816 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f34d994d000-7f34d994e000 rw-p 00028000 fc:03 28573816 /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f34d994e000-7f34d9964000 r-xp 00000000 fc:03 28573714 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f34d9964000-7f34d9b63000 ---p 00016000 fc:03 28573714 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f34d9b63000-7f34d9b64000 rw-p 00015000 fc:03 28573714 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f34d9b64000-7f34d9b7d000 r-xp 00000000 fc:03 28573910 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f34d9b7d000-7f34d9d7c000 ---p 00019000 fc:03 28573910 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f34d9d7c000-7f34d9d7d000 r--p 00018000 fc:03 28573910 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f34d9d7d000-7f34d9d7e000 rw-p 00019000 fc:03 28573910 /lib/x86_64-linux-gnu/libpthread-2.19.so
7f34d9d7e000-7f34d9d82000 rw-p 00000000 00:00 0
7f34d9d82000-7f34d9d85000 r-xp 00000000 fc:03 28573904 /lib/x86_64-linux-gnu/libdl-2.19.so
7f34d9d85000-7f34d9f84000 ---p 00003000 fc:03 28573904 /lib/x86_64-linux-gnu/libdl-2.19.so
7f34d9f84000-7f34d9f85000 r--p 00002000 fc:03 28573904 /lib/x86_64-linux-gnu/libdl-2.19.so
7f34d9f85000-7f34d9f86000 rw-p 00003000 fc:03 28573904 /lib/x86_64-linux-gnu/libdl-2.19.so
7f34d9f86000-7f34da141000 r-xp 00000000 fc:03 28573922 /lib/x86_64-linux-gnu/libc-2.19.so
7f34da141000-7f34da340000 ---p 001bb000 fc:03 28573922 /lib/x86_64-linux-gnu/libc-2.19.so
7f34da340000-7f34da344000 r--p 001ba000 fc:03 28573922 /lib/x86_64-linux-gnu/libc-2.19.so
7f34da344000-7f34da346000 rw-p 001be000 fc:03 28573922 /lib/x86_64-linux-gnu/libc-2.19.so
7f34da346000-7f34da34b000 rw-p 00000000 00:00 0
7f34da34b000-7f34da352000 r-xp 00000000 fc:03 28573920 /lib/x86_64-linux-gnu/librt-2.19.so
7f34da352000-7f34da551000 ---p 00007000 fc:03 28573920 /lib/x86_64-linux-gnu/librt-2.19.so
7f34da551000-7f34da552000 r--p 00006000 fc:03 28573920 /lib/x86_64-linux-gnu/librt-2.19.so
7f34da552000-7f34da553000 rw-p 00007000 fc:03 28573920 /lib/x86_64-linux-gnu/librt-2.19.so
7f34da553000-7f34da639000 r-xp 00000000 fc:03 8652997 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f34da639000-7f34da838000 ---p 000e6000 fc:03 8652997 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f34da838000-7f34da840000 r--p 000e5000 fc:03 8652997 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f34da840000-7f34da842000 rw-p 000ed000 fc:03 8652997 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19
7f34da842000-7f34da857000 rw-p 00000000 00:00 0
7f34da857000-7f34da95c000 r-xp 00000000 fc:03 28573902 /lib/x86_64-linux-gnu/libm-2.19.so
7f34da95c000-7f34dab5b000 ---p 00105000 fc:03 28573902 /lib/x86_64-linux-gnu/libm-2.19.so
7f34dab5b000-7f34dab5c000 r--p 00104000 fc:03 28573902 /lib/x86_64-linux-gnu/libm-2.19.so
7f34dab5c000-7f34dab5d000 rw-p 00105000 fc:03 28573902 /lib/x86_64-linux-gnu/libm-2.19.so
7f34dab5d000-7f34dab7f000 r-xp 00000000 fc:03 28573771 /lib/x86_64-linux-gnu/libncurses.so.5.9
7f34dab7f000-7f34dad7e000 ---p 00022000 fc:03 28573771 /lib/x86_64-linux-gnu/libncurses.so.5.9
7f34dad7e000-7f34dad7f000 r--p 00021000 fc:03 28573771 /lib/x86_64-linux-gnu/libncurses.so.5.9
7f34dad7f000-7f34dad80000 rw-p 00022000 fc:03 28573771 /lib/x86_64-linux-gnu/libncurses.so.5.9
7f34dad80000-7f34dada3000 r-xp 00000000 fc:03 28573912 /lib/x86_64-linux-gnu/ld-2.19.so
7f34dadda000-7f34dade2000 rw-p 00000000 00:00 0
7f34dade2000-7f34daf87000 r-xp 00000000 fc:03 52175026 /opt/vertica/lib/libAutopassCrypto64.so
7f34daf87000-7f34daf9b000 rw-p 001a4000 fc:03 52175026 /opt/vertica/lib/libAutopassCrypto64.so
7f34dafa0000-7f34dafa2000 rw-p 00000000 00:00 0
7f34dafa2000-7f34dafa3000 r--p 00022000 fc:03 28573912 /lib/x86_64-linux-gnu/ld-2.19.so
7f34dafa3000-7f34dafa4000 rw-p 00023000 fc:03 28573912 /lib/x86_64-linux-gnu/ld-2.19.so
7f34dafa4000-7f34dafa5000 rw-p 00000000 00:00 0
7ffe326d1000-7ffe326f2000 rw-p 00000000 00:00 0 [stack]
7ffe327fe000-7ffe32800000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Backtrace Generated by Error
Signal: [0x000000000000000b] PID: [0x0000000000007232] PC: [0x0000000000ad5ec7] FP: [0x00007f2f638c0a40] SIGSEGV: SI_ADDR : [0x0000000000000000]
/opt/vertica/bin/vertica[0x301ecd7]
/opt/vertica/bin/vertica[0x306b464]
/opt/vertica/bin/vertica[0x306c6c9]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7f34d9fbcd40]
/opt/vertica/bin/vertica[0xad5ec7]
/opt/vertica/bin/vertica[0xb09e64]
/opt/vertica/bin/vertica[0xa9c787]
/lib/x86_64-linux-gnu/libc.so.6(+0x498b0)[0x7f34d9fcf8b0]
END BACKTRACE
NO THREAD CONTEXT
Maybe someone now the reason of this crash ?
Basically, this can mean a lot of things, from my experience, and assuming you already tried to debug other reasons, this means that the "sideways optimization" mechanism (which is one of Vertica's best features in terms of run-time to get you the results asap) is encountering an issue.
Previously I've encountered this scenario when a certain query was causing it, when an edge case of multiple processes (Tuple Mover during heavy querying) and just sometimes randomly to be honest.
Cases I've opened resulted in a "this is related to a Vertica bug, please upgrade to the latest version" kind of an answer, however i was sure this was resolved by 7.2.x, which i see you're in.
There is a way around this, but that will involve disabling the "sideways" feature, either partially or completely.
If the problem persists and you can't get a Vertica response (or are not paying for support) this is the config param you need to change: "EnableEMMJMultiblockSIPS"
Keep in mind, this will (theoretically) degrade your performance.
Also, the "change_under_support_guidance" flag is on for this, so theoretically you should "consult your doctor" before changing it...
Hope this helps.
Ari
Related
I have a problem in apache2 when I restart Apache, the CPU freezes and log become huge every time someone visit pages.
My Debian version is wheezy 7.1.
What it seems to be the problem?
This is my config :
Apache 2
Server version: Apache/2.2.22 (Debian) Server built: Dec 23 2014
22:48:29 Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.6, APR-Util 1.4.1
Compiled using: APR 1.4.6, APR-Util 1.4.1
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/apache2"
-D SUEXEC_BIN="/usr/lib/apache2/suexec"
-D DEFAULT_PIDLOG="/var/run/apache2.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="mime.types"
-D SERVER_CONFIG_FILE="apache2.conf"
PHP5 Config
PHP 5.6.6-1~dotdeb.1 (cli) (built: Feb 20 2015 19:57:36)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies with Zend
OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
Here is the log
*** glibc detected *** /usr/sbin/apache2: free(): invalid pointer: 0x00007f14c85feaf8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x75be6)[0x7f14e42c3be6]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f14e42c898c]
/usr/lib/apache2/modules/libphp5.so(php_module_shutdown+0x2b)[0x7f14e0f1b81b]
/usr/lib/apache2/modules/libphp5.so(php_module_shutdown_wrapper+0x9)[0x7f14e0f1b8d9]
/usr/lib/apache2/modules/libphp5.so(+0x44d551)[0x7f14e1023551]
/usr/lib/libapr-1.so.0(apr_pool_destroy+0x7e)[0x7f14e480f99e]
/usr/sbin/apache2(+0x5bece)[0x7f14e5105ece]
/usr/sbin/apache2(+0x5c33e)[0x7f14e510633e]
/usr/sbin/apache2(+0x5c942)[0x7f14e5106942]
/usr/sbin/apache2(ap_mpm_run+0x9d6)[0x7f14e51074a6]
/usr/sbin/apache2(main+0xc26)[0x7f14e50db8e6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f14e426cead]
/usr/sbin/apache2(+0x31981)[0x7f14e50db981]
======= Memory map: ========
7f14c8491000-7f14d0491000 rw-s 00000000 00:04 2397454 /dev/zero (deleted)
7f14d0491000-7f14d0492000 ---p 00000000 00:00 0
7f14d0492000-7f14d0c92000 rw-p 00000000 00:00 0
7f14d8000000-7f14d8021000 rw-p 00000000 00:00 0
7f14d8021000-7f14dc000000 ---p 00000000 00:00 0
7f14dc62e000-7f14dc632000 r-xp 00000000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc632000-7f14dc832000 ---p 00004000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc832000-7f14dc833000 r--p 00004000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc833000-7f14dc834000 rw-p 00005000 08:01 4070055 /usr/lib/apache2/modules/mod_status.so
7f14dc834000-7f14dc837000 r-xp 00000000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dc837000-7f14dca36000 ---p 00003000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dca36000-7f14dca37000 r--p 00002000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dca37000-7f14dca38000 rw-p 00003000 08:01 4070024 /usr/lib/apache2/modules/mod_setenvif.so
7f14dca38000-7f14dca4b000 rw-p 00000000 00:00 0
7f14dca4b000-7f14dca56000 r-xp 00000000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dca56000-7f14dcc55000 ---p 0000b000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dcc55000-7f14dcc56000 r--p 0000a000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dcc56000-7f14dcc57000 rw-p 0000b000 08:01 1969681 /lib/x86_64-linux-gnu/libnss_files-2.13.so
7f14dcc57000-7f14dcc61000 r-xp 00000000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dcc61000-7f14dce60000 ---p 0000a000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dce60000-7f14dce61000 r--p 00009000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dce61000-7f14dce62000 rw-p 0000a000 08:01 1969691 /lib/x86_64-linux-gnu/libnss_nis-2.13.so
7f14dce62000-7f14dce69000 r-xp 00000000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dce69000-7f14dd068000 ---p 00007000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dd068000-7f14dd069000 r--p 00006000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dd069000-7f14dd06a000 rw-p 00007000 08:01 1969695 /lib/x86_64-linux-gnu/libnss_compat-2.13.so
7f14dd24b000-7f14dd25a000 r-xp 00000000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd25a000-7f14dd459000 ---p 0000f000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd459000-7f14dd45a000 r--p 0000e000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd45a000-7f14dd45b000 rw-p 0000f000 08:01 4070047 /usr/lib/apache2/modules/mod_rewrite.so
7f14dd45b000-7f14dd45e000 r-xp 00000000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd45e000-7f14dd65d000 ---p 00003000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd65d000-7f14dd65e000 r--p 00002000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd65e000-7f14dd65f000 rw-p 00003000 08:01 4070011 /usr/lib/apache2/modules/mod_reqtimeout.so
7f14dd65f000-7f14dd666000 r-xp 00000000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd666000-7f14dd866000 ---p 00007000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd866000-7f14dd867000 r--p 00007000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd867000-7f14dd868000 rw-p 00008000 08:01 4070053 /usr/lib/apache2/modules/mod_proxy_http.so
7f14dd868000-7f14dd87c000 r-xp 00000000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dd87c000-7f14dda7b000 ---p 00014000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dda7b000-7f14dda7c000 r--p 00013000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dda7c000-7f14dda7d000 rw-p 00014000 08:01 4070012 /usr/lib/apache2/modules/mod_proxy.so
7f14dda7d000-7f14dda90000 r-xp 00000000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14dda90000-7f14ddc8f000 ---p 00013000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14ddc8f000-7f14ddc90000 r--p 00012000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14ddc90000-7f14ddc91000 rw-p 00013000 08:01 1969699 /lib/x86_64-linux-gnu/libresolv-2.13.so
7f14ddc91000-7f14ddc93000 rw-p 00000000 00:00 0
7f14ddc93000-7f14ddc96000 r-xp 00000000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14ddc96000-7f14dde95000 ---p 00003000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14dde95000-7f14dde96000 r--p 00002000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14dde96000-7f14dde97000 rw-p 00003000 08:01 1966561 /lib/x86_64-linux-gnu/libkeyutils.so.1.4
7f14dde97000-7f14dde9f000 r-xp 00000000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14dde9f000-7f14de09e000 ---p 00008000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14de09e000-7f14de09f000 r--p 00007000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14de09f000-7f14de0a0000 rw-p 00008000 08:01 3805273 /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7f14de0a0000-7f14de0c2000 r-xp 00000000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f14de0c2000-7f14de2c1000 ---p 00022000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f14de2c1000-7f14de2c2000 r--p 00021000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f14de2c2000-7f14de2c3000 rw-p 00022000 08:01 1966120 /lib/x86_64-linux-gnu/liblzma.so.5.0.0
.......
7f14e50a8000-7f14e50a9000 rw-p 00020000 08:01 1969698 /lib/x86_64-linux-gnu/ld-2.13.so
7f14e50a9000-7f14e50aa000 rw-p 00000000 00:00 0
7f14e50aa000-7f14e511c000 r-xp 00000000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e531b000-7f14e531d000 r--p 00071000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e531d000-7f14e5321000 rw-p 00073000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e5321000-7f14e5325000 rw-p 00000000 00:00 0
7f14e5345000-7f14e5366000 rw-p 00000000 00:00 0 [heap]
7f14e5366000-7f14e580b000 rw-p 00000000 00:00 0 [heap]
7ffffaa31000-7ffffaa52000 rw-p 00000000 00:00 0 [stack]
7ffffab5e000-7ffffab5f000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[Thu Jul 30 11:44:56 2015] [notice] child pid 8372 exit signal Aborted (6)
7f14e531d000-7f14e5321000 rw-p 00073000 08:01 4069997 /usr/lib/apache2/mpm-prefork/apache2
7f14e5321000-7f14e5325000 rw-p 00000000 00:00 0
7f14e5345000-7f14e5366000 rw-p 00000000 00:00 0 [heap]
7f14e5366000-7f14e580b000 rw-p 00000000 00:00 0 [heap]
7ffffaa31000-7ffffaa52000 rw-p 00000000 00:00 0 [stack]
7ffffab5e000-7ffffab5f000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[Thu Jul 30 11:44:56 2015] [notice] child pid 8372 exit signal Aborted (6)
Issue fixed
I use to load two times Zend Opcache.
Thank you for fixing my grammar and syntax mistakes.
Installed this app that runs fine on my Mac called WAGN.
Tried compiling Ruby from scratch and installed 2.0.0, 2.1.5 then 1.9.3 using RBENV.
Tried using the packages from Raspbian which use an older 1.9.3-p194 and they all end up with the same crash. NOTE: the folder ruby1.9.1 below contains 1.9.3, it's just that the name of the package remained the same and it got an upgrade.
Any ideas on how to deal with this? (Quick recap, the Pi 2 is a quad core 900mhz ARM7 with 1GB ram)
wagn server
=> Booting WEBrick
=> Rails 3.2.16 application starting in production on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2015-03-24 21:14:45] INFO WEBrick 1.3.1
[2015-03-24 21:14:45] INFO ruby 1.9.3 (2012-04-20) [arm-linux-eabihf]
[2015-03-24 21:14:45] INFO WEBrick::HTTPServer#start: pid=22094 port=3000
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13: [BUG] Segmentation fault
ruby 1.9.3p194 (2012-04-20 revision 35410) [arm-linux-eabihf]
-- Control frame information -----------------------------------------------
c:0166 p:---- s:0775 b:0775 l:000774 d:000774 CFUNC :Call
c:0165 p:0036 s:0770 b:0770 l:000774 d:000769 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13
c:0164 p:0005 s:0768 b:0768 l:0024b4 d:000767 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:84
c:0163 p:---- s:0764 b:0764 l:000763 d:000763 FINISH
c:0162 p:---- s:0762 b:0762 l:000761 d:000761 CFUNC :call
c:0161 p:---- s:0760 b:0760 l:000759 d:000759 CFUNC :TryCatch
c:0160 p:0019 s:0757 b:0757 l:0024b4 d:0024b4 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83
c:0159 p:0045 s:0754 b:0753 l:000774 d:000ab4 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13
c:0158 p:0033 s:0751 b:0751 l:000750 d:000750 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:206
c:0157 p:0013 s:0747 b:0747 l:000774 d:000774 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:11
c:0156 p:0027 s:0742 b:0742 l:000808 d:000741 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:19
c:0155 p:0028 s:0740 b:0740 l:0023c0 d:000739 BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:248
c:0154 p:---- s:0738 b:0738 l:000737 d:000737 FINISH
c:0153 p:---- s:0736 b:0736 l:000735 d:000735 CFUNC :call
c:0152 p:---- s:0734 b:0734 l:000733 d:000733 CFUNC :HandleScope
c:0151 p:0017 s:0731 b:0731 l:0023c0 d:001c8c BLOCK /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245
c:0150 p:---- s:0729 b:0729 l:000728 d:000728 FINISH
c:0149 p:---- s:0727 b:0727 l:000726 d:000726 CFUNC :call
c:0148 p:---- s:0725 b:0725 l:000724 d:000724 CFUNC :Locker
c:0147 p:0053 s:0722 b:0722 l:0023c0 d:0023c0 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244
c:0146 p:0026 s:0718 b:0718 l:000717 d:000717 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:204
c:0145 p:0013 s:0714 b:0714 l:000808 d:000808 METHOD /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:18
c:0144 p:0026 s:0710 b:0709 l:002434 d:000708 BLOCK /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:45
c:0143 p:0007 s:0706 b:0706 l:001294 d:000705 BLOCK /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:75
c:0142 p:---- s:0703 b:0703 l:000702 d:000702 FINISH
c:0141 p:---- s:0701 b:0701 l:000700 d:000700 CFUNC :call
c:0140 p:---- s:0699 b:0699 l:000698 d:000698 CFUNC :Locker
c:0139 p:0027 s:0696 b:0696 l:001294 d:001294 METHOD /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:73
c:0138 p:0011 s:0691 b:0691 l:002434 d:002434 METHOD /var/lib/gems/1.9.1/gems/execjs-2.4.0/lib/execjs/ruby_racer_runtime.rb:43
c:0137 p:0125 s:0686 b:0686 l:000685 d:000685 METHOD /var/lib/gems/1.9.1/gems/coffee-script-2.3.0/lib/coffee_script.rb:76
c:0136 p:0022 s:0680 b:0680 l:000679 d:000679 METHOD /home/pi/test/tmp/set/type/1002-coffee_script.rb:14
c:0135 p:0031 s:0675 b:0674 l:001ef4 d:000673 LAMBDA /home/pi/test/tmp/set/type/1002-coffee_script.rb:20
c:0134 p:---- s:0672 b:0672 l:000671 d:000671 FINISH
c:0133 p:0056 s:0670 b:0669 l:000660 d:000668 BLOCK
TOO LONG TO INCLUDE, PLEASE ASK FOR INFORMATION IF NEEDED
2.4.0/lib/execjs/ruby_racer_runtime.rb:45:in `block in call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:18:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:204:in `enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244:in `lock_scope_and_enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244:in `Locker'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:244:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245:in `block in lock_scope_and_enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245:in `HandleScope'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:245:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:248:in `block (2 levels) in lock_scope_and_enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:19:in `block in call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:11:in `methodcall'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/context.rb:206:in `enter'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13:in `block in methodcall'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83:in `try'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83:in `TryCatch'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:83:in `call'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/error.rb:84:in `block in try'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13:in `block (2 levels) in methodcall'
/var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/function.rb:13:in `Call'
-- C level backtrace information -------------------------------------------
-- Other runtime information -----------------------------------------------
TOO LONG TO INCLUDE, PLEASE ASK FOR INFORMATION IF NEEDED
* Process memory map:
00008000-00009000 r-xp 00000000 b3:02 53332 /usr/bin/ruby1.9.1
00010000-00011000 r--p 00000000 b3:02 53332 /usr/bin/ruby1.9.1
00011000-00012000 rw-p 00001000 b3:02 53332 /usr/bin/ruby1.9.1
00400000-03425000 rw-p 00000000 00:00 0 [heap]
24200000-24219000 rw-p 00000000 00:00 0
27c00000-27d00000 rw-p 00000000 00:00 0
2a800000-2a809000 rw-p 00000000 00:00 0
2a809000-2a80a000 ---p 00000000 00:00 0
2a80a000-2a8ff000 rwxp 00000000 00:00 0
2a8ff000-2a900000 ---p 00000000 00:00 0
2b200000-2b300000 rw-p 00000000 00:00 0
2b700000-2b709000 rw-p 00000000 00:00 0
2b709000-2b70a000 ---p 00000000 00:00 0
2b70a000-2b70c000 rwxp 00000000 00:00 0
2b70c000-2b74c000 ---p 00000000 00:00 0
2c000000-2c100000 rw-p 00000000 00:00 0
2e600000-2e700000 rw-p 00000000 00:00 0
30500000-30600000 rw-p 00000000 00:00 0
30f00000-31000000 rw-p 00000000 00:00 0
32f00000-33000000 rw-p 00000000 00:00 0
33ac6000-33ec6000 rw-p 00000000 00:00 0
34a00000-34a19000 rw-p 00000000 00:00 0
36200000-36300000 rw-p 00000000 00:00 0
37000000-37100000 rw-p 00000000 00:00 0
39c51000-39d51000 rw-p 00000000 00:00 0
3b900000-3b909000 rw-p 00000000 00:00 0
3b909000-3b90a000 ---p 00000000 00:00 0
3b90a000-3b9ff000 rwxp 00000000 00:00 0
3b9ff000-3ba00000 ---p 00000000 00:00 0
3be00000-3bf00000 rw-p 00000000 00:00 0
3f100000-3f109000 rw-p 00000000 00:00 0
3f109000-3f10a000 ---p 00000000 00:00 0
3f10a000-3f16a000 rwxp 00000000 00:00 0
3f16a000-3f16b000 ---p 00000000 00:00 0
43974000-43980000 ---p 00000000 00:00 0
43980000-43990000 rw-p 00000000 00:00 0
43990000-439a4000 ---p 00000000 00:00 0
45200000-45300000 rw-p 00000000 00:00 0
46a00000-46a49000 rw-p 00000000 00:00 0
47600000-47700000 rw-p 00000000 00:00 0
4a200000-4a300000 rw-p 00000000 00:00 0
4f000000-4fc00000 rw-p 00000000 00:00 0
4fc00000-50000000 rw-p 00000000 00:00 0
58f00000-59000000 rw-p 00000000 00:00 0
5a300000-5a339000 rw-p 00000000 00:00 0
5b100000-5b109000 rw-p 00000000 00:00 0
5b109000-5b10a000 ---p 00000000 00:00 0
5b10a000-5b10f000 rwxp 00000000 00:00 0
5b10f000-5b14c000 ---p 00000000 00:00 0
5db00000-5dc00000 rw-p 00000000 00:00 0
5de00000-5df00000 rw-p 00000000 00:00 0
5f100000-5f109000 rw-p 00000000 00:00 0
5f109000-5f10a000 ---p 00000000 00:00 0
5f10a000-5f1ff000 rwxp 00000000 00:00 0
5f1ff000-5f200000 ---p 00000000 00:00 0
74900000-74909000 rw-p 00000000 00:00 0
74909000-7490a000 ---p 00000000 00:00 0
7490a000-749ff000 rwxp 00000000 00:00 0
749ff000-74a00000 ---p 00000000 00:00 0
74b00000-74c00000 rw-p 00000000 00:00 0
74d00000-74e00000 rw-p 00000000 00:00 0
74f00000-74f31000 rw-p 00000000 00:00 0
74f31000-75000000 ---p 00000000 00:00 0
75100000-75200000 rw-p 00000000 00:00 0
752a8000-752a9000 ---p 00000000 00:00 0
752a9000-753a9000 rw-p 00000000 00:00 0 [stack:22145]
753a9000-753ab000 r-xp 00000000 b3:02 68635 /lib/libnss_mdns4.so.2
753ab000-753b2000 ---p 00002000 b3:02 68635 /lib/libnss_mdns4.so.2
753b2000-753b3000 rw-p 00001000 b3:02 68635 /lib/libnss_mdns4.so.2
753b3000-753b7000 r-xp 00000000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753b7000-753be000 ---p 00004000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753be000-753bf000 r--p 00003000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753bf000-753c0000 rw-p 00004000 b3:02 4255 /lib/arm-linux-gnueabihf/libnss_dns-2.13.so
753c0000-753c2000 r-xp 00000000 b3:02 68636 /lib/libnss_mdns4_minimal.so.2
753c2000-753c9000 ---p 00002000 b3:02 68636 /lib/libnss_mdns4_minimal.so.2
753c9000-753ca000 rw-p 00001000 b3:02 68636 /lib/libnss_mdns4_minimal.so.2
753ca000-753cb000 ---p 00000000 00:00 0
753cb000-7544a000 rw-p 00000000 00:00 0
7544a000-75453000 r-xp 00000000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
75453000-7545a000 ---p 00009000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
7545a000-7545b000 r--p 00008000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
7545b000-7545c000 rw-p 00009000 b3:02 4263 /lib/arm-linux-gnueabihf/libnss_nis-2.13.so
7545c000-7546d000 r-xp 00000000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
7546d000-75474000 ---p 00011000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
75474000-75475000 r--p 00010000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
75475000-75476000 rw-p 00011000 b3:02 4257 /lib/arm-linux-gnueabihf/libnsl-2.13.so
75476000-75478000 rw-p 00000000 00:00 0
75478000-7547e000 r-xp 00000000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
7547e000-75485000 ---p 00006000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
75485000-75486000 r--p 00005000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
75486000-75487000 rw-p 00006000 b3:02 4259 /lib/arm-linux-gnueabihf/libnss_compat-2.13.so
75488000-75489000 ---p 00000000 00:00 0
75489000-75498000 rw-p 00000000 00:00 0 [stack:22157]
75498000-754a2000 r-xp 00000000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754a2000-754a9000 ---p 0000a000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754a9000-754aa000 r--p 00009000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754aa000-754ab000 rw-p 0000a000 b3:02 4245 /lib/arm-linux-gnueabihf/libnss_files-2.13.so
754ab000-7556a000 r-xp 00000000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
7556a000-75571000 ---p 000bf000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
75571000-75575000 r--p 000be000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
75575000-75577000 rw-p 000c2000 b3:02 16117 /usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.19
75577000-7557d000 rw-p 00000000 00:00 0
7557d000-759bc000 r-xp 00000000 b3:02 529565 /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/init.so
759bc000-759c4000 ---p 0043f000 b3:02 529565 /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/init.so
759c4000-759e3000 rw-p 0043f000 b3:02 529565 /var/lib/gems/1.9.1/gems/therubyracer-0.12.1/lib/v8/init.so
759e3000-759e4000 rw-p 00000000 00:00 0
TOO LONG TO INCLUDE PLEASE ASK FOR INFORMATION IF NEEDED
76620000-76621000 r-xp 00000000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
76621000-76628000 ---p 00001000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
76628000-76629000 r--p 00000000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
76629000-7662a000 rw-p 00001000 b3:02 529172 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32le.so
7662a000-7662b000 r-xp 00000000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
7662b000-76632000 ---p 00001000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
76632000-76633000 r--p 00000000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
76633000-76634000 rw-p 00001000 b3:02 529171 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_32be.so
76634000-76635000 r-xp 00000000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
76635000-7663c000 ---p 00001000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
7663c000-7663d000 r--p 00000000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
7663d000-7663e000 rw-p 00001000 b3:02 529170 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16le.so
7663e000-7663f000 r-xp 00000000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
7663f000-76646000 ---p 00001000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
76646000-76647000 r--p 00000000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
76647000-76648000 rw-p 00001000 b3:02 529169 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/utf_16be.so
76648000-7664d000 r-xp 00000000 b3:02 395321 /var/lib/gems/1.9.1/gems/json-1.8.2/lib/json/ext/parser.so
7664d000-76654000 ---p 00005000 b3:02 395321 /var/lib/gems/1.9.1/gems/json-1.8.2/lib/json/ext/parser.so
76654000-76655000 rw-p 00004000 b3:02 395321 /var/lib/gems/1.9.1/gems/json-1.8.2/lib/json/ext/parser.so
76655000-76657000 r-xp 00000000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
76657000-7665e000 ---p 00002000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
7665e000-7665f000 r--p 00001000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
7665f000-76660000 rw-p 00002000 b3:02 529176 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/md5.so
76660000-7666a000 r-xp 00000000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
7666a000-76671000 ---p 0000a000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
76671000-76672000 r--p 00009000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
76672000-76673000 rw-p 0000a000 b3:02 529224 /usr/lib/ruby/1.9.1/arm-linux-eabihf/zlib.so
76673000-76692000 r-xp 00000000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
76692000-76699000 ---p 0001f000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
76699000-7669a000 r--p 0001e000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
7669a000-7669b000 rw-p 0001f000 b3:02 529219 /usr/lib/ruby/1.9.1/arm-linux-eabihf/socket.so
7669b000-766a9000 r-xp 00000000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766a9000-766b0000 ---p 0000e000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766b0000-766b1000 r--p 0000d000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766b1000-766b2000 rw-p 0000e000 b3:02 529196 /usr/lib/ruby/1.9.1/arm-linux-eabihf/bigdecimal.so
766b2000-766d9000 r-xp 00000000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766d9000-766e1000 ---p 00027000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766e1000-766e2000 r--p 00027000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766e2000-766e3000 rw-p 00028000 b3:02 529200 /usr/lib/ruby/1.9.1/arm-linux-eabihf/date_core.so
766e3000-766fc000 r-xp 00000000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
766fc000-76703000 ---p 00019000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
76703000-76704000 r--p 00018000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
76704000-76705000 rw-p 00019000 b3:02 53223 /usr/lib/arm-linux-gnueabihf/libyaml-0.so.2.0.2
7670c000-7670d000 r-xp 00000000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
7670d000-76714000 ---p 00001000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
76714000-76715000 r--p 00000000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
76715000-76716000 rw-p 00001000 b3:02 529151 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/iso_8859_1.so
76716000-7671b000 r-xp 00000000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
7671b000-76722000 ---p 00005000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
76722000-76723000 r--p 00004000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
76723000-76724000 rw-p 00005000 b3:02 529214 /usr/lib/ruby/1.9.1/arm-linux-eabihf/psych.so
76724000-76725000 r-xp 00000000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
76725000-7672c000 ---p 00001000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
7672c000-7672d000 r--p 00000000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
7672d000-7672e000 rw-p 00001000 b3:02 529205 /usr/lib/ruby/1.9.1/arm-linux-eabihf/fcntl.so
7672e000-76742000 r-xp 00000000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
76742000-7674a000 ---p 00014000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
7674a000-7674b000 r--p 00014000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
7674b000-7674c000 rw-p 00015000 b3:02 5186 /lib/arm-linux-gnueabihf/libz.so.1.2.7
7674c000-7688f000 r-xp 00000000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
7688f000-76897000 ---p 00143000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
76897000-768a4000 r--p 00143000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
768a4000-768ac000 rw-p 00150000 b3:02 10829 /usr/lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
768ac000-768b0000 rw-p 00000000 00:00 0
768b0000-768f4000 r-xp 00000000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
768f4000-768fb000 ---p 00044000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
768fb000-768fd000 r--p 00043000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
768fd000-76901000 rw-p 00045000 b3:02 10828 /usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0
76904000-76909000 r-xp 00000000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76909000-76910000 ---p 00005000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76910000-76911000 r--p 00004000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76911000-76912000 rw-p 00005000 b3:02 529220 /usr/lib/ruby/1.9.1/arm-linux-eabihf/stringio.so
76912000-76953000 r-xp 00000000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
76953000-7695a000 ---p 00041000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
7695a000-7695b000 r--p 00040000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
7695b000-7695d000 rw-p 00041000 b3:02 529212 /usr/lib/ruby/1.9.1/arm-linux-eabihf/openssl.so
7695d000-76961000 r-xp 00000000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
76961000-76968000 ---p 00004000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
76968000-76969000 r--p 00003000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
76969000-7696a000 rw-p 00004000 b3:02 529221 /usr/lib/ruby/1.9.1/arm-linux-eabihf/strscan.so
7696a000-7696c000 r-xp 00000000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
7696c000-76974000 ---p 00002000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
76974000-76975000 r--p 00002000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
76975000-76976000 rw-p 00003000 b3:02 529202 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest.so
76976000-76979000 r-xp 00000000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76979000-76980000 ---p 00003000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76980000-76981000 r--p 00002000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76981000-76982000 rw-p 00003000 b3:02 529178 /usr/lib/ruby/1.9.1/arm-linux-eabihf/digest/sha1.so
76982000-76984000 r-xp 00000000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
76984000-7698b000 ---p 00002000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
7698b000-7698c000 r--p 00001000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
7698c000-7698d000 rw-p 00002000 b3:02 529204 /usr/lib/ruby/1.9.1/arm-linux-eabihf/etc.so
7698d000-76992000 r-xp 00000000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
76992000-76999000 ---p 00005000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
76999000-7699a000 r--p 00004000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
7699a000-7699b000 rw-p 00005000 b3:02 529213 /usr/lib/ruby/1.9.1/arm-linux-eabihf/pathname.so
7699b000-7699d000 r-xp 00000000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
7699d000-769a4000 ---p 00002000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
769a4000-769a5000 r--p 00001000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
769a5000-769a6000 rw-p 00002000 b3:02 529122 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/trans/transdb.so
769a6000-76a27000 rw-p 00000000 00:00 0
76a27000-76b9e000 r--p 00000000 b3:02 16545 /usr/lib/locale/locale-archive
76b9e000-76bbe000 r-xp 00000000 b3:02 16120 /lib/arm-linux-gnueabihf/libgcc_s.so.1
76bbe000-76bc5000 ---p 00020000 b3:02 16120 /lib/arm-linux-gnueabihf/libgcc_s.so.1
76bc5000-76bc6000 rw-p 0001f000 b3:02 16120 /lib/arm-linux-gnueabihf/libgcc_s.so.1
76bc6000-76cea000 r-xp 00000000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cea000-76cf1000 ---p 00124000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cf1000-76cf3000 r--p 00123000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cf3000-76cf4000 rw-p 00125000 b3:02 4254 /lib/arm-linux-gnueabihf/libc-2.13.so
76cf4000-76cf7000 rw-p 00000000 00:00 0
76cf7000-76d5f000 r-xp 00000000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d5f000-76d66000 ---p 00068000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d66000-76d67000 r--p 00067000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d67000-76d68000 rw-p 00068000 b3:02 4262 /lib/arm-linux-gnueabihf/libm-2.13.so
76d68000-76d6f000 r-xp 00000000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d6f000-76d76000 ---p 00007000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d76000-76d77000 r--p 00006000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d77000-76d78000 rw-p 00007000 b3:02 4253 /lib/arm-linux-gnueabihf/libcrypt-2.13.so
76d78000-76d9f000 rw-p 00000000 00:00 0
76d9f000-76da1000 r-xp 00000000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76da1000-76da8000 ---p 00002000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76da8000-76da9000 r--p 00001000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76da9000-76daa000 rw-p 00002000 b3:02 4260 /lib/arm-linux-gnueabihf/libdl-2.13.so
76daa000-76db0000 r-xp 00000000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db0000-76db7000 ---p 00006000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db7000-76db8000 r--p 00005000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db8000-76db9000 rw-p 00006000 b3:02 4241 /lib/arm-linux-gnueabihf/librt-2.13.so
76db9000-76dcd000 r-xp 00000000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dcd000-76dd4000 ---p 00014000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dd4000-76dd5000 r--p 00013000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dd5000-76dd6000 rw-p 00014000 b3:02 4247 /lib/arm-linux-gnueabihf/libpthread-2.13.so
76dd6000-76dd8000 rw-p 00000000 00:00 0
76dd8000-76f81000 r-xp 00000000 b3:02 19084 /usr/lib/libruby-1.9.1.so.1.9.1
76f81000-76f88000 ---p 001a9000 b3:02 19084 /usr/lib/libruby-1.9.1.so.1.9.1
76f88000-76f8d000 rw-p 001a8000 b3:02 19084 /usr/lib/libruby-1.9.1.so.1.9.1
76f8d000-76f9c000 rw-p 00000000 00:00 0
76f9e000-76fa0000 r-xp 00000000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa0000-76fa7000 ---p 00002000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa7000-76fa8000 r--p 00001000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa8000-76fa9000 rw-p 00002000 b3:02 529141 /usr/lib/ruby/1.9.1/arm-linux-eabihf/enc/encdb.so
76fa9000-76faa000 ---p 00000000 00:00 0
76faa000-76fad000 rw-p 00000000 00:00 0 [stack:22096]
76fad000-76faf000 r-xp 00000000 b3:02 27297 /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
76faf000-76fb6000 ---p 00002000 b3:02 27297 /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
76fb6000-76fb7000 rw-p 00001000 b3:02 27297 /usr/lib/arm-linux-gnueabihf/libcofi_rpi.so
76fb7000-76fd4000 r-xp 00000000 b3:02 4248 /lib/arm-linux-gnueabihf/ld-2.13.so
76fd6000-76fdc000 rw-p 00000000 00:00 0
76fdc000-76fdd000 r--p 0001d000 b3:02 4248 /lib/arm-linux-gnueabihf/ld-2.13.so
76fdd000-76fde000 rw-p 0001e000 b3:02 4248 /lib/arm-linux-gnueabihf/ld-2.13.so
7ed80000-7eda1000 rw-p 00000000 00:00 0 [stack]
7ee3d000-7ee3e000 r-xp 00000000 00:00 0 [sigpage]
ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Aborted
This is a known issue. The solution is to remove therubyracer gem from your Gemfile. Then install nodejs on your Pi, which you can do with the following command:
apt-get install nodejs
When i build gcc-4.0.4 (on Ubuntu 10.10), there is a problem:
arm-linux-ar rc ./libgcc.a libgcc/./_udivsi3.o libgcc/./_divsi3.o
libgcc/./_umodsi3.o libgcc/./_modsi3.o libgcc/./_dvmd_lnx.o
libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o
libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o
libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o
libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o
libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o
libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o
libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o
libgcc/./_floatditf.o libgcc/./_clear_cache.o
libgcc/./_enable_execute_stack.o libgcc/./trampoline.o
libgcc/./_main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o
libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o
libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o
libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o
libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o
libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o
libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o
libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o
libgcc/./_powisf2.o libgcc/./_powidf2.o libgcc/./_powixf2.o
libgcc/./_powitf2.o libgcc/./_mulsc3.o libgcc/./_muldc3.o
libgcc/./_mulxc3.o libgcc/./_multc3.o libgcc/./_divsc3.o
libgcc/./_divdc3.o libgcc/./_divxc3.o libgcc/./_divtc3.o
libgcc/./eprintf.o libgcc/./_gcc_bcmp.o libgcc/./_divdi3.o
libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./unwind-dw2.o
libgcc/./unwind-dw2-fde-glibc.o libgcc/./unwind-sjlj.o
libgcc/./gthr-gnat.o libgcc/./unwind-c.o
* buffer overflow detected *: arm-linux-ar terminated
======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x50)[0x8f1890]
/lib/libc.so.6(+0xe478a)[0x8f078a] /lib/libc.so.6(+0xe3ec8)[0x8efec8]
/lib/libc.so.6(_IO_default_xsputn+0x9e)[0x8765ee]
/lib/libc.so.6(_IO_padn+0xd8)[0x869f78]
/lib/libc.so.6(_IO_vfprintf+0x2b79)[0x84bd89]
/lib/libc.so.6(__vsprintf_chk+0xad)[0x8eff7d]
/lib/libc.so.6(__sprintf_chk+0x2d)[0x8efebd] arm-linux-ar[0x8050c05]
arm-linux-ar[0x804ed7e] arm-linux-ar[0x805168c]
arm-linux-ar[0x8055178] arm-linux-ar[0x804b7d2]
arm-linux-ar[0x804c494]
/lib/libc.so.6(__libc_start_main+0xe7)[0x822ce7]
arm-linux-ar[0x80496e1]
======= Memory map: ======== 003e4000-00400000 r-xp 00000000 08:01 131636 /lib/ld-2.12.1.so 00400000-00401000 r--p 0001b000 08:01
131636 /lib/ld-2.12.1.so 00401000-00402000 rw-p 0001c000 08:01
131636 /lib/ld-2.12.1.so 006b2000-006cc000 r-xp 00000000 08:01
131244 /lib/libgcc_s.so.1 006cc000-006cd000 r--p 00019000 08:01
131244 /lib/libgcc_s.so.1 006cd000-006ce000 rw-p 0001a000 08:01
131244 /lib/libgcc_s.so.1 0080c000-00963000 r-xp 00000000 08:01
132225 /lib/libc-2.12.1.so 00963000-00965000 r--p 00157000 08:01
132225 /lib/libc-2.12.1.so 00965000-00966000 rw-p 00159000 08:01
132225 /lib/libc-2.12.1.so 00966000-00969000 rw-p 00000000 00:00 0
00a42000-00a43000 r-xp 00000000 00:00 0 [vdso]
08048000-08097000 r-xp 00000000 08:01 427851
/home/zouhansi/armlinux/tools/bin/arm-linux-ar 08097000-08098000 r--p
0004e000 08:01 427851
/home/zouhansi/armlinux/tools/bin/arm-linux-ar 08098000-08099000 rw-p
0004f000 08:01 427851
/home/zouhansi/armlinux/tools/bin/arm-linux-ar 08099000-0809d000 rw-p
00000000 00:00 0 09354000-09558000 rw-p 00000000 00:00 0
[heap] b74c1000-b74c8000 r--s 00000000 08:01 661517
/usr/lib/gconv/gconv-modules.cache b74c8000-b765b000 r--p 002a3000
08:01 657761 /usr/lib/locale/locale-archive b765b000-b785b000 r--p
00000000 08:01 657761 /usr/lib/locale/locale-archive
b785b000-b785c000 rw-p 00000000 00:00 0 b785f000-b786b000 rw-p
00000000 00:00 0 bf839000-bf85c000 rw-p 00000000 00:00 0
[stack]
I find some solution from network to add "-D_FORTIFY_SOURCE=0" in
CFLAGS. I had edit Makefile like this: CFLAGS_FOR_BUILD = -g -O2
-D_FORTIFY_SOURCE=0
I make it again. But this problem is occured again.
Could you give some comments? Thanks a lot.
I had a similar problem building a GCC cross-compiler - it seems binutils is full of unsafe calls to sprintf().
A workaround which worked for me was to set:
export CFLAGS="-fno-stack-protector -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
These have to be set before running ../src/configure.
There seems to be a binutils patch here: http://www.redhat.com/archives/fedora-extras-commits/2009-November/msg06284.html but it didn't apply cleanly to the source I was using, so I stuck with CFLAGS hack.
After I cross-compiled GCC with the latest version of binutils, it worked and I didn't get the buffer overflow anymore.
This was the line I used, after I installed the latest binutils:
../gcc-4.5.1/configure --target=arm-linux --prefix=/.../toolchain/bin/binutils --disable-nls --disable-multilib --disable-shared --disable-decimal-float --disable--threads --disable-libmudflap --disable-libssp --disable-libgomp --enable-languages=c --with-system-zlib --with-newlib
my program was compiled properly with "make" on Ubuntu 11.04, but when i run it, it give error.
is this a bug on Ubuntu? or this is difference in variable types between compilers?
pls help me
*** buffer overflow detected ***: src/trilearn_player terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x9cd0a0]
/lib/i386-linux-gnu/libc.so.6(+0xe5f7a)[0x9cbf7a]
/lib/i386-linux-gnu/libc.so.6(__strcpy_chk+0x3f)[0x9cb30f]
src/trilearn_player[0x804dd24]
src/trilearn_player[0x808b2d5]
src/trilearn_player[0x80920cf]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x8fce37]
src/trilearn_player[0x804a421]
======= Memory map: ========
00139000-0015d000 r-xp 00000000 08:0b 6060 /lib/i386-linux-gnu/libm-2.13.so
0015d000-0015e000 r--p 00023000 08:0b 6060 /lib/i386-linux-gnu/libm-2.13.so
0015e000-0015f000 rw-p 00024000 08:0b 6060 /lib/i386-linux-gnu/libm-2.13.so
001b4000-001b5000 r-xp 00000000 00:00 0 [vdso]
00488000-0049d000 r-xp 00000000 08:0b 6831 /lib/i386-linux-gnu/libpthread-2.13.so
0049d000-0049e000 r--p 00015000 08:0b 6831 /lib/i386-linux-gnu/libpthread-2.13.so
0049e000-0049f000 rw-p 00016000 08:0b 6831 /lib/i386-linux-gnu/libpthread-2.13.so
0049f000-004a1000 rw-p 00000000 00:00 0
00558000-00637000 r-xp 00000000 08:0b 134145
00637000-0063b000 r--p 000de000 08:0b 134145 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
0063b000-0063c000 rw-p 000e2000 08:0b 134145 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14
0063c000-00643000 rw-p 00000000 00:00 0
0087b000-00885000 r-xp 00000000 08:0b 6826 /lib/i386-linux-gnu/libnss_files-2.13.so
00885000-00886000 r--p 00009000 08:0b 6826 /lib/i386-linux-gnu/libnss_files-2.13.so
00886000-00887000 rw-p 0000a000 08:0b 6826 /lib/i386-linux-gnu/libnss_files-2.13.so
008e6000-00a42000 r-xp 00000000 08:0b 5792 /lib/i386-linux-gnu/libc-2.13.so
/lib/i386-linux-gnu/libc.so.6(__strcpy_chk+0x3f)[0x9cb30f]
Looks like you copy too many chars to the destination.
How do I determine if a segfault is due to inconsistent libraries, or a bug in some gem I'm using?
$ uname -a
Linux [redacted] 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ ruby1.9.1 --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
$ CPUPROFILE_OBJECTS=1 CPUPROFILE=/tmp/my_app_profile_objects RUBYOPT="-r`gem1.9.1 which perftools | tail -1`" ruby1.9.1 -e '[].map'
-e:1: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :map
c:0003 p:0010 s:0006 b:0006 l:0011f8 d:0002f8 EVAL -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0011f8 d:0011f8 TOP
-- Ruby level backtrace information ----------------------------------------
-e:1:in `<main>'
-e:1:in `map'
-- C level backtrace information -------------------------------------------
/usr/lib/libruby-1.9.1.so.1.9(+0x155b29) [0x7fd39f1dab29] ../sysdeps/x86_64/multiarch/strcpy-ssse3.S:1638
/usr/lib/libruby-1.9.1.so.1.9(+0x57709) [0x7fd39f0dc709] vfscanf.c:1777
/usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xb7) [0x7fd39f0dd137] vfscanf.c:1796
/usr/lib/libruby-1.9.1.so.1.9(+0xf604f) [0x7fd39f17b04f] wcfuncs.c:49
/lib/x86_64-linux-gnu/libc.so.6(+0x364c0) [0x7fd39ecfe4c0] ../sysdeps/posix/killpg.c:38
/usr/lib/libruby-1.9.1.so.1.9(rb_check_type+0xd8) [0x7fd39f0de7e8] vfscanf.c:1963
/usr/lib/libruby-1.9.1.so.1.9(rb_data_typed_object_alloc+0xad) [0x7fd39f0f340d] iofdopen.c:51
/usr/lib/libruby-1.9.1.so.1.9(+0x54f9f) [0x7fd39f0d9f9f] vfscanf.c:2014
/usr/lib/libruby-1.9.1.so.1.9(rb_enumeratorize+0x33) [0x7fd39f0dae33] vfscanf.c:2373
/usr/lib/libruby-1.9.1.so.1.9(+0x14e9a1) [0x7fd39f1d39a1] ../sysdeps/x86_64/multiarch/../strcmp.S:293
/usr/lib/libruby-1.9.1.so.1.9(+0x145912) [0x7fd39f1ca912] ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2001
/usr/lib/libruby-1.9.1.so.1.9(+0x14b31d) [0x7fd39f1d031d] ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:2032
/usr/lib/libruby-1.9.1.so.1.9(rb_iseq_eval_main+0xaf) [0x7fd39f1d769f] ../sysdeps/x86_64/multiarch/../strcmp.S:1811
/usr/lib/libruby-1.9.1.so.1.9(+0x5b172) [0x7fd39f0e0172] vfscanf.c:1471
/usr/lib/libruby-1.9.1.so.1.9(ruby_exec_node+0x1d) [0x7fd39f0e0c5d] vfscanf.c:2288
/usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x1e) [0x7fd39f0e280e] psiginfo.c:209
ruby1.9.1() [0x4007db]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fd39ece976d] libc-start.c:226
ruby1.9.1() [0x400809]
-- Other runtime information -----------------------------------------------
* Loaded script: -e
* Loaded features:
0 enumerator.so
1 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
2 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
3 /usr/lib/ruby/1.9.1/rubygems/defaults.rb
4 /usr/lib/ruby/1.9.1/x86_64-linux/rbconfig.rb
5 /usr/lib/ruby/1.9.1/rubygems/deprecate.rb
6 /usr/lib/ruby/1.9.1/rubygems/exceptions.rb
7 /usr/lib/ruby/1.9.1/rubygems/custom_require.rb
8 /usr/lib/ruby/1.9.1/rubygems.rb
9 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
* Process memory map:
00400000-00401000 r-xp 00000000 08:07 704429 /usr/bin/ruby1.9.1
00600000-00601000 r--p 00000000 08:07 704429 /usr/bin/ruby1.9.1
00601000-00602000 rw-p 00001000 08:07 704429 /usr/bin/ruby1.9.1
01464000-016e4000 rw-p 00000000 00:00 0 [heap]
7fd39c3e1000-7fd39cf53000 rw-p 00000000 00:00 0
7fd39cf53000-7fd39cf68000 r-xp 00000000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39cf68000-7fd39d167000 ---p 00015000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d167000-7fd39d168000 r--p 00014000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d168000-7fd39d169000 rw-p 00015000 08:06 5443 /lib/x86_64-linux-gnu/libgcc_s.so.1
7fd39d169000-7fd39d24b000 r-xp 00000000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d24b000-7fd39d44a000 ---p 000e2000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d44a000-7fd39d452000 r--p 000e1000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d452000-7fd39d454000 rw-p 000e9000 08:07 137087 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7fd39d454000-7fd39d469000 rw-p 00000000 00:00 0
7fd39d469000-7fd39d47d000 r-xp 00000000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d47d000-7fd39d67c000 ---p 00014000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67c000-7fd39d67d000 r--p 00013000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67d000-7fd39d67e000 rw-p 00014000 08:06 144897 /var/lib/gems/1.9.1/gems/perftools.rb-2.0.0/lib/perftools.so
7fd39d67e000-7fd39d682000 rw-p 00000000 00:00 0
7fd39d682000-7fd39d684000 r-xp 00000000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d684000-7fd39d884000 ---p 00002000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d884000-7fd39d885000 r--p 00002000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d885000-7fd39d886000 rw-p 00003000 08:07 157727 /usr/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7fd39d886000-7fd39d888000 r-xp 00000000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39d888000-7fd39da87000 ---p 00002000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da87000-7fd39da88000 r--p 00001000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da88000-7fd39da89000 rw-p 00002000 08:07 157743 /usr/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7fd39da89000-7fd39e16c000 r--p 00000000 08:07 134744 /usr/lib/locale/locale-archive
7fd39e16c000-7fd39e265000 r-xp 00000000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e265000-7fd39e464000 ---p 000f9000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e464000-7fd39e465000 r--p 000f8000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e465000-7fd39e466000 rw-p 000f9000 08:06 5454 /lib/x86_64-linux-gnu/libm-2.15.so
7fd39e466000-7fd39e46f000 r-xp 00000000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e46f000-7fd39e66f000 ---p 00009000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e66f000-7fd39e670000 r--p 00009000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e670000-7fd39e671000 rw-p 0000a000 08:06 5430 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7fd39e671000-7fd39e69f000 rw-p 00000000 00:00 0
7fd39e69f000-7fd39e6a1000 r-xp 00000000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e6a1000-7fd39e8a1000 ---p 00002000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a1000-7fd39e8a2000 r--p 00002000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a2000-7fd39e8a3000 rw-p 00003000 08:06 5435 /lib/x86_64-linux-gnu/libdl-2.15.so
7fd39e8a3000-7fd39e8aa000 r-xp 00000000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39e8aa000-7fd39eaa9000 ---p 00007000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaa9000-7fd39eaaa000 r--p 00006000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaaa000-7fd39eaab000 rw-p 00007000 08:06 5508 /lib/x86_64-linux-gnu/librt-2.15.so
7fd39eaab000-7fd39eac3000 r-xp 00000000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39eac3000-7fd39ecc2000 ---p 00018000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc2000-7fd39ecc3000 r--p 00017000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc3000-7fd39ecc4000 rw-p 00018000 08:06 5502 /lib/x86_64-linux-gnu/libpthread-2.15.so
7fd39ecc4000-7fd39ecc8000 rw-p 00000000 00:00 0
7fd39ecc8000-7fd39ee7b000 r-xp 00000000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39ee7b000-7fd39f07a000 ---p 001b3000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f07a000-7fd39f07e000 r--p 001b2000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f07e000-7fd39f080000 rw-p 001b6000 08:06 5422 /lib/x86_64-linux-gnu/libc-2.15.so
7fd39f080000-7fd39f085000 rw-p 00000000 00:00 0
7fd39f085000-7fd39f0f0000 r-xp 00000000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f0f0000-7fd39f0f3000 rwxp 0006b000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f0f3000-7fd39f275000 r-xp 0006e000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f275000-7fd39f474000 ---p 001f0000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f474000-7fd39f479000 r--p 001ef000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f479000-7fd39f47d000 rw-p 001f4000 08:07 158047 /usr/lib/libruby-1.9.1.so.1.9.1
7fd39f47d000-7fd39f499000 rw-p 00000000 00:00 0
7fd39f499000-7fd39f4bb000 r-xp 00000000 08:06 5402 /lib/x86_64-linux-gnu/ld-2.15.so
7fd39f59b000-7fd39f6a1000 rw-p 00000000 00:00 0
7fd39f6b4000-7fd39f6b5000 rw-p 00000000 00:00 0
7fd39f6b5000-7fd39f6b6000 ---p 00000000 00:00 0
7fd39f6b6000-7fd39f6bb000 rw-p 00000000 00:00 0
7fd39f6bb000-7fd39f6bc000 r--p 00022000 08:06 5402 /lib/x86_64-linux-gnu/ld-2.15.so
7fd39f6bc000-7fd39f6be000 rw-p 00023000 08:06 5402 /lib/x86_64-linux-gnu/ld-2.15.so
7fff507f8000-7fff50819000 rw-p 00000000 00:00 0 [stack]
7fff50941000-7fff50942000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Aborted (core dumped)
You can find out which part of the software caused a segmentation fault by - and this is probably not a surprise to you - debugging!. As you can see...
Aborted (core dumped)
...there is a core dump.
Just fire up gdb on your executable and the core dump and find out what the parameters to that strcpy (see the first line of your backtrace) were. Then walk backwards trough the stack traces and the code. It seems like debugging symbols have been compiled in, so you are lucky and you can see which function is actually called and what parameters are supplied - at least if the bug did not corrupt the stack.
However, If you are not too familiar with debugging C or assembly code, you probably want to wait for the developers of perftools to debug this issue.
That looks like Ruby itself is crashing, so chances are, it's a bug. Ruby 1.9.3 is the latest, so you might try that to see if the bug is fixed.