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

Vincent CHAVANIS vincent at telemaque.fr
Mon Jul 17 15:30:54 CEST 2006


Done.

btw, got some warnings.
gwlib/octstr.c: In function 'seems_valid_real':
gwlib/octstr.c:2448: attention : passing argument 1 of 'gw_check_is_allocated' discards qualifiers from pointer target type

Vincent.

--
Telemaque - NICE - (FR)
Service Technique - Developpement
http://www.telemaque.fr/
vincent at telemaque.fr
Tel : +33 4 93 97 71 64 (fax 68)

----- Original Message ----- 
From: "Alexander Malysh" <amalysh at kannel.org>
To: <devel at kannel.org>
Sent: Monday, July 17, 2006 3:21 PM
Subject: Re: SMSbox CRASH: PANIC: gwlib/octstr.c:2458 Assertion `ostr->data==NULL'


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 <vincent at telemaque.fr>:

> 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/
> vincent at telemaque.fr
> Tel : +33 4 93 97 71 64 (fax 68)
>
> ----- Original Message -----
> From: "Alexander Malysh" <amalysh at kannel.org>
> To: <devel at kannel.org>
> 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  
> <vincent at telemaque.fr>:
>
>> 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/
>> vincent at telemaque.fr
>> Tel : +33 4 93 97 71 64 (fax 68)
>>
>>
>>
>>
>
>
>



-- 
Thanks,
Alex







More information about the devel mailing list