(gdb) bt full #0 session_originate (cx=0x856e988, obj=0x85d59b0, argc=2, argv=0x85e44c8, rval=0xaad1a25c) at mod_spidermonkey.c:2855 jss = (struct js_session *) 0x0 pool = (switch_memory_pool_t *) 0x0 __func__ = "session_originate" #1 0x00806231 in js_Invoke () from /usr/local/freeswitch/lib/libjs.so.1 No symbol table info available. #2 0x007f9418 in js_Interpret () from /usr/local/freeswitch/lib/libjs.so.1 No symbol table info available. #3 0x00805976 in js_Execute () from /usr/local/freeswitch/lib/libjs.so.1 No symbol table info available. #4 0x007c503a in JS_ExecuteScript () from /usr/local/freeswitch/lib/libjs.so.1 No symbol table info available. #5 0x0070bfe4 in eval_some_js (code=0x84c3656 "new1.js", cx=0x856e988, obj=0x85d3fc8, rval=0xaad1b278) at mod_spidermonkey.h:103 script = (JSScript *) 0x854ba20 cptr = path = 0x854cef0 "/usr/local/freeswitch/scripts/new1.js" script_name = result = -1 __func__ = "eval_some_js" #6 0x0070c592 in js_parse_and_execute (session=0x0, input_code=0x84c3656 "new1.js", ro=0xaad1b2a0) at mod_spidermonkey.c:3583 javascript_global_object = (JSObject *) 0x85d3fc8 buf = "~var argv = new Array();\000\000\000\000\020?[\b����\207��\000\020?[\bl��� �V\b@E�\000\000\220Z\b\024\000\000\000\210���h��\000X|V\b\020?[\b\017\000\000\000\000\000\000\000`���\020?[\b\000\000\000\000����u��\000 a�\000�\002\000\000@E�\000kz�\000@E�\000H������\000`�V\b\000\000\00---Type to continue, or q to quit--- 0\000�\002\000\000@E�\000\030\000\000\000X|V\b�?[\b`���\000\000\000\000\a\000\000\000\001\000\000\000\000\000\000\000}\000\000\000\031\000\000\000\a\000\000\000\024\000\000\000"... argv = {0xaad1acd8 "\a", 0xc76150 "�d^\b\230�T\b\230�T\b\230�T\b\230�T\b\230�T\b`a�", 0x0, 0x0, 0xb9d7c1 "\201�3x\r", 0xf475e1 "\201�_�\b", 0x0, 0x0, 0x0, 0xaad1acd8 "\a", 0x85b5ba0 "", 0x1
, 0x85b3f10 "(3[\bTh/\006,>]\bP�\205", 0xaad1acd8 "\a", 0x0, 0x0, 0xaad1acd8 "\a", 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xaad1a718 "x������", 0xf4df57 "\213M�\vM�\211M�\213M�\vM�\211M�\213M�\t�\211M�\213M�\213u�\t�\211�\t�\211M�\t�\203�0\211�\211�^_]�\215v", 0xc5c69c "double free or corruption (!prev)", 0xb9cf61 "\201�\223\200\r", 0x85b3fa0 "", 0xf68c07 "\201�9�\006", 0x1
, 0x0, 0x0, 0x0, 0x1
, 0x0, 0x1
, 0x0, 0xfd4540 "\030�\024", 0x85b3f58 "", 0xaad1a978 "���", 0xf4eedd "\205�t\027\213\225����\213B\020\213@\f\2130\200>Y\017\204\224\002", 0x856e988 "@\207V\b@\207V\b\001", 0x85b3fa0 "", 0xaad1a960 "\f", 0xaad1a965 "|V\b\230������", 0xb9d7c1 "\201�3x\r", 0x85a8bf0 "H\001", 0x29d8
, 0x2220
, 0xc5c69c "double free or corruption (!prev)", 0x9
, 0xaad1a7b8 "Xa�", 0xf57b39 "\201�\a�\a", 0x856ee58 "API-Command", 0xc762b8 "�b�", 0x0, 0x0, 0xaad1ab5c "��������\001", 0x85a97c0 "t>]\b �\205", 0x45000000
, 0xaad1ab70 "�?[\b��", 0xaad1acd8 "\a", 0x85b3fa0 "", 0xb9d7c1 "\201�3x\r", 0x0, 0x1
, 0x0, 0xb9d7c1 "\201�3x\r", 0x45
, 0x2
, 0x30
, 0xaad1a7a8 "\030���Pa�", 0xf534b3 "1���\211�\215�'", 0xaad1a817 "", 0x0, 0xaad1a818 "\217���Xc�", 0xc76150 "�d^\b\230�T\b\230�T\b\230�T\b\230�T\b\230�T\b`a�", 0xaad1a827 "", 0x0, 0xc76158 "\230�T\b\230�T\b\230�T\b\230�T\b`a�", 0x19
, 0xc7612c "", 0x85a9680 "", 0x38
, 0x19
, 0x0, 0x85a9668 "f", 0x50
, 0x0, 0x0, 0xaad1a800 "�~V\b\003", 0x0, 0x0, 0xb9d7c1 "\201�3x\r", 0x85d3cc0 "\006", 0x7e8
, 0x85d3cc8 "\006", 0x8567ea8 "", 0x3
, 0x7e4
, 0xfd4540 "\030�\024", 0x85d3cc8 "\006", 0x3
, 0xaad1a88f "", 0xc76358 "Pc�", 0xc74ff4 "\234M�", 0xc76120 "", 0xf
, 0xaad1a848 "x������", 0xb9ef75 "\205�\211�t*e\203=\f", 0xc76120 "", 0xb9d7c1 "\201�3x\r", 0xfd4540 "\030�\024", 0x6
, 0xf
, 0xaad1a878 "����\021", 0xf4adfa "�\004>", 0x85a9688 "dC]\b", 0x85a9670 "a", 0xf
, ---Type to continue, or q to quit--- 0xc76168 "`a�", 0xaad1a8d7 "\b", 0xc76158 "\230�T\b\230�T\b\230�T\b\230�T\b`a�", 0xc76158 "\230�T\b\230�T\b\230�T\b\230�T\b`a�", 0xc76150 "�d^\b\230�T\b\230�T\b\230�T\b\230�T\b\230�T\b`a�", 0x6
, 0x8567c58 "", 0xaad1a8a8 "\030����f�", 0x11
, 0xc76128 "", 0xc76150 "�d^\b\230�T\b\230�T\b\230�T\b\230�T\b\230�T\b`a�", 0x20
, 0x0, 0x1
, 0x85b3f6c "!", 0xaad1a8c8 "X|V\b[\\�", 0xfd4540 "\030�\024", 0x59
, 0x85b3f58 "", 0xaad1a918 "\001", 0xf666c0 "�\001", 0x8567c58 "", 0x59
, 0x0, 0x0, 0x85a9698 "rom \021", 0x2
, 0x8567c58 "", 0xf65c5b "\203�\001\031�\203�\020!�[^]�\215�&", 0xf47551 "\201���\b", 0x85e12e8 "H�Z\b��Z\b��Z\bh�Z\b", 0x0, 0xfd4540 "\030�\024", 0xc74ff4 "\234M�", 0xc76120 "", 0x1
, 0xaad1a908 "8������", 0xb9ef75 "\205�\211�t*e\203=\f", 0xc76120 "", 0x2
, 0xfd4540 "\030�\024", 0x8
, 0x1
, 0xaad1a938 "h������", 0xf4adfa "�\004>", 0x85a96a0 "m", 0x85d6838 "", 0x1
, 0xf4abce "\201�r\231\b", 0x85d6838 "", 0x85b3f58 "", 0x85a8f10 "G", 0xfd4540 "\030�\024", 0xfd4540 "\030�\024", 0xc
, 0xaad1a968 "\230������", 0xf4ada0 "\213U\020\213E�\205��@\f", 0x8567c58 "", 0xffffffff
, 0x85d6838 "", 0xf4bf07 "\201�9\206\b", 0xfbfcb9 "+", 0x42
, 0x85a8f60 "e", 0xfd4540 "\030�\024", 0xc
, 0x8567c58 "", 0xaad1a998 "�����\021�", 0xf4bfd6 "\211�\213]�\213u�\213}�\211�]�\215t&", 0x8567c58 "", 0xc
, 0xfbfcb9 "+", 0xf4eb64 "\201��Y\b", 0x0, 0xaad1ab5c "��������\001", 0x1
, 0xfd4540 "\030�\024", 0x8567eb0 "", 0xfffffffc
...} y = 140335432 cx = (JSContext *) 0x856e988 rval = -2147483647 #7 0x0070c8b1 in jsapi_function (cmd=0x84c3656 "new1.js", session=0x0, stream=0xaad1b328) at mod_spidermonkey.c:3663 ro = {cmd = 0x84c3656 "new1.js", session = 0x0, stream = 0xaad1b328} path_info = #8 0x00edb91d in switch_api_execute (cmd=0x84c3650 "jsapi", arg=0x84c3656 "new1.js", session=0x0, stream=0xaad1b328) ---Type to continue, or q to quit--- at src/switch_loadable_module.c:1524 api = (switch_api_interface_t *) 0x85233e0 status = __PRETTY_FUNCTION__ = "switch_api_execute" __func__ = "switch_api_execute" #9 0x00ec0c06 in switch_console_process (cmd=0x84c3650 "jsapi", rec=0) at src/switch_console.c:254 handle = (FILE *) 0xc754c0 arg = 0x84c3656 "new1.js" alias = stream = {write_function = 0xec1c30 , raw_write_function = 0xec1de0 , data = 0x8567c58, end = 0x8567c58, data_size = 1024, data_len = 0, alloc_len = 1024, alloc_chunk = 1024, param_event = 0x8449110} __func__ = "switch_console_process" __PRETTY_FUNCTION__ = "switch_console_process" #10 0x00ec0e3a in console_thread (thread=0x8535980, obj=0x85358f8) at src/switch_console.c:454 cmd = 0x84c3650 "jsapi" p = lf = foo = 0x84ca320 "jsapi new1.js\n" count = 14 line = 0x84ca320 "jsapi new1.js\n" pool = (switch_memory_pool_t *) 0x85358f8 __func__ = "console_thread" __PRETTY_FUNCTION__ = "console_thread" ---Type to continue, or q to quit--- #11 0x00f370d6 in dummy_worker (opaque=0x8535980) at threadproc/unix/thread.c:138 No locals. #12 0x00caf462 in start_thread () from /lib/i686/nosegneg/libpthread.so.0 No symbol table info available. #13 0x00c062ce in clone () from /lib/i686/nosegneg/libc.so.6 No symbol table info available.