Project

General

Profile

Actions

Bug #2853

closed

Global variable in static library causes double free or corruption error

Added by Chengyu Fan almost 9 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Build
Target version:
-
Start date:
06/05/2015
Due date:
% Done:

0%

Estimated time:

Description

This bug happened when I use both the ndn-cxx and the ChronoSync library. (Please refer #2842 to reproduce it)

Specify compiler flag "-fvisibility=hidden" in ndn-cxx could resolve this issue, but it also introduces other ld warnings on Mac.


Related issues 2 (0 open2 closed)

Related to ChronoSync - Bug #2842: "double free" reported when smart pointer is created outside of the wrapper classClosed05/28/2015

Actions
Related to ndn-cxx - Task #2243: Allow building of shared libraryClosedAlex Afanasyev

Actions
Actions

Also available in: Atom PDF