Re: BB crash svn revision 5141

2015-07-07 Thread Stipe Tolj

Am 01.07.2015 11:50, schrieb Ahmed Shabana:

Dear Stipe ,

Sorry for delay , find the ouput of the command as below

$ addr2line -e bearerbox  0x41a338 0x414884 0x498c56
/kannel/src/production/trunk/gw/bb_store_file.c:329
/kannel/src/production/trunk/gw/bb_http.c:452
/kannel/src/production/trunk/gwlib/gwthread-pthread.c:387 (discriminator 2)


Hi Ahmed,

thanks a lot for the addr2line resolution of the address blocks.

Your PANIC happens while calling the HTTP admin URI /store-status, 
correct? Can you reproduce the behavior constantly, or is this an very 
occasional issue you see?


Stipe

---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

mailto:stolj_{at}_kannel.org  mailto:st_{at}_tolj.org
---



Re: BB crash svn revision 5141

2015-07-07 Thread Alexander Malysh
Hi,

I wonder how it should work without any locking? It’s simple race condition as 
far as I see…
We trying to format store message but it was just freed by another thread…

Alex

 Am 07.07.2015 um 17:39 schrieb Stipe Tolj st...@kannel.org:
 
 Am 01.07.2015 11:50, schrieb Ahmed Shabana:
 Dear Stipe ,
 
  Sorry for delay , find the ouput of the command as below
 
 $ addr2line -e bearerbox  0x41a338 0x414884 0x498c56
 /kannel/src/production/trunk/gw/bb_store_file.c:329
 /kannel/src/production/trunk/gw/bb_http.c:452
 /kannel/src/production/trunk/gwlib/gwthread-pthread.c:387 (discriminator 2)
 
 Hi Ahmed,
 
 thanks a lot for the addr2line resolution of the address blocks.
 
 Your PANIC happens while calling the HTTP admin URI /store-status, correct? 
 Can you reproduce the behavior constantly, or is this an very occasional 
 issue you see?
 
 Stipe
 
 ---
 Kölner Landstrasse 419
 40589 Düsseldorf, NRW, Germany
 
 Kannel Foundation tolj.org system architecture
 http://www.kannel.org/http://www.tolj.org/
 
 mailto:stolj_{at}_kannel.org  mailto:st_{at}_tolj.org
 ---
 




OPENSMPPBOX PANIC / CRASH SVN REVISION R5143M

2015-07-07 Thread José Héctor Galimberti
Hi im having this issue, im think its related to this ones:

http://www.kannel.org/pipermail/users/2014-May/021126.html

http://comments.gmane.org/gmane.comp.mobile.kannel.user/31936

http://comments.gmane.org/gmane.comp.mobile.kannel.user/32374

It happends after receiving some long (concatenated multipart) messages

I have tried this patch without success, but now i have some more beatiful
debug of the messages.


I attache the relevant part of the panic and the addr2line as sugested on
the previous report of crash.



2015-07-07 15:19:51 [3686] [28] PANIC: gwlib/octstr.c:2563:
seems_valid_real: Assertion `ostr-len + 1 = ostr-size' failed. (Called
from gwlib/octstr.c:325:octstr_destroy.)
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(gw_backtrace+0xae) [0x45e08e]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(gw_panic+0x151) [0x45e1f1]
2015-07-07 15:19:51 [3686] [28] PANIC: /usr/local/sbin/opensmppbox()
[0x45ff52]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(octstr_destroy+0x1d) [0x46059d]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(msg_destroy+0x2f) [0x417b8f]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(gwlist_destroy+0x42) [0x45cf22]
2015-07-07 15:19:51 [3686] [28] PANIC: /usr/local/sbin/opensmppbox()
[0x411dff]
2015-07-07 15:19:51 [3686] [28] PANIC: /usr/local/sbin/opensmppbox()
[0x454ae6]
2015-07-07 15:19:51 [3686] [28] PANIC:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50) [0x7f9c131f6b50]
2015-07-07 15:19:51 [3686] [28] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f9c1269b95d]


addr2line -e /usr/local/sbin/opensmppbox 0x45e08e
/usr/local/src/trunk/gwlib/log.c:572

addr2line -e /usr/local/sbin/opensmppbox 0x45e1f1
/usr/local/src/trunk/gwlib/log.c:608

addr2line -e /usr/local/sbin/opensmppbox 0x45ff52
/usr/local/src/trunk/gwlib/octstr.c:2564

addr2line -e /usr/local/sbin/opensmppbox 0x46059d
/usr/local/src/trunk/gwlib/octstr.c:326

addr2line -e /usr/local/sbin/opensmppbox 0x417b8f
/usr/local/src/trunk/gw/msg-decl.h:80

addr2line -e /usr/local/sbin/opensmppbox 0x45cf22
/usr/local/src/trunk/gwlib/list.c:154

addr2line -e /usr/local/sbin/opensmppbox 0x411dff
/usr/local/src/trunk/addons/opensmppbox/gw/opensmppbox.c:1747

addr2line -e /usr/local/sbin/opensmppbox 0x454ae6}
/usr/local/src/trunk/gwlib/gwthread-pthread.c:387


Any help will be apreciated.

Regards, Jose 



__ Información de ESET Smart Security, versión de la base de datos
de firmas de virus 11904 (20150707) __

El mensaje fue verificado por ESET Smart Security.

http://www.eset-la.com





RE: OPENSMPPBOX PANIC / CRASH SVN REVISION R5143M

2015-07-07 Thread José Héctor Galimberti
Sorry with this patch i mean:
 
https://redmine.kannel.org/attachments/275/opensmppbox-multipart-pdu.patch
 
 

  _  

De: José Héctor Galimberti [mailto:ingenie...@conexioncelular.com.mx] 
Enviado el: Martes, 07 de Julio de 2015 03:39 p.m.
Para: 'devel@kannel.org'
Asunto: OPENSMPPBOX PANIC / CRASH SVN REVISION R5143M



Hi im having this issue, im think its related to this ones:

http://www.kannel.org/pipermail/users/2014-May/021126.html

http://comments.gmane.org/gmane.comp.mobile.kannel.user/31936

http://comments.gmane.org/gmane.comp.mobile.kannel.user/32374

It happends after receiving some long (concatenated multipart) messages

I have tried this patch without success, but now i have some more beatiful
debug of the messages.


I attache the relevant part of the panic and the addr2line as sugested on
the previous report of crash.



2015-07-07 15:19:51 [3686] [28] PANIC: gwlib/octstr.c:2563:
seems_valid_real: Assertion `ostr-len + 1 = ostr-size' failed. (Called
from gwlib/octstr.c:325:octstr_destroy.)
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(gw_backtrace+0xae) [0x45e08e]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(gw_panic+0x151) [0x45e1f1]
2015-07-07 15:19:51 [3686] [28] PANIC: /usr/local/sbin/opensmppbox()
[0x45ff52]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(octstr_destroy+0x1d) [0x46059d]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(msg_destroy+0x2f) [0x417b8f]
2015-07-07 15:19:51 [3686] [28] PANIC:
/usr/local/sbin/opensmppbox(gwlist_destroy+0x42) [0x45cf22]
2015-07-07 15:19:51 [3686] [28] PANIC: /usr/local/sbin/opensmppbox()
[0x411dff]
2015-07-07 15:19:51 [3686] [28] PANIC: /usr/local/sbin/opensmppbox()
[0x454ae6]
2015-07-07 15:19:51 [3686] [28] PANIC:
/lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50) [0x7f9c131f6b50]
2015-07-07 15:19:51 [3686] [28] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f9c1269b95d]


addr2line -e /usr/local/sbin/opensmppbox 0x45e08e
/usr/local/src/trunk/gwlib/log.c:572

addr2line -e /usr/local/sbin/opensmppbox 0x45e1f1
/usr/local/src/trunk/gwlib/log.c:608

addr2line -e /usr/local/sbin/opensmppbox 0x45ff52
/usr/local/src/trunk/gwlib/octstr.c:2564

addr2line -e /usr/local/sbin/opensmppbox 0x46059d
/usr/local/src/trunk/gwlib/octstr.c:326

addr2line -e /usr/local/sbin/opensmppbox 0x417b8f
/usr/local/src/trunk/gw/msg-decl.h:80

addr2line -e /usr/local/sbin/opensmppbox 0x45cf22
/usr/local/src/trunk/gwlib/list.c:154

addr2line -e /usr/local/sbin/opensmppbox 0x411dff
/usr/local/src/trunk/addons/opensmppbox/gw/opensmppbox.c:1747

addr2line -e /usr/local/sbin/opensmppbox 0x454ae6}
/usr/local/src/trunk/gwlib/gwthread-pthread.c:387


Any help will be apreciated.

Regards, Jose 



__ Información de ESET Smart Security, versión de la base de datos
de firmas de virus 11904 (20150707) __

El mensaje fue verificado por ESET Smart Security.

http://www.eset-la.com


__ Información de ESET Smart Security, versión de la base de datos
de firmas de virus 11904 (20150707) __

El mensaje fue verificado por ESET Smart Security.

http://www.eset-la.com