rlenferink opened a new issue #70: Remote shell crashes during shutdown
URL: https://github.com/apache/celix/issues/70
 
 
   The remoteShell crashes when stopped because it gets used after it is 
already destroyed.
   
   ```bash
   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
   ```
   
   ---
   
   Original creation date: 27/Jun/2015
   Reporter: @bpetri 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to