Displaying 20 results from an estimated 200 matches similar to: "Possible `substr` bug in UTF-8 Corner Case"
2018 Mar 29
0
Possible `substr` bug in UTF-8 Corner Case
Thanks, fixed in R-devel (by checking validity of UTF-8 strings for
substr/substring).
Tomas
On 03/29/2018 03:53 AM, brodie gaslam via R-devel wrote:
> I think there is a memory bug in `substr` that is triggered by a UTF-8 corner case: an incomplete UTF-8 byte sequence at the end of a string.? With a valgrind level 2 instrumented build of R-devel I get:
>
>> string <-
2010 Jun 19
1
more powerful iconv
R community,
As you may know, R's iconv doesn't work well converting to and from
encodings that allow embedded nulls. For example
> iconv("foo", to="UTF-16")
Error in iconv("foo", to = "UTF-16") :
embedded nul in string: '\xff\xfef\0o\0o\0'
However, I don't believe embedded nulls are at issue here, but rather
that R's iconv
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
Hello,
We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually.
Here is the debug output of the commands
Regards,
Peter
[ 0.0] Examining the guest ...
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: add_drive
2003 Jun 19
1
Unable to find a path
Hi!
I just installed Asterisk 0.4.0 with all the default options, and the
configuration samples it has. When I try to dial from an h323 client
(gnomemeeting) I get this message on the messages file:
Jun 19 11:48:45 WARNING[15375]: File file.c, Line 410 (ast_openstream):
File demo-congrats does not exist in any format
Jun 19 11:48:45 WARNING[15375]: File file.c, Line 553 (ast_streamfile):
2007 Mar 26
4
Problem dropping rows based on values in a column
I am trying to drop rows of a dataframe based on values of the column PID, but my strategy is not working. I hope someoen can tell me what I am doing incorrectly.
# Values of PID column
> jdata[,"PID"]
[1] 16608 16613 16355 16378 16371 16280 16211 16169 16025 11595 15883 15682 15617 15615 15212 14862 16539
[18] 12063 16755 16720 16400 16257 16209 16200 16144 11598 13594 15419 15589
2015 Aug 26
2
classicupgrade
I have a Samba 3.6 PDC (ClearOS) that I want to migrate to Sernet Samba
4.2 AD on a Centos7-arm box.
So I am reading:
https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_domain_to_a_Samba_AD_domain_%28classic_upgrade%29
And trying to figure out what files I need. Note this is a totally NEW
box, I need to copy over the needed files. So do I move all of the .tdb
files? There are actually
2004 Aug 02
1
RC1 - error message : Request to schedule in the past
Dear List,
I have made an update to asterisk RC1 - all works well :)
but I am getting all the time an error message:
Aug 2 13:34:57 NOTICE[15375]: sched.c:221 sched_settime: Request to
schedule in the past?!?!
Aug 2 13:34:57 NOTICE[18446]: sched.c:221 sched_settime: Request to
schedule in the past?!?!
I cannot figure out if this error message is important or not and if
there is a real
2005 Jun 28
1
3D ellipsoid confidence region
I am curious if there is code developed to plot confidence regions in 3D.
The scatterplot3d function generates the plot I want, but would like an 3D
equivalent to the data.ellipse function.
Any help in this direction would be appreciated, be it theoretical,
graphical, or otherwise.
Melanie Edwards
Senior Statistician
Exponent
15375 SE 30th PL, Suite 250
Bellevue, WA 98007
Tel: (425) 519-8714
2004 Oct 05
1
problems with X100P - No channeltyperegisteredfor 'Zap'
Just to make sure this isn't a typo in your original email... Is this
example from your zapata.conf?
Also, the extension you have shown are in extensions.conf not
zapata.conf correct?
Here is an example of a good zapata.conf....
[channels]
language=en
busydetect=yes
faxdetect=both
busycount=7
relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=yes
useincomingcalleridonzaptransfer=yes
2017 Jun 27
0
Seg Fault memory violation
Greetings all,
Recently ran into a seg fault the keeps reoccurring whenever R-java is used (I believe). Not sure if this is an R issue or an openjdk issue so I'm trying to cover all bases with this report. I tried downgrading R version from 3.4.0 to 3.3.3 with the same results. Also tried downgrading java version from 1.8 to 1.7 with no luck. Running on a fully updated CentOS 7 x86_64,
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
On Mon, Mar 13, 2017 at 11:48:05PM +0200, Keresztes Péter-Zoltán wrote:
> Hello,
>
> We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually.
>
> Here is the debug output of the commands
Which version of virt-customize? A number of bugs were fixed in this
part of the code in the last
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
I am running libguestfs version 1.34.2
The issue is the following. When I start the vm with virt-log I see this:
Mar 13 17:33:30 multi6 firstboot.sh[358]: /usr/lib/virt-sysprep/firstboot.sh start
Mar 13 17:33:30 multi6 cron[359]: (CRON) INFO (Running @reboot jobs)
Mar 13 17:33:30 multi6 firstboot.sh[358]: Scripts dir: /usr/lib/virt-sysprep/scripts
Mar 13 17:33:30 multi6 firstboot.sh[358]: ===
2024 Feb 07
2
Difficult debug
I haven't done any R memory debugging lately, but
https://www.mail-archive.com/rcpp-devel at lists.r-forge.r-project.org/msg10289.html
shows how I used to have gdb break where valgrind finds a problem so you
could examine the details.
Also, running your code after running gctorture(TRUE) can help track down
memory problems.
-Bill
On Wed, Feb 7, 2024 at 12:03?PM Therneau, Terry M., Ph.D.
2024 Feb 07
2
Difficult debug
?I've hit a roadblock debugging a new update to the survival package.?? I do debugging in
a developement envinment, i.e. I don't create and load a package but rather? source all
the .R files and dyn.load an .so file, which makes things a bit easier.
? Running with R -d "valgrind --tool=memcheck --leak-check=full" one of my test files
crashes in simple R code a dozen lines
2018 Jun 28
1
Null pointer dereference in Rf_isVector()
Hello,
After some fuzz testing I found a problem with Rf_isVector() function in
R 3.5.0.
Platform: Ubuntu 16.04
Compiler: Clang-4.0 (from Ubuntu's repository) + ASAN
Crashing R code:
2004 Dec 13
3
Busy message on ISDN cards?
Hi all,
I'm new to asterisk and not too knowledgeable on ISDN, so please be gentle :)
I have a dual-channel Eicon Diehl Diva card in a Debian Woody box with
kernel 2.4.27, connecting to a Telstra (Australia) Onramp Home Highway
ISDN line. I'm pretty certain the card and line both work since
they've been used in this machine for PPP before this (but with an
older kernel with DoV
2007 Oct 22
1
Help! bad cyrillic font rendering
Good Day!
I have a problem with rendering of cyrillic font in one window. Everything is fine in others windows of the same program.
I've tried to copy fonts from Windows, where this program works, but it doesn't help.
LANG=ru_RU.UTF-8
I runned wine with "WINEDEBUG=trace+font,trace+dialog":
...
trace:font:CreateFontIndirectW (-21 0 0 0 31 3 2 1 204) L"Courier New" Bold ?
2020 Jun 09
2
valgrind false positive on R startup?
Hi all,
I'm on Ubuntu 18.04, running R-4.0.0 which I compiled from source, and
using valgrind I am always seeing the following message. Does anybody
else see that? Is that a known false positive? Any ideas how to
fix/suppress? Seems related to TRE, do I need to upgrade that?
(base) tdhock at maude-MacBookPro:~/R/binsegRcpp$ R --vanilla -d valgrind
-e 'extSoftVersion()'
==9565==
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)$",
2012 Jun 05
1
[net-next RFC PATCH] virtio_net: collect satistics and export through ethtool
Satistics counters is useful for debugging and performance optimization, so this
patch lets virtio_net driver collect following and export them to userspace
through "ethtool -S":
- number of packets sent/received
- number of bytes sent/received
- number of callbacks for tx/rx
- number of kick for tx/rx
- number of bytes/packets queued for tx
As virtnet_stats were per-cpu, so both