Displaying 17 results from an estimated 17 matches similar to: "interesting connection / finalizer bug?"
2010 Aug 26
2
Panic, rawtrace, log, etc
While running some doveadm expunge -A mailbox Spam savedbefore 30d and
doveadm purge -A after
2010-08-26 16:20:51 auth: Error: net_accept() failed: Too many open files
2010-08-26 16:20:51 master: Warning: service(auth): process_limit
reached, client connections are being dropped
2010-08-26 16:21:21 auth: Panic: file auth-request-handler.c: line 85
(auth_request_handler_unref): assertion failed:
2008 Mar 07
7
[Bug 14875] New: crash with oss backend if /dev/dsp can not be opened
http://bugs.freedesktop.org/show_bug.cgi?id=14875
Summary: crash with oss backend if /dev/dsp can not be opened
Product: swfdec
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: library
AssignedTo: swfdec at lists.freedesktop.org
2007 Apr 19
0
vmx status report against changeset 14875 - 3 fixed issues, 3 old issues.
New issues (0)
=================================================
No new issue.
Fixed issue
=================================================
1) save&restore hvm guest will cause dom0 crash
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=962
2) xen0 hang when destroying a XenU guest
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=963
3) Build HVM PV driver failed
2013 Oct 13
0
reg.finalizer(): Is it safe for the finalizer function to attach/load a package?
>From the help/docs it is pretty clear that one could/should only
assume that the 'base' namespace is available when a finalizer
function is evaluated. What is not clear to me is whether you can
safely attach/load packages in your finalizer function. For example,
are the following finalizer functions safe?
reg.finalizer(e, function(e, ...) {
library("tcltk")
2005 Jul 26
1
Error registering finalizer
What exactly is a reference object? I'm getting this error
message attempting to register a finalizer:
can only weakly reference/finalize reference objects
I don't see any problem with the code... Here's what appears
to be the relevant portions.
setClass("PDNNObject",
representation(handle = "externalptr",
id =
2011 Apr 02
0
reg.finalizer(): Multiple finalizers?
Hi,
I've got some questions regarding finalizers registered using
reg.finalizer(). I have a setup where in certain cases I wish to set
a new finalizer to an object that already got one. Since there is no
API for removing/replacing already registered finalizers (have been
"requested" previously on this list), I have basically just added a
new finalizer by calling reg.finalizer() a
2011 Jul 22
1
reg.finalizer and connection gc -- which runs when (and why)?
With this set-up
options(warn = 1)
tf <- tempfile()
finalizer <- function(obj) {
message("finalizer")
close(obj$f)
}
this code works
ev <- new.env()
ev$f <- file(tf, "w")
reg.finalizer(ev, finalizer)
rm(ev)
gc()
whereas this (reversing the order of file() and reg.finalizer())
ev <- new.env()
reg.finalizer(ev, finalizer)
ev$f <- file(tf,
2020 Apr 03
0
The finalizer of the externalPtr does not work when closing R?
See R_RegisterCFinalizerEx() and set onexit to nonzero. Here:
https://github.com/wch/r-source/blob/9353ddfa8d30069ad8975e0364307d710f2488d5/src/include/Rinternals.h#L1279-L1280
Gabor
On Fri, Apr 3, 2020 at 1:56 PM Wang Jiefei <szwjf08 at gmail.com> wrote:
>
> Hi all,
>
> I found that the finalizer of the externalPtr is not called when R is
> quitting. However, manually
2002 Nov 07
0
Finalizer function?
I have some code that calls R's finalizer interface, e.g.,
.Call('R_RegisterFinalizerEx', object, function, TRUE)
This worked pre 1.6, but now I get '.Call function name not in call
table'. Are functions listed in Rinternals.h no longer available in
.Call? Or is this a namespace issue? How do I reference the function?
Thanks.
Tim
--
Timothy H. Keitt
The University of
2020 Apr 03
0
[External] The finalizer of the externalPtr does not work when closing R?
Use R_RegisterFinalizerEx in your C code. See
https://cran.r-project.org/doc/manuals/r-release/R-exts.html#External-pointers-and-weak-references
This still gives you only "best effort"; for anything stronger you
would need a different approach.
In general, finalizers should only be used as a backstop, not as a
primary resource management tool (in R or any other garbage-collected
2014 Oct 27
1
proper use of reg.finalizer to close connections
Hi all, I have a question about finalizers...
I have a package that manages state for a few connections, and I'd
like to ensure that these connections are 'cleanly' closed upon either
(i) R quitting or (ii) an unloading of the package.
So, in a pared-down example package with a single R file, it looks
something like:
##### BEGIN PACKAGE CODE #####
.CONNS <- new.env(parent =
2016 Sep 15
1
Finalizer execution order question
Given an externalptr object 'pool' which protects an R object 'prot':
# SEXP prot = (a dynamically updated list with handles)
SEXP pool = R_MakeExternalPtr(p, R_NilValue, prot);
R_RegisterCFinalizerEx(pool, fin_pool, TRUE);
WRE explains that 'prot' remains in existence as long as 'pool' is
around. Does this also mean 'prot' still exists when the
2020 Apr 03
4
The finalizer of the externalPtr does not work when closing R?
Hi all,
I found that the finalizer of the externalPtr is not called when R is
quitting. However, manually calling GC() works fine. This behavior is
observed on devel R 2020-04-02 r78142 on Win and R 3.6.3 on Ubuntu. I make
a reproducible package here: https://github.com/Jiefei-Wang/example
Here is the detail of how to reproduce the problem, I create a temporary
file in the package root path and
2006 Jun 22
4
Shop plugin?
I hope I''m not completely off-base here but is there a shop plugin for
ruby/rails that means I don''t have to write the code for a shop from
scratch? Can''t seem to find one...
Thanks!
Bex
--
Posted via http://www.ruby-forum.com/.
2010 Feb 05
0
Wine release 1.1.38
The Wine development release 1.1.38 is now available.
What's new in this release (see below for details):
- Better support for memory allocations debugging.
- Improved MIDI support.
- A wide range of Direct3D fixes.
- OLEDB fixes (should fix Clipart in Office).
- Improved debugger support on x86-64.
- Many MSI fixes.
- Various bug fixes.
The source is available from the
2007 Apr 17
4
WIN NT / WIN98 HVM
Hi there,
i have trouble with Win NT 4 and WIN98 in XEN DomU when i will install.
WinNT says on Hardware detect:
# i can find graficadapter, install fails, please reboot ...
And Win98 starts in shell an says:
# no valid cdrom drivers selected ....
My install Disks are ISO Files, my Config:
disk = [ ''file:/path/windisk.img,ioemu:hda,w'',
2004 Sep 24
10
hopeless - smb over bridged firewall
Dear List!
I use a shorewall 2.0.8 on a Debian sarge system. I use a DSL connection
to the Internet (ppp0 - eth1 to the modem) and a bridge to the local
lan. The bridged config i''ve made with bridge.html from the shorewall
site. The Bridge is between local net and a openvpn tap device. This
works. I ccan make tunnels, and a can make a lot of things through the
firewall. I can get a list