Bug#441237:
John Hughes
john at Calva.COM
Tue Sep 11 18:47:57 UTC 2007
Faidon Liambotis wrote:
> reassign 441237 asterisk-chan-capi 1.0.1-1
> severity 441237 grave
> retitle 441237 compiled with asterisk-dev 1.2 and segfaults with 1.4
> thanks
>
> John Hughes wrote:
>
>> Tried recompiling asterisk-chan-capi, bug went away, something wrong
>> with asterisk-chan-capi 1.0.1-1?
>>
>> I guess problem is that asterisk-chan-capi is compiled against 1.2, but
>> I'm using 1.4.
>>
>> A versioning bug.
>>
> Is this 100% reproducable (both the crashing and the non-crashing build)?
>
Before I rebuilt - 100% crash.
Since I rebuilt - 0% crash.
Why it was crashing: in channel.c:1712
static void free_translation(struct ast_channel *clone)
{
if (clone->writetrans)
ast_translator_free_path(clone->writetrans);
writetrans was 0x800000008 (sic).
It was set to this value somewhere between the channel being allocated
in ast_channel_alloc and the call to __ast_pbx_run.
More information about the Pkg-voip-maintainers
mailing list