Re: CVS version

Juan Enrique Gómez <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Metropoli2000 Networks, SL
Message-ID <1058334135.26741.51.camel@amspoke>
El mar, 15-07-2003 a las 17:41, Stefan Cars escribió:

Thanks in advance, here is a strace debug, and a wapbox debug. Thanks
for your interest.


---------------- strace -------------
20901 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20900 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20899 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20898 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20898 08:14:21 poll( <unfinished ...>
20897 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20897 08:14:21 poll( <unfinished ...>
20896 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20895 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20894 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20893 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20892 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20891 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20891 08:14:21 time(NULL)               = 1058249661
20891 08:14:21 poll( <unfinished ...>
20888 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20890 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20889 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20887 08:14:21 --- SIGSTOP (Stopped (signal)) ---
20887 08:14:21 getppid()                = 20886
20887 08:14:21 poll( <unfinished ...>
20886 08:14:21 read(37, 0xbfffea80, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
20886 08:14:21 poll( <unfinished ...>
20887 08:14:23 <... poll resumed> [{fd=6, events=POLLIN}], 1, 2000) = 0
20887 08:14:23 getppid()                = 20886
20887 08:14:23 poll([{fd=6, events=POLLIN}], 1, 2000) = 0
20887 08:14:25 getppid()                = 20886
20887 08:14:25 poll([{fd=6, events=POLLIN}], 1, 2000) = 0
20887 08:14:27 getppid()                = 20886
20887 08:14:27 poll( <unfinished ...>
20898 08:14:29 <... poll resumed> [{fd=29, events=POLLIN}, {fd=26,
events=POLLIN, revents=POLLIN}], 2, -1) = 1
20898 08:14:29 accept(26, {sin_family=AF_INET, sin_port=htons(49508),
sin_addr=inet_addr("192.168.1.6")}}, [16]) = 40
20898 08:14:29 fcntl64(0x28, 0x3, 0xffffffff, 0x3) = 2
20898 08:14:29 fcntl64(0x28, 0x4, 0x802, 0x4) = 0
20898 08:14:29 time([1058249669])       = 1058249669
20898 08:14:29 write(2, "2003-07-15 08:14:29 [11] DEBUG: "..., 77) = 77
20898 08:14:29 write(5, "2003-07-15 08:14:29 [11] DEBUG: "..., 77) = 77
20898 08:14:29 write(28, "\0", 1)       = 1
20897 08:14:29 <... poll resumed> [{fd=27, events=POLLIN,
revents=POLLIN}], 1, -1) = 1
20898 08:14:29 poll( <unfinished ...>
20897 08:14:29 read(27, "\0", 128)      = 1
20897 08:14:29 read(27, 0x4536b9cc, 128) = -1 EAGAIN (Resource
temporarily unavailable)
20897 08:14:29 poll([{fd=27, events=POLLIN}, {fd=40, events=POLLIN,
revents=POLLIN}], 2, -1) = 1
20897 08:14:29 read(40, "POST /wappush HTTP/1.1\r\nHost: 19"..., 4096) =
1319
20897 08:14:29 kill(20900, SIGRT_0 <unfinished ...>
20900 08:14:29 --- SIGRT_0 (Real-time signal 0) ---
20897 08:14:29 <... kill resumed> )     = 0
20901 08:14:29 --- SIGRT_0 (Real-time signal 0) ---
20897 08:14:29 poll( <unfinished ...>
20887 08:14:29 <... poll resumed> [{fd=6, events=POLLIN}], 1, 2000) = -1
EINTR (Interrupted system call)
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 getppid()                = 20886
20887 08:14:29 wait4(-1, [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV],
WNOHANG|__WCLONE, NULL) = 20901
20887 08:14:29 modify_ldt(0x1, 0x819fa6c, 0x10) = 0
20887 08:14:29 munmap(0x46b6c000, 8388608) = 0
20887 08:14:29 kill(20904, SIGSEGV)     = 0
20887 08:14:29 kill(20900, SIGSEGV)     = 0
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 kill(20899, SIGSEGV <unfinished ...>
20899 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 kill(20898, SIGSEGV <unfinished ...>
20898 08:14:29 <... poll resumed> [{fd=29, events=POLLIN}, {fd=26,
events=POLLIN}], 2, -1) = -1 EINTR (Interrupted system call)
20887 08:14:29 <... kill resumed> )     = 0
20898 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 kill(20897, SIGSEGV <unfinished ...>
20897 08:14:29 <... poll resumed> [{fd=27, events=POLLIN}], 1, -1) = -1
EINTR (Interrupted system call)
20887 08:14:29 <... kill resumed> )     = 0
20897 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 kill(20896, SIGSEGV <unfinished ...>
20896 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 kill(20895, SIGSEGV <unfinished ...>
20895 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 kill(20894, SIGSEGV <unfinished ...>
20894 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 kill(20893, SIGSEGV <unfinished ...>
20893 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 kill(20892, SIGSEGV <unfinished ...>
20892 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 kill(20891, SIGSEGV <unfinished ...>
20891 08:14:29 <... poll resumed> [{fd=14, events=POLLIN}], 1,
1000000000) = -1 EINTR (Interrupted system call)
20887 08:14:29 <... kill resumed> )     = 0
20891 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 kill(20890, SIGSEGV <unfinished ...>
20890 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 kill(20889, SIGSEGV <unfinished ...>
20889 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 kill(20888, SIGSEGV <unfinished ...>
20888 08:14:29 --- SIGSEGV (Segmentation fault) ---
20887 08:14:29 <... kill resumed> )     = 0
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 --- SIGRT_1 (Real-time signal 1) ---
20887 08:14:29 sigreturn()              = ? (mask now ~[TRAP KILL STOP])
20887 08:14:29 kill(20886, SIGSEGV)     = 0
20887 08:14:29 _exit(0)                 = ?
20886 08:14:29 <... poll resumed> [{fd=3, events=POLLIN}, {fd=37,
events=POLLIN}], 2, -1) = -1 EINTR (Interrupted system call)
20886 08:14:29 --- SIGSEGV (Segmentation fault) ---
------------ end strace ---------------

------------ wapbox ------------
2003-07-16 07:40:44 [0] INFO: Added logfile `/var/log/wapbox.log' with
level `0'.
2003-07-16 07:40:44 [0] INFO: Starting to log to file
/var/log/wapbox.log level 0
2003-07-16 07:40:44 [0] DEBUG: syslog parameter is none
2003-07-16 07:40:44 [0] DEBUG: Could not open access-log
2003-07-16 07:40:44 [0] DEBUG: map_url_max = -1
2003-07-16 07:40:44 [0] INFO:
------------------------------------------------------------
2003-07-16 07:40:44 [0] INFO: Kannel wapbox version cvs-20030715
starting up.
2003-07-16 07:40:44 [0] DEBUG: Started thread 1
(wap/wsp_session.c:main_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 2
(wap/wsp_unit.c:main_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 3
(wap/wsp_push_client.c:main_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 4
(wap/timers.c:watch_timers)
2003-07-16 07:40:44 [0] DEBUG: Started thread 5
(wap/wtp_init.c:main_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 6
(wap/wtp_resp.c:main_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 7
(gw/wap-appl.c:main_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 8
(gw/wap-appl.c:return_replies_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 9
(gw/wap_push_ota.c:main_thread)
2003-07-16 07:40:44 [0] INFO: HTTP: Opening server at port 13014.
2003-07-16 07:40:44 [0] DEBUG: Started thread 10 (gwlib/fdset.c:poller)
2003-07-16 07:40:44 [0] DEBUG: Started thread 11
(gwlib/http.c:server_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 12
(gw/wap_push_ppg.c:ota_read_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 13
(gw/wap_push_ppg.c:http_read_thread)
2003-07-16 07:40:44 [0] DEBUG: Started thread 14
(gw/wap_push_ppg.c:pap_request_thread)
2003-07-16 07:40:44 [0] INFO: Connected to bearerbox at localhost port
13002.
2003-07-16 07:40:44 [0] DEBUG: Started thread 15
(gw/heartbeat.c:heartbeat_thread)
2003-07-16 07:41:31 [11] DEBUG: HTTP: Creating HTTPClient for
`192.168.1.6'.
2003-07-16 07:41:31 [14] INFO: PPG: Accept request </wappush> from
<192.168.1.6>
2003-07-16 07:41:31 [14] DEBUG: PPG: http_read_thread: pap multipart
accepted
2003-07-16 07:41:31 [14] INFO: client address was <+34615922820>,
accepted
2003-07-16 07:41:31 [14] DEBUG: PAP COMPILER: doing semantic analysis
for address type a phone number
2003-07-16 07:41:31 [14] DEBUG: PAP COMPILER: network orbearer missing,
reverting to GSM+SMS
2003-07-16 07:41:31 [14] INFO: reverting to default bearer and network
2003-07-16 07:41:31 [14] DEBUG: PPG: http_read_thread: pap control
entity compiled ok
Segmentation fault

-------------- end wapbox log -------------


Best,

> It would be good with some additional information such as logs to
> investigate why this is happening!
> 
> /S
> 
> On Tue, 15 Jul 2003, Juan Enrique Gómez wrote:
> 
> > Hi!
> >
> > Any one has had problems with wapbox causing a segmentation fault when
> > trying to make a wappush?, it works great with 1.2.1 but on way with any
> > devel version.
> >
> > Best.
> > --
> > --------------------------------------------------------------------------
> > |Juan Enrique Gomez Perez
> > |Metropoli2000 Networks, S.L.
> > | Phone: +34 914250023 Fax: +34 914250136
> > | email: [email protected]
> > --------------------------------------------------------------------------
> > PGP Fingerprint: 6B39 3A2B A17B 1E8E CFFD  FC14 678E 0A22 BD80 C486
> > Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBD80C486
> >
> > If this message hasn't a correct signature please notify
> > it to [email protected]. To get the public key please
> > use the above url. Thanks for your help.
> > --------------------------------------------------------------------------
> >
-- 
--------------------------------------------------------------------------
|Juan Enrique Gomez Perez
|Metropoli2000 Networks, S.L.
| Phone: +34 914250023 Fax: +34 914250136
| email: [email protected]
--------------------------------------------------------------------------
PGP Fingerprint: 6B39 3A2B A17B 1E8E CFFD  FC14 678E 0A22 BD80 C486
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBD80C486

If this message hasn't a correct signature please notify 
it to [email protected]. To get the public key please
use the above url. Thanks for your help.
--------------------------------------------------------------------------
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/FOW2Z44KIr2AxIYRAlxZAKCaO1t0M6niPHIVKQubDJlFffjMqACgs4kX
kHEG8AKp75Ef+0wqI125Jh8=
=Dc/C
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.