Fix C++ Crash (Double free / Memory related)

I need a C++ expert to assist me in finding and fixing a very tricky, memory-related crash in a C++ library. It uses OMP, multiple threads, and tr1::shared_ptr's. I have tried many simple solutions (mutexes, better protection of certain things), but none have solved the problem so far. Ideally, you can help me profile & analyze things with Valgrind (or similar tools), to quickly track down where the problem is happening. I will be happy to help you get the library building, and help you trigger the crash.

It *occasionally* crashes with the following error:

---- Unhandled Exception: Stack Trace ----

#0 0x00007fffde6fa44a in juce::AudioSampleBuffer::getNumSamples (this=0x30)

at /usr/include/libopenshot-audio/JuceLibraryCode/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h:121

#1 0x00007fffde767d19 in openshot::Frame::GetAudioSamplesCount (this=0x6fa93b0)

at /home/jonathan/apps/libopenshot-git/src/[url removed, login to view]

#2 0x00007fffde76eee8 in openshot::FrameMapper::GetFrame (this=0x626b2f0, requested_frame=3745)

at /home/jonathan/apps/libopenshot-git/src/[url removed, login to view]

#3 0x00007fffde719b2a in openshot::Clip::GetOrCreateFrame (this=0x6d12e60, number=3745)

at /home/jonathan/apps/libopenshot-git/src/[url removed, login to view]

#4 0x00007fffde717a0a in openshot::Clip::GetFrame (this=0x6d12e60, requested_frame=3745)

at /home/jonathan/apps/libopenshot-git/src/[url removed, login to view]

#5 0x00007fffde78a6ab in openshot::Timeline::GetFrame (this=0x190feb0, requested_frame=3745)

at /home/jonathan/apps/libopenshot-git/src/[url removed, login to view]

The solution will probably be a couple of lines of code, once we finally see what the actual issue is. =)

Taidot: C-ohjelmointi, C++ -ohjelmointi, Virheenjäljitys, Ohjelmointi, tietojärjestelmäarkkitehtuuri

Näytä lisää: double free or corruption (out), double free or corruption (top), double free or corruption glibc, valgrind double free or corruption, double free or corruption ( prev) c++, double free or corruption (!prev), double free or corruption in c, what is double free or corruption, free defence related java projects, erase free memory iphone, crash fix, free restaurant related joomla template, free memory game templates, java free memory buffer, free project related demand forecasting

Tietoa työnantajasta:
( 8 arvostelua ) Rockwall, United States

Projektin tunnus: #14820055

24 freelanceria on tarjonnut keskimäärin 167 $ tähän työhön


I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on client side, using c++ under Windows envir Lisää

150 $ USD 3 päivässä
(123 arvostelua)

hi. i have good knowledge of C++ and profiling tools. can help you solve the issue Relevant Skills and Experience C++, valgrind, oprofile Proposed Milestones $300 USD - issue resolve

300 $ USD 3 päivässä
(245 arvostelua)
105 $ USD 2 päivässä
(133 arvostelua)
155 $ USD 3 päivässä
(55 arvostelua)

Hello sir. I 've read your post and so sure I can do it. I 'm sure I can satisfy you with my ability. Relevant Skills and Experience I 'm working in part of coding and software developing for over 6 years. I have much Lisää

222 $ USD 3 päivässä
(33 arvostelua)
350 $ USD 3 päivässä
(44 arvostelua)

Hi. I can debug your app. Please send me your current sources, build params and instruction how to trigger bug. Thanks. Relevant Skills and Experience C/C++ programming, debugging, reverse engineering. Proposed Miles Lisää

100 $ USD 3 päivässä
(7 arvostelua)

Hi! I'm interesting your project very well. I am mastering c++ and I'm a good Mathematician. And also I have many experience and good skill about web and android development. Let's go ahead with me

133 $ USD 3 päivässä
(72 arvostelua)

Hi, I have confidence to fix the bug for you, Could you please send me the source code, and tell me how to reproduce the bug? I will quickly check and analysis the bug. and tell you what's the issue. Relevant Skills Lisää

200 $ USD 1 päivässä
(11 arvostelua)

I hv expertise in C++ share your source code Relevant Skills and Experience C++ Proposed Milestones $200 USD - m1

200 $ USD 3 päivässä
(10 arvostelua)
251 $ USD 4 päivässä
(17 arvostelua)
155 $ USD 3 päivässä
(2 arvostelua)

A proposal has not yet been provided

221 $ USD 2 päivässä
(4 arvostelua)

Hello sir/ma'am.. I have gone through your project domain..and i want to complete your project. I have 5 years of experience and i can complete your project within your budget.. Thankyou!.. Relevant Skills and Experi Lisää

55 $ USD 3 päivässä
(7 arvostelua)

Hello hiring manager I read your details and I understand is that you wish to fix the Crash issue in C++. Relevant Skills and Experience We are expert in C Programming, C++ Programming, Machine Learning, Software Arc Lisää

150 $ USD 3 päivässä
(2 arvostelua)

A proposal has not yet been provided

35 $ USD 1 päivässä
(3 arvostelua)

i'm just available after 6 hours from now. but i think i can help you by using our tool for analysis. let me know the source and how to build it. i will run the check and share you the report and we can fix your probl Lisää

130 $ USD 2 päivässä
(2 arvostelua)
155 $ USD 3 päivässä
(2 arvostelua)

Fix a memory related C++ crash Relevant Skills and Experience I am a software engineer with over 20 years of experience with C/C++. I have done a lot of debugging related to memory problems. Proposed Milestones $250 Lisää

250 $ USD 2 päivässä
(0 arvostelua)

Hope to help :) Relevant Skills and Experience C/C++ under unix/linux/win Proposed Milestones $20 USD - Create dev env to reproduce bug $70 USD - Bug fix

90 $ USD 3 päivässä
(0 arvostelua)