Proof, if it were ever needed, that software gets put through the most unexpected conditions!

The problem is that you are issuing a HTTP GET request to the MM7 port, which expects a HTTP POST request (with the SOAP message in the body)! Of course it should not have crashed, but it did (while trying to parse a non-existent message body)! I've fixed the problem in CVS.

Thanks


On Apr 28, 2005, at 19:34, Monchanin Eric wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,

I have an error crashing mmsproxy each time I try to connect to the
mm7 interface.

Using our mm7 interface to send an mm7 message to mbuni:
I got:
2005-04-28 11:59:53 [5138] [4] DEBUG: MM7 Request, ip=192.168.0.1,
vasp=(null)
2005-04-28 11:59:53 [5138] [4] DEBUG: Dumping HTTP headers:
2005-04-28 11:59:53 [5138] [4] DEBUG: Octet string at 0x82f49f8:
2005-04-28 11:59:53 [5138] [4] DEBUG: len: 14
2005-04-28 11:59:53 [5138] [4] DEBUG: size: 16
2005-04-28 11:59:53 [5138] [4] DEBUG: immutable: 0
2005-04-28 11:59:53 [5138] [4] DEBUG: data: 53 4f 41 50 41 63 74 69
6f 6e 3a 20 22 22 SOAPAction: ""
2005-04-28 11:59:53 [5138] [4] DEBUG: Octet string dump ends.
2005-04-28 11:59:53 [5138] [4] DEBUG: Octet string at 0x82f4a70:
2005-04-28 11:59:53 [5138] [4] DEBUG: len: 20
2005-04-28 11:59:53 [5138] [4] DEBUG: size: 22
2005-04-28 11:59:53 [5138] [4] DEBUG: immutable: 0
2005-04-28 11:59:53 [5138] [4] DEBUG: data: 43 6f 6e 74 65 6e 74 2d
4c 65 6e 67 74 68 3a 20 Content-Length:
2005-04-28 11:59:53 [5138] [4] DEBUG: data: 32 32 33
39 2239
2005-04-28 11:59:53 [5138] [4] DEBUG: Octet string dump ends.
(...)
2005-04-28 11:59:53 [5138] [4] DEBUG: Octet string dump ends.
2005-04-28 11:59:53 [5138] [4] DEBUG: HTTP: Destroying HTTPClient area
0x82f48a0.
2005-04-28 11:59:53 [5138] [4] DEBUG: HTTP: Destroying HTTPClient for
`192.168.0.1'.
2005-04-28 11:59:53 [5138] [4] PANIC: gwlib/octstr.c:2330:
seems_valid_real: Assertion `ostr->len >= 0' failed. (Called from
gwlib/octstr.c:317:octstr_destroy.)
2005-04-28 11:59:53 [5138] [4] PANIC:
/usr/local/mbuni/bin/mmsproxy(gw_panic+0x175) [0x808516a]
2005-04-28 11:59:53 [5138] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x808c4f2]
2005-04-28 11:59:53 [5138] [4] PANIC:
/usr/local/mbuni/bin/mmsproxy(octstr_destroy+0x23) [0x80876c6]
2005-04-28 11:59:53 [5138] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x8057e21]
2005-04-28 11:59:53 [5138] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x8057d1f]
2005-04-28 11:59:53 [5138] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x807ace4]
2005-04-28 11:59:53 [5138] [4] PANIC: /lib/tls/libpthread.so.0 [0xd69dec]
2005-04-28 11:59:53 [5138] [4] PANIC: /lib/tls/libc.so.6(__clone+0x5a)
[0x46da2a]


and mmsproxy is killed

Using my web browser on mm7-port
makes the same kind of thing, asking the username and password and then:
2005-04-28 12:12:12 [5411] [4] DEBUG: MM7 Request, ip=82.122.53.148,
vasp=(null)
2005-04-28 12:12:12 [5411] [4] DEBUG: Dumping HTTP headers:
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81ce7c0:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 26
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 28
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 48 6f 73 74 3a 20 31 39
32 2e 32 36 38 2e 30 2e Host: 192.168.0.
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 31 3A 31 39 38
32 1:1982
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81ce9f0:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 98
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 100
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 55 73 65 72 2d 41 67 65
6e 74 3a 20 4d 6f 7a 69 User-Agent: Mozi
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 6c 6c 61 2f 35 2e 30 20
28 57 69 6e 64 6f 77 73 lla/5.0 (Windows
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 3b 20 55 3b 20 57 69 6e
64 6f 77 73 20 4e 54 20 ; U; Windows NT
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 35 2e 31 3b 20 66 72 2d
46 52 3b 20 72 76 3a 31 5.1; fr-FR; rv:1
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 2e 37 2e 37 29 20 47 65
63 6b 6f 2f 32 30 30 35 .7.7) Gecko/2005
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 30 34 31 34 20 46 69 72
65 66 6f 78 2f 31 2e 30 0414 Firefox/1.0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 2e
33 .3
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81ce9a0:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 107
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 109
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 41 63 63 65 70 74 3a 20
74 65 78 74 2f 78 6d 6c Accept: text/xml
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 2c 61 70 70 6c 69 63 61
74 69 6f 6e 2f 78 6d 6c ,application/xml
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 2c 61 70 70 6c 69 63 61
74 69 6f 6e 2f 78 68 74 ,application/xht
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 6d 6c 2b 78 6d 6c 2c 74
65 78 74 2f 68 74 6d 6c ml+xml,text/html
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 3b 71 3d 30 2e 39 2c 74
65 78 74 2f 70 6c 61 69 ;q=0.9,text/plai
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 6e 3b 71 3d 30 2e 38 2c
69 6d 61 67 65 2f 70 6e n;q=0.8,image/pn
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 67 2c 2a 2f 2a 3b 71 3d
30 2e 35 g,*/*;q=0.5
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81ceb68:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 52
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 54
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 41 63 63 65 70 74 2d 4c
61 6e 67 75 61 67 65 3a Accept-Language:
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 20 66 72 2c 66 72 2d 66
72 3b 71 3d 30 2e 38 2c fr,fr-fr;q=0.8,
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 65 6e 2d 75 73 3b 71 3d
30 2e 35 2c 65 6e 3b 71 en-us;q=0.5,en;q
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 3d 30 2e
33 =0.3
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81cebd8:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 29
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 31
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 41 63 63 65 70 74 2d 45
6e 63 6f 64 69 6e 67 3a Accept-Encoding:
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 20 67 7a 69 70 2c 64 65
66 6c 61 74 65 gzip,deflate
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81cf430:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 46
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 48
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 41 63 63 65 70 74 2d 43
68 61 72 73 65 74 3a 20 Accept-Charset:
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 49 53 4f 2d 38 38 35 39
2d 31 2c 75 74 66 2d 38 ISO-8859-1,utf-8
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 3b 71 3d 30 2e 37 2c 2a
3b 71 3d 30 2e 37 ;q=0.7,*;q=0.7
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81cebc0:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 15
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 17
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 4b 65 65 70 2d 41 6c 69
76 65 3a 20 33 30 30 Keep-Alive: 300
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81cf4b8:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 22
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 24
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 43 6f 6e 6e 65 63 74 69
6f 6e 3a 20 6b 65 65 70 Connection: keep
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 2d 61 6c 69 76
65 -alive
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: End of dump.
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string at 0x81cf518:
2005-04-28 12:12:12 [5411] [4] DEBUG: len: 13
2005-04-28 12:12:12 [5411] [4] DEBUG: size: 14
2005-04-28 12:12:12 [5411] [4] DEBUG: immutable: 0
2005-04-28 12:12:12 [5411] [4] DEBUG: data: 32 32 2e 31 32 32 2e 35
34 2e 31 38 34 22.122.54.184
2005-04-28 12:12:12 [5411] [4] DEBUG: Octet string dump ends.
2005-04-28 12:12:12 [5411] [4] DEBUG: HTTP: Resetting HTTPClient for
`82.122.53.148'.
2005-04-28 12:12:12 [5411] [4] PANIC: gwlib/octstr.c:2330:
seems_valid_real: Assertion `ostr->len >= 0' failed. (Called from
gwlib/octstr.c:317:octstr_destroy.)
2005-04-28 12:12:12 [5411] [4] PANIC:
/usr/local/mbuni/bin/mmsproxy(gw_panic+0x175) [0x808516a]
2005-04-28 12:12:12 [5411] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x808c4f2]
2005-04-28 12:12:12 [5411] [4] PANIC:
/usr/local/mbuni/bin/mmsproxy(octstr_destroy+0x23) [0x80876c6]
2005-04-28 12:12:12 [5411] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x8057e21]
2005-04-28 12:12:12 [5411] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x8057d1f]
2005-04-28 12:12:12 [5411] [4] PANIC: /usr/local/mbuni/bin/mmsproxy
[0x807ace4]
2005-04-28 12:12:12 [5411] [4] PANIC: /lib/tls/libpthread.so.0 [0xa83dec]
2005-04-28 12:12:12 [5411] [4] PANIC: /lib/tls/libc.so.6(__clone+0x5a)
[0xe5ea2a]



Using browser with only the URL.

Any idea why ??
btw here is my mm7 section
########## mm7 Gateway #########
group                           = mms-vasp
vasp-id                         = Instant Imager mm7
type                            = soap
short-code                      = 1469
vasp-username                   = vasp
vasp-password                   = vasp
vasp-url                        = http://localhost:23535/
mmsc-username                   = user
mmsc-password                   = pass
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCcRB7SsKGeccfQmgRAo37AJ9ZerZpuiqrH06p6iX6lyNkjFzZrQCfeLAN
yi1ZfmoRD+FVTAYNGpzT1Ow=
=5jz+
-----END PGP SIGNATURE-----



_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org



_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org

Reply via email to