Crash when getting module type

"David \"Judah's Shadow\" Blue" <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <5986010.lOV4Wx5bFT@brooks>
I've resumed working on bibish some, and I'm getting a weird crash I never had
before. I'm trying to interate through the list of installed modules and
select those that match a given type. This is my code:


    for(libraryIterator = swordLibrary.Modules.begin();
        libraryIterator != swordLibrary.Modules.end();
        libraryIterator++) {


        sword::SWModule *tempMod = libraryIterator->second;
        modType = tempMod->getType();

        if(modType == selectedType) {
            module = "For ";
            module += tempMod->getDescription();
            module += " select ";
            module += tempMod->getName();
            moduleList.push_front(module);
            module = "";
        }
    }

I am getting a segfault on the modType = tempMod->getType(); line.  I'm using
1.9.0 built myself. I'm not sure what I'm doing wrong.

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE2HjGsPT4oPc9mpWEx/nqiX8H6VAFAmU4IzMACgkQx/nqiX8H
6VAt2g/9EZ2eVQ6ShdS+hSdi5W6oQelCgKjmO/08sG0uBt1ZWPi7RoAMjtKwAG6F
CPDL1Nk+4BTgZFA/TT8DgYgIcer+p1SyjhbpkN8MO4muVavxSLOk4S/nObomwwl1
BAeeaufkWFJ4KMqPC6MUrkS6PND633xgqJVUEBtXJq+EVQkXFd1LsK9sqswLo3Ga
wEIiENZTYk7YCZtouZcve/8oubgEK0R9rIT/CZ0Pgt/208Z+TKETFwSnmUKqQt6O
fGX7Iip30eLk4WiPML1kks8pkRQIOTvgaF47eX21L9BT/O07CErUmq9UCG7xk+yv
kDel61Z9gOQ5P7WGQYhY+HKGKWUnFKP+2r+tcRhUQo2qQEsj0kJ+Vq3JrpEwuvvv
M9th5/pglv2AzzZSI5GF/gvlXtFzczczHpvRvhqP3qluNF0Z/qgrzX5wHJhCScLi
04MPR9mbJo7Ep4nNs5dfdKb5nB9UbOSIqR01+qCWXWV8wiv1nDoKUOBsOAMdQwnS
BlMc5d/1Q3eq9L8vVg9rlAwIcjXb242qCu2kCt7hUApOVDiNIZWfh+1SUs3cCGej
VzPCPz3GXRQQP1GcMQftjYoNIdFyEAQr2Y3kKJ2G0J2EKtHHXVx/lBN0fLlqZqxD
Q8BcwRxa8N65a3/TBJXEw/wmWgMDlJITd/T/taVEBcn/Y4uxdNU=
=jcr8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.