Fermé

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]

Compétences : Programmation C, Programmation C++, Débogage, Programmation, Architecture Logicielle

Voir plus : 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, erase free memory iphone, crash fix, free memory game templates, java free memory buffer, view free memory centos, free memory game template, centos free memory

Concernant l'employeur :
( 8 commentaires ) Rockwall, United States

N° du projet : #14820055

24 freelance ont fait une offre moyenne de 167 $ pour ce travail

hbxfnzwpf

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 Plus

150 $ USD en 3 jours
(123 Commentaires)
6.9
utkarshkatiyar19

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 en 3 jours
(245 Commentaires)
6.8
105 $ USD en 2 jours
(133 Commentaires)
6.2
155 $ USD en 3 jours
(55 Commentaires)
6.4
bestit4u

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 Plus

222 $ USD en 3 jours
(33 Commentaires)
5.9
350 $ USD en 3 jours
(44 Commentaires)
5.4
lanthan

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 Plus

100 $ USD en 3 jours
(7 Commentaires)
5.3
liangjongai

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 en 3 jours
(72 Commentaires)
5.4
yzupwork

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 Plus

200 $ USD en 1 jour
(11 Commentaires)
5.2
narendragautam

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

200 $ USD en 3 jours
(10 Commentaires)
4.9
251 $ USD en 4 jours
(17 Commentaires)
4.6
155 $ USD en 3 jours
(2 Commentaires)
4.3
vickkey7

A proposal has not yet been provided

221 $ USD en 2 jours
(4 Commentaires)
3.3
raiakanksha49

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 Plus

55 $ USD en 3 jours
(7 Commentaires)
3.7
isparrowsolution

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 Plus

150 $ USD en 3 jours
(2 Commentaires)
2.0
mirage254

A proposal has not yet been provided

35 $ USD en 1 jour
(3 Commentaires)
1.7
xtaldew

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 Plus

130 $ USD en 2 jours
(2 Commentaires)
1.7
155 $ USD en 3 jours
(2 Commentaires)
1.4
gili73

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 Plus

250 $ USD en 2 jours
(0 Commentaires)
0.0
ExtraHours

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 en 3 jours
(0 Commentaires)
0.0