This should be fixed as of this morning.
Also, CVS was quietly updated over the weekend so the code change
you made below is no longer needed: You can specify the XMLNS URI on
a per-service basis in the mmsbox conf file.
On Jun 25, 2007, at 15:58, hinoglu wrote:
P. A. Bagyenda wrote:
> Hi,
>
> Please do a couple of things:
>
> - Can you verify that this is still the case against latest CVS
yep, i'm using the latest cvs snapshot (24.06.2007)
uhm, but i've made just a little modification in the code and don't
think that it will affect the result. the change is as below
Index: mmlib/mms_mm7soap.c
===================================================================
RCS file: /cvsroot/mbuni/mbuni/mmlib/mms_mm7soap.c,v
retrieving revision 1.35
diff -r1.35 mms_mm7soap.c
396a397
> #define TURKSELMETHOD "urn:mm7SubmitReq"
404c405,406
< Octstr *p, *q, *r, *fault, *mtype;
---
> Octstr *turkselmethod = octstr_create(TURKSELMETHOD);
> Octstr *p, *q, *r, *fault, *mtype;
444c446,447
< octstr_format_append(s, "<mm7:%S xmlns:mm7=\"%s\">\n",
mtype, octstr_get_cstr(xmlns));
---
> //octstr_format_append(s, "<mm7:%S xmlns:mm7=\"%s\">\n",
mtype, octstr_get_cstr(xmlns));
> octstr_format_append(s, "<mm7:%S xmlns:mm7=\"%s\">\n",
mtype, octstr_get_cstr(turkselmethod));
> - If so, could you provide a back trace at the time of crash
(e.g. by
> running it within gdb).
full backtrace:
--------------
Starting program: /home/den/calisma/pyeri/fs/bin/mmsbox
[Thread debugging using libthread_db enabled]
[New Thread 1078092192 (LWP 19366)]
[New Thread 1080236960 (LWP 19369)]
[New Thread 1082338208 (LWP 19370)]
[New Thread 1084439456 (LWP 19371)]
[New Thread 1086540704 (LWP 19372)]
[New Thread 1088641952 (LWP 19373)]
[New Thread 1090743200 (LWP 19374)]
[New Thread 1092844448 (LWP 19375)]
[New Thread 1094945696 (LWP 19376)]
[New Thread 1097046944 (LWP 19377)]
[New Thread 1099148192 (LWP 19378)]
[New Thread 1101249440 (LWP 19379)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1094945696 (LWP 19376)]
0x40369aa3 in strlen () from /lib/libc.so.6
(gdb) bt full
#0 0x40369aa3 in strlen () from /lib/libc.so.6
mallenv = "MALLOC_TRACE"
malloc_trace_buffer = 0x0
tr_old_free_hook = (void (*)(void *, const void *)) 0
lock = 0
tr_old_malloc_hook = (void *(*)(size_t, const void *)) 0
tr_old_realloc_hook = (void *(*)(void *, size_t, const void *)) 0
mallstream = (FILE *) 0x0
tr_old_memalign_hook = (void *(*)(size_t, size_t, const void *)) 0
mallwatch = (void *) 0x0
#1 0x080930d6 in octstr_format_valist_real (fmt=0x80a47e6 "s]!",
args=0x41438334 "=B\n\b\001") at gwlib/octstr.c:2298
format = {minus = 0, zero = 0, min_width = 0, has_prec = 0, prec =
0, type = 0}
os = (Octstr *) 0x81659e0
__func__ = "octstr_format_valist_real"
#2 0x08093538 in octstr_format (fmt=0x0) at gwlib/octstr.c:2373
os = (Octstr *) 0x0
#3 0x0805ae30 in sendMsg (e=0x815db40) at bearerbox.c:629
detail = (Octstr *) 0x0
msg = (MmsMsg *) 0x815bd18
i = 0
n = 1
__func__ = "sendMsg"
#4 0x08063346 in tdeliver (qt=0x815b2b8) at mms_queue.c:942
res = 0
e = (MmsEnvelope *) 0x815db40
#5 0x080818b0 in new_thread (arg=0x815b068) at gwlib/gwthread-
pthread.c:362
ret = 0
#6 0x401c7604 in start_thread (arg=0x41438ba0) at pthread_create.c:
261
__res = (void *) 0x0
__ignore1 = 0
__ignore2 = 1094943536
pd = (struct pthread *) 0x41438ba0
now = 0
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1075654644, 0,
8195840, 1094943960, 1679255045, 1699256241},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0},
data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
robust = (__pthread_slist_t *) 0x0
#7 0x403c0c4e in clone () from /lib/libc.so.6
fstab_state = {fs_fp = 0x0, fs_buffer = 0x0, fs_mntres =
{mnt_fsname = 0x0, mnt_dir = 0x0, mnt_type = 0x0,
mnt_opts = 0x0, mnt_freq = 0, mnt_passno = 0}, fs_ret =
{fs_spec = 0x0, fs_file = 0x0, fs_vfstype = 0x0, fs_mntops = 0x0,
fs_type = 0x0, fs_freq = 0, fs_passno = 0}}
__elf_set___libc_subfreeres_element_fstab_free__ = (const void *)
0x403fb890
the message upon segmentation fault:
------------------------------------
2007-06-25 15:45:19 [19366] [8] INFO: XML sent is: <?xml
version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Header>
<mm7:TransactionID SOAP-ENV:mustUnderstand="1" xmlns:mm7="http://
www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-
MM7-1-2">Mbuni-qf2865.1.x411.48</mm7:TransactionID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<MM7Version>5.3.0</MM7Version>
<Status><StatusCode>2502</StatusCode><StatusText>Missing recipient</
StatusText></Status>
<MessageID></MessageID>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
!
2007-06-25 15:45:19 [19366] [8] INFO: parse.soap, h=TransactionID,
v=Mbuni-qf2865.1.x411.48!
2007-06-25 15:45:19 [19366] [8] INFO: parse.soap, h=MM7Version,
v=5.3.0!
2007-06-25 15:45:19 [19366] [8] INFO: parse.soap, h=Status, v=!
2007-06-25 15:45:19 [19366] [8] INFO: parse.soap, h=StatusCode,
v=2502!
2007-06-25 15:45:19 [19366] [8] INFO: parse.soap, h=StatusText,
v=Missing recipient!
2007-06-25 15:45:19 [19366] [8] INFO: parse.soap, h=MessageID, v=!
2007-06-25 15:45:19 [19366] [8] INFO: Send to MMSC[trcel], failed,
code=[2502=>(null)], detail=[(empty)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1094945696 (LWP 19376)]
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users