Displaying 20 results from an estimated 40000 matches similar to: "error location"
2012 Apr 25
2
[LLVMdev] Crash in JIT
Hello,
[Using LLVM r155315, according to `svn log | head`]
I am experimenting with programatically building and jitting functions in a module, and I seem to be coming across a crash in some generated code. Using the llvm-c interface I build up the module which dumps like this:
; ModuleID = 'MyModule'
target datalayout = "i686-apple-darwin11"
target triple =
2010 Nov 16
2
Debugging segfault in foreach
Hi,
I'm using R-2.12 on a linux 64bit machine.
When I run a chunk of code inside a foreach() %do% { ...} or %dopar%
{...} (with doMC backend) I keep getting a segfault. Running the
*same* code within lapply(something, function(x) ... ) doesn't result
in any segfaults. I'll paste the output below, but I'm not sure it
would be helpful.
I'm more curious how to go about smoking
2008 Dec 19
1
[LLVMdev] strange behaviour after extracting optimization pass code
Hi,
I am expieriencing strange behaviour of llvm's optimization passes and I
don't understand what I am doing wrong.
Basically all I've done is extracting code for optimization of a
llvm-function in a llvm-module and put it into a separate function for
better readability. The original code looks like follows (and works as
expected):
-----------------------------
std::string
2012 Apr 25
0
[LLVMdev] Crash in JIT
Hi David,
I'm not certain, but to me the "LLVMSetTarget(module, "i686-apple-darwin11");" line looks suspicious. I'm not familiar with all the ins and outs of how target triples get handled, but it looks to me like that's requesting 32-bit code.
I think that if you omit that line completely then the target will be inferred from the execution environment. My best
2008 Dec 19
2
[LLVMdev] strange behaviour after extracting optimization pass code
Hi,
I am expieriencing strange behaviour of llvm's optimization passes and I
don't understand what I am doing wrong.
Basically all I've done is extracting code for optimization of a
llvm-function in a llvm-module and put it into a separate function for
better readability. The original code looks like follows (and works as
expected):
-----------------------------
std::string
2016 Mar 01
2
Insert CallInst within a function passing same parameters of the calling function.
Hi,
supposing I have a function “foo” like the following:
int foo(int a, int b) {
...
...
}
I want to insert int the LLVM IR a call instructions to a function “bar” that requires the same parameters of foo.
So my function foo will become:
int foo(int a, int b) {
bar(a,b);
…
...
}
I am using the following code:
bool ThreadSanitizer::runOnFunction(Function &F) {
2009 Aug 21
4
Where to put source code?
I'm trying to move from Matlab to R, and I'm stuck even getting
started. This sounds to me like the dumbest question in the world
but... how does one put R source code in files? Over the last three
days I've gone front to back through the Introduction to R and the R
Language Definition, and while I'm excited that the language is so
Lispish, none of what I read described how to
2009 Jun 13
1
Portuguese translation problem (PR#13756)
Full_Name: Adriano Azevedo Filho
Version: 2.9.0
OS: Windows Vista
Submission from: (NULL) (201.68.79.62)
The error message produced when the function name typed in the console is
misspelled in the Portuguese translation. This is not a new issue but as it is
around for sometime I've decided to report. As this is a frequent message when
beginners start using R, it gives an unfortunate bad
2011 Aug 09
1
Matlab to R
I am trying to convert a matlab code to R.
Most of the conversion statements are simple, but problem is with return.
Since it's a recursive function it's a bit complicated. Anyway in matlab
we can have return statment like
[price, notional] = functionname()
and also for the same function...
notional(1) = functionname()
how to do this in R? i have tried using data frame but still
2010 Feb 26
1
match.call to obtain the name of a function
Within a function I'd often like to obtain a text string equal to the name of the function.
One use for this: To generate a filename for use in pdf(). This enables me to keep track of which function generated a particular graphic came.
match.call() puts parentheses at the end of the name. I don't want parentheses in a filename.
The following kludgey function gives the desired result.
1999 Aug 23
1
Strange 'Unimplemented feature in rep' error (PR#254)
I have a large computation that performs various bootstrap resampling
loops over pairs of samples using lapply().
After a few seconds it stops like this
> do.summarize.effects(compute.power=T)
...
Error: Unimplemented feature in rep
> .Traceback
[[1]]
[1] "rep(no, length = length(ans))"
[[2]]
[1] "ifelse(t.howto == \"n\", boot.result, l.meanboot.test(onew.x,
2009 Dec 04
1
no html help upon upgrading to 2.10
I just upgraded from 2.8.1 to 2.10 on Windows Vista. BIG MISTAKE
apparently because now when I type:
> help(functionname)
or
?functionname
I get only a small text window giving some very basic info on the topic, e.g.:
base-package package:base R Documentation
The R Base Package
Description:
Base R functions
Details:
This package contains the
2011 Nov 09
1
Stack trace?
Currently I have a for loop executing functions and at the end I get a
message like:
There were 50 or more warnings (use warnings() to see the first 50)
If I do what it says and type warnings(), I get 50 messages like:
2: In !is.na(x) & !is.na(rowSums(xreg)) :
longer object length is not a multiple of shorter object length
I am not sure what function these errors are originating from.
2016 Nov 15
2
Missing objects using dump.frames for post-mortem debugging of crashed batch jobs. Bug or gap in documentation?
Martin, thanks for the good news and sorry for wasting your (and others
time) by not doing my homework and query bugzilla first (lesson learned!
).
I have tested the new implementation from R-devel and observe a semantic
difference when playing with the parameters:
# Test script 1
g <- "global"
f <- function(p) {
l <- "local"
dump.frames()
}
2016 Nov 13
2
Missing objects using dump.frames for post-mortem debugging of crashed batch jobs. Bug or gap in documentation?
Dear R friends,
to allow post-mortem debugging In my Rscript based batch jobs I use
tryCatch( <R expression>,
error = function(e)
{
dump.frames(to.file = TRUE)
})
to write the called frames into a dump file.
This is similar to the method recommended in the "Writing R extensions"
manual in section 4.2 Debugging R code (page 96):
2017 Jun 27
3
Testing utility for building and updating CFG
Hi folks,
I’m working on adding an API for incremental updates to DominatorTree and I
noticed that there isn’t a simple way to quickly build and update CFG (just
for testing) -- one has to either build CFG programmatically, or write IR
by hand and manually map pointers to basic blocks. The downside is that it
tends to be pretty verbose and not easy to update (e.g. adding a new edge
often involves
2005 Sep 06
2
help.search problem
Dear Fellow R Users,
I have recently come across a weird problem with help.search:
> help.search("tps")
Error in rbind(...) : number of columns of matrices must match (see arg 8)
>
This happens no matter what I search for...
Any thoughts ?
Thanks,
Tolga
Please follow the attached hyperlink to an important disclaimer
2006 Aug 28
1
Bug/problem reporting: Possible to modify posting guide FAQ?
If users post a bug or problem issue to an R-based news group
(R-devel, R-help, BioC - though BioC is far more forgiving)
they get yelled at for not reading the posting guide
and FAQ.
"Please *_do_* read the FAQ, the posting guide, ..."
the yellers do say. So I read the BioC FAQ and it says...
http://www.bioconductor.org/docs/faq/
"Bug reports on packages should perhaps be
2006 Aug 28
1
Bug/problem reporting: Possible to modify posting guide FAQ?
If users post a bug or problem issue to an R-based news group
(R-devel, R-help, BioC - though BioC is far more forgiving)
they get yelled at for not reading the posting guide
and FAQ.
"Please *_do_* read the FAQ, the posting guide, ..."
the yellers do say. So I read the BioC FAQ and it says...
http://www.bioconductor.org/docs/faq/
"Bug reports on packages should perhaps be
2002 Mar 29
2
Output from examples in help files
I have a large number of troff help files which are automatically converted to .Rd files. Many of these have examples which contain the printed output of the examples. This makes example(functionname) not work. Is there a way to avoid removing all this output by delimiting it in some way such that the output will not appear in R-ex? Secondly, it would be nice if there was a place where output