jpilot@lists.jpilot.org

General support, questions, patches for J-Pilot.

View all threads

Crash with new version with plugin

UZ
ulf.zibis@cosoco.de
Mon, Nov 25, 2024 5:03 PM

Hi,

with the new version on Ubuntu 24.04 JPilot crashes with the Media-Plugin while Backup. Output:
calling plugin_sync for [Media 1.0]
jpilot: symbol lookup error: /usr/lib/jpilot/plugins/libmedia.so: undefined symbol: jp_pref_init
caught signal SIGCHLD

Has there something changed with the symbol jp_pref_init ?

Hi, with the new version on Ubuntu 24.04 JPilot crashes with the Media-Plugin while Backup. Output:\ calling plugin_sync for \[Media 1.0\]\ jpilot: symbol lookup error: /usr/lib/jpilot/plugins/libmedia.so: undefined symbol: jp_pref_init\ caught signal SIGCHLD Has there something changed with the symbol jp_pref_init ?
UZ
ulf.zibis@cosoco.de
Mon, Nov 25, 2024 5:06 PM

Without the plugin I get a similar error at the end:
command=105 [
]
address_gui_cleanup()
jp_pref_write_rc_file()
caught signal SIGCHLD

Without the plugin I get a similar error at the end:\ command=105 \[\ \]\ address_gui_cleanup()\ jp_pref_write_rc_file()\ caught signal SIGCHLD
KJ
Kevin Jaspan
Mon, Nov 25, 2024 5:08 PM

Mine also dies every few hours but I thought it was a bug in Ubuntu 24.04
as my MYSQL Workbench and Text Editor do the same.

On Mon, Nov 25, 2024 at 12:05 PM ulf.zibis@cosoco.de wrote:

Hi,

with the new version on Ubuntu 24.04 JPilot crashes with the Media-Plugin
while Backup. Output:
calling plugin_sync for [Media 1.0]
jpilot: symbol lookup error: /usr/lib/jpilot/plugins/libmedia.so:
undefined symbol: jp_pref_init
caught signal SIGCHLD

Has there something changed with the symbol jp_pref_init ?


Jpilot mailing list -- jpilot@lists.jpilot.org
To unsubscribe send an email to jpilot-leave@lists.jpilot.org

--

Sent from my 64 bit AMD® Ryzen 5 5600g 6 core hp Pavilion desktop
running Ubuntu Linux 22.04

Mine also dies every few hours but I thought it was a bug in Ubuntu 24.04 as my MYSQL Workbench and Text Editor do the same. On Mon, Nov 25, 2024 at 12:05 PM <ulf.zibis@cosoco.de> wrote: > Hi, > > with the new version on Ubuntu 24.04 JPilot crashes with the Media-Plugin > while Backup. Output:\ > calling plugin_sync for \[Media 1.0\]\ > jpilot: symbol lookup error: /usr/lib/jpilot/plugins/libmedia.so: > undefined symbol: jp_pref_init\ > caught signal SIGCHLD > > Has there something changed with the symbol jp_pref_init ? > _______________________________________________ > Jpilot mailing list -- jpilot@lists.jpilot.org > To unsubscribe send an email to jpilot-leave@lists.jpilot.org > -- Sent from my 64 bit AMD® Ryzen 5 5600g 6 core hp Pavilion desktop running Ubuntu Linux 22.04
UZ
ulf.zibis@cosoco.de
Mon, Nov 25, 2024 7:19 PM

I think the 2nd crash was caused by a corrupted “pilot.rc”, caused by the first crash.
Fortunately I had a backup of this file. Now JPilot works again, but only without the plugin.

I think the 2nd crash was caused by a corrupted “pilot.rc”, caused by the first crash.\ Fortunately I had a backup of this file. Now JPilot works again, but only without the plugin.
UZ
ulf.zibis@cosoco.de
Mon, Feb 24, 2025 3:35 PM

Thanks to Elmar Klausmeier the source of the problem is found.

The symbol jp_pref_init is still there in libplugin.h, but the corresponding function in libplugin.c was removed with JPilot v2_0_2.

In my plugin I made use of this function.
So now I have to find a workaround.

Thanks to Elmar Klausmeier the source of the problem is found. The symbol jp_pref_init is still there in libplugin.h, but the corresponding function in libplugin.c was removed with JPilot v2_0_2. In my plugin I made use of this function.\ So now I have to find a workaround.