You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Bjoern Petri (JIRA)" <ji...@apache.org> on 2015/06/27 12:01:04 UTC
[jira] [Created] (CELIX-244) remote shell crashes during shutdown
Bjoern Petri created CELIX-244:
----------------------------------
Summary: remote shell crashes during shutdown
Key: CELIX-244
URL: https://issues.apache.org/jira/browse/CELIX-244
Project: Celix
Issue Type: Bug
Reporter: Bjoern Petri
Assignee: Bjoern Petri
Priority: Minor
The remoteShell crashes when stopped because it gets used after it is already destroyed.
{code}
ogram received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffecae3700 (LWP 20314)]
0x00007fffed2e8a65 in logHelper_log (loghelper=0x0, level=OSGI_LOGSERVICE_INFO,
message=0x7fffed2e8be0 "CONNECTION_LISTENER: Stopping thread\n")
at /home/bjoern/Development/inaetics/update.Provisioning/celix/celix/log_service/public/src/log_helper.c:185
185 if (!logged && loghelper->stdOutFallback) {
(gdb)
(gdb) bt
#0 0x00007fffed2e8a65 in logHelper_log (loghelper=0x0, level=OSGI_LOGSERVICE_INFO,
message=0x7fffed2e8be0 "CONNECTION_LISTENER: Stopping thread\n")
at /home/bjoern/Development/inaetics/update.Provisioning/celix/celix/log_service/public/src/log_helper.c:185
#1 0x00007fffed2e728b in connectionListener_stop (instance=0x60f160)
at /home/bjoern/Development/inaetics/update.Provisioning/celix/celix/remote_shell/private/src/connection_listener.c:100
#2 0x00007fffed2e6f6f in bundleActivator_stop (userData=0x60d3d0, context=0x60e1b0)
at /home/bjoern/Development/inaetics/update.Provisioning/celix/celix/remote_shell/private/src/activator.c:106
#3 0x00007ffff7bbcdb4 in fw_stopBundle (framework=0x604060, bundle=0x619490, record=false)
at /home/bjoern/Development/inaetics/update.Provisioning/celix/celix/framework/private/src/framework.c:898
#4 0x00007ffff7bc01a1 in framework_shutdown (framework=0x604060)
at /home/bjoern/Development/inaetics/update.Provisioning/celix/celix/framework/private/src/framework.c:2063
#5 0x00007ffff5d12182 in start_thread (arg=0x7fffecae3700) at pthread_create.c:312
#6 0x00007ffff747147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)