TIP: Click on subject to list as thread! ANSI
echo: linux
to: MAURICE KINAL
from: INGO JUERGENSMANN
date: 2017-08-30 07:17:00
subject: ifcico segfaults when sta

   Hello Maurice!

29 Aug 17 22:13, you wrote to me:

 >> At least this doesn't seem to be a quick win...
 MK> Did you apply all the patches?  Also you didn't say where you got the
 MK> source.  I tried;

 MK> http://http.debian.net/debian/pool/main/i/ifmail/ifmail_2.14tx8.10.ori
 MK> g.tar.gz
 MK> http://http.debian.net/debian/pool/main/i/ifmail/ifmail_2.14tx8.10-23.
 MK> debian.tar.xz

Yes, I used those as well. That's what you get when you run apt-get source
ifmail.
First I then ran a dpkg-buildpackage -uc -us, which will result in a local
rebuild of that Debian package, including all Debian patches.
But this segfaults as well, so I tried to build just from orig.tar.gz without
Debian patches, because I was asked for "compiling the (upstream) source". It
doesn't build that way without major quirks.

 MK> and made sure that all includes where for ndbm.h instead of
 MK> gdbm-ndbm.h as well as applied ALL the patches in ./debian/patches/
 MK> provided by ifmail_2.14tx8.10-23.debian.  The end result (uninstalled
 MK> since no use for it here) is as follows;
 MK> ----- ye olde cut n' paste starts
 MK> # ls -al ./ifcico/ifcico
 MK> -rwxr-xr-x 1 root root 286416 Aug 29 21:46 ./ifcico/ifcico
 MK> ldd ./ifcico/ifcico
 MK>         linux-vdso.so.1 (0x00007ffc84d6f000)
 MK>         libgdbm_compat.so.4 => /usr/lib/libgdbm_compat.so.4
 MK> (0x00007f2fe5263000)
 MK>         libfl.so.2 => /usr/lib/libfl.so.2 (0x00007f2fe5061000)
 MK>         libc.so.6 => /lib/libc.so.6 (0x00007f2fe4ce8000)
 MK>         libgdbm.so.4 => /usr/lib/libgdbm.so.4 (0x00007f2fe4ade000)
 MK>         libm.so.6 => /lib/libm.so.6 (0x00007f2fe47b3000)
 MK>         /lib/ld-linux-x86-64.so.2 (0x00007f2fe5466000)
 MK> ----- ye olde cut n' paste ends
 MK> Note those are all 64-bit as it should be in this day and age.  ;-)

From Debian package:
# ldd /usr/lib/ifmail/ifcico
        linux-vdso.so.1 (0x00007ffd423bb000)
        libgdbm_compat.so.3 => /usr/lib/x86_64-linux-gnu/libgdbm_compat.so.3
(0x00007fc17b9c1000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc17b622000)
        libgdbm.so.3 => /usr/lib/x86_64-linux-gnu/libgdbm.so.3
(0x00007fc17b41b000)
        /lib64/ld-linux-x86-64.so.2 (0x000055d30e603000)

libfl and libm are missing. For libfl I can install libfl-dev and libm.so.6
should already be available, because it's within libc6 package:

libc6: /lib/x86_64-linux-gnu/libm.so.6
libfl-dev: /usr/lib/x86_64-linux-gnu/libfl.so.2

But libfl-dev is already installed:
libfl-dev is already the newest version (2.6.1-1.3)

 >> back in FidoNet after 17 years
 MK> You should have left the abandonware back there and then.  Why the
 MK> need for ifcico in this day and age?

I want to run my modem line with an EMSI compatible mailer, just because I like
that connecting sound of a modem for some strange reasons. ;)

 MK>   Anyhow it should work as I have
 MK> bleeding edge development tools here and managed to pull it off.  I am
 MK> guessing you nabbed the wrong debian source.  Try ifmail_2.14tx8.10-23
 MK> and see if that fixes it.

As stated above that's the Debian package version I already built myself and it
segfaults, too. The version is also listed in Debians bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872507

I've put the build log to https://paste.debian.net/hidden/f86ee0f1/ - it still
segfaults:

~/temp/ifmail-2.14tx8.10# ifcico/ifcico
Segmentation fault


Ingo


--- GoldED+/LNX 1.1.5--b20170303
* Origin: AmigaXess - back in FidoNet after 17 years (2:2452/413)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.