With my little Perlprogramm I get a segmentation fault. I don't get
them with a similiar python programm, how would I debug these?

$ ./Perlbindingstest.pl
Im Anfang schuf Gott Himmel und Erde.
Segmentation fault


Perlbindingstest.pl:
#!/usr/bin/perl
use Sword;

my $mgr = new Sword::SWMgr();
my $neu = $mgr->getModule("GerNeUe");
my $key = new Sword::SWKey("Genesis 1:1");
$neu->setKey($key);
print $neu->renderText(),"\n";

Pythonbindingstest.py:
#!/usr/bin/python
import Sword

mgr = Sword.SWMgr()
neu = mgr.getModule("GerNeUe")
key = Sword.SWKey("Genesis 1:1")
neu.setKey(key)
print (neu.renderText())


-- 
Mark Trompell

Foresight Linux Xfce Edition
Cause your desktop should be freaking cool
(and Xfce)

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to