Re: SMSbox CRASH: PANIC: gwlib/octstr.c:2458 Assertion `ostr->data ==NULL'

"Alexander Malysh" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
please revert your patch for #326. smsbox should crash faster ;) and we  
get nice unhided backtrace :)

Thanks,
Alex

Am 17.07.2006, 15:11 Uhr, schrieb Vincent CHAVANIS <[email protected]>:

> Alex,
>
> Yes, it's with #326 patch applied.
>
> Maybe a race condition ?!
>
> btw, i'll compile with --with-malloc=check
>
> Vince.
>
> --
> Telemaque - NICE - (FR)
> Service Technique - Developpement
> http://www.telemaque.fr/
> [email protected]
> Tel : +33 4 93 97 71 64 (fax 68)
>
> ----- Original Message -----
> From: "Alexander Malysh" <[email protected]>
> To: <[email protected]>
> Sent: Monday, July 17, 2006 2:57 PM
> Subject: Re: SMSbox CRASH: PANIC: gwlib/octstr.c:2458 Assertion  
> `ostr->data ==NULL'
>
>
> Hi,
>
> is it with your patch for #326 applied?
> I'm sure it's the same bug because patch for #326 doesn't fix anything.
>
> would it be possible for you to run kannel with --with-malloc=check
> compiled? It will be a bit slower but should get trace for the double  
> free.
>
> Thanks,
> Alex
>
>
> Am 17.07.2006, 13:59 Uhr, schrieb Vincent CHAVANIS  
> <[email protected]>:
>
>> FYI,
>>
>> Got new crash with smsbox...
>>
>> http://bugs.kannel.org/view.php?id=357
>>
>>       0000357: SMSbox CRASH: PANIC: gwlib/octstr.c:2458:
>> seems_valid_real: Assertion `ostr->data == NULL' failed
>>        2006-07-17 10:39:53.238 [2270] [4] INFO: Starting delivery report
>> <CLICKATELL-99999> from <TELEMAQUE>
>>       2006-07-17 10:39:53.239 [2270] [8] PANIC: gwlib/octstr.c:2458:
>> seems_valid_real: Assertion `ostr->data == NULL' failed. (Called from
>> gwlib/octstr.c:337:octstr_len.)
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /usr/local/bin/smsbox-1.4.1_x86_64(gw_panic+0x19a) [0x44023a]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /usr/local/bin/smsbox-1.4.1_x86_64 [0x441755]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /usr/local/bin/smsbox-1.4.1_x86_64(octstr_hash_key+0x5c) [0x444d8c]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /usr/local/bin/smsbox-1.4.1_x86_64(dict_get+0x2c) [0x434bdc]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /usr/local/bin/smsbox-1.4.1_x86_64 [0x439433]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /usr/local/bin/smsbox-1.4.1_x86_64 [0x4357e7]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /usr/local/bin/smsbox-1.4.1_x86_64 [0x436b05]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC: /lib64/libpthread.so.0
>> [0x3f05406337]
>>       2006-07-17 10:39:53.276 [2270] [8] PANIC:
>> /lib64/libc.so.6(__clone+0x6d) [0x3f01acc38d]
>>
>>
>>       #) addr2line -e /usr/local/bin/smsbox-1.4.1_x86_64 0x44023a
>> 0x441755 0x444d8c 0x434bdc 0x439433 0x4357e7 0x436b05
>>       gwlib/log.c:552
>>       gwlib/octstr.c:2470
>>       gwlib/octstr.c:2431
>>       gwlib/dict.c:294
>>       gwlib/http.c:851
>>       gwlib/fdset.c:349
>>       gwlib/gwthread-pthread.c:135
>>
>>
>> --
>> Telemaque - NICE - (FR)
>> Service Technique - Developpement
>> http://www.telemaque.fr/
>> [email protected]
>> Tel : +33 4 93 97 71 64 (fax 68)
>>
>>
>>
>>
>
>
>



-- 
Thanks,
Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.