p7zip will core dump when decompress a RAR file with the password length longer than 30 characters. There is a bug report and solution for this issue in 2011, but the latest release of 7z is in 2009. So, just download the source file of p7zip and modify the corresponding code to fix this issue.
$ sudo abs
$ cp -rf /var/abs/extra/p7zip ~/opt
$ cd ~/opt/p7zip
Download this patch to ~/opt/p7zip