realbasic-nug
[Top] [All Lists]

Re: [Ann] Using the UnRAR SDK in REALbasic

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: [Ann] Using the UnRAR SDK in REALbasic
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Mon, 31 Oct 2005 22:30:15 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <4366D787 dot 9020403 at realsoftware dot com> <002701c5de8f$412f5dc0$3f64a8c0 at KEITHXP> <4366D828 dot 7030600 at realsoftware dot com> <eb8fc1930510312018x5d237aa4t5047354f450e51b6 at mail dot gmail dot com>
dda wrote:
Hmmm, I built a dylib for Mac OS X from the unrar source, and updated
your project, but I am getting a crash...

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   libSystem.B.dylib                   0x90007260 strlen + 0x20
1   libunrar.dylib                      0x0007cce8
StringList::AddString(char const*, wchar_t const*) + 0x28
2   libunrar.dylib                      0x00098454 RAROpenArchiveEx + 0xec
3   libunrar.dylib                      0x0009833c RAROpenArchive + 0x50
4   ???                                 0x00001604
UnRARModule.OpenArchive-1073746304437120<RAROpenArchiveData> + 0x88
5   ???                                 0x000021b0
UnRARModule.UnRAR%o<FolderItem> + 0x200
6   ???                                 0x00004e1c
Window1.Window1.PushButton1_Action%o<Window1> + 0x120

No clue; it's crashing in the UnRAR code itself. Judging by the stack crawl, my guess is a malformed string of some sort.

~Aaron
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>