Bug 1074313

Summary: [abrt] R-core: strcmp(): R killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Gwendal <ezwen-redhatbugzilla>
Component: RAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: michel, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/125c0fe554ca260fcbf269e88f23368f6aa29158
Whiteboard: abrt_hash:2cf28217d37d424df49348f310c78b3895284527
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-24 19:42:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Gwendal 2014-03-09 16:47:57 UTC
Description of problem:
I _think_ that it may be linked to filtering a dataframe with wrong arguments.

More precisely, this :
value = data[data$A==a & data$B==b, c('D'), data$C==c]

Instead of this :
value = data[data$A==a & data$B==b & data$C==c, c('D')]

Version-Release number of selected component:
R-core-3.0.2-1.fc20

Additional info:
reporter:       libreport-2.1.12
backtrace_rating: 4
cmdline:        /usr/lib64/R/bin/exec/R --no-save --args results.csv
crash_function: strcmp
executable:     /usr/lib64/R/bin/exec/R
kernel:         3.13.5-202.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 strcmp at ../sysdeps/x86_64/strcmp.S:1983
 #1 Rf_StringTrue at util.c:389
 #2 Rf_LogicalFromString at coerce.c:111
 #3 Rf_asLogical at coerce.c:1632
 #4 asLogicalNoNA at eval.c:1292
 #5 bcEval at eval.c:4236
 #6 Rf_eval at eval.c:545
 #7 Rf_applyClosure at eval.c:1019
 #8 applyMethod at objects.c:126
 #9 Rf_usemethod at objects.c:371

Comment 1 Gwendal 2014-03-09 16:48:02 UTC
Created attachment 872428 [details]
File: backtrace

Comment 2 Gwendal 2014-03-09 16:48:04 UTC
Created attachment 872429 [details]
File: cgroup

Comment 3 Gwendal 2014-03-09 16:48:06 UTC
Created attachment 872430 [details]
File: core_backtrace

Comment 4 Gwendal 2014-03-09 16:48:07 UTC
Created attachment 872431 [details]
File: dso_list

Comment 5 Gwendal 2014-03-09 16:48:09 UTC
Created attachment 872432 [details]
File: environ

Comment 6 Gwendal 2014-03-09 16:48:11 UTC
Created attachment 872433 [details]
File: limits

Comment 7 Gwendal 2014-03-09 16:48:13 UTC
Created attachment 872434 [details]
File: maps

Comment 8 Gwendal 2014-03-09 16:48:14 UTC
Created attachment 872435 [details]
File: open_fds

Comment 9 Gwendal 2014-03-09 16:48:16 UTC
Created attachment 872436 [details]
File: proc_pid_status

Comment 10 Gwendal 2014-03-09 16:48:19 UTC
Created attachment 872437 [details]
File: var_log_messages

Comment 11 Tom "spot" Callaway 2014-05-12 19:48:29 UTC
R 3.1.0 is in testing (or it will be very soon). Can you please try to reproduce this bug there?

Comment 12 Tom "spot" Callaway 2014-06-24 19:42:46 UTC
Please reopen if this is reproducable in 3.1.0.