Bug 359065

Summary: Search and then delete those objects via workspace crash
Product: [Applications] rkward Reporter: Adley <adleyvong>
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: crash CC: thomas.friedrichsmeier
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The step-by-step instruction on how to trigger the crash

Description Adley 2016-02-06 12:13:13 UTC
---Problem description---


Please give a brief summary on the problem:
###Please fill in###

What - in detail - did you do directly before you encountered this problem?
###Please fill in###

When you try to repeat the above, does the problem occur again (no, sometimes, always)?
###Please fill in###

If applicable: When doing the same thing in an R session outside of RKWard, do you see the same problem?
###Please fill in###

Do you have any further information that might help us to track this problem down? In particular, if applicable, can you provide sample data and sample R code to reproduce this problem?
###Please fill in###

RKWard is available in many different packagings, and sometimes problems are specific to one method of installation. How did you install RKWard (which file(s) did you download)?
###Please fill in###


---Session Info---
-- Frontend --
RKWard version: 0.6.4
KDE version (runtime): 4.14.16
KDE version (compile time): 4.14.14
Qt build key: x86_64 linux g++-4 full-config
Local KDE directory: /home/adley/.kde/
RKWard storage directory: /home/adley/.rkward/
Backend version (as known to the frontend): 3.2.3

Debug message file (this may contain relevant diagnostic output in case of trouble):
/tmp/rkward.frontend.nn3661

-- Backend --
Debug message file (this may contain relevant diagnostic output in case of trouble):
/tmp/rkward.rbackend.TJ3668

R version (compile time): 3.2.3  (2015-12-10 r69752)
R runtime session info:
R version 3.2.3 (2015-12-10)
Platform: x86_64-redhat-linux-gnu (64-bit)
Running under: Fedora 23 (Workstation Edition)

locale:
 [1] LC_CTYPE=en_US.UTF-8          LC_NUMERIC=C                 
 [3] LC_TIME=en_GB.UTF-8           LC_COLLATE=en_US.UTF-8       
 [5] LC_MONETARY=en_GB.UTF-8       LC_MESSAGES=en_US.UTF-8      
 [7] LC_PAPER=en_GB.UTF-8          LC_NAME=en_US.UTF-8          
 [9] LC_ADDRESS=en_US.UTF-8        LC_TELEPHONE=en_US.UTF-8     
[11] LC_MEASUREMENT=en_GB.UTF-8    LC_IDENTIFICATION=en_US.UTF-8

attached base packages:
[1] parallel  stats     graphics  grDevices utils     datasets  methods  
[8] base     

other attached packages:
[1] rugarch_1.3-6 rkward_0.6.3 

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.3                 MASS_7.3-45                
 [3] misc3d_0.8-4                lattice_0.20-33            
 [5] Rsolnp_1.16                 tools_3.2.3                
 [7] xts_0.9-7                   SkewHyperbolic_0.3-2       
 [9] GeneralizedHyperbolic_0.8-1 nnet_7.3-12                
[11] spd_2.0-1                   grid_3.2.3                 
[13] KernSmooth_2.23-f15f          depmixS4_1.3-2             
[15] rgl_0.95.1441               numDeriv_2014.2-1          
[17] Matrix_1.2-3                nloptr_1.0.4               
[19] DistributionUtils_0.5-1     ks_1.10.1                  
[21] codetools_0.2-14            multicool_0.1-9            
[23] stats4_3.2.3                expm_0.999-0               
[25] truncnorm_1.0-7             mvtnorm_1.0-5              
[27] zoo_1.7-12
Comment 1 Thomas Friedrichsmeier 2016-02-06 12:22:39 UTC
Hi!

Thanks for reporting. I tried to reproduce this, but could not provoke a crash. Likely the problem is contingent on some condition, such as the type of object, specific number of objects, or whatever.

Could you try to come up with step-by-step instruction on how to trigger the crash? Also - if available - a crash backtrace might help.

Thanks!
Comment 2 Adley 2016-02-06 16:15:24 UTC
Created attachment 97049 [details]
The step-by-step instruction on how to trigger the crash

The step-by-step instruction on how to trigger the crash
Comment 3 Adley 2016-02-06 16:18:46 UTC
Hi,
Please read the attachment for the steps to trigger the crash.

Here is the R scripts to general the object "bear":

bear  = rnorm( 100, -0.01, 0.20 )
bear2  = rnorm( 100, -0.01, 0.20 )
bear3  = rnorm( 100, -0.01, 0.25 )
Comment 4 Adley 2016-02-06 16:33:31 UTC
sorry for the typo --  meant  "generate"
Comment 5 Thomas Friedrichsmeier 2016-02-06 21:20:08 UTC
Hi!

Thanks a lot for the detailed instructions. I did exactly what you described, tried several times, but still could not produce a crash on my system. Tried running through valgrind (a tool to diagnose many run-time issues), but nothing suspicious showed when following these steps.

Some further questions, to make sure:
1. This is in a clean session, nothing else in the workspace?
2. The crash happens every time for you?

I assume you do not see a backtrace, for some reason (otherwise, please attach it). Please try the following: After starting RKWard, create the test objects, then go to Settings->Configure RKWard->Debug. Set "Debug level" to 5 and click "Apply". Go to the workspace browser and proceed as per your instructions. After the crash, open a file browser and locate the _most recent_ file named rkward.frontend.XXXXXXX in /tmp . Please attach that.

Thanks!
Comment 6 Adley 2016-02-08 18:22:15 UTC
Hi, 

The issue seems to be gone in this time (my computer was restarted) . May be something crash in my system. If it happens again, I will sent the backtrace file to you. Many thanks for your quick reply.