Conflict with ruby and nginx on my production server? - ruby-on-rails
I have a weird problem on my production server. There are Ubuntu server, nginx + phusion passenger installed on it. I manage my ruby version with rvm and it's ruby 1.9.3-p327 and rails 3.2.9.
Sometimes, it's impossible to deploy my app because the rake asset:precompile task failed. When I try to execute this directly on my server I have the same problem. Same trace when I run bundle exec rails c production
Here a part (the end) of the trace (I'm sorry, I don't have the complete trace because it's too long):
3.2.0/lib/paperclip.rb
966 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/ancestry-1.3.0/lib/ancestry/class_methods.rb
967 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/ancestry-1.3.0/lib/ancestry/instance_methods.rb
968 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/ancestry-1.3.0/lib/ancestry/exceptions.rb
* Process memory map:
00400000-00401000 r-xp 00000000 09:02 50595451 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
00600000-00601000 r--p 00000000 09:02 50595451 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
00601000-00602000 rw-p 00001000 09:02 50595451 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/bin/ruby
00602000-037a4000 rw-p 00000000 00:00 0 [heap]
7f19e615d000-7f19e615e000 rw-p 00000000 00:00 0
7f19e615e000-7f19e6188000 r-xp 00000000 09:02 50594719 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/socket.so
7f19e6188000-7f19e6387000 ---p 0002a000 09:02 50594719 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/socket.so
7f19e6387000-7f19e6388000 r--p 00029000 09:02 50594719 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/socket.so
7f19e6388000-7f19e6389000 rw-p 0002a000 09:02 50594719 /home/deploy/.rvm/rubies/ruby-1.
9.3-p286/lib/ruby/1.9.1/x86_64-linux/socket.so
7f19e6389000-7f19e638e000 r-xp 00000000 09:02 50594729 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/racc/cparse.so
7f19e638e000-7f19e658d000 ---p 00005000 09:02 50594729 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/racc/cparse.so
7f19e658d000-7f19e658e000 r--p 00004000 09:02 50594729 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/li
b/ruby/1.9.1/x86_64-linux/racc/cparse.so
7f19e658e000-7f19e658f000 rw-p 00005000 09:02 50594729 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/racc/cparse.so
7f19e658f000-7f19e6590000 r-xp 00000000 09:02 50594733 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f19e6590000-7f19e678f000 ---p 00001000 09:02 50594733 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f19e678f000-7f19e6790000 r--p 00000000 09:02 50594733 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f19e6790000-7f19e6791000 rw-p 00001000 09:02 50594733 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest/md5.so
7f19e6791000-7f19e67d1000 rw-p 00000000 00:00 0
7f19e67d1000-7f19e67d2000 ---p 00000000 00:00 0
7f1a0b2e9000-7f1a0b2ea000 r--p 00014000 09:01 132081 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f1a0b2ea000-7f1a0b2eb000 rw-p 00015000 09:01 132081 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f1a0b2eb000-7f1a0b3cd000 r-xp 00000000 09:01 399334 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f1a0b3cd000-7f1a0b5cc000 ---p 000e2000 09:01 399334 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f1a0b5cc000-7f1a0b5d4000 r--p 000e1000 09:01 399334 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f1a0b5d4000-7f1a0b5d6000 rw-p 000e9000 09:01 399334 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16
7f1a0b5d6000-7f1a0b5eb000 rw-p 00000000 00:00 0
7f1a0b5eb000-7f1a0b988000 r-xp 00000000 09:02 50987342 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
7f1a0b988000-7f1a0bb88000 ---p 0039d000 09:02 50987342 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
7f1a0bb88000-7f1a0bbab000 r--p 0039d000 09:02 50987342 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
7f1a0bbab000-7f1a0bbaf000 rw-p 003c0000 09:02 50987342 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/therubyracer-0.10.2/ext/v8/v8.so
7f1a0bbaf000-7f1a0bbb2000 rw-p 00000000 00:00 0
7f1a0bbb2000-7f1a0bc50000 r-xp 00000000 09:01 398982 /usr/lib/x86_64-
7f1a0be9a000-7f1a0c09a000 ---p 00045000 09:01 399309 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f1a0c09a000-7f1a0c09c000 r--p 00045000 09:01 399309 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f1a0c09c000-7f1a0c09e000 rw-p 00047000 09:01 399309 /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7f1a0c09e000-7f1a0c09f000 rw-p 00000000 00:00 0
7f1a0c4d6000-7f1a0c4d7000 rw-p 00028000 09:01 399337 /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7f1a0c4d7000-7f1a0c4da000 r-xp 00000000 09:01 132084 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f1a0c4da000-7f1a0c6d9000 ---p 00003000 09:01 132084 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f1a0c6d9000-7f1a0c6da000 r--p 00002000 09:01 132084 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f1a0c6da000-7f1a0c6db000 rw-p 00003000 09:01 132084 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
7f1a0c6db000-7f1a0c6ec000 r-xp 00000000 09:01 399321 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f1a0c6ec000-7f1a0c8eb000 ---p 00011000 09:01 399321 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f1a0c8eb000-7f1a0c8ec000 r--p 00010000 09:01 399321 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f1a0c8ec000-7f1a0c8ed000 rw-p 00011000 09:01 399321 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0
7f1a0c8ed000-7f1a0c8fd000 r-xp 00000000 09:01 403677 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f1a0c8fd000-7f1a0cafc000 ---p 00010000 09:01 403677 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f1a0cafc000-7f1a0cafd000 r--p 0000f000 09:01 403677 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f1a0cafd000-7f1a0cafe000 rw-p 00010000 09:01 403677 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12
7f1a0cafe000-7f1a0cb12000 r-xp 00000000 09:01 399329 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f1a0cb12000-7f1a0cd11000 ---p 00014000 09:01 399329 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f1a0cd11000-7f1a0cd12000 r--p 00013000 09:01 399329 /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7f1a0cf45000-7f1a0cf46000 rw-p 00032000 09:01 399306 /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7f1a0cf46000-7f1a0cf47000 rw-p 00000000 00:00 0
7f1a0cf47000-7f1a0cfe2000 r-xp 00000000 09:01 399279 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f1a0cfe2000-7f1a0d1e1000 ---p 0009b000 09:01 399279 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f1a0d1e1000-7f1a0d1e3000 r--p 0009a000 09:01 399279 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f1a0d1e3000-7f1a0d1e7000 rw-p 0009c000 09:01 399279 /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7f1a0d1e7000-7f1a0d267000 r-xp 00000000 09:01 399312 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f1a0d267000-7f1a0d467000 ---p 00080000 09:01 399312 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f1a0d467000-7f1a0d469000 r--p 00080000 09:01 399312 /usr/lib/x86_64-linux-gnu/lib
krb5.so.26.0.0
7f1a0d469000-7f1a0d46d000 rw-p 00082000 09:01 399312 /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7f1a0d46d000-7f1a0d473000 r-xp 00000000 09:01 399308 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f1a0d473000-7f1a0d672000 ---p 00006000 09:01 399308 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f1a0d672000-7f1a0d673000 r--p 00005000 09:01 399308 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f1a0d673000-7f1a0d674000 rw-p 00006000 09:01 399308 /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7f1a0d674000-7f1a0d6ee000 r-xp 00000000 09:01 131966 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0
7f1a0d6ee000-7f1a0d8ee000 ---p 0007a000 09:01 131966 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0
7f1a0d8ee000-7f1a0d8ef000 r--p 0007a000 09:01 131966 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0
7f1a0d8ef000-7f1a0d8f2000 rw-p 0007b000 09:01 131966 /lib/x86_64-linux-gnu/libgcrypt.so.11.7.0
7f1a0d8f2000-7f1a0d9a6000 r-xp 00000000 09:01 398964 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8
7f1a0d9a6000-7f1a0dba6000 ---p 000b4000 09:01 398964 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8
7f1a0dba6000-7f1a0dbac000 r--p 000b4000 09:01 398964 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8
7f1a0dbac000-7f1a0dbad000 rw-p 000ba000 09:01 398964 /usr/lib/x86_64-linux-gnu/libgnutls.so.26.21.8
7f1a0dbad000-7f1a0dbae000 rw-p 00000000 00:00 0
7f1a0dbae000-7f1a0dbe8000 r-xp 00000000 09:01 399303 /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7f1a0dbe8000-7f1a0dde8000 ---p 0003a000 09:01 399303 /usr/lib/x86_64-
7f1a0e213000-7f1a0e214000 r--p 0000c000 09:01 403690 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.1
7f1a0e214000-7f1a0e215000 rw-p 0000d000 09:01 403690 /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.8.1
7f1a0e215000-7f1a0e22d000 r-xp 00000000 09:01 132255 /lib/x86_64-
7f1a0eeef000-7f1a0eef0000 r--p 0003b000 09:01 398940 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7f1a0eef0000-7f1a0eef2000 rw-p 0003c000 09:01 398940 /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7f1a0eef2000-7f1a0eef5000 r-xp 00000000 09:01 132073 /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f1a0eef5000-7f1a0f0f4000 ---p 00003000 09:01 132073 /lib/x86_64-linux-gnu/libc
om_err.so.2.1
7f1a0f0f4000-7f1a0f0f5000 r--p 00002000 09:01 132073 /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f1a0f0f5000-7f1a0f0f6000 rw-p 00003000 09:01 132073 /lib/x86_64-linux-gnu/libcom_err.so.2.1
7f1a0f0f6000-7f1a0f1ba000 r-xp 00000000 09:01 398933 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f1a0f1ba000-7f1a0f3b9000 ---p 000c4000 09:01 398933 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f1a0f3b9000-7f1a0f3c3000 r--p 000c3000 09:01 398933 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f1a0f3c3000-7f1a0f3c4000 rw-p 000cd000 09:01 398933 /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7f1a0f3c4000-7f1a0f3ed000 r-xp 00000000 09:01 408194 /usr/lib/libpq.so.5.4
7f1a0f3ed000-7f1a0f5ec000 ---p 00029000 09:01 408194 /usr/lib/libpq.so.5.4
7f1a0f5ec000-7f1a0f5ee000 r--p 00028000 09:01 408194 /usr/lib/libpq.so.5.4
7f1a0f5ee000-7f1a0f5f0000 rw-p 0002a000 09:01 408194 /usr/lib/libpq.so.5.4
7f1a0f5f0000-7f1a0f601000 r-xp 00000000 09:02 50728854 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/pg-0.14.1/lib/pg_ext.so
7f1a0f601000-7f1a0f801000 ---p 00011000 09:02 50728854 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/pg-0.14.1/lib/pg_ext.so
7f1a0f801000-7f1a0f802000 r--p 00011000 09:02 50728854 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/pg-0.14.1/lib/pg_ext.so
7f1a
0f802000-7f1a0f803000 rw-p 00012000 09:02 50728854 /home/deploy/www/limouzi/shared/bundle/ruby/1.9.1/gems/pg-0.14.1/lib/pg_ext.so
7f1a0f803000-7f1a0f816000 r-xp 00000000 09:02 50594709 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/bigdecimal.so
7f1a0f816000-7f1a0fa15000 ---p 00013000 09:02 50594709 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/bigdecimal.so
7f1a0fa15000-7f1a0fa16000 r--p 00012000 09:02 50594709 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/bigdecimal.so
7f1a0fa16000-7f1a0fa17000 rw-p 00013000 09:02 50594709 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/bigdecimal.so
7f1a0fa17000-7f1a0fa18000 r-xp 00000000 09:02 50594712 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/fcntl.so
7f1a0fa18000-7f1a0fc17000 ---p 00001000 09:02 50594712 /home/deploy/.rvm/rubies/rub
y-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/fcntl.so
7f1a0fc17000-7f1a0fc18000 r--p 00000000 09:02 50594712 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/fcntl.so
7f1a0fc18000-7f1a0fc19000 rw-p 00001000 09:02 50594712 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/fcntl.so
7f1a0fc19000-7f1a0fc6b000 r-xp 00000000 09:01 131958 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f1a0fc6b000-7f1a0fe6b000 ---p 00052000 09:01 131958 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f1a0fe6b000-7f1a0fe6e000 r--p 00052000 09:01 131958 /lib/x86_64-linux-gnu/libssl.so.1.0.0
7f1a0fe6e000-7f1a0fe74000 rw-p 00055000 09:01 131958 /lib/x86_6
4-linux-gnu/libssl.so.1.0.0
7f1a0fe74000-7f1a0fe75000 rw-p 00000000 00:00 0
7f1a0fe75000-7f1a0fecc000 r-xp 00000000 09:02 50594724 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/openssl.so
7f1a0fecc000-7f1a100cc000
---p 00057000 09:02 50594724 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/openssl.so
7f1a100cc000-7f1a100cd000 r--p 00057000 09:02 50594724 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/openssl.so
7f1a100cd000-7f1a100cf000 rw-p 00058000 09:02 50594724 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/openssl.so
7f1a100cf000-7f1a100d0000 rw-p 00000000 00:00 0
7f1a100d0000-7f1a100df000 r-xp
00000000 09:02 50594723 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f1a100df000-7f1a102de000 ---p 0000f000 09:02 50594723 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f1a102de000-7f1a102df000 r--p 0000e000 09:02 50594723 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f1a102df000-7f1a102e0000 rw-p 0000f000 09:02 50594723 /home/deploy/.rvm/r
ubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/zlib.so
7f1a102e0000-7f1a102e2000 r-xp 00000000 09:02 50594806 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_1.so
7f1a102e2000-7f1a104e1000 ---p 00002000 09:02 50594806 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_1.so
7f1a104e1000-7f1a104e2000 r--p 00001000 09:02 50594806 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_1.so
7f1a104e2000-7f1a104e3000 rw-p 00002000 09:02 50594806 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/iso_8859_1.so
7f1a104e3000-7f1a104e6000 r-xp 00000000 09:02 50594833
/home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest.so
7f1a104e6000-7f1a106e5000 ---p 00003000 09:02 50594833 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest.so
7f1a106e5000-7f1a106e6
000 r--p 00002000 09:02 50594833 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest.so
7f1a106e6000-7f1a106e7000 rw-p 00003000 09:02 50594833 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest.so
7f1a106e7000-7f1a106fd000 r-xp 00000000 09:01 132127 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f1a106fd000-7f1a108fc000 ---p 00016000 09:01 132127 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f1a108fc000-7f1a108fd000 r--p 00015000 09:01 132127 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f1a108fd000-7f1a108fe000 rw-p 00016000 09:01 132127 /lib/x86_64-linux-gnu/libz.so.1.2.3.4
7f1a108fe000-7f1a10a9d000 r-xp 00000000 09
:01 131959 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f1a10a9d000-7f1a10c9c000 ---p 0019f000 09:01 131959 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f1a10c9c000-7f1a10cb7000 r--p 0019e000 09:01 131959
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f1a10cb7000-7f1a10cc2000 rw-p 001b9000 09:01 131959 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
7f1a10cc2000-7f1a10cc6000 rw-p 00000000 00:00 0
7f1a10cc6000-7f1a10cc7000 r-xp 00000000 09:02 50594731 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so
7f1a10cc7000-7f1a10ec6000 ---p 00001000 09:02 50594731 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest
/sha1.so
7f1a10ec6000-7f1a10ec7000 r--p 00000000 09:02 50594731 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so
7f1a10ec7000-7f1a10ec8000 rw-p 00001000 09:02 50594731 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/digest/sha1.so
7f1a10ec8000-7f1a10efa000 r-xp 00000000 09:02 50594827 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/date_core.so
7f1a10efa000-7f1a110fa000 ---p 000
32000 09:02 50594827 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/date_core.so
7f1a110fa000-7f1a110fb000 r--p 00032000 09:02 50594827 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/date_core.so
7f1a110fb000-7f1a110fd000 rw-p 00033000 09:02 50594827 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/date_core.so
7f1a110fd000-7f1a110fe000 rw-p 00000000 00:00 0
7f1a110fe000-7f1a11104000 r-xp 00000000 09:02 50594828 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/strscan.so
7f1a11104000-7f1a11303000 ---p 00006000 09:02 50594828 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64
-linux/strscan.so
7f1a11303000-7f1a11304000 r--p 00005000 09:02 50594828 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/strscan.so
7f1a11304000-7f1a11305000 rw-p 00006000 09:02 50594828 /home/deploy
/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/strscan.so
7f1a11305000-7f1a1130c000 r-xp 00000000 09:02 50594711 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/stringio.so
7f1a1130c000-7f1a1150b000 ---p 00007000 09:02 50594711 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/stringio.so
7f1a1150b000-7f1a1150c000 r--p 00006000 09:02 50594711 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-
linux/stringio.so
7f1a1150c000-7f1a1150d000 rw-p 00007000 09:02 50594711 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/stringio.so
7f1a1150d000-7f1a1152d000 r-xp 00000000 09:02 50467319 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libyaml-0.so.2.0.2
7f1a1152d000-7f1a1172c000 ---p 00020000 09:02 50467319 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libyaml-0.so.2.0.2
7f1a1172c000-7f1a1172d000 r--p 0001f000 09:02 50467319
/home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libyaml-0.so.2.0.2
7f1a1172d000-7f1a1172e000 rw-p 00020000 09:02 50467319 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libyaml-0.so.2.0.2
7f1a1172e000-7f1a11735000 r-xp 00000000 09:02 50594746 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/psych.so
7f1a11735000-7f1a11934000 ---p 00007000 09:02 50594746 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/psych.so
7f
1a11934000-7f1a11935000 r--p 00006000 09:02 50594746 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/psych.so
7f1a11935000-7f1a11936000 rw-p 00007000 09:02 50594746 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/psych.so
7f1a11936000-7f1a11939000 r-xp 00000000 09:02 50594736 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/etc.so
7f1a11939000-7f1a11b38000 ---p 00003000 09:02 50594736
/home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/etc.so
7f1a11b38000-7f1a11b39000 r--p 00002000 09:02 50594736 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/etc.so
7f1a11b39000-7f1a11b3a000 rw-p 00003000 09:02 50594736 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/etc.so
7f1a11b3a000-7f1a11b40000 r-xp 00000000 09:02 50594832 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/pathname.so
7f1a11b40000-7f1a11d40000 ---p 00006000 09:02 50594832 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/pathname.so
7f1a11d40000-7f1a11d41000 r--p 00006000 09:02 50594832 /ho
me/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/pathname.so
7f1a11d41000-7f1a11d42000 rw-p 00007000 09:02 50594832 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/pathname.so
7f1a11d42000-7f1a11d4400
0 r-xp 00000000 09:02 50594801 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f1a11d44000-7f1a11f44000 ---p 00002000 09:02 50594801 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f1a11f44000-7f1a11f45000 r--p 00002000 09:02 50594801 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f1a11f45000-7f1a11f46000 rw-p 00003000 09:02 50594801 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
7f1a11f46000-7f1a11f48000 r-xp 00000000 09:02 50594756 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linu
x/enc/encdb.so
7f1a11f48000-7f1a12147000 ---p 00002000 09:02 50594756 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f1a12147000-7f1a12148000 r--p 00001000 09:02 50594756 /home/deploy/
.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f1a12148000-7f1a12149000 rw-p 00002000 09:02 50594756 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
7f1a12149000-7f1a1234c000 r--p 00000000 09:01 394409 /usr/lib/locale/locale-archive
7f1a1234c000-7f1a12447000 r-xp 00000000 09:01 132258 /lib/x86_64-linux-gnu/libm-2.15.so
7f1a12447000-7f1a12646000 ---p 000fb000 09:01 132258 /lib/x86_64-linux-gnu/libm-2.15.so
7f1a12646000-7f1a12647000 r--p 000fa000 09:01 132258 /lib/x86_64-linux-gnu/libm-2.15.so
7f1a12647000-7f1a12648000 rw-p 000fb000 09:01 132258 /lib/x86_64-linux-gnu/libm-2.15.so
7f1a1264
8000-7f1a12651000 r-xp 00000000 09:01 132259 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f1a12651000-7f1a12851000 ---p 00009000 09:01 132259 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f1a12851000-7f1a12852000 r--p 00009000
09:01 132259 /lib/x86_64-linux-gnu/libcrypt-2.15.so
7f1a12a85000-7f1a12a8c000 r-xp 00000000 09:01 132254 /lib/x86_64-linux-gnu/libr
t-2.15.so
7f1a12a8c000-7f1a12c8b000 ---p 00007000 09:01 132254 /lib/x86_64-linux-gnu/librt-2.15.so
7f1a12c8b000-7f1a12c8c000 r--p 00006000 09:01 132254 /lib/x86_64-linux-gnu/librt-2.15.so
7f1a12c8c000-7f1a12c8d000 rw
-p 00007000 09:01 132254 /lib/x86_64-linux-gnu/librt-2.15.so
7f1a12c8d000-7f1a12ca5000 r-xp 00000000 09:01 132252 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f1a12ca5000-7f1a12ea4000 ---p 00018000 09:01 132252 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f1a12ea4000-7f1a12ea5000 r--p 00017000 09:01 132252 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f1a12ea5000-7f1a12ea6000 rw-p 00018000 09:01 132252 /lib/x86_64-linux-gnu/libpthread-2.15.so
7f1a12ea6000-7f1a12eaa000 rw-p 00000000 00:00 0
7f1a12eaa000-7f1a1305f000 r-xp 00000000 09:01 132250 /lib/x86_64-linux-gnu/libc-2.15.so
7f1a1305f000-7f1a1325e000 ---p 001b5000 09:01 132250 /
lib/x86_64-linux-gnu/libc-2.15.so
7f1a1325e000-7f1a13262000 r--p 001b4000 09:01 132250 /lib/x86_64-linux-gnu/libc-2.15.so
7f1a13262000-7f1a13264000 rw-p 001b8000 09:01 132250 /lib/x86_64-linux-gnu/libc-2.15.so
7f1a13
264000-7f1a13269000 rw-p 00000000 00:00 0
7f1a13269000-7f1a134a7000 r-xp 00000000 09:02 50467318 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libruby.so.1.9.1
7f1a134a7000-7f1a136a6000 ---p 0023e000 09:02 50467318 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libruby.so.1.9.1
7f1a136a6000-7f1a136ab000 r--p 0023d000 09:02 50467318 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libruby.so.1.9.1
7f1a136ab000-7f1a136af000 rw-p 00242000 09:02 50467318 /home/deploy/.rvm/rubies/ruby-1.9.3-p286/lib/libruby.so.1.9.1
7f1a136af000-7f1a136cd000 rw-p 00000000 00:00 0
7f1a136cd000-7f1a136ef000 r-xp 00000000 09:01 132264 /lib/x86_64-linux-gnu/ld-2.15.so
7f1a13718000-7f1a137d8000 rw-p
00000000 00:00 0
7f1a137d8000-7f1a137df000 r--s 00000000 09:01 400807 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f1a137df000-7f1a138e5000 rw-p 00000000 00:00 0
7f1a138e9000-7f1a138ea000 ---p 00000000 00:00 0
7f1a138ea000-7
f1a138ef000 rw-p 00000000 00:00 0
7f1a138ef000-7f1a138f0000 r--p 00022000 09:01 132264 /lib/x86_64-linux-gnu/ld-2.15.so
7f1a138f0000-7f1a138f2000 rw-p 00023000 09:01 132264 /lib/x86_64-linux-gnu/ld-2.15.so
7fffa4851000-7fffa4872000 rw-p 00000000 00:00 0 [stack]
7fffa494e000-7fffa494f000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r--p 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
What is interesting is the end of the trace, which said there is a bug in the ruby interpreter. One time I have the beginning of the trace and It said something like this: *** glibc detected *** ruby: double free or corruption (!prev)
For the moment to fix the bug I need to restart nginx. It's for this reason I ask this question: Is it a conflict between ruby and nginx or inside ruby interpreter? And how to solve this?
Thanks
Edit :
Error already appear. I wonder if it's not a problem due to ImageMagick. Indeed a cron task execute some times by a day an upload of pictures. When there are not lot of pictures everything seems to be fine. But when there is about 100 pictures every two hours I have the feeling that the error appear. I will inspect this way. If somebody have an idea...
Try, export MALLOC_CHECK_=2. Because of this glibc will do extra level of checking during free(), to avoid heap corruption. It will abort() and give a core dump as soon as it detects corruption, instead of waiting until there's an actual problem caused by the corruption.
or use http://valgrind.org/ for more details.
Related
ESP8266 BearSSL MQTT Exception when connecting
I am trying to connect to HiveMQ MQTT Broker from my ESP8266, 2 months ago, this code works fine, but now, when I implement more features, the code run with a lot of Exceptions. Sometimes, Exception (28), I'm newbie in this fields and don't know the way to handle it, thanks for your helps. RAM and Flash: Exception: Sometimes: My Code: void setup() { BearSSL::WiFiClientSecure *bear = setSSLCertificate(); PSclient = new PubSubClient(*bear); MQTT_ADDRESS = cEEPROM.getMqttAddress(); MQTT_PORT = cEEPROM.getMqttPort(); PSclient->setServer(MQTT_ADDRESS.c_str(), MQTT_PORT); PSclient->setBufferSize(512); PSclient->setCallback(myCallback); } void loop() { wifiConfig.configWifiAP(ENV_SSID_AP, ENV_PASS_AP); if (!PSclient->connected()) { reconnect(); } else { PSclient->loop(); } } } void reconnect() { while ((!PSclient->connected()) && tryConnectPS <= 5) { setDateTime(); String MQTT_ACCOUNT = cEEPROM.getMqttAccount(); String MQTT_USERNAME = cEEPROM.getMqttUsername(); String MQTT_PASSWORD = cEEPROM.getMqttPassword(); Serial.print("Try to connect to MQTT... "); if (PSclient->connect(MQTT_ACCOUNT.c_str(), MQTT_USERNAME.c_str(), MQTT_PASSWORD.c_str())) { Serial.print("Connected state:"); Serial.println(PSclient->state()); String MQTT_TOPIC = cEEPROM.getMqttTopic(); boolean result = PSclient->subscribe(MQTT_TOPIC.c_str()); Serial.print("Tinh trang subscribe topic: "); Serial.println(result); tryConnectPS = 0; DeviceService::turnReadyLedOn(); return; } else { Serial.print("Failed,rc = "); Serial.println(PSclient->state()); Serial.println("Try again in 2 seconds ... "); delay(1000); tryConnectPS++; } } } BearSSL::WiFiClientSecure *setSSLCertificate() { LittleFS.begin(); int numCerts = certStore.initCertStore(LittleFS, PSTR("/certs.idx"), PSTR("/certs.ar")); Serial.printf("So chung chi CA : %d\n", numCerts); if (numCerts == 0) { Serial.printf("KHONG TIM THAY CHUNG CHI NAO"); } BearSSL::WiFiClientSecure *bear = new BearSSL::WiFiClientSecure(); bear->setCertStore(&certStore); return bear; } Full exception: --------------- CUT HERE FOR EXCEPTION DECODER --------------- Exception (28): epc1=0x40205f0d epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000 stack>>> ctx: bearssl sp: 3fff3690 end: 3fff3a80 offset: 0190 3fff3820: 3ffe8cc1 3fffbd6c 3fffb7f4 40205ef4 3fff3830: 4021bb04 00000000 000003e8 4021ad84 3fff3840: 00000000 00000000 00000000 40213640 3fff3850: 00000000 00000000 3fff116c 4021bb04 3fff3860: 00000000 000003e8 3ad6faec 00000000 3fff3870: 00000000 00000000 40213640 00000000 3fff3880: 00000000 3fff116c bd2fdbf6 925dd89d 3fff3890: c6b3dd59 2f7b7dde 0c3e3fec bc6117ef 3fff38a0: 572033bf f8302d1e 0001d90a 0000056f 3fff38b0: 928b6852 b5d6e5dc d07ddae3 3fffa404 3fff38c0: 3fffa428 3fffae04 000003dd 4023efe6 3fff38d0: 4026ed46 eb148196 203ddbd5 d3597ea7 3fff38e0: f958f8e2 cd48b85b 164f5cfe 551efe29 3fff38f0: 11c8af23 7cea8db0 2f179093 09a2acfd 3fff3900: f03f4647 ffb7b0e9 32684d28 1e5e67d6 3fff3910: 4026f0a7 00000000 00000b80 00000000 3fff3920: 3fffa41c 3fffac04 3fffa4d4 0000001a 3fff3930: 3fffa434 3fffa430 c818691e 0a857cc3 3fff3940: 56789534 54be83d2 466dbc59 1ce0b490 3fff3950: 3416a5e4 0b8510a4 5d8f434c 59ff5645 3fff3960: 3fff6072 0000002a 3fff6072 00000683 3fff3970: 3fff5ad4 3fff52d4 3fff5ab8 4023f682 3fff3980: 3fff5adc 3fff52d4 3fff5ab8 40239cb0 3fff3990: 402083e4 3fff52d4 3ffffdf0 00000004 3fff39a0: 4026d679 00000005 00000000 fffffffe 3fff39b0: 00000000 3fffc6fc 00000000 3fff4b3c 3fff39c0: 0000f811 00000000 3fff11d8 00000030 3fff39d0: deadbeef deadbeef 4026da73 deadbeef 3fff39e0: 3fff5ad8 3fff5b5c 3fff5ad4 deadbeef 3fff39f0: deadbeef 3fff52b8 0000001a 3fff5db8 3fff3a00: 0000001a deadbeef deadbeef deadbeef 3fff3a10: deadbeef deadbeef deadbeef 3fff5dd4 3fff3a20: 000005c2 3fff5cd4 3fff52d4 40237e44 3fff3a30: 3fff5ab8 deadbeef deadbeef deadbeef 3fff3a40: 00000250 00000005 deadbeef 3fff11d8 3fff3a50: 00000000 00000000 3fff52d4 40238439 3fff3a60: 00000100 deadbeef deadbeef deadbeef 3fff3a70: deadbeef 00000000 3fff4b3c 402093b8 ctx: cont sp: 3ffffde0 end: 3fffffc0 offset: 0000 3ffffde0: 00000000 00000000 00003a98 40208400 3ffffdf0: 000005c2 6e00c440 c4c69916 284c5820 3ffffe00: 00000008 00000001 000024a9 00000000 3ffffe10: 40238f4c 40238f9c 3fff52d4 4023858a 3ffffe20: 3fff57d4 3fff4d44 3fff52d4 3fff4d44 3ffffe30: 00000000 00000001 3fff4b3c 40208453 3ffffe40: 00000000 00000001 3fff4b3c 40208643 3ffffe50: 40105b5d 3fff135c 3fff135c 000000c9 3ffffe60: 00000000 00000000 000022b3 4021733a 3ffffe70: 00000000 3fff4b3c 3fff4cd4 4020746e 3ffffe80: 3fff5194 00000010 3fffff5c 3fff45f4 3ffffe90: 000022b3 3fff4d44 3fff4b3c 3fff45f4 3ffffea0: 000022b3 3fff4d44 3fff4b3c 402086e5 3ffffeb0: 4021bbac 9e5c4936 4021bbac 9e5c4936 3ffffec0: 00000000 3fff4c94 3fff4cbc 4021a08a 3ffffed0: 00000000 3fff4c94 3fff4cbc 4020b3e8 3ffffee0: 3ffe88ec 3fff135c 00000005 000000a4 3ffffef0: 00000000 3fffff74 00000000 00000000 3fffff00: 00000001 3ffe88d2 3fff11a0 40214c34 3fffff10: 40214c28 3ffe88d2 3fff11a0 3fff0f30 3fffff20: 3fff0c48 3fff0d44 3fff11a0 4020b5d0 3fffff30: 00000000 00000000 00000001 402150d0 3fffff40: 3fff0c48 3fff0d44 3fff11a0 4020575a 3fffff50: 3fff0f30 00000001 3fff0c54 3fff4cbc 3fffff60: 000f000f 8a003837 3fff4c94 0012001f 3fffff70: 8a003439 36384d53 4a4b3252 0a003439 3fffff80: 3fffdad0 3fff0d44 3fff0c3c 3fff12f4 3fffff90: 3fffdad0 00000000 3fff0d44 40205b09 3fffffa0: 3fffdad0 00000000 3fff12e0 40216d40 3fffffb0: feefeffe feefeffe 3ffe8650 40100dd9 <<<stack<<< --------------- CUT HERE FOR EXCEPTION DECODER --------------- I expect to a successful and stable connection to MQTT Broker
Mtdoops cannot save the full panic log
I add a mtd partition (512kb) to save panic log by mtdoops on an arm based embedded devices(kernel v4.4). I trigger the panic using "echo c > /proc/sysrq-trigger". After the device reboot observe the kernel panic logs in the Oops partition by "strings", but the panic log seems to be truncated(limit in 2kb?). How to change the limit of mtdoops? # strings /dev/mtd22 ]<4>[ 99.089308] r3 : 00000001 r2 : 00000000 r1 : ef717364 r0 : 00000063 <4>[ 99.095905] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user <4>[ 99.102416] Control: 10c5787d Table: 6652c06a DAC: 00000055 <0>[ 99.109618] Process ash (pid: 234, stack limit = 0xee672210) <0>[ 99.115350] Stack: (0xee673ec8 to 0xee674000) <0>[ 99.121077] 3ec0: 00000002 ee80b200 00000001 00000000 c0301d24 c058a8dc <0>[ 99.125336] 3ee0: c058a8a0 c0421b98 00000002 c0421b28 ee673f88 b675fbf0 c0301d24 c03df2ec <0>[ 99.133495] 3f00: 00000000 000006c0 00000000 00000000 00000000 ee673f18 be461b48 0000000b <0>[ 99.141656] 3f20: eeab0218 0000000a eeab0240 00080000 ee673f60 ee7531f8 00000001 e4b70780 <0>[ 99.149816] 3f40: ef046998 c0355734 00000002 00000002 e4b70780 ee673f88 b675fbf0 c03df9c0 <0>[ 99.157975] 3f60: e4b70780 b675fbf0 00000002 e4b70780 e4b70780 b675fbf0 00000002 c0301d24 <0>[ 99.166134] 3f80: ee672000 c03e009c 00000000 00000000 00000002 00000000 00000000 00000000 <0>[ 99.174294] 3fa0: 00000004 c0301b80 00000000 00000000 00000001 b675fbf0 00000002 00000000 <0>[ 99.182455] 3fc0: 00000000 00000000 00000000 00000004 00000002 be4619cc 00000020 7f087b44 <0>[ 99.190615] 3fe0: be461958 be461944 b67b66ac b67b5b78 60000010 00000001 00000000 00000000 <4>[ 99.198784] [<c058a480>] (sysrq_handle_crash) from [<c058a7dc>] (__handle_sysrq+0x88/0x124) <4>[ 99.206940] [<c058a7dc>] (__handle_sysrq) from [<c058a8dc>] (write_sysrq_trigger+0x3c/0x4c) <4>[ 99.215102] [<c058a8dc>] (write_sysrq_trigger) from [<c0421b98>] (proc_reg_write+0x70/0x84) <4>[ 99.223435] [<c0421b98>] (proc_reg_write) from [<c03df2ec>] (__vfs_write+0x1c/0xd0) <4>[ 99.231763] [<c03df2ec>] (__vfs_write) from [<c03df9c0>] (vfs_write+0xa8/0x130) <4>[ 99.239401] [<c03df9c0>] (vfs_write) from [<c03e009c>] (SyS_write+0x40/0x80) <4>[ 99.246695] [<c03e009c>] (SyS_write) from [<c0301b80>] (ret_fast_syscall+0x0/0x34) <0>[ 99.253986] Code: e3a03001 e5823000 f57ff04e e3a02000 (e5c23000) <4>[ 99.268628] UBI# UBI# UBI# # # # strings /dev/mtd22 | wc -c 2057 # #
Kafka stream window aggregation almost working
I need to aggregate some sensor data and I'm experimenting with windowed aggregation for a PoC/study project. After researching here and there and a lot of attempts, I came up with the following code, which seems to be working. I get in fact the peeks showing the expected results and I can also see the deserialisation/serialisation of the SensorData object happening through the stream. And I can see the final result in the output topic. Here is the problem though: after the first result is written in the output topic, the stream crashes and it crashes earlier or later depending on the length of the commitMs. Any idea? Am I doing something wrong here? I am using a landoop/fast-data-dev docker image to test this. long commitMs = TBD; Properties config = new Properties(); config.put(StreamsConfig.APPLICATION_ID_CONFIG, "sensor-data-stream-analyzer"); config.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "kafka-cluster1:9092"); config.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, "earliest"); config.put(StreamsConfig.DEFAULT_KEY_SERDE_CLASS_CONFIG, Serdes.String().getClass()); config.put(StreamsConfig.DEFAULT_VALUE_SERDE_CLASS_CONFIG, Serdes.String().getClass()); config.put(StreamsConfig.COMMIT_INTERVAL_MS_CONFIG, commitMs); config.put(StreamsConfig.DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_CONFIG, WallclockTimestampExtractor.class); final Serializer<SensorReport> jsonSerializer = new MyJsonSerializer(); final Deserializer<SensorReport> jsonDeserializer = new MyJsonDeserializer(SensorReport.class); final Serde<SensorReport> jsonSerde = Serdes.serdeFrom(jsonSerializer, jsonDeserializer); final Serde<String> stringSerde = Serdes.String(); final Serde<Long> longSerde = Serdes.Long(); StreamsBuilder builder = new StreamsBuilder(); KStream<String, SensorReport> stream = builder.stream(inputTopic, Consumed.with(stringSerde, jsonSerde)); stream .peek((k,v)-> System.out.println("1|k: " + k + "v: " + v.toString())) .map((key, sensorReport) -> { double[] fakeLatLon = new double[]{10,10}; return KeyValue.pair(String.format("%f %f", fakeLatLon[0], fakeLatLon[1]), sensorReport); }) .peek((k,v)-> System.out.println("2|k: " + k + "v: " + v.toString())) .groupByKey(Serialized.with(stringSerde, jsonSerde)) .windowedBy(TimeWindows.of(10000L).until(10000L)) .count() .toStream((k, v) -> String.format("%d %s", k.window().start(), k.key())) .peek((k,v)-> System.out.println("3|k: " + k + "v: " + v.toString())) .map((k,v) -> KeyValue.pair(k, v.toString())) .to(outputTopic, Produced.with(stringSerde, stringSerde)); KafkaStreams run = new KafkaStreams(builder.build(), getConfig()); run.start(); And this is the relevant part of the stack trace: Stack: [0x00007faacee5f000,0x00007faacef5fad0], sp=0x00007faacef5b3b8, free space=1008k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C 0x0000000000149aa6 C [librocksdbjni6827723631295059350.so+0x3dc5b8] C [librocksdbjni6827723631295059350.so+0x3e13b5] rocksdb::ParseColumnFamilyOption(std::string const&, std::string const&, rocksdb::ColumnFamilyOptions*, bool)+0xc95 C [librocksdbjni6827723631295059350.so+0x3e2282] rocksdb::GetColumnFamilyOptionsFromMapInternal(rocksdb::ColumnFamilyOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::ColumnFamilyOptions*, bool, std::vector<std::string, std::allocator<std::string> >*, bool)+0x582 C [librocksdbjni6827723631295059350.so+0x3e2480] rocksdb::GetColumnFamilyOptionsFromMap(rocksdb::ColumnFamilyOptions const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, rocksdb::ColumnFamilyOptions*, bool, bool)+0x20 C [librocksdbjni6827723631295059350.so+0x3e8d5e] rocksdb::RocksDBOptionsParser::EndSection(rocksdb::OptionSection, std::string const&, std::string const&, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&, bool)+0x5ee C [librocksdbjni6827723631295059350.so+0x3e97ac] rocksdb::RocksDBOptionsParser::Parse(std::string const&, rocksdb::Env*, bool)+0x5fc C [librocksdbjni6827723631295059350.so+0x3ea8df] rocksdb::RocksDBOptionsParser::VerifyRocksDBOptionsFromFile(rocksdb::DBOptions const&, std::vector<std::string, std::allocator<std::string> > const&, std::vector<rocksdb::ColumnFamilyOptions, std::allocator<rocksdb::ColumnFamilyOptions> > const&, std::string const&, rocksdb::Env*, rocksdb::OptionsSanityCheckLevel, bool)+0x7f C [librocksdbjni6827723631295059350.so+0x3ec7a3] rocksdb::PersistRocksDBOptions(rocksdb::DBOptions const&, std::vector<std::string, std::allocator<std::string> > const&, std::vector<rocksdb::ColumnFamilyOptions, std::allocator<rocksdb::ColumnFamilyOptions> > const&, std::string const&, rocksdb::Env*)+0x1013 C [librocksdbjni6827723631295059350.so+0x2e8540] rocksdb::DBImpl::WriteOptionsFile(bool, bool)+0x960 C [librocksdbjni6827723631295059350.so+0x315e68] rocksdb::DB::Open(rocksdb::DBOptions const&, std::string const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0x16c8 C [librocksdbjni6827723631295059350.so+0x316937] rocksdb::DB::Open(rocksdb::Options const&, std::string const&, rocksdb::DB**)+0x177 C [librocksdbjni6827723631295059350.so+0x28240a] std::_Function_handler<rocksdb::Status (rocksdb::Options const&, std::string const&, rocksdb::DB**), rocksdb::Status (*)(rocksdb::Options const&, std::string const&, rocksdb::DB**)>::_M_invoke(std::_Any_data const&, rocksdb::Options const&, std::string const&, rocksdb::DB**)+0x1a C [librocksdbjni6827723631295059350.so+0x27b2ae] rocksdb_open_helper(JNIEnv_*, long, _jstring*, std::function<rocksdb::Status (rocksdb::Options const&, std::string const&, rocksdb::DB**)>)+0x7e C [librocksdbjni6827723631295059350.so+0x27b3ee] Java_org_rocksdb_RocksDB_open__JLjava_lang_String_2+0x3e j org.rocksdb.RocksDB.open(JLjava/lang/String;)J+0 j org.rocksdb.RocksDB.open(Lorg/rocksdb/Options;Ljava/lang/String;)Lorg/rocksdb/RocksDB;+9 j org.apache.kafka.streams.state.internals.RocksDBStore.openDB(Ljava/io/File;Lorg/rocksdb/Options;I)Lorg/rocksdb/RocksDB;+25 j org.apache.kafka.streams.state.internals.RocksDBStore.openDB(Lorg/apache/kafka/streams/processor/ProcessorContext;)V+282 j org.apache.kafka.streams.state.internals.Segment.openDB(Lorg/apache/kafka/streams/processor/ProcessorContext;)V+2 j org.apache.kafka.streams.state.internals.Segments.getOrCreateSegment(JLorg/apache/kafka/streams/processor/ProcessorContext;)Lorg/apache/kafka/streams/state/internals/Segment;+102 j org.apache.kafka.streams.state.internals.RocksDBSegmentedBytesStore.put(Lorg/apache/kafka/common/utils/Bytes;[B)V+27 j org.apache.kafka.streams.state.internals.RocksDBWindowStore.put(Ljava/lang/Object;Ljava/lang/Object;J)V+29 j org.apache.kafka.streams.state.internals.ChangeLoggingWindowBytesStore.put(Lorg/apache/kafka/common/utils/Bytes;[BJ)V+7 j org.apache.kafka.streams.state.internals.ChangeLoggingWindowBytesStore.put(Ljava/lang/Object;Ljava/lang/Object;J)V+10 j org.apache.kafka.streams.state.internals.CachingWindowStore$1.apply(Ljava/util/List;)V+117 j org.apache.kafka.streams.state.internals.NamedCache.flush(Lorg/apache/kafka/streams/state/internals/NamedCache$LRUNode;)V+356 j org.apache.kafka.streams.state.internals.NamedCache.flush()V+2 j org.apache.kafka.streams.state.internals.ThreadCache.flush(Ljava/lang/String;)V+22 j org.apache.kafka.streams.state.internals.CachingWindowStore.flush()V+8 j org.apache.kafka.streams.state.internals.MeteredWindowStore.flush()V+14 j org.apache.kafka.streams.processor.internals.ProcessorStateManager.flush()V+77 j org.apache.kafka.streams.processor.internals.AbstractTask.flushState()V+4 j org.apache.kafka.streams.processor.internals.StreamTask.flushState()V+12 j org.apache.kafka.streams.processor.internals.StreamTask.commit(Z)V+22 j org.apache.kafka.streams.processor.internals.StreamTask.commit()V+2 j org.apache.kafka.streams.processor.internals.AssignedTasks$1.apply(Lorg/apache/kafka/streams/processor/internals/Task;)V+1 j org.apache.kafka.streams.processor.internals.AssignedTasks.applyToRunningTasks(Lorg/apache/kafka/streams/processor/internals/TaskAction;)V+35 j org.apache.kafka.streams.processor.internals.AssignedTasks.commit()I+5 j org.apache.kafka.streams.processor.internals.TaskManager.commitAll()I+4 j org.apache.kafka.streams.processor.internals.StreamThread.maybeCommit(J)V+96 j org.apache.kafka.streams.processor.internals.StreamThread.runOnce(J)J+280 j org.apache.kafka.streams.processor.internals.StreamThread.runLoop()V+33 j org.apache.kafka.streams.processor.internals.StreamThread.run()V+36 v ~StubRoutines::call_stub V [libjvm.so+0x41ab0a] C 0x0000560ba0323140 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0000560ba02c2000 JavaThread "kafka-coordinator-heartbeat-thread | sensor-data-stream-analyzer" daemon [_thread_blocked, id=2505, stack(0x00007faacec5d000,0x00007faaced5dad0)] 0x0000560ba027b800 JavaThread "DestroyJavaVM" [_thread_blocked, id=2487, stack(0x00007faae7a89000,0x00007faae7b89ad0)] 0x0000560ba0325000 JavaThread "sensor-data-stream-analyzer-150fc5f9-aed6-4774-9520-a0599d8566a1-CleanupThread" daemon [_thread_blocked, id=2504, stack(0x00007faaced5e000,0x00007faacee5ead0)] =>0x0000560ba0322000 JavaThread "sensor-data-stream-analyzer-150fc5f9-aed6-4774-9520-a0599d8566a1-StreamThread-1" [_thread_in_native, id=2503, stack(0x00007faacee5f000,0x00007faacef5fad0)] 0x0000560ba02a6800 JavaThread "kafka-producer-network-thread | sensor-data-stream-analyzer-150fc5f9-aed6-4774-9520-a0599d8566a1-StreamThread-1-producer" daemon [_thread_in_native, id=2502, stack(0x00007faacef60000,0x00007faacf060ad0)] 0x0000560ba0191800 JavaThread "kafka-admin-client-thread | sensor-data-stream-analyzer-150fc5f9-aed6-4774-9520-a0599d8566a1-admin" daemon [_thread_in_native, id=2501, stack(0x00007faacf261000,0x00007faacf361ad0)] 0x0000560b9fb20800 JavaThread "Service Thread" daemon [_thread_blocked, id=2499, stack(0x00007faad29ed000,0x00007faad2aedad0)] 0x0000560b9faef800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=2498, stack(0x00007faad2aef000,0x00007faad2befad0)] 0x0000560b9faa1000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=2497, stack(0x00007faad2bf1000,0x00007faad2cf1ad0)] 0x0000560b9fa94000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2496, stack(0x00007faad2cf3000,0x00007faad2df3ad0)] 0x0000560b9fa91800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2495, stack(0x00007faad2df4000,0x00007faad2ef4ad0)] 0x0000560b9fa64800 JavaThread "Finalizer" daemon [_thread_blocked, id=2494, stack(0x00007faad2ef5000,0x00007faad2ff5ad0)] 0x0000560b9fa5a000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2493, stack(0x00007faad2ff6000,0x00007faad30f6ad0)] Internal exceptions (10 events): Event: 1.360 Thread 0x0000560b9f909000 Exception <a 'java/lang/ArrayIndexOutOfBoundsException'> (0x00000000e2109468) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/runtime/sharedRuntime.cpp, line 613] Event: 1.715 Thread 0x0000560ba0191800 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$identity$2(Ljava/lang/Object;)Ljava/lang/Object;> (0x00000000e1213bd0) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/interpreter/lin Event: 1.949 Thread 0x0000560ba0322000 Implicit null exception at 0x00007faad8cd8235 to 0x00007faad8cd85dd Event: 3.059 Thread 0x0000560ba0322000 Exception <a 'java/io/FileNotFoundException'> (0x00000000e1c1e250) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 709] Event: 3.074 Thread 0x0000560ba0322000 Exception <a 'java/io/FileNotFoundException'> (0x00000000e1c7b6e8) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 709] Event: 3.076 Thread 0x0000560ba0322000 Exception <a 'java/io/FileNotFoundException'> (0x00000000e1c854a8) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 709] Event: 3.077 Thread 0x0000560ba0322000 Exception <a 'java/io/FileNotFoundException'> (0x00000000e1c8e7e8) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 709] Event: 3.079 Thread 0x0000560ba0322000 Exception <a 'java/io/FileNotFoundException'> (0x00000000e1c98678) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 709] Event: 3.080 Thread 0x0000560ba0322000 Exception <a 'java/io/FileNotFoundException'> (0x00000000e1ca2470) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 709] Event: 12.177 Thread 0x0000560ba0322000 Exception <a 'sun/nio/fs/UnixException'> (0x00000000e145de70) thrown at [/home/buildozer/aports/community/openjdk8/src/icedtea-3.11.0/openjdk/hotspot/src/share/vm/prims/jni.cpp, line 709] Dynamic libraries: 560b9f7b0000-560b9f7b1000 r--p 00000000 08:01 1189695 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java 560b9f7b1000-560b9f7b2000 r-xp 00001000 08:01 1189695 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java 560b9f7b2000-560b9f7b3000 r--p 00002000 08:01 1189695 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java 560b9f7b3000-560b9f7b4000 r--p 00002000 08:01 1189695 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java 560b9f7b4000-560b9f7b5000 rw-p 00003000 08:01 1189695 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java 7faacdfd0000-7faace1f4000 r-xp 00000000 08:01 1317566 /usr/glibc-compat/lib/ld-2.27.so 7faace1f4000-7faace1f5000 r--p 00024000 08:01 1317566 /usr/glibc-compat/lib/ld-2.27.so 7faace1f5000-7faace1f6000 rw-p 00025000 08:01 1317566 /usr/glibc-compat/lib/ld-2.27.so 7faace1f7000-7faacea32000 r-xp 00000000 08:01 1320848 /tmp/librocksdbjni6827723631295059350.so 7faacea32000-7faacea50000 rw-p 0063b000 08:01 1320848 /tmp/librocksdbjni6827723631295059350.so 7faacf562000-7faacf569000 r--p 00000000 08:01 1311101 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnio.so 7faacf569000-7faacf571000 r-xp 00007000 08:01 1311101 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnio.so 7faacf571000-7faacf575000 r--p 0000f000 08:01 1311101 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnio.so 7faacf575000-7faacf576000 r--p 00012000 08:01 1311101 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnio.so 7faacf576000-7faacf577000 rw-p 00013000 08:01 1311101 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnio.so 7faad2578000-7faad257c000 r--p 00000000 08:01 1311100 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnet.so 7faad257c000-7faad258b000 r-xp 00004000 08:01 1311100 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnet.so 7faad258b000-7faad2590000 r--p 00013000 08:01 1311100 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnet.so 7faad2590000-7faad2591000 r--p 00017000 08:01 1311100 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnet.so 7faad2591000-7faad2592000 rw-p 00018000 08:01 1311100 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libnet.so 7faad2592000-7faad2596000 r--p 00000000 08:01 1311098 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libmanagement.so 7faad2596000-7faad2599000 r-xp 00004000 08:01 1311098 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libmanagement.so 7faad2599000-7faad259b000 r--p 00007000 08:01 1311098 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libmanagement.so 7faad259b000-7faad259c000 r--p 00008000 08:01 1311098 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libmanagement.so 7faad259c000-7faad259d000 rw-p 00009000 08:01 1311098 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libmanagement.so 7faad259d000-7faad25a1000 r--s 00058000 08:01 1189715 /usr/lib/jvm/java-1.8-openjdk/jre/lib/jsse.jar 7faad27a1000-7faad28eb000 r--s 01cb4000 00:51 8654897590 /kafka-dev/sensor-stream-analyzer-1.0-jar-with-dependencies.jar 7faad4156000-7faad4325000 r--s 01f54000 08:01 1189724 /usr/lib/jvm/java-1.8-openjdk/jre/lib/rt.jar 7faae7a30000-7faae7a33000 r--p 00000000 08:01 1311106 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so 7faae7a33000-7faae7a37000 r-xp 00003000 08:01 1311106 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so 7faae7a37000-7faae7a39000 r--p 00007000 08:01 1311106 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so 7faae7a39000-7faae7a3a000 r--p 00008000 08:01 1311106 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so 7faae7a3a000-7faae7a3b000 rw-p 00009000 08:01 1311106 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libzip.so 7faae7a3b000-7faae7a43000 rw-s 00000000 08:01 1320843 /tmp/hsperfdata_root/2486 7faae7a45000-7faae7a52000 r--p 00000000 08:01 1311090 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so 7faae7a52000-7faae7a6a000 r-xp 0000d000 08:01 1311090 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so 7faae7a6a000-7faae7a72000 r--p 00025000 08:01 1311090 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so 7faae7a72000-7faae7a73000 r--p 0002c000 08:01 1311090 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so 7faae7a73000-7faae7a74000 rw-p 0002d000 08:01 1311090 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libjava.so 7faae7a75000-7faae7a7a000 r--p 00000000 08:01 1311105 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so 7faae7a7a000-7faae7a81000 r-xp 00005000 08:01 1311105 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so 7faae7a81000-7faae7a84000 r--p 0000c000 08:01 1311105 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so 7faae7a84000-7faae7a86000 r--p 0000e000 08:01 1311105 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so 7faae7a86000-7faae7a87000 rw-p 00010000 08:01 1311105 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/libverify.so 7faae7b8a000-7faae7b8d000 r--p 00000000 08:01 1189738 /usr/lib/libgcc_s.so.1 7faae7b8d000-7faae7b99000 r-xp 00003000 08:01 1189738 /usr/lib/libgcc_s.so.1 7faae7b99000-7faae7b9c000 r--p 0000f000 08:01 1189738 /usr/lib/libgcc_s.so.1 7faae7b9c000-7faae7b9d000 r--p 00011000 08:01 1189738 /usr/lib/libgcc_s.so.1 7faae7b9d000-7faae7b9e000 rw-p 00012000 08:01 1189738 /usr/lib/libgcc_s.so.1 7faae7b9e000-7faae7c3a000 r--p 00000000 08:01 1189800 /usr/lib/libstdc++.so.6.0.25 7faae7c3a000-7faae7ca8000 r-xp 0009c000 08:01 1189800 /usr/lib/libstdc++.so.6.0.25 7faae7ca8000-7faae7ce1000 r--p 0010a000 08:01 1189800 /usr/lib/libstdc++.so.6.0.25 7faae7ce1000-7faae7cef000 r--p 00142000 08:01 1189800 /usr/lib/libstdc++.so.6.0.25 7faae7cef000-7faae7cf0000 rw-p 00150000 08:01 1189800 /usr/lib/libstdc++.so.6.0.25 7faae7cf3000-7faae7ee7000 r--p 00000000 08:01 1311110 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so 7faae7ee7000-7faae82f4000 r-xp 001f4000 08:01 1311110 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so 7faae82f4000-7faae84b9000 r--p 00601000 08:01 1311110 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so 7faae84b9000-7faae854f000 r--p 007c5000 08:01 1311110 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so 7faae854f000-7faae8577000 rw-p 0085b000 08:01 1311110 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server/libjvm.so 7faae85a8000-7faae85ab000 r--p 00000000 08:01 1310764 /lib/libz.so.1.2.11 7faae85ab000-7faae85b9000 r-xp 00003000 08:01 1310764 /lib/libz.so.1.2.11 7faae85b9000-7faae85c0000 r--p 00011000 08:01 1310764 /lib/libz.so.1.2.11 7faae85c0000-7faae85c1000 r--p 00017000 08:01 1310764 /lib/libz.so.1.2.11 7faae85c1000-7faae85c2000 rw-p 00018000 08:01 1310764 /lib/libz.so.1.2.11 7faae85c2000-7faae85c4000 r--p 00000000 08:01 1311076 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so 7faae85c4000-7faae85cd000 r-xp 00002000 08:01 1311076 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so 7faae85cd000-7faae85d1000 r--p 0000b000 08:01 1311076 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so 7faae85d1000-7faae85d2000 r--p 0000e000 08:01 1311076 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so 7faae85d2000-7faae85d3000 rw-p 0000f000 08:01 1311076 /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/jli/libjli.so 7faae85d3000-7faae85ea000 r--p 00000000 08:01 1320878 /lib/ld-musl-x86_64.so.1 7faae85ea000-7faae862f000 r-xp 00017000 08:01 1320878 /lib/ld-musl-x86_64.so.1 7faae862f000-7faae8661000 r--p 0005c000 08:01 1320878 /lib/ld-musl-x86_64.so.1 7faae8661000-7faae8662000 r--p 0008d000 08:01 1320878 /lib/ld-musl-x86_64.so.1 7faae8662000-7faae8663000 rw-p 0008e000 08:01 1320878 /lib/ld-musl-x86_64.so.1 --------------- S Y S T E M --------------- OS:NAME="Alpine Linux" ID=alpine VERSION_ID=3.9.2 PRETTY_NAME="Alpine Linux v3.9" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://bugs.alpinelinux.org/"
I solved my problem and I'm going to share my solution here for whoever ends up having this same problem. Initially the stack trace line "C [librocksdbjni6827723631295059350.so+0x3e13b5] rocksdb::ParseColumnFamilyOption(std::string const&, std::string const&, rocksdb::ColumnFamilyOptions*, bool)+0xc95" led me to think it was a musl-libc vs glibc related issue as mentioned in the following two issue links: https://github.com/facebook/rocksdb/issues/3848 https://github.com/facebook/rocksdb/pull/3143 In fact I use a landoop/fast-data-dev:latest docker image, which is Alpine based. But a quick look at the landoop/fast-data-dev, shows that the author dealt with the glibc: https://github.com/Landoop/fast-data-dev/blob/master/Dockerfile # glibc : alpine linux has an embedded libc which misses some functions that are # needed by some apps (e.g jvm's rocksdb jni — HDFS connector, Lenses, etc), # so we add glibc to make them work. Also now we can add en_US.UTF-8 locale. # https://github.com/sgerrand/alpine-pkg-glibc The crash went away by simply replacing the kafka-stream dependency in my pom.xml from <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> <version>2.0.1</version> </dependency> to <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> <version>2.2.0</version> </dependency>
*** stack smashing detected ***: a.out terminated
So I'm working on a program in my Programming I class and we were assigned to create a program that will check to see if a routing number from a bank is valid. Every time I run this program on NetBeans, I have no issue. BUT, when I run it through our Ubuntu student server, I get this crazy error. I've been trying to debug this program for a while now and can't quite see where this error is originating from. I've tried changing the array sizes and with no luck, I'm still getting this error. Here is a copy of the error: Enter a bank routing number: 103000648 1 0 3 0 0 0 6 4 8 7 3 9 7 3 9 7 3 7 0 27 0 0 0 42 12 7 7 34 34 34 34 76 88 88 8 the check code is valid *** stack smashing detected ***: a.out terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7f28e6be8e57] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7f28e6be8e20] a.out[0x400f99] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f28e6b0076d] a.out[0x400b39] ======= Memory map: ======== 00400000-00402000 r-xp 00000000 08:11 40895235 /home/wm/wm130/a.out 00601000-00602000 r--p 00001000 08:11 40895235 /home/wm/wm130/a.out 00602000-00603000 rw-p 00002000 08:11 40895235 /home/wm/wm130/a.out 01ffd000-0202f000 rw-p 00000000 00:00 0 [heap] 7f28e67e3000-7f28e68de000 r-xp 00000000 08:01 5505592 /lib/x86_64-linux-gnu/libm-2.15.so 7f28e68de000-7f28e6add000 ---p 000fb000 08:01 5505592 /lib/x86_64-linux-gnu/libm-2.15.so 7f28e6add000-7f28e6ade000 r--p 000fa000 08:01 5505592 /lib/x86_64-linux-gnu/libm-2.15.so 7f28e6ade000-7f28e6adf000 rw-p 000fb000 08:01 5505592 /lib/x86_64-linux-gnu/libm-2.15.so 7f28e6adf000-7f28e6c93000 r-xp 00000000 08:01 5508613 /lib/x86_64-linux-gnu/libc-2.15.so 7f28e6c93000-7f28e6e92000 ---p 001b4000 08:01 5508613 /lib/x86_64-linux-gnu/libc-2.15.so 7f28e6e92000-7f28e6e96000 r--p 001b3000 08:01 5508613 /lib/x86_64-linux-gnu/libc-2.15.so 7f28e6e96000-7f28e6e98000 rw-p 001b7000 08:01 5508613 /lib/x86_64-linux-gnu/libc-2.15.so 7f28e6e98000-7f28e6e9d000 rw-p 00000000 00:00 0 7f28e6e9d000-7f28e6eb3000 r-xp 00000000 08:01 5505594 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f28e6eb3000-7f28e70b2000 ---p 00016000 08:01 5505594 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f28e70b2000-7f28e70b3000 r--p 00015000 08:01 5505594 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f28e70b3000-7f28e70b4000 rw-p 00016000 08:01 5505594 /lib/x86_64-linux-gnu/libgcc_s.so.1 7f28e70b4000-7f28e71b6000 r-xp 00000000 08:01 34866318 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f28e71b6000-7f28e73b5000 ---p 00102000 08:01 34866318 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f28e73b5000-7f28e73bd000 r--p 00101000 08:01 34866318 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f28e73bd000-7f28e73bf000 rw-p 00109000 08:01 34866318 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 7f28e73bf000-7f28e73c2000 rw-p 00000000 00:00 0 7f28e73c2000-7f28e73e4000 r-xp 00000000 08:01 5505877 /lib/x86_64-linux-gnu/ld-2.15.so 7f28e75c5000-7f28e75ca000 rw-p 00000000 00:00 0 7f28e75df000-7f28e75e4000 rw-p 00000000 00:00 0 7f28e75e4000-7f28e75e5000 r--p 00022000 08:01 5505877 /lib/x86_64-linux-gnu/ld-2.15.so 7f28e75e5000-7f28e75e7000 rw-p 00023000 08:01 5505877 /lib/x86_64-linux-gnu/ld-2.15.so 7ffffd60a000-7ffffd62b000 rw-p 00000000 00:00 0 [stack] 7ffffd676000-7ffffd677000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped) And here is a copy of my source code: #include <cstdlib> #include <iostream> #include <string> #include <cstring> #include <string.h> using namespace std; int main() { string code; int routing[9]; int multipliers[8] = {7, 3, 9, 7, 3, 9, 7, 3}; int subtotals = 0; int products[8]; int sum = 0; cout << "Enter a bank routing number: " << endl; cin >> code; char ch_code[8]; strcpy(ch_code, code.c_str()); //store character code into array for (int i = 0; i < 9; i++) { //convert string to integer and print routing routing[i] = ch_code[i] - '0'; cout << routing[i] << " "; } cout << endl; for (int i = 0; i < 8; i++) { //print multipliers cout << multipliers[i] << " "; } cout << endl; for (int i = 0; i < 8; i++) { // print and calculate products products[i] = routing[i] * multipliers[i]; cout << products[i] << " "; } cout << endl; for (int i = 0; i < 8; i++) { // calculate subtotals and print subtotals += products[i]; cout << subtotals << " "; } cout << endl; cout << subtotals << endl; // print sum cout << subtotals % 10 << endl; // check digit if(subtotals % 10 == routing[8]) { cout << "the check code is valid" << endl; } else cout << "the check code is invalid" << endl; } If any of you are familiar with this error message, please please help! Thank you so much!
ch_code buffer is being overrun by the input.
you try to build with gcc option -fsanitize-address, it will crash at the point where you are writing beyond stack.
OpenCV: free(): invalid next size error when resizing matrix
I need to acquire some points' coordinates (represented by variables xCoord and yCoord) and set to 1 the associated positions in matrix scan_image. It may happen that a point's coordinates are outside matrix's dimensions, so scan_image needs to be resized before setting point's associated position in matrix to 1. Here's the code: #include "line_matching/listener.hpp" #include <opencv2/core.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/core/utility.hpp> using namespace cv; using namespace std; int main(int argv, char** argc){ /* start listening */ listener lsr; lsr.listen(argv, argc); /* get data that were listened to */ vector<listener::completeInformation> vecCI = lsr.getListeningInfo(); /* create a matrix to host image */ Mat scan_image; /* fill matrix */ float currentX = 0; float currentY = 0; for(int i = 0; i<(int)vecCI.size(); i++) { /* get current info */ listener::completeInformation ci = vecCI[i]; float xCoord = ci.position.first; float yCoord = ci.position.second; /* matrix is void */ if(scan_image.empty()) { cout << "case 1" << endl; /* create a new row */ Mat firstRow = Mat::zeros(yCoord+1, xCoord+1, CV_32FC1); scan_image.push_back(firstRow); /* set element to 1 */ scan_image.at<float>(xCoord, yCoord) = 1; /* update matrix size */ currentX = xCoord; currentY = yCoord; } /* new coordinate is outside current matrix */ else if (xCoord > currentX && yCoord > currentY) { cout << "case 2" << endl; /* add necessary rows */ Mat newRows = Mat::zeros(yCoord-currentY, currentX+1, CV_32FC1); cout << "Size scan " << scan_image.rows << " " << scan_image.cols << endl; scan_image.push_back(newRows); currentY = yCoord; /* add new cols */ Mat newCols = Mat::zeros(currentY+1, xCoord-currentX, CV_32FC1); cout << "Size newCols " << newCols.rows << " " << newCols.cols << endl; hconcat(scan_image, newCols, scan_image); /* update matrix size */ currentX = xCoord; /* set element to 1 */ scan_image.at<float>(xCoord, yCoord) = 1; } /* coordinate's column is outside matrix */ else if(xCoord > currentX && yCoord < currentY) { cout << "case 3" << endl; /* add necessary cols */ Mat newCols = Mat::zeros(currentY+1, xCoord-currentX, CV_32FC1); cout << "Size scan " << scan_image.rows << " " << scan_image.cols << endl; cout << "Size newCols " << newCols.rows << " " << newCols.cols << endl; Mat newMat; hconcat(scan_image, newCols, newMat); cout << "Size newMat " << newMat.rows << " " << newMat.cols << endl; //scan_image.resize(newMat.rows); //scan_image.create(newMat.rows, newMat.cols, CV_32FC1); resize(scan_image, scan_image, newMat.size()); cout << "Size scan dopo" << scan_image.rows << " " << scan_image.cols << endl; //scan_image = newMat.clone(); cout << "create" << endl; newMat.copyTo(scan_image); //newMat.assignTo(scan_image, -1); cout << "Dopo creazione mat " << scan_image.rows << " " << scan_image.cols << endl; /* update matrix size */ currentX = xCoord; /* set element to 1 */ scan_image.at<float>(xCoord, yCoord) = 1; } /* coordinate's row is outside matrix */ else if(xCoord < currentX && yCoord > currentY) { cout << "case 4" << endl; /* add necessary rows */ Mat newRows = Mat::zeros(yCoord-currentY, currentX+1, CV_32FC1); scan_image.push_back(newRows); /* update matrix size */ currentY = yCoord; /* set element to 1 */ scan_image.at<float>(xCoord, yCoord) = 1; } else { cout << "case 5" << endl; /* set element to 1 */ scan_image.at<float>(xCoord, yCoord) = 1; } } imshow("Scan", scan_image); waitKey(); } I tried many options to modify scan_info's dimensions (you'll find them in comments) in case denoted as CASE 3, but everytime I get a bad memory error: *** glibc detected *** /home/ubisum/fuerte_workspace/line_matching/bin/matching_main: free(): invalid next size (fast): 0x0000000001e81060 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7e846)[0x7feb0e3fe846] /usr/local/lib/libopencv_core.so.3.0(_ZN2cv8fastFreeEPv+0x9d)[0x7feb0fb24986] /usr/local/lib/libopencv_core.so.3.0(+0x21cbb0)[0x7feb0fb26bb0] /usr/local/lib/libopencv_core.so.3.0(_ZNK2cv12MatAllocator5unmapEPNS_8UMatDataE+0x43)[0x7feb0fb25eaf] /usr/local/lib/libopencv_core.so.3.0(_ZN2cv3Mat10deallocateEv+0x71)[0x7feb0fb27c3b] /home/ubisum/fuerte_workspace/line_matching/bin/matching_main(_ZN2cv3MatD1Ev+0x75)[0x40de15] /usr/local/lib/libopencv_imgproc.so.3.0(_ZN2cv6resizeERKNS_11_InputArrayERKNS_12_OutputArrayENS_5Size_IiEEddi+0x16da)[0x7feb0efd80dc] /home/ubisum/fuerte_workspace/line_matching/bin/matching_main(main+0x1b19)[0x40d389] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7feb0e3a176d] /home/ubisum/fuerte_workspace/line_matching/bin/matching_main[0x40dce1] ======= Memory map: ======== 00400000-0041f000 r-xp 00000000 08:06 1318193 /home/ubisum/fuerte_workspace/line_matching/bin/matching_main 0061e000-0061f000 r--p 0001e000 08:06 1318193 /home/ubisum/fuerte_workspace/line_matching/bin/matching_main 0061f000-00620000 rw-p 0001f000 08:06 1318193 /home/ubisum/fuerte_workspace/line_matching/bin/matching_main 01e43000-030ec000 rw-p 00000000 00:00 0 [heap] 7feae470a000-7feae490a000 rw-p 00000000 00:00 0 7feae490a000-7feae4919000 r-xp 00000000 08:06 2772700 /usr/lib/libtbbmalloc.so.2 7feae4919000-7feae4b19000 ---p 0000f000 08:06 2772700 /usr/lib/libtbbmalloc.so.2 7feae4b19000-7feae4b1a000 r--p 0000f000 08:06 2772700 /usr/lib/libtbbmalloc.so.2 7feae4b1a000-7feae4b1b000 rw-p 00010000 08:06 2772700 /usr/lib/libtbbmalloc.so.2 7feae4b1b000-7feae4b2c000 rw-p 00000000 00:00 0 7feae4b2c000-7feae4b6c000 rw-s 00024000 00:05 13777 /dev/ati/card0 7feae4b6c000-7feae526c000 rw-s 00006000 00:05 13777 /dev/ati/card0 7feae526c000-7feae53ec000 rw-p 00000000 00:00 0 7feae53ec000-7feae5486000 r-xp 00000000 08:06 2766513 /usr/lib/fglrx/libGL.so.1.2 7feae5486000-7feae5586000 ---p 0009a000 08:06 2766513 /usr/lib/fglrx/libGL.so.1.2 7feae5586000-7feae55ae000 rwxp 0009a000 08:06 2766513 /usr/lib/fglrx/libGL.so.1.2 7feae55ae000-7feae55cb000 rwxp 00000000 00:00 0 7feae55cb000-7feae7a13000 r-xp 00000000 08:06 2766506 /usr/lib/fglrx/libamdocl64.so 7feae7a13000-7feae7c13000 ---p 02448000 08:06 2766506 /usr/lib/fglrx/libamdocl64.so 7feae7c13000-7feae7ee0000 rw-p 02448000 08:06 2766506 /usr/lib/fglrx/libamdocl64.so 7feae7ee0000-7feae8000000 rw-p 00000000 00:00 0 7feae8000000-7feae8021000 rw-p 00000000 00:00 0 7feae8021000-7feaec000000 ---p 00000000 00:00 0 7feaec000000-7feaec021000 rw-p 00000000 00:00 0 7feaec021000-7feaf0000000 ---p 00000000 00:00 0 7feaf0000000-7feaf0021000 rw-p 00000000 00:00 0 7feaf0021000-7feaf4000000 ---p 00000000 00:00 0 7feaf4000000-7feaf4021000 rw-p 00000000 00:00 0 7feaf4021000-7feaf8000000 ---p 00000000 00:00 0 7feaf8000000-7feaf8021000 rw-p 00000000 00:00 0 7feaf8021000-7feafc000000 ---p 00000000 00:00 0 7feafc011000-7feafc0d1000 rw-p 00000000 00:00 0 7feafc0d1000-7feafc171000 r-xp 00000000 08:06 2766543 /usr/lib/fglrx/libatiadlxx.so 7feafc171000-7feafc271000 ---p 000a0000 08:06 2766543 /usr/lib/fglrx/libatiadlxx.so 7feafc271000-7feafc274000 rw-p 000a0000 08:06 2766543 /usr/lib/fglrx/libatiadlxx.so 7feafc274000-7feafc284000 rw-p 00000000 00:00 0 7feafc284000-7feafc28a000 r-xp 00000000 08:06 2766549 /usr/lib/fglrx/libOpenCL.so.1 7feafc28a000-7feafc489000 ---p 00006000 08:06 2766549 /usr/lib/fglrx/libOpenCL.so.1 7feafc489000-7feafc48a000 rw-p 00005000 08:06 2766549 /usr/lib/fglrx/libOpenCL.so.1 7feafc48a000-7feafc48b000 ---p 00000000 00:00 0 7feafc48b000-7feafcc8b000 rw-p 00000000 00:00 0 [stack:13933] 7feafcc8b000-7feafcc8c000 ---p 00000000 00:00 0 7feafcc8c000-7feafd48c000 rw-p 00000000 00:00 0 7feafd48c000-7feafd48d000 ---p 00000000 00:00 0 7feafd48d000-7feafdc8d000 rw-p 00000000 00:00 0 7feafdc8d000-7feafdc8e000 ---p 00000000 00:00 0 7feafdc8e000-7feafe48e000 rw-p 00000000 00:00 0 7feafe48e000-7feafe48f000 ---p 00000000 00:00 0 7feafe48f000-7feafec8f000 rw-p 00000000 00:00 0 7feafec8f000-7feafec9b000 r-xp 00000000 08:06 1970270 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7feafec9b000-7feafee9a000 ---p 0000c000 08:06 1970270 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7feafee9a000-7feafee9b000 r--p 0000b000 08:06 1970270 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7feafee9b000-7feafee9c000 rw-p 0000c000 08:06 1970270 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7feafee9c000-7feaff57f000 r--p 00000000 08:06 2759450 /usr/lib/locale/locale-archive 7feaff57f000-7feaff585000 r-xp 00000000 08:06 2760664 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7feaff585000-7feaff784000 ---p 00006000 08:06 2760664 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7feaff784000-7feaff785000 r--p 00005000 08:06 2760664 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7feaff785000-7feaff786000 rw-p 00006000 08:06 2760664 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7feaff786000-7feaff7a7000 r-xp 00000000 08:06 2760810 /usr/lib/x86_64-linux-gnu/libv4lconvert.so.0 7feaff7a7000-7feaff9a6000 ---p 00021000 08:06 2760810 /usr/lib/x86_64-linux-gnu/libv4lconvert.so.0 7feaff9a6000-7feaff9a8000 r--p 00020000 08:06 2760810 /usr/lib/x86_64-linux-gnu/libv4lconvert.so.0 7feaff9a8000-7feaff9a9000 rw-p 00022000 08:06 2760810 /usr/lib/x86_64-linux-gnu/libv4lconvert.so.0 7feaff9a9000-7feaff9fb000 rw-p 00000000 00:00 0 7feaff9fb000-7feaffa0b000 r-xp 00000000 08:06 2760531 /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0.25.0 7feaffa0b000-7feaffc0b000 ---p 00010000 08:06 2760531 /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0.25.0 7feaffc0b000-7feaffc0c000 r--p 00010000 08:06 2760531 /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0.25.0Aborted (core dumped) Any suggestion? thanks