Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 11 Jul 2014 14:19:46 +0200
From: John Spencer <>
To: Isaac Dunham <>
Subject: Re: Attempting to debug C++ library and command via valgrind

Isaac Dunham wrote:
> Hello,
> I've been trying to get Sword 1.7.3 ( running on Alpine.

sword seems to have a lot of issues...

the problems starts with lack of a pre-generated configure script.
this forces the user to have the complete fragile autoconf stack installed.

even running fails, because it uses AM_CONFIG_HEADER instead 
of AC_CONFIG_HEADER (the former is long obsolete and causes an error): error: possibly undefined macro: AM_CONFIG_HEADER


@@ -13,7 +13,7 @@



with that fixed, compilation itself succeeds, however starting the 
diatheke program yields - nothing, not even an error message.

one thing i noticed is that it tries to dlopen any library it wants to 
use rather than linking it directly. if the binary doesn't find for 
example, it prints no error and justs quits silently.

after putting the .so's where the binary searches for them, it iterates 
over a gazillion of files in /share/sword/locales.d/ like 
zh_CN-utf8.conf and reserves memory for them - apparently it caches them 
all even if they're not used...

then it justs quits without even trying to load the KJV file... (my 
guess is that it didn't find some .so it depends on and then stops 
somewhere where it would require the external lib functionality but has 
only a nullpointer).

so unfortunately due to above issues, i've not been able to reproduce 
your problem.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.