Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8144455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:22:47+00:00 2026-06-06T13:22:47+00:00

Im trying to integrate Brad Larson’s GPUImage framework to my project. The sample code

  • 0

Im trying to integrate Brad Larson’s GPUImage framework to my project. The sample code works fine. After I’ve intergrated, it builds fine but Im facing crash while running it. It crashes at AVCaptureVideoDataOutputSampleBufferDelegate method,

- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputSampleBuffer:(CMSampleBufferRef)sampleBuffer fromConnection:(AVCaptureConnection *)connection;

Particularly at
runOnMainQueueWithoutDeadlocking block. I tried to find out the crash area but couldn’t find it even after some few hours of time on seeing the crash log too. I didnt get any idea about the crash. Below is the crash log of Im getting on it. Can some one point me out the issue in it? I also have a doubt that, can I use to continue the queue in name com.sunsetlakesoftware.GPUImage.processingQueue?

Date/Time:       2012-06-19 17:46:28.449 +0530
OS Version:      iPhone OS 5.1.1 (9B206)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0xb00566c0
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libobjc.A.dylib                 0x344faf78 objc_msgSend + 16
1   GPUTest                         0x0017d16a __74-[GPUImageVideoCamera captureOutput:didOutputSampleBuffer:fromConnection:]_block_invoke_0118 (GPUImageVideoCamera.m:415)
2   libdispatch.dylib               0x35b03b24 _dispatch_barrier_sync_f_slow_invoke + 72
3   libdispatch.dylib               0x35b02e8a _dispatch_main_queue_callback_4CF$VARIANT$up + 190
4   CoreFoundation                  0x3247d2a6 __CFRunLoopRun + 1262
5   CoreFoundation                  0x3240049e CFRunLoopRunSpecific + 294
6   CoreFoundation                  0x32400366 CFRunLoopRunInMode + 98
7   GraphicsServices                0x31557432 GSEventRunModal + 130
8   UIKit                           0x31effcce UIApplicationMain + 1074
9   GPUTest                         0x000b0714 main (main.m:10)
10  GPUTest                         0x000b06cc start + 32

Thread 1 name:  Dispatch queue: com.sunsetlakesoftware.GPUImage.processingQueue
Thread 1:
0   libsystem_kernel.dylib          0x35b4b054 semaphore_wait_trap + 8
1   libdispatch.dylib               0x35b0447e _dispatch_thread_semaphore_wait$VARIANT$up + 6
2   libdispatch.dylib               0x35b0265e _dispatch_barrier_sync_f_slow + 82
3   libdispatch.dylib               0x35b025dc dispatch_barrier_sync_f$VARIANT$up + 16
4   libdispatch.dylib               0x35b02238 dispatch_sync_f$VARIANT$up + 12
5   libdispatch.dylib               0x35b028ee _dispatch_sync_slow + 46
6   libdispatch.dylib               0x35b028ae dispatch_sync$VARIANT$up + 18
7   GPUTest                         0x00172796 runOnMainQueueWithoutDeadlocking (GPUImageOutput.m:13)
8   GPUTest                         0x0017d0a6 -[GPUImageVideoCamera captureOutput:didOutputSampleBuffer:fromConnection:] (GPUImageVideoCamera.m:414)
9   AVFoundation                    0x32dd0244 __74-[AVCaptureVideoDataOutput _AVCaptureVideoDataOutput_VideoDataBecameReady]_block_invoke_0 + 220
10  libdispatch.dylib               0x35af7c52 _dispatch_call_block_and_release + 6
11  libdispatch.dylib               0x35b02ca4 _dispatch_queue_drain + 268
12  libdispatch.dylib               0x35b02b12 _dispatch_queue_invoke$VARIANT$up + 30
13  libdispatch.dylib               0x35b03784 _dispatch_worker_thread2 + 208
14  libsystem_c.dylib               0x30d40df4 _pthread_wqthread + 288
15  libsystem_c.dylib               0x30d40cc8 start_wqthread + 0

Thread 2:
0   libsystem_kernel.dylib          0x35b5bcd4 __workq_kernreturn + 8
1   libsystem_c.dylib               0x30d40f36 _pthread_wqthread + 610
2   libsystem_c.dylib               0x30d40cc8 start_wqthread + 0

Thread 3 name:  Dispatch queue: com.apple.libdispatch-manager
Thread 3:
0   libsystem_kernel.dylib          0x35b4b3a8 kevent + 24
1   libdispatch.dylib               0x35b03ea4 _dispatch_mgr_invoke + 708
2   libdispatch.dylib               0x35b03bc2 _dispatch_mgr_thread + 30

Thread 4:
0   libsystem_kernel.dylib          0x35b5bcd4 __workq_kernreturn + 8
1   libsystem_c.dylib               0x30d40f36 _pthread_wqthread + 610
2   libsystem_c.dylib               0x30d40cc8 start_wqthread + 0

Thread 5:
0   libsystem_kernel.dylib          0x35b5bcd4 __workq_kernreturn + 8
1   libsystem_c.dylib               0x30d40f36 _pthread_wqthread + 610
2   libsystem_c.dylib               0x30d40cc8 start_wqthread + 0

Thread 6 name:  WebThread
Thread 6:
0   libsystem_kernel.dylib          0x35b4b004 mach_msg_trap + 20
1   libsystem_kernel.dylib          0x35b4b1fa mach_msg + 50
2   CoreFoundation                  0x3247e3ec __CFRunLoopServiceMachPort + 120
3   CoreFoundation                  0x3247d124 __CFRunLoopRun + 876
4   CoreFoundation                  0x3240049e CFRunLoopRunSpecific + 294
5   CoreFoundation                  0x32400366 CFRunLoopRunInMode + 98
6   WebCore                         0x35c1dc9c _ZL12RunWebThreadPv + 396
7   libsystem_c.dylib               0x30d4672e _pthread_start + 314
8   libsystem_c.dylib               0x30d465e8 thread_start + 0

Thread 7 name:  com.apple.coremedia.player.async
Thread 7:
0   libsystem_kernel.dylib          0x35b5b068 __psynch_cvwait + 24
1   libsystem_c.dylib               0x30d46a46 _pthread_cond_wait + 634
2   libsystem_c.dylib               0x30d467c2 pthread_cond_wait + 34
3   CoreMedia                       0x32ec3868 FigSemaphoreWaitRelative + 268
4   MediaToolbox                    0x309fb3e6 fpa_AsyncMovieControlThread + 22
5   CoreMedia                       0x32ee28b4 figThreadMain + 168
6   libsystem_c.dylib               0x30d4672e _pthread_start + 314
7   libsystem_c.dylib               0x30d465e8 thread_start + 0

Thread 0 crashed with ARM Thread State:
    r0: 0x00541c20    r1: 0x00190b4f      r2: 0x0056f240      r3: 0x00190b4f
    r4: 0xb00566b8    r5: 0x00000000      r6: 0x00000000      r7: 0x2feace34
    r8: 0x2feace4c    r9: 0x000642d3     r10: 0x2feace4c     r11: 0x3e47dde0
    ip: 0x3f3c22c8    sp: 0x2feace24      lr: 0x0017d171      pc: 0x344faf78
  cpsr: 0x20000030
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T13:22:49+00:00Added an answer on June 6, 2026 at 1:22 pm

    Finally, I found the solution. I just replaced the compiler flag of the AppDelegate in target’s compile sources which is set for the purpose of ARC.
    i.e. I removed the -fno-objc-arc flag and replaced it by -fobjc-arc flag for the AppDelegate class which caused the crash.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to integrate a Hibernate application into a proprietary framework. My problem
I'm trying integrate spring with hibernate but catch exception on project start. Caused by:
I am trying to integrate Paypal Express checkout into my website. Everything worked fine
Im trying to integrate my PHPUnit tests into Hudson using the xUnit plugin. After
I'm trying to integrate Robot Framework (an acceptance testing framework) with TeamCity. In order
Im trying to integrate Linkedin network in my iphone app.I searched sample codes and
I am trying to integrate some code written for Endeca 6 to a codebase
We are trying to integrate tests in our daily builds using TestComplete, so far
I'm trying to integrate unobtrusive client-side validation in my ASP.NET MVC 3 project, as
I am trying to integrate some new code I wrote for programmatically interacting with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.