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

Re: XTL on Solaris



Jose,
Thanks for the info!  That explains why the raw tests worked on Cygwin.  Here's the stack trace for giop:

devomniapp{/mfg/groups/ohtse/pkgs/xtl-1.4/examples/tests}: !197
./giop
Testing ./giop: Bus Error (core dumped)
devomniapp{/mfg/groups/ohtse/pkgs/xtl-1.4/examples/tests}: !199
pstack core | c++filt
core 'core' of 10172:   ./giop
 00049ad0 GIOP_format<mem_buffer>::h2nh(long long const *, char *) (ffbee538, ffbee70c, ffbee830, 5db2c, 81010100, ff00) + 10
 00049704 GIOP_format<mem_buffer>::output_simple(long const &) (ffbee538, ffbee70c, ffbef7b8, 5, 21dc0, ff29b21c) + 28
 00048c6c obj_output<GIOP_format<mem_buffer>, no_refs>::simple(long const &) (ffbee530, ffbee70c, ffbef834, 674b8, 0, 0) + 14
 000488f0 void numbers::composite<obj_output<GIOP_format<mem_buffer>, no_refs> >(obj_output<GIOP_format<mem_buffer>, no_refs> &) (ffbee6f0, ffbee530, 0, ff336000, 0, 0) + 8c
 00048734 void composite<obj_output<GIOP_format<mem_buffer>, no_refs>, numbers>(obj_output<GIOP_format<mem_buffer>, no_refs> &, numbers &) (ffbee530, ffbee6f0, 4, 10, 21dc0, ff2c0d48) + 14
 000484b8 obj_output<GIOP_format<mem_buffer>, no_refs> & obj_output<GIOP_format<mem_buffer>, no_refs>::simple<numbers>(numbers const &) (ffbee530, ffbee6f0, 66000, 10, 21dc0, ff2c0d48) + 20
 00048408 void all_tests::composite<obj_output<GIOP_format<mem_buffer>, no_refs> >(obj_output<GIOP_format<mem_buffer>, no_refs> &) (ffbee6f0, ffbee530, 66db8, 66c00, 12, ff00) + 14
 000483e4 void composite<obj_output<GIOP_format<mem_buffer>, no_refs>, all_tests>(obj_output<GIOP_format<mem_buffer>, no_refs> &, all_tests &) (ffbee530, ffbee6f0, ffbee548, ffbeec00, 3200, 4c838) + 14
 00048388 obj_output<GIOP_format<mem_buffer>, no_refs> & obj_output<GIOP_format<mem_buffer>, no_refs>::composite<all_tests>(all_tests const &) (ffbee530, ffbee6f0, 3e8, 5db2c, 81010100, ff00) + 20
 00028104 output(char *, all_tests const &) (ffbee818, ffbee6f0, ffbef7b8, 5, 21dc0, ff29b21c) + 50
 00027d94 main     (1, ffbef82c, ffbef834, 674b8, 0, 0) + ac
 00027af4 _start   (0, 0, 0, 0, 0, 0) + 5c

Casey

Jose Orlando Pereira wrote:

On Wednesday 04 July 2001 19:20, you wrote:
> Has anyone else tried building/using XTL on Solaris?  What successes
> have you had with it?

I don't know if anybody has compiled and used it on Solaris.
It has been used successfully in other big endian architectures.

> In the tests/ subdirectory, giop, oraw, and raw all die on SIGBUS.  The
> xdr tests work, though.  Any ideas why?  Core and the 'raw' binary are
> attached.

Raw will work only in architectures which can do unaligned memory
accesses (e.g. x86) and will dump core or execute very slowly
elsewhere. But GIOP shouldn't so it is probably a bug. Can you
send me the stack trace for this?

--
Jose Orlando Pereira
* mailto:jop@di.uminho.pt * http://gsd.di.uminho.pt/~jop *

begin:vcard 
n:Marshall;Casey
tel;pager:888.660.9302
tel;work:512.895.8723
x-mozilla-html:TRUE
org:Motorola SPS;Breakaway Test Software Engineering
adr:;;6501 William Cannon Drive West;Austin;TX;78735;USA
version:2.1
email;internet:ra9569@email.sps.mot.com
title:Software Developer
fn:Casey Marshall
end:vcard