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

  • Home
  • SEARCH
  • 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 9136243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:55:38+00:00 2026-06-17T08:55:38+00:00

I am developing an application where I need to scan few barcodes in an

  • 0

I am developing an application where I need to scan few barcodes in an ios App. I was asked to used RedLaser library with my monotouch application.

I am able to compile, build, and run the application on my machine after few tweaks.

However once I click on the Scan button from the Home Screen, the application crashes. I cannot see any exception, Errors, or warnings on the Application Output panel on MonoDevelop. I could not find any Log either. The application is running on the iOSSimulator.

The issue happens when the OverrlayController tries to load the ParentPicker. Even just checking its value crashes the application.

I have put a sample of the code where it is crashing. I found that there was an issue with QRCode here, so I disabled QRScanning. but still the same crash.
I am using

Monotouch 6.0,
MonoDevelop 3.0.5,
RedLaser 3.4.0

Any help would be greatly appreciated.

public partial class RLSampleViewController : UIViewController
{
    public RLSampleViewController (IntPtr handle) : base (handle) { }
    partial void scanPressed (MonoTouch.UIKit.UIBarButtonItem sender)
    {
         //THIS IS THE LINE WHERE THE APP IS JUST CRASHING 
         if (overlayController.ParentPicker == null)
         {
             BarcodePickerController picker = new BarcodePickerController ();
             // setup picker
             picker.Overlay = overlayController;
             picker.Delegate = new BarcodePickerDelegate (this);
             // Initialize with portrait mode as default
             picker.Orientation = UIImageOrientation.Up;
            // The active scanning region size is set in OverlayController.m
          }

         // The rest of the code was ignored

I have updated the question to include the crash log (Thanks to Rolf B. for pointing me to where to find it). However, it still does not make any sense to me as I do not have familiarity with Objective-C.

> Process:         RedLaserSample [10999]
> Path:            /Users/USER/Library/Application Support/iPhone
> Simulator/*/RedLaserSample.app/RedLaserSample
> Identifier:      RedLaserSample
> Version:         ???
> Code Type:       X86 (Native)
> Parent Process:  launchd [243]
> User ID:         501

> Date/Time:       2013-01-08 16:58:35.532 +1100
> OS Version:      Mac OS X 10.8.2 (12C60)
> Report Version:  10

> Crashed Thread:  0  Dispatch queue: com.apple.main-thread

> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000bf7ffffc

> VM Regions Near 0xbf7ffffc:
>     Stack                  00000000b056d000-00000000b057d000 [   64K] rw-/rwx SM=COW  
> --> Stack                  00000000bc000000-00000000bf800000 [ 56.0M] ---/rwx SM=NUL  
>     Stack                  00000000bf800000-00000000c0000000 [ 8192K] rw-/rwx SM=COW  

> Application Specific Information:
> iPhone Simulator 358.4, iPhone OS 6.0 (iPhone/10A403)


> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   CoreFoundation                    0x0405f6cd typeStringHash + 13
> 1   CoreFoundation                    0x03fffdb0 __CFDictionaryHashKey + 32
> 2   CoreFoundation                    0x03fe53e2 CFBasicHashFindBucket + 1426
> 3   CoreFoundation                    0x03fe4e2d CFDictionaryGetValue + 109
> 4   CoreFoundation                    0x0405e0ea +[NSMethodSignature signatureWithObjCTypes:] + 250
> 5   CoreFoundation                    0x040fb5c3 -[NSObject(NSObject)  methodSignatureForSelector:] + 83
> 6   RedLaserSample                    0x0027a752 monotouch_trampoline + 82
> 7   ???                               0x0c7e9010 0 + 209621008
> 8   ???                               0x12c68efc 0 + 315002620
> 9   ???                               0x12c68fd4 0 + 315002836
> 10  RedLaserSample                    0x00077112 mono_jit_runtime_invoke + 722
> 11  RedLaserSample                    0x001d8bae mono_runtime_invoke + 126
> 12  RedLaserSample                    0x0027b568 monotouch_trampoline + 3688
> 13  ???                               0x0c7e9010 0 + 209621008
> 14  ???                               0x12c68efc 0 + 315002620
> 15  ???                               0x12c68fd4 0 + 315002836
  • 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-17T08:55:39+00:00Added an answer on June 17, 2026 at 8:55 am

    This turned out to be a bug in the binding (it wasn’t prepared for subclassing).

    This has now been fixed, and an updated binding is available at http://github.com/mono/monotouch-bindings

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

Sidebar

Related Questions

I am developing an iPhone application, in which i need to write characters scan
I am currently developing an application and I need to be able when pressing
I'm developing ios 6 application and need to switch between 2 views. I've done
I'm developing an iOS application that will be used just by a company employees
I am developing an iOS application where need to do some stuff when I
I am developing a C# .NET 2.0 application wherein I need to scan for
I am developing an application were I need to transform XML documents that look
iam developing one application.In that i need to get the music files from the
iam developing one application.In that i need to get the how many music files
I am developing an android application and i need to read words from a

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.