Max CtRiX пишет:
> Thomas Kenyon ha scritto:
>> I compiled from source, configured with these options:
>>
>> --enable-builtin-sqlite3 --enable-postgresql --enable-srtp
>> --enable-zaptel --enable-iax-trunking --enable-t38 --with-chan_fax
>> --with-chan_bluetooth --with-cdr_pgsql --with-res_config_pgsql
>>
>> I can't see an option referring to symbols in the configure script.
>
> --enable-debug=yes \
> --enable-do-crash=yes \
> --enable-frame-tracing=yes \
> --enable-valgrind=yes \
> --enable-debug=yes \
> --enable-debug-scheduler=yes \
> --enable-stack-backtraces=yes \
> --disable-optimization \
> --with-debug_malloc=yes
callweaver which build with this options produces segfault on every
'show channels' command with:
(gdb) bt full
#0 0x00002b25547d2a8b in strnlen () from /lib64/libc.so.6
No symbol table info available.
#1 0x00002b25547a5e9b in vfprintf () from /lib64/libc.so.6
No symbol table info available.
#2 0x00002b255482dce8 in __vsnprintf_chk () from /lib64/libc.so.6
No symbol table info available.
#3 0x00002b25544f1ac5 in opbx_app_group_get_count (group=0x4120c9c0
"0", category=0x2b255451d638 "D$4\203|$4") at app.c:1086
chan = (struct opbx_channel *) 0x2b255451dfa8
count = 0
test = 0x2b2554748100 "�016QT%+"
cat =
"\r\000\000\000\000\000\000\000��\000\000\000\000\000\000�A\000\000\000\000\025aMT%+\000\0000\000\000\0000\000\000\000�
A\000\000\000\000�
A\000\000\000\000\224�\000\000\000\000\000\001\000\000\000\000\000\000\000����\000\000\000"
s = 0xd <Address 0xd out of bounds>
#4 0x00002b255451d85a in opbx_module_helper (line=0x2b255451e514 "",
word=0x47 <Address 0x47 out of bounds>, pos=0, state=6356468,
rpos=11045, needsreload=1416968064)
at loader.c:136
m = (struct module *) 0x400040000000d
which = 0
ret = 0x2b2554a959e0 ""
#5 0x00002b2554753780 in ?? ()
No symbol table info available.
#6 0x000000000000000d in ?? ()
No symbol table info available.
#7 0x00002b2554748100 in ?? ()
No symbol table info available.
#8 0x000000004120cec0 in ?? ()
No symbol table info available.
#9 0x00002b25544d78bd in pbx_substitute_variables_helper_full
(c=0x6165776c6c61632f, headp=0x62696c2f7273752f, cp1=0x41 <Address 0x41
out of bounds>, cp2=0x0, count=0)
at pbx.c:1956
cp4 = 0x75646f6d2f726576 <Address 0x75646f6d2f726576 out of bounds>
tmp = 0x6d726f662f73656c <Address 0x6d726f662f73656c out of bounds>
whereweare = 0x615f6d63705f7461 <Address 0x615f6d63705f7461 out
of bounds>
length = 1420384832
workspace = 0x6f732e77616c <Address 0x6f732e77616c out of bounds>
ltmp = 0x10000006b <Address 0x10000006b out of bounds>
var = 0x51 <Address 0x51 out of bounds>
nextvar = 0x62696c2f7273752f <Address 0x62696c2f7273752f out of
bounds>
nextexp = 0x6165776c6c61632f <Address 0x6165776c6c61632f out of
bounds>
nextthing = 0x75646f6d2f726576 <Address 0x75646f6d2f726576 out
of bounds>
vars = 0x6d726f660073656c <Address 0x6d726f660073656c out of
bounds>
vare = 0x615f6d63705f7461 <Address 0x615f6d63705f7461 out of
bounds>
pos = 0
brackets = 11045
needsub = 80
len = 0
__PRETTY_FUNCTION__ = "pbx_substitute_variables_helper_full"
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
--
С уважением,
Прокопьев Евгений
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users