[Users] Handle_subscription crashes openser

Pletli Antal a.pletli at euromacc.hu
Mon Aug 14 16:38:15 CEST 2006


 
Thank you for your quick answer. I have tried with db_use=0. In this
case it does work but my clients don't show the change of presence. I
think it depends on capability of SIP client too...

-----Original Message-----
From: Daniel-Constantin Mierla [mailto:daniel at voice-system.ro] 
Sent: Monday, August 14, 2006 4:29 PM
To: Pletli Antal
Cc: users at openser.org
Subject: Re: [Users] Handle_subscription crashes openser

Hello,

On 08/14/06 14:01, Pletli Antal wrote:
> Hi,
>
> I use the latest openser from cvs with presence support with pa
module.
> I have experienced that the SUBSCRIBE message of the new x-lite (based

> on eyeBeam) crashes the proxy in handle_subscription('registra 
> <<crash.txt>> r') function.
>
> It is a known problem in openser or it is a X-Lite bug?
>   
might be a problem of OpenSER. The presence support is being refurbished
completely. Expect new code to be uploaded in the future, as we get the
basics working. The old pa module is deprecated, none in working on it. 
Now we are following the latest specifications in this area with the new
development, specifications which are quite heavy.

Best regards,
Daniel

> Best regards,
>
> Antal Pletli
>  
>   
> ----------------------------------------------------------------------
> --
>
> Aug 14 11:13:28 ship1 openser[32283]: Maxfwd module- initializing Aug 
> 14 11:13:28 ship1 openser[32283]: Parsed mimetype text/xml+msrtcp.pidf

> got 100ff expected 1000c Aug 14 11:13:28 ship1 openser[32283]: 
> db_url=0x9c870d0 Aug 14 11:13:28 ship1 openser[32283]: 
> db_url=mysql://openser:openserrw@localhost/openser
> Aug 14 11:13:28 ship1 openser[32283]: db_url.len=43 Aug 14 11:13:28 
> ship1 openser[32283]: pa_mod: use_db=1 
> db_url.s=mysql://openser:openserrw@localhost/openser
> Aug 14 11:13:28 ship1 openser[32283]: pa_mod_init done Aug 14 11:13:28

> ship1 openser[32283]: subscribe_fixup: pdomain name is registrar Aug 
> 14 11:13:28 ship1 openser[32283]: subscribe_fixup: pdomain name is 
> registrar Aug 14 11:13:30 ship1 openser[32299]: DEBUG - MSILO: offline

> messages dumped - if they were Aug 14 11:13:30 ship1 openser[32290]: 
> handle_subscription() entered Aug 14 11:13:30 ship1 openser[32290]: 
> check_message -0- _m=0x8130408 Aug 14 11:13:30 ship1 openser[32290]: 
> check_message -1- Aug 14 11:13:30 ship1 openser[32290]: check_message 
> -2- accepts_mimes=(nil) Aug 14 11:13:30 ship1 openser[32290]: 
> check_message -3- Aug 14 11:13:30 ship1 openser[32290]: check_message 
> -4- parsed_event=0x81241d0 Aug 14 11:13:30 ship1 openser[32290]: 
> check_message -5- Aug 14 11:13:30 ship1 openser[32290]: get_pres_uri: 
> _puri=sip:700046 at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32290]:

> handle_subscription(): -1- Aug 14 11:13:30 ship1 openser[32296]: 
> handle_subscription() entered Aug 14 11:13:30 ship1 openser[32296]: 
> parsing accept header Aug 14 11:13:30 ship1 openser[32296]: 
> check_message -0- _m=0x8130408 Aug 14 11:13:30 ship1 openser[32296]: 
> check_message -1- Aug 14 11:13:30 ship1 openser[32290]: 
> new_presentity_no_wb=0xbd6851c0 for uri=700053 at xxx.xxx.xxx.xxx Aug 14 
> 11:13:30 ship1 openser[32296]: pa check_message: 
> accept=application/watcherinfo+xml parsed=:0x3000a Aug 14 11:13:30 
> ship1 openser[32290]: add_presentity _p=0xbd6851c0 
> p_uri=700053 at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32296]: 
> check_message -2- accepts_mimes=0x8123cb8 Aug 14 11:13:30 ship1 
> openser[32290]: new_presentity_no_wb=0xbd685218 for 
> uri=700053-list at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32296]: 
> check_message -3- Aug 14 11:13:30 ship1 openser[32290]: add_presentity

> _p=0xbd685218 p_uri=700053-list at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 
> openser[32296]: check_message -4- parsed_event=0x8123c88 Aug 14 
> 11:13:30 ship1 openser[32290]: new_presentity_no_wb=0xbd685270 for 
> uri=700046 at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32296]: 
> check_message -4- eventtype=0x0002 Aug 14 11:13:30 ship1 
> openser[32290]: add_presentity _p=0xbd685270 
> p_uri=700046 at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32296]: 
> check_message -4a- eventtype=0x2 epm[i].event_type=0x1 Aug 14 11:13:30

> ship1 openser[32290]: new_presentity_no_wb=0xbd685310 for 
> uri=700046 at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32296]: 
> check_message -4a- eventtype=0x2 epm[i].event_type=0x2 Aug 14 11:13:30

> ship1 openser[32290]: add_presentity _p=0xbd685310 
> p_uri=700046 at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32296]:
check_message -4c- eventtype=0x2 mimetype=0x3000a
accepts_mimes[k]=0x3000a Aug 14 11:13:30 ship1 openser[32290]:
new_presentity_no_wb=0xbd685368 for uri=700053 at xxx.xxx.xxx.xxx Aug 14
11:13:30 ship1 openser[32296]: check_message -4b- eventtype=0x2
accepts_mime=0x3000a Aug 14 11:13:30 ship1 openser[32290]:
add_presentity _p=0xbd685368 p_uri=700053 at xxx.xxx.xxx.xxx Aug 14
11:13:30 ship1 openser[32296]: get_pres_uri:
_puri=sip:700046 at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32290]:
new_presentity_no_wb=0xbd6853c0 for uri=700053-list at xxx.xxx.xxx.xxx Aug
14 11:13:30 ship1 openser[32290]: add_presentity _p=0xbd6853c0
p_uri=700053-list at xxx.xxx.xxx.xxx Aug 14 11:13:30 ship1 openser[32290]:
db_read_watcherinfo:  _p->uri='700053 at xxx.xxx.xxx.xxx'
> Aug 14 11:13:30 ship1 openser[32290]: db_read_watcherinfo:  
> _p->uri='700053 at xxx.xxx.xxx.xxx' done Aug 14 11:13:30 ship1
openser[32290]: db_read_watcherinfo:
_p->uri='700053-list at xxx.xxx.xxx.xxx'
> Aug 14 11:13:30 ship1 openser[32290]: db_read_watcherinfo:  
> _p->uri='700053-list at xxx.xxx.xxx.xxx' done Aug 14 11:13:30 ship1
openser[32290]: db_read_watcherinfo:  _p->uri='700046 at xxx.xxx.xxx.xxx'
> Aug 14 11:13:30 ship1 openser[32290]: db_read_watcherinfo:  
> _p->uri='700046 at xxx.xxx.xxx.xxx' done Aug 14 11:13:30 ship1
openser[32290]: db_read_watcherinfo:  _p->uri='700046 at xxx.xxx.xxx.xxx'
> Aug 14 11:13:30 ship1 openser[32290]: db_read_watcherinfo:  
> _p->uri='700046 at xxx.xxx.xxx.xxx' done Aug 14 11:13:30 ship1
openser[32290]: db_read_watcherinfo:  _p->uri='700053 at xxx.xxx.xxx.xxx'
> Aug 14 11:13:30 ship1 openser[32290]: db_read_watcherinfo:  
> _p->uri='700053 at xxx.xxx.xxx.xxx' done Aug 14 11:13:30 ship1
openser[32290]: db_read_watcherinfo:
_p->uri='700053-list at xxx.xxx.xxx.xxx'
> Aug 14 11:13:30 ship1 openser[32290]: db_read_watcherinfo:  
> _p->uri='700053-list at xxx.xxx.xxx.xxx' done Aug 14 11:13:30 ship1 
> openser[32290]: handle_subscription(): -3- Aug 14 11:13:30 ship1 
> openser[32290]: new_watcher starting Aug 14 11:13:30 ship1 
> openser[32290]: new_watcher:  _p->uri=700046 at xxx.xxx.xxx.xxx Aug 14 
> 11:13:30 ship1 openser[32290]: db_new_watcher:  
> watcher->uri=700046 at xxx.xxx.xxx.xxx
> Aug 14 11:13:30 ship1 openser[32290]: new_watcher:  
> watcher->package=unknown Aug 14 11:13:31 ship1 openser[32317]: ERROR: 
> receive_fd: EOF on 10 Aug 14 11:14:31 ship1 openser[32283]: BUG:
shutdown timeout triggered, dying...
>
>
>   
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list