I don't think that it's a problem with privdata->name, as that member is verified to
contain something during creation of the privdata structure. I think it's a problem
with conn->data not holding a pointer to a valid privdata structure for some wierd
reason.
--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]
+972-9-9581711
+972-67-340014
::..
Grinnell's Law of Labor Laxity:
At all times, for any task, you have not got enough done today.
> -----Original Message-----
> From: Stipe Tolj [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 27, 2002 2:57 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: EMI2 Panic
>
>
> > I put some fake username and password to kannel.conf and
> all processes
> > still crashing. If I start some previous version of kannel
> (with or without
> > username and password in EMI2 smsc section) all work fine.
> (I no need UCP
> > 60 type messages)
> >
> > 2002-06-27 16:41:21 [0] INFO: Added logfile
> `/var/log/kannel/kannel.log'
> > with level `0'.
> > 2002-06-27 16:41:21 [0] INFO:
> ----------------------------------------
> > 2002-06-27 16:41:21 [0] INFO: Kannel bearerbox II version
> cvs- starting
> > 2002-06-27 16:41:21 [0] INFO: Started access logfile
> > `/var/log/kannel/access.log'.
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 1
> > (gw/bb_store.c:store_cleanup)
> > 2002-06-27 16:41:21 [0] INFO: SSL not supported, no SSL
> initialization
> > done.
> > 2002-06-27 16:41:21 [0] DEBUG: HTTP: Opening server at port 13000.
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 2
> (gwlib/fdset.c:poller)
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 3
> > (gwlib/http.c:server_thread)
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 4
> > (gw/bb_http.c:httpadmin_run)
> > 2002-06-27 16:41:21 [0] DEBUG: starting smsbox connection module
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 6
> (gwlib/fdset.c:poller)
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 7
> > (gwlib/http.c:write_request_thread)
> > 2002-06-27 16:41:21 [7] DEBUG: HTTP: Opening connection to
> `127.0.0.1:80'
> > (fd=25).
> > 2002-06-27 16:41:21 [7] DEBUG: HTTP: Sending request:
> > 2002-06-27 16:41:21 [7] DEBUG: Octet string at 0x80cf8d8:
> > 2002-06-27 16:41:21 [7] DEBUG: len: 54
> > 2002-06-27 16:41:21 [7] DEBUG: size: 55
> > 2002-06-27 16:41:21 [7] DEBUG: immutable: 0
> > 2002-06-27 16:41:21 [7] DEBUG: data: 47 45 54 20 2f 68 74
> 6d GET /htm
> > 2002-06-27 16:41:21 [7] DEBUG: data: 6c 2f 62 6c 61 63 6b
> 2d l/black-
> > 2002-06-27 16:41:21 [7] DEBUG: data: 6c 69 73 74 2e 74 78
> 74 list.txt
> > 2002-06-27 16:41:21 [7] DEBUG: data: 20 48 54 54 50 2f 31
> 2e HTTP/1.
> > 2002-06-27 16:41:21 [7] DEBUG: data: 31 0d 0a 48 6f 73 74
> 3a 1..Host:
> > 2002-06-27 16:41:21 [7] DEBUG: data: 20 31 32 37 2e 30 2e
> 30 127.0.0
> > 2002-06-27 16:41:21 [7] DEBUG: data: 2e 31 0d 0a 0d 0a
> .1....
> > 2002-06-27 16:41:21 [7] DEBUG: Octet string dump ends.
> > 2002-06-27 16:41:21 [6] DEBUG: HTTP: Status line: <HTTP/1.1 200 OK>
> > 2002-06-27 16:41:21 [0] DEBUG: Total 2 lines in
> > http://127.0.0.1/html/black-list.txt
> > 2002-06-27 16:41:21 [0] INFO: Read from <
> > http://127.0.0.1/html/black-list.txt> total of 2 numbers
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 8
> > (gw/smsc_emi2.c:emi2_listener)
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 9
> > (gw/smsc_emi2.c:emi2_sender)
> > 2002-06-27 16:41:21 [0] DEBUG: Started thread 10
> > (gw/bb_smscconn.c:sms_router)
> > 2002-06-27 16:41:21 [0] INFO: Loading store file
> > /var/log/kannel/kannel.store
> > 2002-06-27 16:41:21 [0] INFO: Store-file size 0, starting to unpack
> > 2002-06-27 16:41:21 [0] INFO: Retrieved 0 messages, non-acknowledged
> > messages: 0
> > 2002-06-27 16:41:21 [0] INFO: MAIN: Start-up done, entering mainloop
> > 2002-06-27 16:41:21 [0] PANIC: gwlib/octstr.c:2108:
> seems_valid_real:
> > Assertion `ostr->len == 0' failed. (Call
> > ed from gw/smsc_emi2.c:1437:start_cb.)
> > 2002-06-27 16:41:21 [10] DEBUG: sms_router: time to sleep
>
> yes, it still crashes, but not any longer at end of starting thread 5!
>
> 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
>
>