You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "David Sanchez (JIRA)" <ji...@apache.org> on 2009/03/05 21:35:44 UTC

[jira] Created: (AMQCPP-228) Segmentation Fault(coredump) on Solaris running example in version 2.2.2

Segmentation Fault(coredump) on Solaris running example in version 2.2.2
------------------------------------------------------------------------

                 Key: AMQCPP-228
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-228
             Project: ActiveMQ C++ Client
          Issue Type: Bug
          Components: CMS Impl
    Affects Versions: 2.2.2
         Environment: Machine hardware:   sun4u
OS version:         5.10
Processor type:     sparc
Hardware:           SUNW,Sun-Fire-V490
Forte Developer 7
            Reporter: David Sanchez
            Assignee: Timothy Bish
            Priority: Blocker


I am trying to run the example program in version 2.2.2  I get  stopped with a Segmentation Fault(coredump) before any messages are sent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-228) Segmentation Fault(coredump) on Solaris running example in version 2.2.2

Posted by "David Sanchez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50403#action_50403 ] 

David Sanchez commented on AMQCPP-228:
--------------------------------------

I used Sun Studio 12 instead of the Forte Suite and the examples run
successfully.  Thank-you for you help.



> Segmentation Fault(coredump) on Solaris running example in version 2.2.2
> ------------------------------------------------------------------------
>
>                 Key: AMQCPP-228
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-228
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.2.2
>         Environment: Machine hardware:   sun4u
> OS version:         5.10
> Processor type:     sparc
> Hardware:           SUNW,Sun-Fire-V490
> Forte Developer 7
>            Reporter: David Sanchez
>            Assignee: Timothy Bish
>            Priority: Blocker
>
> I am trying to run the example program in version 2.2.2  I get  stopped with a Segmentation Fault(coredump) before any messages are sent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-228) Segmentation Fault(coredump) on Solaris running example in version 2.2.2

Posted by "David Sanchez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50393#action_50393 ] 

David Sanchez commented on AMQCPP-228:
--------------------------------------

Here is a back trace for segmentation fault when running the example
program src/examples/example:
(dbx) where
current thread: t@1
  [1] __lwp_wait(0x4, 0xffbff7cc, 0xff2013f8, 0x0, 0xff3f42e8, 0x0), at
0xfe5c1b0c
  [2] lwp_wait(0x5, 0xffbff7cc, 0x0, 0x0, 0xff3f42e8, 0x0), at
0xfe5b32b8
  [3] _thrp_join(0x5, 0x0, 0xffbff834, 0x1, 0xffbff7cc, 0xfe5eec80), at
0xfe5bd438
=>[4] apr_thread_join(retval = 0xffbff8a4, thd = 0x3f970), line 217 in
"thread.c"
  [5] decaf::lang::Thread::join(this = ???) (optimized), at 0xfeb867ac
(line ~94) in "Runnable.h"
  [6] main(argc = ???, argv = ???) (optimized), at 0x13900 (line ~391)
in "main.cpp"



> Segmentation Fault(coredump) on Solaris running example in version 2.2.2
> ------------------------------------------------------------------------
>
>                 Key: AMQCPP-228
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-228
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.2.2
>         Environment: Machine hardware:   sun4u
> OS version:         5.10
> Processor type:     sparc
> Hardware:           SUNW,Sun-Fire-V490
> Forte Developer 7
>            Reporter: David Sanchez
>            Assignee: Timothy Bish
>            Priority: Blocker
>
> I am trying to run the example program in version 2.2.2  I get  stopped with a Segmentation Fault(coredump) before any messages are sent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-228) Segmentation Fault(coredump) on Solaris running example in version 2.2.2

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50396#action_50396 ] 

Timothy Bish commented on AMQCPP-228:
-------------------------------------

You'll need to provide a full stack dump of all the threads, this little bit doesn't really provide any information on the overall state of the app at the time of the crash.  Compiling without optimization will also produce a clearer picture of what is going on in the code.  

You might also want to try upgrading to the 2.2.4 version to pick up any fixes that might help out.

I don't know of anyone that's used the Forte Suite with the CPP client, Sun Studio 11 or higher is known to work.

> Segmentation Fault(coredump) on Solaris running example in version 2.2.2
> ------------------------------------------------------------------------
>
>                 Key: AMQCPP-228
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-228
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.2.2
>         Environment: Machine hardware:   sun4u
> OS version:         5.10
> Processor type:     sparc
> Hardware:           SUNW,Sun-Fire-V490
> Forte Developer 7
>            Reporter: David Sanchez
>            Assignee: Timothy Bish
>            Priority: Blocker
>
> I am trying to run the example program in version 2.2.2  I get  stopped with a Segmentation Fault(coredump) before any messages are sent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (AMQCPP-228) Segmentation Fault(coredump) on Solaris running example in version 2.2.2

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQCPP-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQCPP-228.
-------------------------------

    Resolution: Won't Fix

Works with newer Sun compiler

> Segmentation Fault(coredump) on Solaris running example in version 2.2.2
> ------------------------------------------------------------------------
>
>                 Key: AMQCPP-228
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-228
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.2.2
>         Environment: Machine hardware:   sun4u
> OS version:         5.10
> Processor type:     sparc
> Hardware:           SUNW,Sun-Fire-V490
> Forte Developer 7
>            Reporter: David Sanchez
>            Assignee: Timothy Bish
>            Priority: Blocker
>
> I am trying to run the example program in version 2.2.2  I get  stopped with a Segmentation Fault(coredump) before any messages are sent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQCPP-228) Segmentation Fault(coredump) on Solaris running example in version 2.2.2

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQCPP-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50323#action_50323 ] 

Timothy Bish commented on AMQCPP-228:
-------------------------------------

A back trace of the call stack when the exception occurs is about the only way to narrow down what is going on here.  

> Segmentation Fault(coredump) on Solaris running example in version 2.2.2
> ------------------------------------------------------------------------
>
>                 Key: AMQCPP-228
>                 URL: https://issues.apache.org/activemq/browse/AMQCPP-228
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: CMS Impl
>    Affects Versions: 2.2.2
>         Environment: Machine hardware:   sun4u
> OS version:         5.10
> Processor type:     sparc
> Hardware:           SUNW,Sun-Fire-V490
> Forte Developer 7
>            Reporter: David Sanchez
>            Assignee: Timothy Bish
>            Priority: Blocker
>
> I am trying to run the example program in version 2.2.2  I get  stopped with a Segmentation Fault(coredump) before any messages are sent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.