activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AMQCPP-522) Memory corruption happens consistently during the access of any CFURL API's of CoreFoundation framework
Date Thu, 31 Oct 2013 13:49:18 GMT

     [ https://issues.apache.org/jira/browse/AMQCPP-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Timothy Bish closed AMQCPP-522.
-------------------------------

    Resolution: Incomplete

I don't see anything here that indicates its an AMQCPP library issue. 

> Memory corruption happens consistently during the access of any CFURL API's of CoreFoundation
framework
> -------------------------------------------------------------------------------------------------------
>
>                 Key: AMQCPP-522
>                 URL: https://issues.apache.org/jira/browse/AMQCPP-522
>             Project: ActiveMQ C++ Client
>          Issue Type: Bug
>          Components: Build Support, CMS Impl, Decaf
>    Affects Versions: 3.5.0, 3.6.0, 3.7.0, 3.8.0
>         Environment: Mac OS X - 10.8.5 (Mountain Lion) 
> Application that uses CoreFoundation.framework (from Mac OS SDK 10.7) and activemq library
together.
>            Reporter: Sahayaraj
>            Assignee: Timothy Bish
>            Priority: Blocker
>
> Steps to recreate the issue.
> Step 1 :- Download the activemq-cpp-library-3.8.1-src.tar file from activemq website.
> Step 2 :- Build the library on Mac OS X 10.8.5 as per instructions given in ReadMe.txt
file
> Step 3 :- Build will be successful and you could get static and dynamic binaries.
> Step 4:- Create a sample cmd-line application in XCode 4.4.1 and use the activemq static
library along with the usage of CoreFoundation.framework from Mac OS 10.7 SDK.
> Step 5 :- Define the structure to createa linked list as follows
> typedef struct myList {
>  char name[128];
>  struct myList *next;
> } myListType;
> void functiontocrash() {
> myListType namelist[100] = {0};
>         CFStringRef pathRef = CFSTR("MyLib:Apache:ActiveMQ:"); // it could be any folder
path in HFS notion.
>         CFURLRef urlRef = CFURLCreateWithFileSystemPath(NULL, pathRef, 2, TRUE);
> }
> Step 6: Build the application. It would be successful.
> Step 7: Run the application, then it crashes
> You could get the following crash consistently
> Thread 11 Crashed:
> 0   com.apple.CoreFoundation      	0x00007fff8ccd6f04 __CFStringCreateImmutableFunnel3
+ 20
> 1   com.apple.CoreFoundation      	0x00007fff8ccebccb CFStringCreateWithBytes + 59
> 2   com.apple.CoreFoundation      	0x00007fff8ccf1a6c CFURLCreateFromFileSystemRepresentation
+ 428
> 3   com.apple.CoreFoundation      	0x00007fff8ccebdfb CFURLCreateWithFileSystemPath +
283



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message