[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] [Closed] (AMQCPP-523) Memory corruption happens consistently during the access of any CFURL A
From:       "Timothy Bish (JIRA)" <jira () apache ! org>
Date:       2013-10-31 13:49:17
Message-ID: JIRA.12676838.1383216409894.784.1383227357792 () arcas
[Download RAW message or body]


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

Timothy Bish closed AMQCPP-523.
-------------------------------

    Resolution: Duplicate

> Memory corruption happens consistently during the access of any CFURL API's of \
>                 CoreFoundation framework
> -------------------------------------------------------------------------------------------------------
>  
> Key: AMQCPP-523
> URL: https://issues.apache.org/jira/browse/AMQCPP-523
> 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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic