This problem occurs on ubuntu and debian:
Whenever saga_cmd is run, just before stopping, an assertion error is raised:
Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!
It can be solved by using the attached patch which disables some of the library unloading. It seems all 3 fixes are necessary. I applied this patch to my ubuntu builds some time ago.
I'm not sure whether removing these destructors may create small memory leaks, but this should not be an issue as this unloading is run usually on program exit only.
Perhaps a more elegant solution exists so I'm posting the patch here first for review rather than commiting directly
See also discussion at : https://sourceforge.net/p/saga-gis/discussion/354013/thread/603700f9/
Note that this error makes RSAGA unusable on these platforms.
Anonymous
Hi,
I'm not sure that this is the right approach - in the discussion thread you are citing, there is reported that this problem only occurs with certain modules:
Is this still the case? And are you using wxWidgets 3.0.0?
If only these three libraries affected, we could try to find out what is so special about them - maybe they are linking differently than the others?
This bug affects all modules.
In fact it would even occur if no module is loaded.
On Wed, Dec 11, 2013 at 9:41 AM, Volker Wichmann reklov_w@users.sf.net wrote:
Related
Bugs:
#171Hi,
How do I apply the patch discussed for "bug #171 (Assertion errors in debian/ubuntu on saga_cmd)?
thanks!
Ashley,
What version of SAGA are you trying to compile? This problem has been
solved long ago.
Kind Regards,
Johan
On Tue, Jul 7, 2015 at 1:55 AM, Ashley Hawkins aehawkins@users.sf.net wrote:
Related
Bugs:
#171View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
There are quite a few different bug reports on the discussion, perhaps it is better not look at that.
Error occurs with Wx 3.0 also. The error occurs with all modules, and even occurs when listing the modules, eg when running saga_cmd without arguments.
I guess it may be an error in wxwidgets (since the error did not occur in saga 2.0.8). But then I'm not clever enough to find a solution or point out the right place where the error occurs:-)
Is anyone experiencing similar problems on other linux platforms?
Olaf is having a look - he is able to reproduce the error on OpenSuse. We encounter no problems on Ubuntu 10.04, CentOS and Fedora.
FYI, I tested on Ubuntu 12.04, 12.10 and debian unstable with
wxwidgets 3.0 as packaged in debian.
On Wed, Dec 11, 2013 at 11:20 AM, Volker Wichmann reklov_w@users.sf.net wrote:
Related
Bugs:
#171Hi Johan, does rev1900 fix the issue?
http://sourceforge.net/p/saga-gis/code-0/1900/
saga_api, module library management: bug fix, unloading libraries in linux like os'. refers to bug report #171 'Assertion errors in debian/ubuntu on saga_cmd'
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Fixed on ubuntu and debian with rev1900. Thanks Olaf!
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Closed? I'm having this exact problem right now!
Last edit: Anonymous 2016-03-07