Project

General

Profile

Actions

Bug #847

open

Core Dump beim Start

Added by Ax Ra 25 days ago. Updated 13 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/30/2025
Due date:
% Done:

0%

Estimated time:
Reviewer:
Build Version:

Description

Open-Ecard 2.3.10
Cachy OS (Arch Linux)

Beim Start erzeugt die Update Funktion einen Core Dump:

```
open-ecard-app
pure virtual method called
terminate called without an active exception
Exception in thread "Update-Task" java.lang.IllegalArgumentException: Package type UNKNOWN not supported in update list.
at org.openecard.richclient.updater.VersionUpdateLoader.loadVersionUpdateList(VersionUpdateLoader.kt:102)
at org.openecard.richclient.updater.VersionUpdateChecker$Companion.loadCurrentVersionList(VersionUpdateChecker.kt:163)
at org.openecard.richclient.RichClient$UpdateTask.run(RichClient.kt:297)
at java.base/java.util.TimerThread.mainLoop(Unknown Source)
at java.base/java.util.TimerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
at org.openecard.richclient.updater.VersionUpdateLoader.loadVersionUpdateList(VersionUpdateLoader.kt:74)
... 4 more

```

Actions #1

Updated by Tobias Wich 24 days ago

  • Status changed from New to Closed

There is a new update mechanism in version 2.3.11, so this bug doe not apply anymore.
The new version is currently being built and should be in the download page soon.
Feel free to reopen if there are further problems with the new version.

Actions #2

Updated by Ax Ra 23 days ago

  • Status changed from Closed to Review

With open ecard 2.3.11 there is still a core dump produced:

```
open-ecard-app
pure virtual method called
terminate called without an active exception

```

Actions #3

Updated by Tobias Wich 16 days ago

  • Status changed from Review to Feedback

So it doesn't seem to be a problem with the update code.

The line pure virtual method called indicates it's related to something involving native libraries.
Do you have pcscd installed and activated?
And can you provide the core dump, it might indicate what lead to the crash.

Actions #4

Updated by Ax Ra 13 days ago

pcscd is installed and activated.

(gdb) bt
#0 pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at pthread_kill.c:44
#1 _pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
#2 __GI
_pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at pthread_kill.c:100
#3 0x00007b0a1d14b8f8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007b0a1d12e56c in __GI_abort () at abort.c:73
#5 0x00007b0a1ce94d0a in __gnu_cxx::
_verbose_terminate_handler ()
at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#6 0x00007b0a1ceae97c in _cxxabiv1::_terminate (handler=<optimized out>)
at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#7 0x00007b0a1ce94595 in std::terminate () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:102
#8 0x00007b0a1ceaf8e7 in _cxxabiv1::_cxa_pure_virtual () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/pure.cc:50
#9 0x00007b0a1d31d198 in ?? () from /usr/lib/open-ecard-app/lib/libapplauncher.so
#10 0x00007b0a1d30b721 in ?? () from /usr/lib/open-ecard-app/lib/libapplauncher.so
#11 0x00007b0a1d334052 in dl_call_fini (closure_map=closure_map@entry=0x5a780b148620) at dl-call_fini.c:43
#12 0x00007b0a1d337554 in _dl_fini () at dl-fini.c:120
#13 0x00007b0a1d14e341 in __run_exit_handlers (status=0, listp=0x7b0a1d2f36a0 <
_exit_funcs>,
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:118
#14 0x00007b0a1d14e420 in __GI_exit (status=<optimized out>) at exit.c:148
#15 0x00007b0a1d130895 in __libc_start_call_main (main=main@entry=0x5a78020cc230, argc=argc@entry=1,
argv=argv@entry=0x7fffb599d558) at ../sysdeps/nptl/libc_start_call_main.h:74
#16 0x00007b0a1d13094a in __libc_start_main_impl (main=0x5a78020cc230, argc=1, argv=0x7fffb599d558, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb599d548) at ../csu/libc-start.c:360
#17 0x00005a78020cc641 in ?? ()

Actions

Also available in: Atom PDF