[PLUG] C program: configures & builds, segfaults on invocation
Rich Shepard
rshepard at appl-ecosys.com
Wed Aug 7 14:23:14 UTC 2019
I've been working with the developer on this and we're both out of ideas so
I'm looking for suggestions from experienced C coders here before reaching
out on LQ.
I've run jpilot (the Palm PIM desktop) since the Palm Pilot Personal came
out. It has built and run on Slackware since 8.0 on my 32-bit desktops and
portables. It also builds and runs on my 64-bit laptops. But, when I try to
load it on the new 64-bit desktop it segfaults.
It works for the developer on a vm running a patched Slackware-14.2 and my
new desktop runs a fresh installation, fully patched, of the same
distribution. Why it will not load here is a mystery needing to be solved
because I use jpilot (and the handheld Palm TX) every day for both business
and personal needs.
A few days ago I cloned the repo on the new desktop ran autoconf.sh,
configure --prefix=/usr, make, make install and tried running it:
segfaulted.
Using the command line 'gdb /usr/bin/jpilot' produced these results:
(gdb) run
Starting program: /usr/bin/jpilot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
removing stale pidfile
(jpilot:5985): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
[New Thread 0x7fffed52f700 (LWP 5990)]
[New Thread 0x7fffecd2e700 (LWP 5991)]
Thread 1 "jpilot" received signal SIGSEGV, Segmentation fault.
0x00007fffef5d39f0 in __strftime_internal () from /lib64/libc.so.6
Ignore the warning; that's been a constant with jpilot and grass on the
32-bit systems, too.
And, an empty jpilot window displayed with the title on the frame border,
but nothing inside.
$ ll /lib64/libc*
-rwxr-xr-x 1 root root 2076824 Aug 9 2017 /lib64/libc-2.23.so*
lrwxrwxrwx 1 root root 12 Oct 5 2018 /lib64/libc.so.6 -> libc-2.23.so*
These are the same versions as on the 32-bit desktop where jpilot loads and
works as it should.
Does this information help determine why the segfault continues? If not,
what can I run to get more insights?
TIA,
Rich
More information about the PLUG
mailing list