I routinely run tests using Messenger in a 32-bit Linux environment and I've never had a problem with it. Are you building on a 64-bit machine or in a complete 32-bit environment?

-Ted

On 01/27/2014 03:43 PM, serega wrote:
Does the messenger work on 32 bit linux? I build the 32 bit messenger by
setting the variable
export CFLAGS=-m32

The same code that works on 64 bit linux crates on 32.  It always crashes in
pn_encoder_writef8
Here is the crash stack trace from a core dump

Core was generated by `./testconsumer 10.250.0.126 10.250.0.127 10000000'.
Program terminated with signal 11, Segmentation fault.
#0  0x00d89877 in pn_encoder_writef8 () from
/usr/local/lib/libqpid-proton.so.2
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.80.el6_3.7.i686 libuuid-2.17.2-12.7.el6_3.i686
(gdb) bt
#0  0x00d89877 in pn_encoder_writef8 () from
/usr/local/lib/libqpid-proton.so.2
#1  0x00d89d4c in pni_encoder_enter () from
/usr/local/lib/libqpid-proton.so.2
#2  0x00d85d66 in pni_data_traverse () from
/usr/local/lib/libqpid-proton.so.2
#3  0x00d8a6e5 in pn_encoder_encode () from
/usr/local/lib/libqpid-proton.so.2
#4  0x00d863ec in pn_data_encode () from /usr/local/lib/libqpid-proton.so.2
#5  0x00d8af95 in pn_post_frame () from /usr/local/lib/libqpid-proton.so.2
#6  0x00d930f7 in pn_flush_disp () from /usr/local/lib/libqpid-proton.so.2
#7  0x00d93971 in pn_process_flush_disp () from
/usr/local/lib/libqpid-proton.so.2
#8  0x00d93f94 in pn_phase () from /usr/local/lib/libqpid-proton.so.2
#9  0x00d940c0 in pn_process () from /usr/local/lib/libqpid-proton.so.2
#10 0x00d942e2 in pn_output_write_amqp () from
/usr/local/lib/libqpid-proton.so.2
#11 0x00d94a28 in pn_io_layer_output_passthru () from
/usr/local/lib/libqpid-proton.so.2
#12 0x00d94a28 in pn_io_layer_output_passthru () from
/usr/local/lib/libqpid-proton.so.2
#13 0x00d944cd in transport_produce () from
/usr/local/lib/libqpid-proton.so.2
#14 0x00d94de7 in pn_transport_pending () from
/usr/local/lib/libqpid-proton.so.2
#15 0x00da0726 in pn_connector_process () from
/usr/local/lib/libqpid-proton.so.2
#16 0x00d9b1bf in pn_messenger_tsync () from
/usr/local/lib/libqpid-proton.so.2
#17 0x00d9b503 in pn_messenger_sync () from
/usr/local/lib/libqpid-proton.so.2
#18 0x00d9d279 in pn_messenger_recv () from
/usr/local/lib/libqpid-proton.so.2
#19 0x0065f10c in run_consumer (args=0x8dc7198) at messageconsumer.c:104
#20 0x0050fa49 in start_thread () from /lib/libpthread.so.0
#21 0x0035863e in clone () from /lib/libc.so.6
(gdb)




--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Qpid-Proton-messenger-on-32-bit-linux-tp7603445.html
Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Reply via email to