similar to: Seg Fault memory violation

Displaying 20 results from an estimated 100 matches similar to: "Seg Fault memory violation"

2018 Aug 06
2
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
Hi all, I'm not sure if I'm not supposed to do the following (the dyn.unload part, I mean) or this could be a bug (in R or Rcpp): ``` Rcpp::sourceCpp(code=' #include <Rcpp.h> class Object {}; //[[Rcpp::export]] SEXP new_object() { return Rcpp::XPtr<Object>(new Object()); }' ) new_object() dyn.unload(list.files(tempdir(), ".(so|dll)$",
2018 Aug 09
0
SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp
R's dyn.unload() will unconditionally unload the given shared object; it does not check whether there is any object (external pointer or weak reference) with a C finalizer pointing into the space of the shared object being unloaded. So it is expected that R will segfault later when such finalizer is run. Currently there is no other way than to handle this on the side of the shared
2016 Jun 01
0
segfault / crash when asking for large memory via strrep()
That would be because the product nc * ni overflows in cbuf = buf = CallocCharBuf(nc * ni); Since we disallow strings with more than 2^31-1 bytes we could test and reject this. It might be more future-proof to change the declaration of int j, ni, nc; to R_xlen_t j, ni, nc; and let the character allocation code reject, but that would create a memory leak since the Free call
2016 Jun 01
2
segfault / crash when asking for large memory via strrep()
We've had this more general topic on R-help, and also in R-devel recently. There's one case here where I get the feeling R never gets into swapping but more directly aborts possibly from a bug we can more easily fix. Today I've been working (successfully! - not yet committed) at fixing str() for very large strings. In this process, I've found that pc <- function(.)
2020 Feb 26
1
Profiling: attributing costs to place of invocation (instead of place of evaluation)?
Hi Consider the following example: f <- function(expr) g(expr) g <- function(expr) { ? h(expr) } h <- function(expr) { ? expr # evaluation happens here ? i(expr) } i <- function(expr) { ? expr # already evaluated, no costs here ? invisible() } rprof <- tempfile() Rprof(rprof) f(replicate(1e2, sample.int(1e4))) Rprof(NULL) cat(readLines(rprof), sep = "\n") #>
2003 Sep 23
1
App_festival crashing
Hi all, I'm unable to put app_festival to work. I successfully patched, installed and tested festival (interactive logon and telnet to server port) which seems to work without problems. But when I test it in asterisk I got the following trace in console: -- Executing Answer("SIP/bsenicar-850b", "") in new stack -- Executing
2020 Jun 01
1
eval and Calling Frames
I ran into an interesting issue with `evalq` (and also `eval(quote(...))`): ???? f <- function() { ?????? list( ???????? sys.parent(1), ???????? evalq(sys.parent(1)), ???????? evalq((function() sys.parent(2))()),? # add an anon fun layer ???????? evalq((function() sys.parent(1))()) ?????? ) ???? } ???? res <- f() ???? str(res) ???? ## List of 4 ???? ##? $ : int 0???????? # sys.parent(1)
2004 Aug 29
0
System freezes when using Festival with usecache
I am using Festival to synthesize some menu Interaction with a caller and am having a problem. What I am working on is a remote callback where I can remotely call in to an extension, and enter a callback number (or use the CALLERID info) and a second outbound dialing number to connect to. Things work O.K. until I set usecache=yes in festival.conf. After doing this, things run well for
2004 Oct 06
0
Asterisk and Festival, getting gethostbynamefailed error
Do you think this should be "Bug Reported"? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Chris Samaritoni Sent: Wednesday, October 06, 2004 3:42 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] Asterisk and Festival, getting gethostbynamefailed error
2019 Aug 02
0
Infrequent but steady NULL-pointer caused segfault in as.POSIXlt.POSIXct (R 3.4.4)
In an optimized build, debug info is just an approximation. It might help to debug in a build of R and packages without compiler optimizations (-O0), where the debug information is accurate. However, first I would try to modify the example to trigger more often, or try to find external ways to make it trigger more often (e.g. via gctorture). Then I would try to make the example smaller (not
2019 Aug 04
1
Infrequent but steady NULL-pointer caused segfault in as.POSIXlt.POSIXct (R 3.4.4)
A reply from stackoverflow suggests I might have hit this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=14023 I can confirm that this glibc bug affects my system (latest CentOS 7). However, as far as I know, R is not multithreaded in its core. Is it possible that some library triggered this? Regards, Steve Tomas Kalibera <tomas.kalibera at gmail.com> ?2019?8?2??? ??4:59??? >
2014 May 02
1
backtrace while trying to clear workspace
Hi , I tried to do the following . Before I execute the R script , i tried to clear the work space using rm(list = ls(all = TRUE)); . I get the following back trace . Its a huge backtrace , attached a part of it . Can anyone help why I get this ? #13 0x00002aaaaafd612f in Rf_eval (e=0x1448d68, rho=0x16c6780) at eval.c:399 #14 0x00002aaaaafdabf6 in Rf_applyClosure (call=0x1447108, op=0x1448f60,
2004 Oct 06
1
Asterisk and Festival, getting gethostbyname failed error
Interestingly enough I had this same problem today.... 1. I created the directory and permissions for the directory " /var/lib/asterisk/festivalcache/ " (per the comment in the festival.conf file) 2. I had to comment out some things in the festival.conf file: the "host" line, the "port" line, and the "festivalcommand" line. I have also noticed the
2005 Aug 18
2
asterick and festival...Help!
Earlier this afternoon I had this working exten => 2890,1,Answer exten => 2890,2,GoTo(12) exten => 2890,12,Wait(1) exten => 2890,13,Festival('I can say numbers like') exten => 2890,14,SayNumber(1230001,f) exten => 2890,15,Wait(1) exten => 2890,16,HangUp I was so very proud of myself... All of a sudden after a reboot.... I get the following from the same call plan
2019 Aug 02
4
Infrequent but steady NULL-pointer caused segfault in as.POSIXlt.POSIXct (R 3.4.4)
The R script I run daily for hours looks like this: while (!finish) { Sys.sleep(0.1) time = as.integer(format(Sys.time(), "%H%M")) # always crash here if (new.data.timestamp() <= time) next # ... do some jobs for about 2 minutes ... gc() } Basically it waits for new data, which comes in every 10 minutes, and do some jobs, then gc(), then loop again. It
2005 Jan 10
2
Festival Woes
Asterisk v1.0 is running on RH 9. I installed festival RPM (festival-1.4.2-16.i386.rpm) and edited the festival.scm file to add: (define (tts_textasterisk string mode) "(tts_textasterisk STRING MODE) Apply tts to STRING. This function is specifically designed for use in server mode so a single function call may synthesize the string. This function name may be added to the server safe
2009 Mar 03
1
profiler and loops
Hello, (This is follow up from this thread: http://www.nabble.com/execution-time-of-.packages-td22304833.html but with a different focus) I am often confused by the result of the profiler, when a loop is involved. Consider these two scripts: script1: Rprof( ) x <- numeric( ) for( i in 1:10000){ x <- c( x, rnorm(10) ) } Rprof( NULL ) print( summaryRprof( ) ) script2:
2013 Mar 06
0
do_fileinfo / file.info test for file IS directory during package load pointlessly stresses NIS by getting username / group info
*Summary: * During package loading the library function calls file.info to determine if a file is a directory. This uselessly invokes getpwuid and getgrgid which can be expensive if the user/group database are held on a network. Note that file_test ALSO uses file.info for the same purpose Suggest rebuilding file_test to use ‘stat’ based call for directory search, and using file_test in
2013 Dec 03
2
Complete migration from Cyrus on remote server
Hi All! I am working on a complete migration from an old solaris machine running Cyrus IMAP v2.3.14 and wish to migrate all users to a new ubuntu vm running Dovecot 2.0.19. What I have so far is a fully functional dovecot installation with LDAP / Dovecot SASL auth using Maildir++. My plan is to use Perdition IMAP proxy on a third host and migrate users a few at a time (see attached picture of
2010 Aug 04
1
Asterisk not working with Festival
Hello, I am having a Mac 10.6.4 (Snow Leopard). I have compiled and built Asterisk 1.6.2.9 and Festival 2.0.95:beta on my machine. Asterisk is working fine with SIP channels without Festival. I have written following context in extension.conf: [connect-to-me] exten => s,1,Answer Exten => s,n,SayDigits(?1?) exten => s,n,Festival(hello john) exten => s,n,Hangup I use call files to