Duplicate of https://github.com/tarantool/tarantool/issues/19
** Changed in: tarantool
Status: New => Invalid
--
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1031241
Title:
[FreeBSD]: Crash with static build
Status in Tarantool - an efficient in-memory data store:
Invalid
Bug description:
Built in:
FreeBSD ololo 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Aug 18 11:19:07
MSD 2011 root@ololo:/usr/obj/usr/src/sys/OLOLO amd64
12:04 %> tarantool_box --version
Tarantool/Box 1.4.7
Target: FreeBSD-amd64-Debug
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_STATIC=true
-DENABLE_GCOV=OFF -DENABLE_TRACE=ON -DENABLE_BACKTRACE=ON -DENABLE_CLIENT=true
Compiler: /usr/local/bin/gcc46
CFLAGS:-pipe -O0 -DCORO_ASM -fno-omit-frame-pointer -fno-stack-protector
-fexceptions -funwind-tables -fgnu89-inline -pthread -static -Wno-sign-compare
-Wno-strict-aliasing -std=gnu99 -Wall -Wextra -Werror
12:02 %> gdb tarantool_box
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) r
Starting program: /usr/local/bin/tarantool_box
[New LWP 100458]
[New LWP 100458]
/usr/local/bin/tarantool_box: updating a stale pid file
[New Thread 800a111c0 (LWP 100458)]
Program received signal SIGABRT, Aborted.
[Switching to Thread 800a111c0 (LWP 100458)]
0x0000000000598ddc in thr_kill ()
(gdb) thread apply all backtrace
[New Thread 10a041c0 (LWP 100428)]
Thread 3 (Thread 10a041c0 (LWP 100428)):
#0 0x0000000000510a2c in _umtx_op_err ()
#1 0x000000000050ebf0 in cond_wait_common ()
#2 0x00000000004484ce in wal_writer_pop ()
#3 0x0000000000448b38 in wal_writer_thread ()
#4 0x000000000050de21 in thread_start ()
#5 0x0000000000000000 in ?? ()
Error accessing memory address 0x7fffffbff000: Bad address.
Thread 2 (Thread 800a111c0 (LWP 100458)):
#0 0x0000000000598ddc in thr_kill ()
#1 0x00000000005cff48 in abort ()
#2 0x00000000005944a5 in uw_init_context_1 (context=0x7fffffffd8d0,
outer_cfa=0x7fffffffdb00,
outer_ra=0x457825) at unwind-pe.h:155
#3 0x00000000005948f7 in _Unwind_RaiseException (exc=0x800a04920) at
unwind-pe.h:155
#4 0x0000000000457825 in err_raise_ext (errcode=3) at lj_err.c:171
#5 0x0000000000457882 in lj_err_throw (L=0x108ac378, errcode=3) at
lj_err.c:171
#6 0x00000000004581c4 in lj_err_lex (L=Could not find the frame base for
"lj_err_lex".
) at lj_err.c:171
#7 0x000000000046e9bc in lj_lex_error (ls=Could not find the frame base for
"lj_lex_error".
) at lj_lex.c:50
#8 0x000000000046eb09 in err_token (ls=Could not find the frame base for
"err_token".
) at lj_parse.c:91
#9 0x00000000004764de in lj_parse (ls=0x7fffffffe140) at lj_parse.c:91
#10 0x000000000046b8fe in cpparser (L=0x108ac378, dummy=0, ud=0x7fffffffe140)
at lj_api.c:39
#11 0x000000000049439e in lj_vm_cpcall ()
#12 0x000000000046ba82 in lua_load (L=0x108ac378, reader=0x48c68a
<reader_string>, data=0x7fffffffe210,
chunkname=0x10924050 "return os.execute = nil\nos.exit = nil\nos.rename =
nil\nos.tmpname = nil\nos.remove = nil\nrequire = nil\n") at lj_api.c:39
#13 0x000000000048c71b in luaL_loadbuffer (L=0x108ac378,
buf=0x10924050 "return os.execute = nil\nos.exit = nil\nos.rename =
nil\nos.tmpname = nil\nos.remove = nil\nrequire = nil\n", size=101,
name=0x10924050 "return os.execute = nil\nos.exit = nil\nos.rename =
nil\nos.tmpname = nil\nos.remove = nil\nrequire = nil\n") at lib_aux.c:33
#14 0x000000000048c76e in luaL_loadstring (L=0x108ac378,
s=0x10924050 "return os.execute = nil\nos.exit = nil\nos.rename =
nil\nos.tmpname = nil\nos.remove = nil\nrequire = nil\n") at lib_aux.c:33
#15 0x0000000000430a51 in tarantool_lua_dostring ()
#16 0x00000000004310db in tarantool_lua_sandbox ()
#17 0x0000000000431173 in tarantool_lua_load_init_script ()
#18 0x000000000042e7d3 in main ()
(gdb)
To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1031241/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp