Crash while building index

Hi,

I’m trying to reindex a model (I’m using acts_as_ferret) after having
added (via metaprogramming) a large number of fields (several hundred)
to the index.

It keeps crashing when trying to rebuild the index (the crash log is
below, from ferret_server.out) but it only seems to crash on Linux
(Ubuntu server 7.04, x86-64) whereas it’s fine on my OS X laptop
(10.5.1). This is with ferret 0.11.4 in both cases.

Any thoughts? Is there a hard field limit in ferret?

*** glibc detected *** ruby: realloc(): invalid next size:
0x000000000232ffc0 ***
======= Backtrace: =========
/lib/libc.so.6[0x2ae17c1a549d]
/lib/libc.so.6(realloc+0x124)[0x2ae17c1a74e4]
/usr/lib/libruby1.8.so.1.8(ruby_xrealloc+0x5c)[0x2ae17b5baf8c]
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret_ext.so(mp_alloc
+0xb6)[0x2ae18094c886]
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/
ferret_ext.so(dw_get_fld_inv+0xf7)[0x2ae1809732b7]
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret_ext.so(dw_add_doc
+0x86)[0x2ae18097a146]
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret_ext.so(iw_add_doc
+0x24)[0x2ae18097a284]
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/
ferret_ext.so[0x2ae1809384a3]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ce]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac541]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5af52e]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac6f0]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5af52e]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac6f0]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad207]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ea]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac67f]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad8dd]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5acfb1]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ea]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac541]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad8dd]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ea]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac541]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5af52e]
/usr/lib/libruby1.8.so.1.8(rb_ary_each+0x23)[0x2ae17b58a853]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ce]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac541]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad8dd]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5af52e]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac6f0]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ea]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac67f]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad8dd]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac44c]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5aaa57]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5af52e]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac6f0]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5af52e]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5cdd53]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ce]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac541]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad8dd]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5af52e]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac6f0]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5acfb1]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad207]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ea]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a45d8]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ac541]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ae19f]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5abb23]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5aaa57]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5acfb1]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5ad207]
/usr/lib/libruby1.8.so.1.8[0x2ae17b5a40ea]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fe:00
6148859 /usr/bin/ruby1.8
00600000-00601000 rw-p 00000000 fe:00
6148859 /usr/bin/ruby1.8
00601000-02cb4000 rw-p 00601000 00:00
0 [heap]
40000000-40001000 —p 40000000 00:00 0
40001000-40801000 rw-p 40001000 00:00 0
2aaaaaaac000-2aaaaaaaf000 rw-p 2aaaaaaac000 00:00 0
2aaaaaaaf000-2aaaaaaea000 r–p 00000000 fe:00
6178429 /usr/lib/locale/en_US.utf8/LC_CTYPE
2aaaaaaea000-2aaaaaaf1000 r–s 00000000 fe:00
6146048 /usr/lib/gconv/gconv-modules.cache
2aaaaaaf1000-2aaaaaaf9000 r-xp 00000000 fe:00
6294630 /usr/lib/ruby/gems/1.8/gems/postgres-0.7.1/
postgres.so
2aaaaaaf9000-2aaaaacf8000 —p 00008000 fe:00
6294630 /usr/lib/ruby/gems/1.8/gems/postgres-0.7.1/
postgres.so
2aaaaacf8000-2aaaaacf9000 rw-p 00007000 fe:00
6294630 /usr/lib/ruby/gems/1.8/gems/postgres-0.7.1/
postgres.so
2aaaaacf9000-2aaaaacfd000 rw-p 2aaaaacf9000 00:00 0
2aaaaacff000-2aaaaad1e000 r-xp 00000000 fe:00
6149409 /usr/lib/libpq.so.5.0
2aaaaad1e000-2aaaaaf1e000 —p 0001f000 fe:00
6149409 /usr/lib/libpq.so.5.0
2aaaaaf1e000-2aaaaaf20000 rw-p 0001f000 fe:00
6149409 /usr/lib/libpq.so.5.0
2aaaaaf20000-2aaaaaf34000 r-xp 00000000 fe:00
29212699 /lib/libnsl-2.5.so
2aaaaaf34000-2aaaab134000 —p 00014000 fe:00
29212699 /lib/libnsl-2.5.so
2aaaab134000-2aaaab136000 rw-p 00014000 fe:00
29212699 /lib/libnsl-2.5.so
2aaaab136000-2aaaab138000 rw-p 2aaaab136000 00:00 0
2aaaab138000-2aaaab1bb000 r-xp 00000000 fe:00
6148718 /usr/lib/libkrb5.so.3.2
2aaaab1bb000-2aaaab3ba000 —p 00083000 fe:00
6148718 /usr/lib/libkrb5.so.3.2
2aaaab3ba000-2aaaab3be000 rw-p 00082000 fe:00
6148718 /usr/lib/libkrb5.so.3.2
2aaaab3be000-2aaaab3c0000 r-xp 00000000 fe:00
29212682 /lib/libcom_err.so.2.1
2aaaab3c0000-2aaaab5bf000 —p 00002000 fe:00
29212682 /lib/libcom_err.so.2.1
2aaaab5bf000-2aaaab5c0000 rw-p 00001000 fe:00
29212682 /lib/libcom_err.so.2.1
2aaaab5c0000-2aaaab5e3000 r-xp 00000000 fe:00
6148715 /usr/lib/libk5crypto.so.3.0
2aaaab5e3000-2aaaab7e2000 —p 00023000 fe:00
6148715 /usr/lib/libk5crypto.so.3.0
2aaaab7e2000-2aaaab7e4000 rw-p 00022000 fe:00
6148715 /usr/lib/libk5crypto.so.3.0
2aaaab7e4000-2aaaab7f5000 r-xp 00000000 fe:00
29212708 /lib/libresolv-2.5.so
2aaaab7f5000-2aaaab9f5000 —p 00011000 fe:00
29212708 /lib/libresolv-2.5.so
2aaaab9f5000-2aaaab9f7000 rw-p 00011000 fe:00
29212708 /lib/libresolv-2.5.so
2aaaab9f7000-2aaaab9f9000 rw-p 2aaaab9f7000 00:00 0
2aaaab9f9000-2aaaab9fd000 r-xp 00000000 fe:00
6148719 /usr/lib/libkrb5support.so.0.0
2aaaab9fd000-2aaaabbfc000 —p 00004000 fe:00
6148719 /usr/lib/libkrb5support.so.0.0
2aaaabbfc000-2aaaabbfd000 rw-p 00003000 fe:00
6148719 /usr/lib/libkrb5support.so.0.0
2aaaabbfd000-2aaaabc04000 r-xp 00000000 fe:00
29212700 /lib/libnss_compat-2.5.so
2aaaabc04000-2aaaabe04000 —p 00007000 fe:00
29212700 /lib/libnss_compat-2.5.so
2aaaabe04000-2aaaabe06000 rw-p 00007000 fe:00
29212700 /lib/libnss_compat-2.5.so
2aaaabe06000-2aaaabe10000 r-xp 00000000 fe:00
29212704 /lib/libnss_nis-2.5.so
2aaaabe10000-2aaaac00f000 —p 0000a000 fe:00
29212704 /lib/libnss_nis-2.5.so
2aaaac00f000-2aaaac011000 rw-p 00009000 fe:00
29212704 /lib/libnss_nis-2.5.so
2aaaac011000-2aaaac415000 rw-p 2aaaac011000 00:00 0
2aaaac41b000-2aaaac428000 r-xp 00000000 fe:00
29212686 /lib/libgcc_s.so.1
2aaaac428000-2aaaac628000 —p 0000d000 fe:00
29212686 /lib/libgcc_s.so.1
2aaaac628000-2aaaac629000 rw-p 0000d000 fe:00
29212686 /lib/libgcc_s.so.1
2aaab0000000-2aaab0021000 rw-p 2aaab0000000 00:00 0
2aaab0021000-2aaab4000000 —p 2aaab0021000 00:00 0
2ae17b353000-2ae17b36f000 r-xp 00000000 fe:00
29212687 /lib/ld-2.5.so
2ae17b36f000-2ae17b3d4000 rw-p 2ae17b36f000 00:00 0
2ae17b3d5000-2ae17b488000 rw-p 2ae17b3d5000 00:00 0
2ae17b56e000-2ae17b570000 rw-p 0001b000 fe:00
29212687 /lib/ld-2.5.so
2ae17b570000-2ae17b63d000 r-xp 00000000 fe:00
6148857 /usr/lib/libruby1.8.so.1.8.5
2ae17b63d000-2ae17b83c000 —p 000cd000 fe:00
6148857 /usr/lib/libruby1.8.so.1.8.5
2ae17b83c000-2ae17b841000 rw-p 000cc000 fe:00
6148857 /usr/lib/libruby1.8.so.1.8.5
2ae17b841000-2ae17b85e000 rw-p 2ae17b841000 00:00 0
2ae17b85e000-2ae17b873000 r-xp 00000000 fe:00
29212707 /lib/libpthread-2.5.so
2ae17b873000-2ae17ba73000 —p 00015000 fe:00
29212707 /lib/libpthread-2.5.so
2ae17ba73000-2ae17ba75000 rw-p 00015000 fe:00
29212707 /lib/libpthread-2.5.so
2ae17ba75000-2ae17ba79000 rw-p 2ae17ba75000 00:00 0
2ae17ba79000-2ae17ba7b000 r-xp 00000000 fe:00
29212696 /lib/libdl-2.5.so
2ae17ba7b000-2ae17bc7b000 —p 00002000 fe:00
29212696 /lib/libdl-2.5.so
2ae17bc7b000-2ae17bc7d000 rw-p 00002000 fe:00
29212696 /lib/libdl-2.5.so
2ae17bc7d000-2ae17bc82000 r-xp 00000000 fe:00
29212695 /lib/libcrypt-2.5.so
2ae17bc82000-2ae17be81000 —p 00005000 fe:00
29212695 /lib/libcrypt-2.5.so
2ae17be81000-2ae17be83000 rw-p 00004000 fe:00
29212695 /lib/libcrypt-2.5.so
2ae17be83000-2ae17beb2000 rw-p 2ae17be83000 00:00 0
2ae17beb2000-2ae17bf33000 r-xp 00000000 fe:00
29212697 /lib/libm-2.5.so
2ae17bf33000-2ae17c132000 —p 00081000 fe:00
29212697 /lib/libm-2.5.so
2ae17c132000-2ae17c134000 rw-p 00080000 fe:00
29212697 /lib/libm-2.5.so
2ae17c134000-2ae17c27b000 r-xp 00000000 fe:00
29212693 /lib/libc-2.5.so
2ae17c27b000-2ae17c47b000 —p 00147000 fe:00
29212693 /lib/libc-2.5.so
2ae17c47b000-2ae17c47e000 r–p 00147000 fe:00
29212693 /lib/libc-2.5.so
2ae17c47e000-2ae17c480000 rw-p 0014a000 fe:00
29212693 /lib/libc-2.5.so
2ae17c480000-2ae17c487000 rw-p 2ae17c480000 00:00 0
2ae17c487000-2ae17c492000 r-xp 00000000 fe:00
6209867 /usr/lib/ruby/1.8/x86_64-linux/socket.so
2ae17c492000-2ae17c691000 —p 0000b000 fe:00
6209867 /usr/lib/ruby/1.8/x86_64-linux/socket.so
2ae17c691000-2ae17c692000 rw-p 0000a000 fe:00
6209867 /usr/lib/ruby/1.8/x86_64-linux/socket.so
2ae17c692000-2ae17c7cf000 rw-p 2ae17c692000 00:00 0
2ae17c7cf000-2ae17c7d4000 r-xp 00000000 fe:00
6209868 /usr/lib/ruby/1.8/x86_64-linux/stringio.so
2ae17c7d4000-2ae17c9d3000 —p 00005000 fe:00
6209868 /usr/lib/ruby/1.8/x86_64-linux/stringio.so
2ae17c9d3000-2ae17c9d4000 rw-p 00004000 fe:00
6209868 /usr/lib/ruby/1.8/x86_64-linux/stringio.so
2ae17c9d4000-2ae17c9f0000 r-xp 00000000 fe:00
6209870 /usr/lib/ruby/1.8/x86_64-linux/syck.so
2ae17c9f0000-2ae17cbef000 —p 0001c000 fe:00
6209870 /usr/lib/ruby/1.8/x86_64-linux/syck.so
2ae17cbef000-2ae17cbf1000 rw-p 0001b000 fe:00
6209870 /usr/lib/ruby/1.8/x86_64-linux/syck.so
2ae17cbf1000-2ae17cbfa000 r-xp 00000000 fe:00
6209872 /usr/lib/ruby/1.8/x86_64-linux/zlib.so
2ae17cbfa000-2ae17cdf9000 —p 00009000 fe:00
6209872 /usr/lib/ruby/1.8/x86_64-linux/zlib.so
2ae17cdf9000-2ae17cdfa000 rw-p 00008000 fe:00
6209872 /usr/lib/ruby/1.8/x86_64-linux/zlib.so
2ae17ce00000-2ae17ce16000 r-xp 00000000 fe:00
6146044 /usr/lib/libz.so.1.2.3
2ae17ce16000-2ae17d015000 —p 00016000 fe:00
6146044 /usr/lib/libz.so.1.2.3
2ae17d015000-2ae17d016000 rw-p 00015000 fe:00
6146044 /usr/lib/libz.so.1.2.3
2ae17d016000-2ae17d01a000 r-xp 00000000 fe:00
6209853 /usr/lib/ruby/1.8/x86_64-linux/digest/sha2.so
2ae17d01a000-2ae17d219000 —p 00004000 fe:00
6209853 /usr/lib/ruby/1.8/x86_64-linux/digest/sha2.so
2ae17d219000-2ae17d21a000 rw-p 00003000 fe:00
6209853 /usr/lib/ruby/1.8/x86_64-linux/digest/sha2.so
2ae17d21a000-2ae17d21c000 r-xp 00000000 fe:00
6209848 /usr/lib/ruby/1.8/x86_64-linux/digest.so
2ae17d21c000-2ae17d41b000 —p 00002000 fe:00
6209848 /usr/lib/ruby/1.8/x86_64-linux/digest.so
2ae17d41b000-2ae17d41c000 rw-p 00001000 fe:00
6209848 /usr/lib/ruby/1.8/x86_64-linux/digest.so
2ae17d41c000-2ae17d457000 r-xp 00000000 fe:00
6212089 /usr/lib/ruby/1.8/x86_64-linux/openssl.so
2ae17d457000-2ae17d656000 —p 0003b000 fe:00
6212089 /usr/lib/ruby/1.8/x86_64-linux/openssl.so
2ae17d656000-2ae17d659000 rw-p 0003a000 fe:00
6212089 /usr/lib/ruby/1.8/x86_64-linux/openssl.so
2ae17d65f000-2ae17d6a1000 r-xp 00000000 fe:00
6149328 /usr/lib/libssl.so.0.9.8
2ae17d6a1000-2ae17d8a1000 —p 00042000 fe:00
6149328 /usr/lib/libssl.so.0.9.8
2ae17d8a1000-2ae17d8a7000 rw-p 00042000 fe:00
6149328 /usr/lib/libssl.so.0.9.8
2ae17d8a7000-2ae17d9fc000 r-xp 00000000 fe:00
6149327 /usr/lib/libcrypto.so.0.9.8
2ae17d9fc000-2ae17dbfc000 —p 00155000 fe:00
6149327 /usr/lib/libcrypto.so.0.9.8
2ae17dbfc000-2ae17dc1f000 rw-p 00155000 fe:00
6149327 /usr/lib/libcrypto.so.0.9.8
2ae17dc1f000-2ae17dc22000 rw-p 2ae17dc1f000 00:00 0
2ae17dc22000-2ae17dc23000 r-xp 00000000 fe:00
6209857 /usr/lib/ruby/1.8/x86_64-linux/fcntl.so
2ae17dc23000-2ae17de22000 —p 00001000 fe:00
6209857 /usr/lib/ruby/1.8/x86_64-linux/fcntl.so
2ae17de22000-2ae17de23000 rw-p 00000000 fe:00
6209857 /usr/lib/ruby/1.8/x86_64-linux/fcntl.so
2ae17de23000-2ae17e05d000 rw-p 2ae17de23000 00:00 0
2ae17e05d000-2ae17e061000 r-xp 00000000 fe:00
6209869 /usr/lib/ruby/1.8/x86_64-linux/strscan.so
2ae17e061000-2ae17e261000 —p 00004000 fe:00
6209869 /usr/lib/ruby/1.8/x86_64-linux/strscan.so
2ae17e261000-2ae17e262000 rw-p 00004000 fe:00
6209869 /usr/lib/ruby/1.8/x86_64-linux/strscan.so
2ae17e262000-2ae17e26d000 r-xp 00000000 fe:00
6209846 /usr/lib/ruby/1.8/x86_64-linux/bigdecimal.so
2ae17e26d000-2ae17e46c000 —p 0000b000 fe:00
6209846 /usr/lib/ruby/1.8/x86_64-linux/bigdecimal.so
2ae17e46c000-2ae17e46d000 rw-p 0000a000 fe:00
6209846 /usr/lib/ruby/1.8/x86_64-linux/bigdecimal.so
2ae17e46d000-2ae17e86f000 rw-p 2ae17e46d000 00:00 0
2ae17e86f000-2ae17e8ab000 r-xp 00000000 fe:00
6209861 /usr/lib/ruby/1.8/x86_64-linux/nkf.so
2ae17e8ab000-2ae17eaab000 —p 0003c000 fe:00
6209861 /usr/lib/ruby/1.8/x86_64-linux/nkf.so
2ae17eaab000-2ae17eaaf000 rw-p 0003c000 fe:00
6209861 /usr/lib/ruby/1.8/x86_64-linux/nkf.so
2ae17eaaf000-2ae17eab0000 rw-p 2ae17eaaf000 00:00 0
2ae17eab1000-2ae17f1e7000 rw-p 2ae17eab1000 00:00 0
2ae17f1e7000-2ae17f1e9000 r-xp 00000000 fe:00
6209856 /usr/lib/ruby/1.8/x86_64-linux/etc.so
2ae17f1e9000-2ae17f3e9000 —p 00002000 fe:00
6209856 /usr/lib/ruby/1.8/x86_64-linux/etc.so
2ae17f3e9000-2ae17f3ea000 rw-p 00002000 fe:00
6209856 /usr/lib/ruby/1.8/x86_64-linux/etc.so
2ae17f3ea000-2ae17f3ec000 r-xp 00000000 fe:00
6209850 /usr/lib/ruby/1.8/x86_64-linux/digest/md5.so
2ae17f3ec000-2ae17f5eb000 —p 00002000 fe:00
6209850 /usr/lib/ruby/1.8/x86_64-linux/digest/md5.so
2ae17f5eb000-2ae17f5ec000 rw-p 00001000 fe:00
6209850 /usr/lib/ruby/1.8/x86_64-linux/digest/md5.so
2ae17f5ec000-2ae17f5ef000 r-xp 00000000 fe:00
6209864 /usr/lib/ruby/1.8/x86_64-linux/racc/cparse.so
2ae17f5ef000-2ae17f7ef000 —p 00003000 fe:00
6209864 /usr/lib/ruby/1.8/x86_64-linux/racc/cparse.so
2ae17f7ef000-2ae17f7f0000 rw-p 00003000 fe:00
6209864 /usr/lib/ruby/1.8/x86_64-linux/racc/cparse.so
2ae17f7f0000-2ae17f7f4000 r-xp 00000000 fe:00
6209858 /usr/lib/ruby/1.8/x86_64-linux/iconv.so
2ae17f7f4000-2ae17f9f3000 —p 00004000 fe:00
6209858 /usr/lib/ruby/1.8/x86_64-linux/iconv.so
2ae17f9f3000-2ae17f9f4000 rw-p 00003000 fe:00
6209858 /usr/lib/ruby/1.8/x86_64-linux/iconv.so
2ae17f9f4000-2ae17f9f5000 rw-p 2ae17f9f4000 00:00 0
2ae17f9f5000-2ae17f9f8000 r-xp 00000000 fe:00
6209852 /usr/lib/ruby/1.8/x86_64-linux/digest/sha1.so
2ae17f9f8000-2ae17fbf8000 —p 00003000 fe:00
6209852 /usr/lib/ruby/1.8/x86_64-linux/digest/sha1.so
2ae17fbf8000-2ae17fbf9000 rw-p 00003000 fe:00
6209852 /usr/lib/ruby/1.8/x86_64-linux/digest/sha1.so
2ae17fbfa000-2ae1808f4000 rw-p 2ae17fbfa000 00:00 0
2ae1808f4000-2ae180997000 r-xp 00000000 fe:00
7297883 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/
lib/ferret_ext.so
2ae180997000-2ae180b96000 —p 000a3000 fe:00
7297883 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/
lib/ferret_ext.so
2ae180b96000-2ae180bb7000 rw-p 000a2000 fe:00
7297883 /usr/lib/ruby/gems/1.8/gems/ferret-0.11.4/
lib/ferret_ext.so
2ae180bb7000-2ae180bb8000 rw-p 2ae180bb7000 00:00 0
2ae180bb8000-2ae180bbe000 r-xp 00000000 fe:00
6508818 /usr/lib/ruby/gems/1.8/gems/amatch-0.2.3/
ext/amatch.so
2ae180bbe000-2ae180dbd000 —p 00006000 fe:00
6508818 /usr/lib/ruby/gems/1.8/gems/amatch-0.2.3/
ext/amatch.so
2ae180dbd000-2ae180dbe000 rw-p 00005000 fe:00
6508818 /usr/lib/ruby/gems/1.8/gems/amatch-0.2.3/
ext/amatch.so
2ae180dbe000-2ae180dc0000 r-xp 00000000 fe:00
17203639 /var/www/webroot/panjiva.com/admin/releases/
20071117220121/vendor/ruby_inline/.ruby_inline/Inline_String_7dae.so
2ae180dc0000-2ae180fbf000 —p 00002000 fe:00
17203639 /var/www/webroot/panjiva.com/admin/releases/
20071117220121/vendor/ruby_inline/.ruby_inline/Inline_String_7dae.so
2ae180fbf000-2ae180fc0000 rw-p 00001000 fe:00
17203639 /var/www/webroot/panjiva.com/admin/releases/
20071117220121/vendor/ruby_inline/.ruby_inline/Inline_String_7dae.so
2ae180fc0000-2ae180fc8000 rw-p 2ae180fc0000 00:00 0
2ae180fc8000-2ae180fd2000 r-xp 00000000 fe:00
29212702 /lib/libnss_files-2.5.so
2ae180fd2000-2ae1811d1000 —p 0000a000 fe:00
29212702 /lib/libnss_files-2.5.so
2ae1811d1000-2ae1811d3000 rw-p 00009000 fe:00
29212702 /lib/libnss_files-2.5.so
7fff2f6dc000-7fff2f757000 rw-p 7fff2f6dc000 00:00
0 [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00
0 [vdso]

On Sat, Nov 17, 2007 at 06:27:29PM -0500, Noah M. Daniels wrote:

Any thoughts? Is there a hard field limit in ferret?

*** glibc detected *** ruby: realloc(): invalid next size:
0x000000000232ffc0 ***
======= Backtrace: =========

[…]

Looks strange - maybe a problem with Ubuntu’s 64bit libs? Can you
try to provide a simple script reproducing this behaviour?

Cheers,
Jens


Jens Krämer
http://www.jkraemer.net/ - Blog
http://www.omdb.org/ - The new free film database