I know this is a long shot and a very specific question, but lets see.
I have a very simple program that attempts to decompress a rar file. Im using the libunrar.so that is pre-compiled.
Im getting a segfault on the RAROpenArchiveEx function. At somepoint it calls StringList::AddString() and something is failing there. Im at a loss as to how to troubleshoot this.
Here is the backtrace.
Code:
(gdb) backtrace
#0 0x00120c9f in StringList::AddString () from /usr/lib/libunrar.so
#1 0x00120e80 in StringList::AddString () from /usr/lib/libunrar.so
#2 0x00142ee1 in RAROpenArchiveEx () from /usr/lib/libunrar.so
#3 0x08048e27 in ExtractArchive (ArcName=0xbfa7b648 "/home/will/Documents/temp.rar", Mode=1) at main.cpp:60
#4 0x08049003 in main (Argc=2, Argv=0xbfa79724) at main.cpp:40
Any help is greatly appreciated. Thanks!