Skip to content

Instantly share code, notes, and snippets.

@adh
Created September 15, 2011 16:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adh/1219728 to your computer and use it in GitHub Desktop.
Save adh/1219728 to your computer and use it in GitHub Desktop.
srcdirstrip=`echo ".." | sed 's/[].[^$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo ".." | sed 's/[].[^$\\*]/\\\\&/g'`; \
list='README ../m4/libtool.m4 ../m4/ltoptions.m4 ../m4/ltsugar.m4 ../m4/ltversion.m4 ../m4/lt~obsolete.m4 ../configure.ac ../aclocal.m4 dfsch/lib/threads.h dfsch/lib/os.h dfsch/lib/posix-regex.h dfsch/lib/inet.h dfsch/lib/cdebug.h dfsch/lib/cinspect.h dfsch/lib/console.h dfsch/lib/xml.h dfsch/lib/sxml.h dfsch/lib/shtml.h dfsch/lib/json.h dfsch/lib/socket-port.h dfsch/lib/http.h dfsch/lib/csv.h dfsch/lib/ini-file.h dfsch/lib/zlib.h dfsch/lib/tk-gui.h dfsch/lib/pcre.h dfsch/lib/crypto.h dfsch/lib/tokyo-cabinet.h dfsch/lib/tokyo-tyrant.h dfsch/lib/gd.h dfsch/lib/ffi.h dfsch/lib/curl.h dfsch/strings.h dfsch/defines.h dfsch/parse.h dfsch/hash.h dfsch/dfsch.h dfsch/types.h dfsch/number.h dfsch/magic.h dfsch/object.h dfsch/weak.h dfsch/format.h dfsch/ports.h dfsch/load.h dfsch/util.h dfsch/bignum.h dfsch/conditions.h dfsch/introspect.h dfsch/random.h dfsch/writer.h dfsch/eqhash.h dfsch/mkhash.h dfsch/compiler.h dfsch/generate.h dfsch/backquote.h dfsch/specializers.h dfsch/serdes.h dfsch/strhash.h dfsch/sha256.h ../Makefile.am ../Makefile.in ../config.h.in ../configure AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS TODO compile config.guess config.sub depcomp install-sh ltmain.sh missing lib/cdebug_mod.c lib/cinspect_mod.c lib/cmdopts_mod.c lib/collections_mod.c lib/console_mod.c lib/crypto/module.c lib/csv_mod.c lib/curl_mod.c lib/extref_mod.c lib/fastlz_mod.c lib/ffi_mod.c lib/gcollect.c dfsch/lib/gcollect.h lib/gd_mod.c lib/http_mod.c lib/inet_mod.c lib/ini-file_mod.c lib/json_mod.c lib/cdebug.c dfsch/lib/cdebug.h lib/cinspect.c dfsch/lib/cinspect.h lib/cmdopts.c dfsch/lib/cmdopts.h lib/collections.c dfsch/lib/collections.h lib/console.c dfsch/lib/console.h lib/crypto/crypto.c lib/crypto/internal.h lib/crypto/modes.c lib/crypto/aes.c lib/crypto/aes_tab.h lib/crypto/xtea.c lib/crypto/blowfish.c lib/crypto/hmac.c lib/crypto/sha256-desc.c lib/crypto/sha512.c lib/crypto/sha1.c lib/crypto/md5.c lib/crypto/md4.c lib/crypto/curve25519.c lib/crypto/rsa.c lib/crypto/rsa-pad.c lib/crypto/salsa20.c lib/crypto/prng.c lib/crypto/macros.h lib/crypto/fe25519.h lib/crypto/fe25519.c lib/crypto/ge25519.h lib/crypto/ge25519.c lib/crypto/sc25519.h lib/crypto/sc25519.c lib/crypto/sign25519.c lib/csv.c lib/curl.c lib/extref.c dfsch/lib/extref.h lib/ffi.c lib/gd.c lib/http.c lib/inet.c dfsch/lib/inet.h lib/ini-file.c lib/json.c lib/minizip.c dfsch/lib/minizip.h ext/minizip/unzip.c ext/minizip/unzip.h ext/minizip/zip.c ext/minizip/zip.h ext/minizip/ioapi.c ext/minizip/ioapi.h lib/os.c dfsch/lib/os.h lib/pcre.c lib/posix-regex.c dfsch/lib/posix-regex.h lib/process.c dfsch/lib/process.h lib/shtml.c lib/socket-port.c lib/sxml.c lib/threads.c dfsch/lib/threads.h lib/tk-gui.c lib/tokyo-cabinet.c lib/tokyo-tyrant.c lib/xml.c lib/zlib.c dfsch/lib/zlib.h src/dfsch.c dfsch/dfsch.h src/internal.h src/types.c src/types.h dfsch/types.h src/package.c src/parse.c dfsch/parse.h src/primitives.c src/native_cxr.c src/forms.c src/system.c src/macros.c src/util.c src/util.h src/hash.c dfsch/hash.h src/number.c dfsch/number.h src/bignum.c dfsch/bignum.h src/strings.c dfsch/strings.h udata.h udata.c src/object.c dfsch/object.h src/format.c dfsch/format.h src/ports.c dfsch/ports.h src/load.c dfsch/load.h src/conditions.c dfsch/conditions.h src/introspect.c dfsch/introspect.h src/random.c dfsch/random.h src/writer.c dfsch/writer.h src/eqhash.c dfsch/eqhash.h src/generic.c dfsch/generic.h src/weak.c dfsch/weak.h src/mkhash.c dfsch/mkhash.h src/compiler.c dfsch/compiler.h src/backquote.c dfsch/backquote.h src/specializers.c dfsch/specializers.h src/strhash.c dfsch/strhash.h src/serdes.c dfsch/serdes.h src/sha256.c dfsch/sha256.h ext/fastlz/fastlz.c ext/fastlz/fastlz.h std-lib.c version.h lib/markdown_mod.c ext/upskirt/markdown.c ext/upskirt/markdown.h ext/upskirt/array.c ext/upskirt/buffer.c ext/upskirt/array.h ext/upskirt/buffer.h ext/upskirt/renderers.h ext/upskirt/renderers.c lib/minizip_mod.c lib/os_mod.c lib/pcre_mod.c lib/posix-regex_mod.c lib/process_mod.c lib/shtml_mod.c lib/socket-port_mod.c lib/sql/sql-support.c lib/sql/sqlite.c lib/sql/sqlite3.c lib/sxml_mod.c lib/threads_mod.c lib/tk-gui_mod.c lib/tokyo-cabinet_mod.c lib/tokyo-tyrant_mod.c lib/unix.c dfsch/lib/unix.h lib/xml_mod.c lib/zlib_mod.c src/repl.c src/run.c src/source-tool.c tests/scm-test.sh tests/interp-test.scm doc/dfsch-repl.1 src/udata-gen.c src/UnicodeData.txt tools/docgen.scm make-version-h.sh git-make-stamp.sh lib-scm/stream-functions.scm lib-scm/simple-tests.scm lib-scm/os-utils.scm lib-scm/tk-gui.scm lib-scm/http-server.scm lib-scm/sql.scm lib-scm/dfsch-unit.scm lib-scm/markdown-tools.scm lib-scm/match.scm examples/tk-gui-demo.scm examples/http-server-demo.scm ../core-lib/std-lib.scm ../core-lib/conditions.scm ../core-lib/objects.scm tests/main.scm tests/language-tests.scm tests/r5rs-tests.scm tests/fix-regression-tests.scm ext/fastlz/LICENSE ext/fastlz/README.TXT ext/fastlz/6pack.c ext/fastlz/6unpack.c ext/upskirt/array.c ext/upskirt/kilt.c ext/upskirt/array.h ext/upskirt/lace.c ext/upskirt/benchmark.c ext/upskirt/LICENSE ext/upskirt/BSDmakefile ext/upskirt/markdown.c ext/upskirt/buffer.c ext/upskirt/markdown.h ext/upskirt/buffer.h ext/upskirt/README ext/upskirt/expanded_markdown.sh ext/upskirt/renderers.c ext/upskirt/GNUmakefile ext/upskirt/renderers.h'; \
dist_files=`for file in $list; do echo $file; done | \
sed -e "s|^$srcdirstrip/||;t" \
-e "s|^$topsrcdirstrip/|./|;t"`; \
case $dist_files in \
*/*) /bin/mkdir -p `echo "$dist_files" | \
sed '/\//!d;s|^|dfsch-0.4.0-dev/|;s,/[^/]*$,,' | \
sort -u` ;; \
esac; \
for file in $dist_files; do \
if test -f $file || test -d $file; then d=.; else d=..; fi; \
if test -d $d/$file; then \
dir=`echo "/$file" | sed -e 's,/[^/]*$,,'`; \
if test -d "dfsch-0.4.0-dev/$file"; then \
find "dfsch-0.4.0-dev/$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d ../$file && test $d != ..; then \
cp -fpR ../$file "dfsch-0.4.0-dev$dir" || exit 1; \
find "dfsch-0.4.0-dev/$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $d/$file "dfsch-0.4.0-dev$dir" || exit 1; \
else \
test -f "dfsch-0.4.0-dev/$file" \
|| cp -p $d/$file "dfsch-0.4.0-dev/$file" \
|| exit 1; \
fi; \
done
*** glibc detected *** sed: free(): invalid next size (fast): 0x000000000160edf0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x2b333fa5e606]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x2b333fa6333c]
/lib/x86_64-linux-gnu/libc.so.6(+0xbde86)[0x2b333faa9e86]
/lib/x86_64-linux-gnu/libc.so.6(+0xc050c)[0x2b333faac50c]
/lib/x86_64-linux-gnu/libc.so.6(re_search+0x18)[0x2b333faaca08]
sed[0x407ab2]
sed[0x4069fc]
sed[0x407884]
sed[0x40286c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x2b333fa0aead]
sed[0x402259]
======= Memory map: ========
00400000-0040f000 r-xp 00000000 09:00 253491 /bin/sed
0060f000-00610000 rw-p 0000f000 09:00 253491 /bin/sed
00610000-00618000 rw-p 00000000 00:00 0
01606000-01627000 rw-p 00000000 00:00 0 [heap]
2b333f5ac000-2b333f5cb000 r-xp 00000000 09:00 230641 /lib/x86_64-linux-gnu/ld-2.13.so
2b333f5cb000-2b333f5cd000 rw-p 00000000 00:00 0
2b333f7cb000-2b333f7cc000 r--p 0001f000 09:00 230641 /lib/x86_64-linux-gnu/ld-2.13.so
2b333f7cc000-2b333f7cd000 rw-p 00020000 09:00 230641 /lib/x86_64-linux-gnu/ld-2.13.so
2b333f7cd000-2b333f7ce000 rw-p 00000000 00:00 0
2b333f7ce000-2b333f7ea000 r-xp 00000000 09:00 230088 /lib/x86_64-linux-gnu/libselinux.so.1
2b333f7ea000-2b333f9e9000 ---p 0001c000 09:00 230088 /lib/x86_64-linux-gnu/libselinux.so.1
2b333f9e9000-2b333f9ea000 r--p 0001b000 09:00 230088 /lib/x86_64-linux-gnu/libselinux.so.1
2b333f9ea000-2b333f9eb000 rw-p 0001c000 09:00 230088 /lib/x86_64-linux-gnu/libselinux.so.1
2b333f9eb000-2b333f9ec000 rw-p 00000000 00:00 0
2b333f9ec000-2b333fb66000 r-xp 00000000 09:00 230039 /lib/x86_64-linux-gnu/libc-2.13.so
2b333fb66000-2b333fd66000 ---p 0017a000 09:00 230039 /lib/x86_64-linux-gnu/libc-2.13.so
2b333fd66000-2b333fd6a000 r--p 0017a000 09:00 230039 /lib/x86_64-linux-gnu/libc-2.13.so
2b333fd6a000-2b333fd6b000 rw-p 0017e000 09:00 230039 /lib/x86_64-linux-gnu/libc-2.13.so
2b333fd6b000-2b333fd71000 rw-p 00000000 00:00 0
2b333fd71000-2b333fd73000 r-xp 00000000 09:00 230089 /lib/x86_64-linux-gnu/libdl-2.13.so
2b333fd73000-2b333ff73000 ---p 00002000 09:00 230089 /lib/x86_64-linux-gnu/libdl-2.13.so
2b333ff73000-2b333ff74000 r--p 00002000 09:00 230089 /lib/x86_64-linux-gnu/libdl-2.13.so
2b333ff74000-2b333ff75000 rw-p 00003000 09:00 230089 /lib/x86_64-linux-gnu/libdl-2.13.so
2b333ff75000-2b333ff77000 rw-p 00000000 00:00 0
2b333ff77000-2b33468cf000 r--p 00000000 09:00 1235181 /usr/lib/locale/locale-archive
2b33468cf000-2b33468d6000 r--s 00000000 09:00 1269320 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
2b33468d6000-2b33468d8000 rw-p 00000000 00:00 0
2b33468f1000-2b3346906000 r-xp 00000000 09:00 230038 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b3346906000-2b3346b06000 ---p 00015000 09:00 230038 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b3346b06000-2b3346b07000 rw-p 00015000 09:00 230038 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b3348000000-2b3348021000 rw-p 00000000 00:00 0
2b3348021000-2b334c000000 ---p 00000000 00:00 0
7fff508a7000-7fff508c8000 rw-p 00000000 00:00 0 [stack]
7fff50946000-7fff50947000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment