Kapalı

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. =)

Beceriler: C Programlama, C++ Programlama, Hata Ayıklama, Programlama, Yazılım Mimarisi

Daha fazlasını gör: 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

İşveren Hakkında:
( 8 değerlendirme ) Rockwall, United States

Proje NO: #14820055

Bu iş için 23 freelancer ortalamada $162 teklif veriyor

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 Daha Fazla

in %bids___i_period_sub_35% gün içinde150%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(135 Değerlendirme)
7.0
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

in %bids___i_period_sub_35% gün içinde300%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(313 Değerlendirme)
7.1
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

in %bids___i_period_sub_35% gün içinde133%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(158 Değerlendirme)
6.8
in %bids___i_period_sub_35% gün içinde105%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(142 Değerlendirme)
6.3
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 Daha Fazla

in %bids___i_period_sub_35% gün içinde222%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(52 Değerlendirme)
6.3
in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(55 Değerlendirme)
6.4
in %bids___i_period_sub_35% gün içinde350%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(50 Değerlendirme)
5.8
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 Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(9 Değerlendirme)
5.5
in %bids___i_period_sub_35% gün içinde251%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(23 Değerlendirme)
5.2
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 Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(11 Değerlendirme)
5.2
narendragautam

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

in %bids___i_period_sub_35% gün içinde200%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(13 Değerlendirme)
5.1
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 Daha Fazla

in %bids___i_period_sub_35% gün içinde55%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(9 Değerlendirme)
4.5
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 Daha Fazla

in %bids___i_period_sub_35% gün içinde130%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(8 Değerlendirme)
4.2
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 Daha Fazla

in %bids___i_period_sub_35% gün içinde150%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(6 Değerlendirme)
4.3
in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)
4.3
vickkey7

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde221%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)
3.3
mirage254

A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(4 Değerlendirme)
1.7
in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)
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 Daha Fazla

in %bids___i_period_sub_35% gün içinde250%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
SudipBhattarai10

I am interested in the project. Dealt, with similar problem with my project few years back :D, A nightmare. Relevant Skills and Experience > C++ Let's see how big the project is, its gonna require checking all parts Daha Fazla

in %bids___i_period_sub_35% gün içinde101%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0