Re: [BUG] bearerbox segfault (no store file)
Nisan Bloch <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
At 02:13 PM 7/23/03 +0200, Alexander Malysh wrote:
>I believe store file must be mandatory parameter, because
>otherwise all queued messages in bearerbox are loss while shutdown
>or restart !
>
>What is you opinion about changing store-file option from optional to
>mandatory ?
-1 from me.. Some of us having queing/routing mechanisms in front of Kannel
that will resubmit when Kannel is shutdown/restarted.
Nisan
>On Wednesday 23 July 2003 13:14, Stipe Tolj wrote:
> > Stipe Tolj wrote:
> > > Ok,
> > >
> > > it seems that when MOs are passed to the abstraction layer via
> > > gw/bb_smscconn.c:bb_smscconn_receive() and then tried to stored by
> > > calling gw/bb_store.c:store_save() we get a segmentation fault in
> > > there.
> > >
> > > It does not happen when the store-file is configured.
> > >
> > > Anyone changes something in there?! Heads up! (we'll cut them anyway
> > > ;))
> >
> > ok, Alex, you added this to store_save():
> >
> > 287 amalysh 1.21
> > 288 /* always set msg id and timestamp */
> > 289 if (msg_type(msg) == sms) {
> > 290 msg->sms.id = counter_increase(msg_id);
> > 291 msg->sms.time = time(NULL);
> > 292 }
> > 293
> >
> > I guess this is causing the problem?!
> >
> > Stipe
> >
> > [email protected]
> > -------------------------------------------------------------------
> > Wapme Systems AG
> >
> > Vogelsanger Weg 80
> > 40470 Düsseldorf
> >
> > Tel: +49-211-74845-0
> > Fax: +49-211-74845-299
> >
> > E-Mail: [email protected]
> > Internet: http://www.wapme-systems.de
> > -------------------------------------------------------------------
> > wapme.net - wherever you are
>
>--
>Best regards / Mit besten Grüßen aus Düsseldorf
>
>Dipl.-Ing.
>Alexander Malysh
>___________________________________________
>
>Centrium GmbH
>Vogelsanger Weg 80
>40470 Düsseldorf
>
>Fon: +49 (0211) 74 84 51 80
>Fax: +49 (0211) 277 49 109
>
>email: a.malysh at centrium.de
>web: www.centrium.de
>msn: olek2002 at hotmail.com
>icq: 98063111
>___________________________________________
>
>Please avoid sending me Word or PowerPoint attachments.
>See http://www.fsf.org/philosophy/no-word-attachments.html