Problems with big sequences



Hi all,

I'm working with Orbit-mt 0.5.3 and passing possibly large chunks of
binary data as a parameter using a unbounded CORBA_sequence_CORBA_octet.
Everything goes smoothly with reasonably small sequences. Once I go to
2086325 bytes or above the whole thing goes down in flames while calling a
remote object and passing the octet as a parameter. I ran out of debugging
ammo while troubleshooting this and would greatly appreciate any ideas
where I should look next once I get my clip loaded again :-) GDB says:

Program received signal SIGSEGV, Segmentation fault.
0x401a8a46 in pthread_setcanceltype (type=0, oldtype=0x0) at cancel.c:38
cancel.c:38: No such file or directory.
(gdb) ba
#0  0x401a8a46 in pthread_setcanceltype (type=0, oldtype=0x0) at cancel.c:38
#1  0x401ad4ad in write (fd=6, buf=0xbfe02054, n=2086448) atwrapsyscall.c:140
#2  0x4015f603 in __atomic_writev_replacement (fd=6, vector=0x1fd630,
    count=1033) at ../sysdeps/posix/writev.c:63
#3  0x4015f67d in __writev (fd=6, vector=0x8455150, count=1033)
    at ../sysdeps/unix/sysv/linux/writev.c:58
#4  0x40019b83 in iiop_connection_writev (connection=0x8054bf8,
    iovecs=0x8054d78, len=2086448) at iiop-connection.c:584
#5  0x4001ada3 in giop_send_buffer_write (send_buffer=0x8054c78)
    at giop-send-buffer.c:15
#6  0x804b337 in manager_startCalculation (_obj=0x80538c8, vdata=0x8054b28,
    vdataInfo=0x8054b48, ev=0x804fc48) at pooler-stubs.c:82
#7  0x804dac7 in main (argc=4, argv=0xbffffc04) at manager-client.c:122
#8  0x400cecb3 in __libc_start_main (main=0x804d974 <main>, argc=4,
    argv=0xbffffc04, init=0x8049084 <_init>, fini=0x804df5c <_fini>,
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffbfc)
    at ../sysdeps/generic/libc-start.c:78 


Regards,
Antti
-- 
main(G,C,c){char*d="@?dddTO OHHG@HH?I HH?I@oA@@@p`a?a`p NAAO@FIIF OHLHG@oA@"
"OHHG FMMD@OHHG@",*n="@@@@@@@@@@ PHDBA";for(puts("\33[2J"),C=72;C++;usleep(
35000))for(G=0;G++<75;)for(c=5;c<21;)printf("%c\33[%d;%dH",d[(C+G)%75]&n[(int
)(5*sin(C%628/1e1)*sin((C-G)/(8+3*sin(C%1257/20.0)))+c++)%16]&63?56:32,c,G);}
 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]