rendered paste body -- Executing TxFAX("SIP/aretha.navynet.it-42a5", "/root/fax/test3_opbx_rulez.tif|caller|debug") in new stack
openpbx: Error detected by libpthread: Invalid condition variable.
Detected by file "/home/builds/ab/netbsd-3-1-RELEASE/src/lib/libpthread/pthread_cond.c", line 283, function "pthread_cond_signal".
See pthread(3) for information.
Abort trap (core dumped)
bash-2.05b# gdb ./openpbx openpbx.core
(gdb) bt
#0 0xbd73e0fb in kill () from /usr/lib/libc.so.12
#1 0xbd8303b5 in pthread__errorfunc () from /usr/lib/libpthread.so.0
#2 0xbd82e17f in pthread_cond_signal () from /usr/lib/libpthread.so.0
#3 0xbdb35d05 in opbx_cond_signal (cond=0x81a28cc)
at ../include/openpbx/lock.h:604
#4 0xbdb3573d in opbx_generator_deactivate (chan=0x81a2800) at generator.c:136
#5 0xbdb2fb58 in opbx_read (chan=0x81a2800) at channel.c:1562
#6 0xb9961aa5 in txfax_exec (chan=0x81a2800, data=0xb97fdb38)
at app_txfax.c:440
#7 0xbdb4cb83 in pbx_exec (c=0x81a2800, app=0x8198a00, data=0xb97fdb38,
newstack=1) at pbx.c:604
#8 0xbdb4fbf9 in pbx_extension_helper (c=0x81a2800, con=0x0,
context=0x81a2994 "faxout", exten=0x81a2a88 "s", priority=3, label=0x0,
callerid=0x0, action=1) at pbx.c:1846
#9 0xbdb50e3b in opbx_spawn_extension (c=0x81a2800,
context=0x81a2994 "faxout", exten=0x81a2a88 "s", priority=3, callerid=0x0)
at pbx.c:2379
#10 0xbdb5124a in __opbx_pbx_run (c=0x81a2800) at pbx.c:2446
#11 0xbdb51fdd in opbx_pbx_run (c=0x81a2800) at pbx.c:2715
#12 0xbdb57703 in opbx_pbx_outgoing_exten (type=0x81ad114 "SIP", format=64,
data=0x81ad214, timeout=30000, context=0x81ad614 "faxout",
exten=0x81ad514 "s", priority=1, reason=0xb97fffc0, sync=2,
cid_num=0x81ad718 "", cid_name=0x81ad818 "", vars=0x8061280, channel=0x0)
---Type <return> to continue, or q <return> to quit---
at pbx.c:5196
#13 0xbd624ec2 in attempt_thread (data=0x81ad000) at pbx_spool.c:266
#14 0xbd82f17d in pthread_create () from /usr/lib/libpthread.so.0
(gdb)
(gdb)
(gdb) bt full
#0 0xbd73e0fb in kill () from /usr/lib/libc.so.12
No symbol table info available.
#1 0xbd8303b5 in pthread__errorfunc () from /usr/lib/libpthread.so.0
No symbol table info available.
#2 0xbd82e17f in pthread_cond_signal () from /usr/lib/libpthread.so.0
No symbol table info available.
#3 0xbdb35d05 in opbx_cond_signal (cond=0x819f8cc)
at ../include/openpbx/lock.h:604
No locals.
#4 0xbdb3573d in opbx_generator_deactivate (chan=0x819f800) at generator.c:136
i = 658
pgcd = (struct opbx_generator_channel_data *) 0x819f8a8
#5 0xbdb2fb58 in opbx_read (chan=0x819f800) at channel.c:1562
f = (struct opbx_frame *) 0x0
blah = -1182820000
prestate = 271028
null_frame = {frametype = 5, subclass = 0, datalen = 0, samples = 0,
mallocd = 0, offset = 0, seq_no = 0, src = 0x0, data = 0x0, delivery = {
tv_sec = 0, tv_usec = 0}, prev = 0x0, next = 0x0, has_timing_info = 0,
ts = 0, len = 0, seqno = 0, tx_copies = 0}
#6 0xb9961aa5 in txfax_exec (chan=0x819f800, data=0xb97fdb38)
at app_txfax.c:440
res = 15
---Type <return> to continue, or q <return> to quit---
source_file = "/root/fax/test3_opbx_rulez.tif", '\0' <repeats 178 times>, "\r\0\0\0J\207\a\bè\210\177¹", '\0' <repeats 12 times>, "è\210\177¹\0\0\0\0
x = 0x805f41c "OpenPBX Fax"
s = 0xb97fdb64 ""
t = 0xb97fdb5e "debug"
v = 0x0
option = 3
len = 160
fax = {t30_state = {t4 = {vendor = 0x0, model = 0x0,
local_ident = 0xb97e72f8 "inxs2-nbsd", far_ident = 0x0,
sub_address = 0x0, header_info = 0xb97e73a0 "OpenPBX Fax",
line_encoding = 0, min_scan_line_bits = 0, output_compression = 0,
output_t4_options = 0, page_start_time = 0, bytes_per_row = 0,
image_size = 0, image_buffer_size = 0, image_buffer = 0x0,
tiff_file = 0x0, file = 0x0, start_page = 0, stop_page = 0,
pages_transferred = 0, x_resolution = 0, y_resolution = 0,
image_width = 0, row = 0, image_length = 0, curr_bad_row_run = 0,
longest_bad_row_run = 0, bad_rows = 0, bits_to_date = 0, bits = 0,
row_is_2d = 0, its_black = 0, row_len = 0, first_eol_seen = 0,
consecutive_eols = 0, ref_runs = 0x0, cur_runs = 0x0, pa = 0x0,
pb = 0x0, a0 = 0, b1 = 0, run_length = 0, black_white = 0, data = 0,
bit = 0, last_row_starts_at = 0, row_starts_at = 0, row_buf = 0x0,
---Type <return> to continue, or q <return> to quit---
bit_pos = 0, bit_ptr = 0, ref_row_buf = 0x0,
max_rows_to_next_1d_row = 0, rows_to_next_1d_row = 0, min_row_bits = 0,
row_bits = 0, logging = {level = 0, samples_per_second = 0,
elapsed_samples = 0, tag = 0x0, protocol = 0x0, span_message = 0,
span_error = 0}}, calling_party = 1,
... FOLLOWS