Program terminated with signal 11, Segmentation fault. #0 0x007559eb in custom_prepare (obj=0x11993428, data=0xb75ea178) at res_config_odbc.c:121 121 ast_string_field_set(cps, encoding[x], encodebuf); (gdb) bt full #0 0x007559eb in custom_prepare (obj=0x11993428, data=0xb75ea178) at res_config_odbc.c:121 __d__ = 0xb75e9b88 "12345^3B" __dlen__ = 9 __p__ = 0xb75ea194 eptr = 0xb75e9b90 "" vptr = 0x119f75f4 "" res = 0 x = 4 count = 4 cps = 0xb75ea178 newparam = 0x81e1f30 "value" newval = 0x119f75ee "12345;" encodebuf = "12345^3B\000\000\000\000\247e\022\bÈ\267\065\344E\000\200\323E\000\250\233^\267\247e\022\b\334u\232\021Ø\267\364iA\000\v\000\000\000\210\206\250\000\v\000\000\000è\021\000@\000\000\312\025]\000Y\206\250\000\370F\266\000\370\233^\267?\207\250\000\360\301\232\021ì\021\a\000\000\000\370F\266\000\334u\232\021\000\000\000\000H\234^\267[\231\250\000H\201\232\021\360\301\232\021\a\000\000\000;\234^\267\230\234^\267\367\301\232\021\002\000\000\000\000\000\000\000\a\000\000\000\334u\000\001\000\000\000\000\250\223\250\000\334u\232\021\360\301\232\021;\000\000\000\370F\266\000\334u\232\021\334u\232\021\250\234^\267K\235\250\000\334u\232\021H\301A\000\000\000\000\000\370F\266\000\334u\232\021\204\234^\267\224\235^\267\000\000\000\000\230\234^\267\203\234^\267\000\000\000\000\224\235^\267H\235^7\000\000\000\003\000[)\250\370F\266\000\334u\232\021\000\000\000\000\000\000\000\000\a\017\246\000\334u\232\021\000\000\000\000\330\234^\267\370F\266\000tx\232\021\334u\232\021\330\234^\267\345#\250\000tx\232\021\000 \000\000\000\000\000\000\370"... stmt = 0x11a26208 ap = 0xb75eab24 "" __PRETTY_FUNCTION__ = "custom_prepare" #1 0x00683bb3 in ast_odbc_prepare_and_execute (obj=0x11993428, prepare_cb=0x7554b6 , data=0xb75ea178) at res_odbc.c:624 res = 0 i = 256 attempt = 0 nativeerror = 0 numfields = 0 diagbytes = 0 state = "\364\177J\000\371\000\000\000\264\245" diagnostic = "\364C;\000,\240^\267Ȥu\000T\241^\267\254\247^\267\000\000\000\000Ì ^\267\377\000\000\000\001\200\255\373\254\247^\267\254\247^\267\254\247^\267\254\247^\267\366\247^\267\253\250^\267\254\247^\267\253\250^\267", '\000' , "BC 3\000\000\000\000Driv\000\000\000[\000\000\000\000ld-5.0.77]Indica\000\000\000\000variable\377\377\377\377uired but not supplied\000r\000\240^\267à^\267\000\000\000\000\324\241^\267@yJ\000\000\000\000\000\200\241^\267`[\232\021\306j\276\b\000\000\000\000\000\000\000\000\a\017\246\000!\367\367\235\000\000\000\000\000\000\000\000\370F\266\000tx\232\021\374\377\377\377\271Y]\000\271Y]\000,\241^\267E\317E\000U\360E" stmt = 0xb75ea14c __PRETTY_FUNCTION__ = "ast_odbc_prepare_and_execute" #2 0x007583a2 in store_odbc (database=0xb75ea9ec "testing", table=0xb75ea8ec "astdb", ap=0xb75eab04 "E\037\036\b \213\"\b6\037\036\b\335u\237\021=\037\036\b\351u\237\021\060\037\036\b\356u\237\021") at res_config_odbc.c:751 obj = 0x11993428 stmt = 0x100 sql = "INSERT INTO astdb (systemname, family, keyname, value) VALUES (?, ?, ?, ?)\000\267\210\250^\267\241\004\022\b\200\064!\b\000\000\000\000(\250^\267?\356\031\b4\210\b\022(\t\000\000(\250^\267\247\371\021\b\324\312\373\b(\177\b\022\210\250^\267\t\000\000\000Q\376\036\bt\004\036\b\000\000\000\000\002\020\036\b\256\r\036\b\200\064!\b\204\305\373\bM[h\000(4\231\021", '\000' , "\t\000\000\000Q\376\036\bt\004\036\b\000\000\000\000\340\304\373\b\001\000\000\000\000\000\000\000\066\037\036\b \213\"\b*\037\036\bȨ^\267\302J\r\bt\004\036\b\370\a\000\000\002\020"... keys = "systemname, family, keyname, value", '\000' , "\f\250^\267\000\000\000\000\030\250^\267\020\250^\267\024\250^\267\034\250^\267", '\000' "\305, \371K\000\220\273^\267u\004\036\b'\314K\000\000\000\000\000\000\000\000\000\360\352\031\b\n<\000" vals = "?, ?, ?, ?\000\000Kp4\000\064\200\004\b\b\000\000\000\252\002\000\000\000\000\000\000\270\001", '\000' "\364, \177J\000\000\000\000\000\247e\022\b\030\246^\267\065\344E\000\200\323E\000\370\245^\267\247e\022\b\000\000\000\000\254\334 \b\000\000\000\000\000\000\000\000\200z]\000\204\305\373\bR\376\036\bh\246^\267\312\025]\000\247e\022\b\260\247^\267\300\000\000\000\234\246^\267\064\r]\000\000\000\000\000\000[)\250\200z]\000\364\177J\000\204\305\373\b\370\247^\267h\246^\267R\217C\000\\\247^\267\005\000\000\000\364\177J\000\204\305\373\bR\376\036\b\350\247^\267P']\000\\\247^\267\370---Type to continue, or q to quit--- \247^\267\270\246^\267\\\247^\267\234\246^\267\370\247^\267\340\216C\000\005\000\000\000\bb\242\021\244\303\b\022\375\377\377\377", '\000' rowcount = 0 newparam = 0x0 res = 295854600 aq = 0xb75eab28 "" cps = {sql = 0xb75ea7ac "INSERT INTO astdb (systemname, family, keyname, value) VALUES (?, ?, ?, ?)", extra = 0x0, __field_mgr_pool = 0x0, encoding = {0x0 }, __field_mgr = {last_alloc = 0x0, embedded_pool = 0x0, owner_file = 0x0, owner_func = 0x0, owner_line = 0}, ap = 0xb75eab04 "E\037\036\b \213\"\b6\037\036\b\335u\237\021=\037\036\b\351u\237\021\060\037\036\b\356u\237\021", skip = 0} connected_flag = {flags = 4} __PRETTY_FUNCTION__ = "store_odbc" #3 0x080d5372 in ast_store_realtime (family=0x81e1f2a "astdb") at config.c:2323 eng = 0x75c380 res = -1 i = 1 db = "testing\000\244\275\b\022\250\253^\267\030\252^\267R\217C\000\f\253^\267\005\000\000\000\364\177J\000\244\275\b\022R\376\036\b\230\253^\267P']\000\f\253^\267\250\253^\267\000\000\000\000\f\253^\267L\252^\267\250\253^\267\340\216C\000\005\000\000\000\247e\022\bЫ^\267\300", '\000' table = "astdb\000\000\000X\263I\000\000'H\000\247e\022\bL\307 \b\000\000\000\000\000[)\250\200z]\000'\314K\000\000\000\000\000\032\004\064\000%\001\000\000\n\000\000\000\234\307 \bX\306\064\000X\306\064\000\230\251^\267\272\274E\000@\302\064\000(\000\000\000\250\251^\267\000\300\064\000\000\000\000\000\065\344E\000\001", '\000' "\362, ", '\000' , "Kp4\000\064\200\004\b\b\000\000\000\252\002\000\000\000\000\000\000\270\001", '\000' "\364, \177J\000\000\000\000\000\247e\022\bÈ©^\267\065\344E\000\200\323E\000\250\251^\267\247e\022\b\000\000\000\000\254\334 \b\000\000\000\000\000\000\000\000\200z]\000\244\275\b\022R\376\036\b\030\252^\267\312\025]\000\247e\022\b`\253^\267\300\000\000\000L\252^\267\064\r]\000\000\000\000\000\000[)\250" ap = 0xb75eab04 "E\037\036\b \213\"\b6\037\036\b\335u\237\021=\037\036\b\351u\237\021\060\037\036\b\356u\237\021" #4 0x080dd30e in ast_db_put (family=0x119f75dd "APPLERAISIN", keys=0x119f75e9 "TEST", value=0x119f75ee "12345;") at db.c:344 rowsaffected = 0 key = {data = 0x9a0, size = 136394872} data = {data = 0x81de02b, size = 150656628} res = 1 __PRETTY_FUNCTION__ = "ast_db_put" #5 0x080ddbb8 in handle_cli_database_put (e=0x8213878, cmd=-4, a=0xb75eacdc) at db.c:493 res = 136110147 #6 0x080ceae5 in ast_cli_command_full (uid=0, gid=0, fd=19, s=0xb75eae7c "database put APPLERAISIN TEST 12345;") at cli.c:2488 args = {0x8213878 "(\370)\t1\370)\t", 0x119f75d0 "database", 0x119f75d9 "put", 0x119f75dd "APPLERAISIN", 0x119f75e9 "TEST", 0x119f75ee "12345;", 0x0 } e = 0x8213878 x = 5 duplicate = 0x119f75d0 "database" tmp = "database put APPLERAISIN TEST 12345;", '\000' retval = 0x0 a = {fd = 19, argc = 5, argv = 0xb75ead44, line = 0x0, word = 0x0, pos = 0, n = 0} __PRETTY_FUNCTION__ = "ast_cli_command_full" #7 0x080cec33 in ast_cli_command_multiple_full (uid=0, gid=0, fd=19, size=37, s=0xb75eb0e4 "database put APPLERAISIN TEST 12345;") at cli.c:2511 cmd = "database put APPLERAISIN TEST 12345;\000\257^\267\215\231\063\000È®^\267\344\257^\267\350Dmw\037\000\000\000$|5\000\304g5\000\350Dmw\340c]\000\000\000\000\000\000\000\000\000\005\000\000\000\237\003\000\000\330\063\375\267\240\365\375\267\266<\005\b\224\a6\000\004\311\004\b\001\000\000\000\300\277\064\000\020\310\064\000د^\267\364\257^\267\247\232\063\000\004\311\004\bد^\267\264\307\064\000\003\000\000\000\330\063\375\267\005\000\000\000\000\000\000\000\001\000\000\000\364\270\004\b\370\257^\267\264\307\064\000\003\000\000\000\330\063\375\267\005\000\000\000\000\000\000\000\001\000\000\000\344\257^\267\234\260^\267\364\177J\000|\257^\267\344\260^\267h\260^\267\364C;\000|\257^\267\004\260^\267 \260^\267X\306\064\000\266<\005\b\034\260^\267\377\001\000\000\001\200\255\373\350Dmw\000\000\000\000\000\000\000\000X\306\064\000\370\066\005\b\343\262^\267\344\260^\267\343\262^\267P\265"... x = 36 y = 37 count = 0 #8 0x0807ecd1 in netconsole (vconsole=0x823efa0) at asterisk.c:1265 con = 0x823efa0 hostname = "apppleraisin", '\000' tmp = "database put APPLERAISIN TEST 12345;\000\000nf': \177 == Found\n\177 == Parsing '/etc/asterisk/logger_general_additional.conf': \177 == Found\n\177 == Parsing '/etc/asterisk/logger_general_custom.conf': \177 == Found\n\177"... res = 37 fds = {{fd = 19, events = 1, revents = 1}, {fd = 20, events = 1, revents = 0}} __PRETTY_FUNCTION__ = "netconsole" #9 0x0819fb5d in dummy_start (data=0x94ed048) at utils.c:973 __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {5025780, 0, -1218528368, -1218530376, -728548817, 1809085228}, __mask_was_saved = 0}}, __pad = {0xb75eb470, 0x0, 0x0, 0x0}} __cancel_routine = 0x807c69e __cancel_arg = 0xb75ebb90 not_first_call = 0 ret = 0x0 a = {start_routine = 0x807ea69 , data = 0x823efa0, name = 0x119dfda0 "netconsole", ' ' , "started at [ 1343] asterisk.c listener()"} lock_info = 0x12087f28 mutex_attr = {__size = "\001\000\000", __align = 1} __PRETTY_FUNCTION__ = "dummy_start" #10 0x004ba832 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #11 0x00425e0e in clone () from /lib/libc.so.6 No symbol table info available.