You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Romain CHANU <ro...@gmail.com> on 2010/07/16 05:48:39 UTC

[AMQ-CPP] Issues with 3.2.1

Hi,

I am currently upgrading my client from 3.1.0 to 3.2.1.

The environment used is very broad:

- Centos 5.3 (gcc 4.1.2, APR 1.3.9, APR-util 1.3.9)
- Debian 5.0 (gcc 4.3.2, APR 1.3.5, APR-util 1.3.7)
- Fedora 11 (gcc 4.4.0, APR 1.3.5, APR-util 1.3.9)
- Ubuntu 10.04 (gcc 4.4.3, APR 1.3.8, APR-util 1.3.9)

The compilation works whatever the environment used :-)

However, I am facing major issues:

1) On Centos 5.3 and Debian 5.0, "make check" fails:

(error reported from Centos 5.3)

g++ -DHAVE_CONFIG_H -I. -I../..    -ansi -pedantic   -DLINUX=2 -D_REENTRANT
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr/include/apr-1
-I/usr/local/apr/include/apr-1   -W -Wall -Wextra -Wconversion -fPIC
-fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long   -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1
-Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized -I./../main
-I/usr/local/include -g -O2 -pthread -MT
activemq/test/activemq_test_integration-MessageCompressionTest.o -MD -MP -MF
activemq/test/.deps/activemq_test_integration-MessageCompressionTest.Tpo -c
-o activemq/test/activemq_test_integration-MessageCompressionTest.o `test -f
'activemq/test/MessageCompressionTest.cpp' || echo
'./'`activemq/test/MessageCompressionTest.cpp
activemq/test/MessageCompressionTest.cpp:63: error: integer constant is too
large for ‘long’ type
activemq/test/MessageCompressionTest.cpp:69: error: integer constant is too
large for ‘long’ type


2) I tried to run the examples provided in the package:

- On Centos 5.3 and Debian 5.0, none of the examples worked... I got a
"segmentation fault"

- On Fedora 11 and Ubuntu 10.04, all the examples worked.


Do you have any idea on what's going on?


Thank you.

Regards,

Romain

Re: [AMQ-CPP] Issues with 3.2.1

Posted by Romain CHANU <ro...@gmail.com>.
Hi Tim,

I will try this in the afternoon.

I also did some tests yesterday (cf. same post on the activemq users
mailing list).

I'll keep you informed.

On Saturday, July 17, 2010, Timothy Bish <ta...@gmail.com> wrote:
> On Fri, 2010-07-16 at 11:48 +0800, Romain CHANU wrote:
>> Hi,
>>
>> I am currently upgrading my client from 3.1.0 to 3.2.1.
>>
>> The environment used is very broad:
>>
>> - Centos 5.3 (gcc 4.1.2, APR 1.3.9, APR-util 1.3.9)
>> - Debian 5.0 (gcc 4.3.2, APR 1.3.5, APR-util 1.3.7)
>> - Fedora 11 (gcc 4.4.0, APR 1.3.5, APR-util 1.3.9)
>> - Ubuntu 10.04 (gcc 4.4.3, APR 1.3.8, APR-util 1.3.9)
>>
>> The compilation works whatever the environment used :-)
>>
>> However, I am facing major issues:
>>
>> 1) On Centos 5.3 and Debian 5.0, "make check" fails:
>>
>> (error reported from Centos 5.3)
>>
>> g++ -DHAVE_CONFIG_H -I. -I../..    -ansi -pedantic   -DLINUX=2 -D_REENTRANT
>> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr/include/apr-1
>> -I/usr/local/apr/include/apr-1   -W -Wall -Wextra -Wconversion -fPIC
>> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long   -DLINUX=2
>> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
>> -I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1
>> -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized -I./../main
>> -I/usr/local/include -g -O2 -pthread -MT
>> activemq/test/activemq_test_integration-MessageCompressionTest.o -MD -MP -MF
>> activemq/test/.deps/activemq_test_integration-MessageCompressionTest.Tpo -c
>> -o activemq/test/activemq_test_integration-MessageCompressionTest.o `test -f
>> 'activemq/test/MessageCompressionTest.cpp' || echo
>> './'`activemq/test/MessageCompressionTest.cpp
>> activemq/test/MessageCompressionTest.cpp:63: error: integer constant is too
>> large for ‘long’ type
>> activemq/test/MessageCompressionTest.cpp:69: error: integer constant is too
>> large for ‘long’ type
>>
>>
>> 2) I tried to run the examples provided in the package:
>>
>> - On Centos 5.3 and Debian 5.0, none of the examples worked... I got a
>> "segmentation fault"
>>
>> - On Fedora 11 and Ubuntu 10.04, all the examples worked.
>>
>>
>> Do you have any idea on what's going on?
>>
>>
>> Thank you.
>>
>> Regards,
>>
>> Romain
>
> Can you try with the latest code in the ActiveMQ-CPP 3.2.x fixes branch
> and let me know if its still segfaulting?
>
> The SVN location is here:
> https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.2.x
>
>
> Regards
>
>
> --
> Tim Bish
>
> Open Source Integration: http://fusesource.com
> ActiveMQ in Action: http://www.manning.com/snyder/
>
> Follow me on Twitter: http://twitter.com/tabish121
> My Blog: http://timbish.blogspot.com/
>
>

Re: [AMQ-CPP] Issues with 3.2.1

Posted by Timothy Bish <ta...@gmail.com>.
On Sat, 2010-07-17 at 17:04 +0800, Romain CHANU wrote:
> Hi Tim,
> 
> I tried the latest code from the svn on both Debian and CentOS environments
> (as described before):
> 
> 1) "make check" works.
> 
> 2) No segmentation fault while running the examples.
> 
> May I know what you have modified? Any scheduled release including the
> patches?

You can find out what was modified by using the SVN log command, for
example:

svn log -v -l 10

would tell you what the last ten commits where.  There's also an SVN
Diff command that would let you compare different revisions.  

see 'svn help diff'

Not sure yet on when the next release will be, most likely it will be
within the next couple of weeks.  I'd recommend trying out the code from
the fixes branch and reporting any additional errors that you run into,
that way the next release will be even better, folks willing to test and
report back with problems is always appreciated.  

Regards



> 
> Cheers,
> 
> Romain
> 
> On 17 July 2010 05:58, Timothy Bish <ta...@gmail.com> wrote:
> 
> > On Fri, 2010-07-16 at 11:48 +0800, Romain CHANU wrote:
> > > Hi,
> > >
> > > I am currently upgrading my client from 3.1.0 to 3.2.1.
> > >
> > > The environment used is very broad:
> > >
> > > - Centos 5.3 (gcc 4.1.2, APR 1.3.9, APR-util 1.3.9)
> > > - Debian 5.0 (gcc 4.3.2, APR 1.3.5, APR-util 1.3.7)
> > > - Fedora 11 (gcc 4.4.0, APR 1.3.5, APR-util 1.3.9)
> > > - Ubuntu 10.04 (gcc 4.4.3, APR 1.3.8, APR-util 1.3.9)
> > >
> > > The compilation works whatever the environment used :-)
> > >
> > > However, I am facing major issues:
> > >
> > > 1) On Centos 5.3 and Debian 5.0, "make check" fails:
> > >
> > > (error reported from Centos 5.3)
> > >
> > > g++ -DHAVE_CONFIG_H -I. -I../..    -ansi -pedantic   -DLINUX=2
> > -D_REENTRANT
> > > -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr/include/apr-1
> > > -I/usr/local/apr/include/apr-1   -W -Wall -Wextra -Wconversion -fPIC
> > > -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long   -DLINUX=2
> > > -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> > > -I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1
> > > -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized
> > -I./../main
> > > -I/usr/local/include -g -O2 -pthread -MT
> > > activemq/test/activemq_test_integration-MessageCompressionTest.o -MD -MP
> > -MF
> > > activemq/test/.deps/activemq_test_integration-MessageCompressionTest.Tpo
> > -c
> > > -o activemq/test/activemq_test_integration-MessageCompressionTest.o `test
> > -f
> > > 'activemq/test/MessageCompressionTest.cpp' || echo
> > > './'`activemq/test/MessageCompressionTest.cpp
> > > activemq/test/MessageCompressionTest.cpp:63: error: integer constant is
> > too
> > > large for ‘long’ type
> > > activemq/test/MessageCompressionTest.cpp:69: error: integer constant is
> > too
> > > large for ‘long’ type
> > >
> > >
> > > 2) I tried to run the examples provided in the package:
> > >
> > > - On Centos 5.3 and Debian 5.0, none of the examples worked... I got a
> > > "segmentation fault"
> > >
> > > - On Fedora 11 and Ubuntu 10.04, all the examples worked.
> > >
> > >
> > > Do you have any idea on what's going on?
> > >
> > >
> > > Thank you.
> > >
> > > Regards,
> > >
> > > Romain
> >
> > Can you try with the latest code in the ActiveMQ-CPP 3.2.x fixes branch
> > and let me know if its still segfaulting?
> >
> > The SVN location is here:
> >
> > https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.2.x
> >
> >
> > Regards
> >
> >
> > --
> > Tim Bish
> >
> > Open Source Integration: http://fusesource.com
> > ActiveMQ in Action: http://www.manning.com/snyder/
> >
> > Follow me on Twitter: http://twitter.com/tabish121
> > My Blog: http://timbish.blogspot.com/
> >
> >

-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/


Re: [AMQ-CPP] Issues with 3.2.1

Posted by Romain CHANU <ro...@gmail.com>.
Hi Tim,

I tried the latest code from the svn on both Debian and CentOS environments
(as described before):

1) "make check" works.

2) No segmentation fault while running the examples.

May I know what you have modified? Any scheduled release including the
patches?

Cheers,

Romain

On 17 July 2010 05:58, Timothy Bish <ta...@gmail.com> wrote:

> On Fri, 2010-07-16 at 11:48 +0800, Romain CHANU wrote:
> > Hi,
> >
> > I am currently upgrading my client from 3.1.0 to 3.2.1.
> >
> > The environment used is very broad:
> >
> > - Centos 5.3 (gcc 4.1.2, APR 1.3.9, APR-util 1.3.9)
> > - Debian 5.0 (gcc 4.3.2, APR 1.3.5, APR-util 1.3.7)
> > - Fedora 11 (gcc 4.4.0, APR 1.3.5, APR-util 1.3.9)
> > - Ubuntu 10.04 (gcc 4.4.3, APR 1.3.8, APR-util 1.3.9)
> >
> > The compilation works whatever the environment used :-)
> >
> > However, I am facing major issues:
> >
> > 1) On Centos 5.3 and Debian 5.0, "make check" fails:
> >
> > (error reported from Centos 5.3)
> >
> > g++ -DHAVE_CONFIG_H -I. -I../..    -ansi -pedantic   -DLINUX=2
> -D_REENTRANT
> > -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr/include/apr-1
> > -I/usr/local/apr/include/apr-1   -W -Wall -Wextra -Wconversion -fPIC
> > -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long   -DLINUX=2
> > -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> > -I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1
> > -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized
> -I./../main
> > -I/usr/local/include -g -O2 -pthread -MT
> > activemq/test/activemq_test_integration-MessageCompressionTest.o -MD -MP
> -MF
> > activemq/test/.deps/activemq_test_integration-MessageCompressionTest.Tpo
> -c
> > -o activemq/test/activemq_test_integration-MessageCompressionTest.o `test
> -f
> > 'activemq/test/MessageCompressionTest.cpp' || echo
> > './'`activemq/test/MessageCompressionTest.cpp
> > activemq/test/MessageCompressionTest.cpp:63: error: integer constant is
> too
> > large for ‘long’ type
> > activemq/test/MessageCompressionTest.cpp:69: error: integer constant is
> too
> > large for ‘long’ type
> >
> >
> > 2) I tried to run the examples provided in the package:
> >
> > - On Centos 5.3 and Debian 5.0, none of the examples worked... I got a
> > "segmentation fault"
> >
> > - On Fedora 11 and Ubuntu 10.04, all the examples worked.
> >
> >
> > Do you have any idea on what's going on?
> >
> >
> > Thank you.
> >
> > Regards,
> >
> > Romain
>
> Can you try with the latest code in the ActiveMQ-CPP 3.2.x fixes branch
> and let me know if its still segfaulting?
>
> The SVN location is here:
>
> https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.2.x
>
>
> Regards
>
>
> --
> Tim Bish
>
> Open Source Integration: http://fusesource.com
> ActiveMQ in Action: http://www.manning.com/snyder/
>
> Follow me on Twitter: http://twitter.com/tabish121
> My Blog: http://timbish.blogspot.com/
>
>

Re: [AMQ-CPP] Issues with 3.2.1

Posted by Timothy Bish <ta...@gmail.com>.
On Fri, 2010-07-16 at 11:48 +0800, Romain CHANU wrote:
> Hi,
> 
> I am currently upgrading my client from 3.1.0 to 3.2.1.
> 
> The environment used is very broad:
> 
> - Centos 5.3 (gcc 4.1.2, APR 1.3.9, APR-util 1.3.9)
> - Debian 5.0 (gcc 4.3.2, APR 1.3.5, APR-util 1.3.7)
> - Fedora 11 (gcc 4.4.0, APR 1.3.5, APR-util 1.3.9)
> - Ubuntu 10.04 (gcc 4.4.3, APR 1.3.8, APR-util 1.3.9)
> 
> The compilation works whatever the environment used :-)
> 
> However, I am facing major issues:
> 
> 1) On Centos 5.3 and Debian 5.0, "make check" fails:
> 
> (error reported from Centos 5.3)
> 
> g++ -DHAVE_CONFIG_H -I. -I../..    -ansi -pedantic   -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr/include/apr-1
> -I/usr/local/apr/include/apr-1   -W -Wall -Wextra -Wconversion -fPIC
> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long   -DLINUX=2
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1
> -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized -I./../main
> -I/usr/local/include -g -O2 -pthread -MT
> activemq/test/activemq_test_integration-MessageCompressionTest.o -MD -MP -MF
> activemq/test/.deps/activemq_test_integration-MessageCompressionTest.Tpo -c
> -o activemq/test/activemq_test_integration-MessageCompressionTest.o `test -f
> 'activemq/test/MessageCompressionTest.cpp' || echo
> './'`activemq/test/MessageCompressionTest.cpp
> activemq/test/MessageCompressionTest.cpp:63: error: integer constant is too
> large for ‘long’ type
> activemq/test/MessageCompressionTest.cpp:69: error: integer constant is too
> large for ‘long’ type
> 
> 
> 2) I tried to run the examples provided in the package:
> 
> - On Centos 5.3 and Debian 5.0, none of the examples worked... I got a
> "segmentation fault"
> 
> - On Fedora 11 and Ubuntu 10.04, all the examples worked.
> 
> 
> Do you have any idea on what's going on?
> 
> 
> Thank you.
> 
> Regards,
> 
> Romain

Can you try with the latest code in the ActiveMQ-CPP 3.2.x fixes branch
and let me know if its still segfaulting?

The SVN location is here:
https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.2.x


Regards


-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/


Re: [AMQ-CPP] Issues with 3.2.1

Posted by Timothy Bish <ta...@gmail.com>.
On Fri, 2010-07-16 at 11:48 +0800, Romain CHANU wrote:
> Hi,
> 
> I am currently upgrading my client from 3.1.0 to 3.2.1.
> 
> The environment used is very broad:
> 
> - Centos 5.3 (gcc 4.1.2, APR 1.3.9, APR-util 1.3.9)
> - Debian 5.0 (gcc 4.3.2, APR 1.3.5, APR-util 1.3.7)
> - Fedora 11 (gcc 4.4.0, APR 1.3.5, APR-util 1.3.9)
> - Ubuntu 10.04 (gcc 4.4.3, APR 1.3.8, APR-util 1.3.9)
> 
> The compilation works whatever the environment used :-)
> 
> However, I am facing major issues:
> 
> 1) On Centos 5.3 and Debian 5.0, "make check" fails:
> 
> (error reported from Centos 5.3)
> 
> g++ -DHAVE_CONFIG_H -I. -I../..    -ansi -pedantic   -DLINUX=2 -D_REENTRANT
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -I/usr/local/apr/include/apr-1
> -I/usr/local/apr/include/apr-1   -W -Wall -Wextra -Wconversion -fPIC
> -fstrict-aliasing -Wstrict-aliasing=2 -Wno-long-long   -DLINUX=2
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/local/apr/include/apr-1   -I/usr/local/apr/include/apr-1
> -Wno-non-virtual-dtor -Wno-unused-parameter -Wno-uninitialized -I./../main
> -I/usr/local/include -g -O2 -pthread -MT
> activemq/test/activemq_test_integration-MessageCompressionTest.o -MD -MP -MF
> activemq/test/.deps/activemq_test_integration-MessageCompressionTest.Tpo -c
> -o activemq/test/activemq_test_integration-MessageCompressionTest.o `test -f
> 'activemq/test/MessageCompressionTest.cpp' || echo
> './'`activemq/test/MessageCompressionTest.cpp
> activemq/test/MessageCompressionTest.cpp:63: error: integer constant is too
> large for ‘long’ type
> activemq/test/MessageCompressionTest.cpp:69: error: integer constant is too
> large for ‘long’ type
> 
> 
> 2) I tried to run the examples provided in the package:
> 
> - On Centos 5.3 and Debian 5.0, none of the examples worked... I got a
> "segmentation fault"
> 
> - On Fedora 11 and Ubuntu 10.04, all the examples worked.
> 
> 
> Do you have any idea on what's going on?
> 

If you could attach the stack trace from the segfault that would be
useful otherwise its hard to say what it could be.  I can install a
CentOS 5.3 VM and try it out myself, but it would take some time to
setup and I still might not get something that matches your environment
exactly.

Regards

-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/