Displaying 20 results from an estimated 120 matches similar to: "ruby destructor hooks"
2007 Aug 10
0
kde-window-decorator crash in destructor
Hi,
After getting a bug report in Debian [1] about kde-window-decorator
crashing in some destructors, I found several other similar reports in
Ubuntu [2], KDE [3] (marked as invalid) and also on this mailing list
several months ago [4] without any interesting reply. The backtrace is
available in all these bugs, especially in [1].
I was about to open a bug at bugzilla.freedesktop.org but first:
*
2014 Jun 17
1
[PATCH] drm/nouveau: fix oops in display destructor with headless cards
If init doesn't run then disp->outp might not be initialized, resulting in an oops.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
---
diff --git a/drivers/gpu/drm/nouveau/core/engine/disp/base.c b/drivers/gpu/drm/nouveau/core/engine/disp/base.c
index c41f656abe64..9c38c5e40500 100644
--- a/drivers/gpu/drm/nouveau/core/engine/disp/base.c
+++
2009 Jul 01
2
[LLVMdev] Interpreter Destructor
I have come across the issue where repeatedly creating and deleting an
interpreter can cause incorrect external functions to be called. The
issue had to do with the ManagedStatic map Functions in
ExecutionEngine/Interpreter/ExternalFunctions.cpp. I was able to fix
this by calling llvm_shutdown() when I delete the interpreter.
Is it necessary to delete all ManagedStatic objects to delete
2009 Jul 01
0
[LLVMdev] Interpreter Destructor
On Jul 1, 2009, at 8:28 AM, David Bertouille wrote:
> Would it not be better to clear the Functions
> map in the Interpreter desctructor since it data in it may no longer
> be
> valid?
Probably. Patches welcome!
--Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2620 bytes
Desc: not
2012 May 24
1
[LLVMdev] JITEventListener destructor location
Hello,
I've recently finished moving a cross-platform project to LLVM 3.0 and now transitioning to 3.1. One of the things I've hit is on OS X, I have linker errors involving JITEventListener and I've noticed if I move the JITEventListener destructor out of JIT.cpp and into JITEventListener.h (like other functions of JITEventListener), the linker is much happier. I'd like to push
2009 Jul 21
2
destructor for S4 class objects in analogy to C++
Hi all,
I'm wondering if there is a way to define a destructor function (to free
memory) for S4 class objects in analogy to C++?
rm() combined with gc() does not seem to be a good idea (Chambers, 2008).
So could it be done on the C/C++ level or is it even already available in
the "internals"?
Many thanks,
David
[[alternative HTML version deleted]]
2013 Aug 20
0
sf bug 256 - Virtual functions in destructor
In 2007, user reported a segfault in
FLAC::Encoder::File::progress_callback() when called from ~Stream().
Original report at https://sourceforge.net/p/flac/bugs/256/
Hello! Sorry, english is not my best language.
I use libFLAC++ API. I have some problems. In libFLAC API all OK.
Unhandled exception at 0x00000000 in Test.exe: 0xC0000005: Access
violation reading location 0x00000000.
Call stack
2011 Oct 16
0
[LLVMdev] Static destructor problem with recent HEAD
On Sat, Oct 15, 2011 at 9:20 PM, Talin <viridia at gmail.com> wrote:
> I recently updated my version of LLVM from revision 140108 to 142082, and
> several things broke, most of which were easily fixed. However, I'm now
> getting a "pure virtual method called" exception (__cxa_pure_virtual) which
> I wasn't getting before. This is happening in the destructor of
2005 Jan 07
1
Destructor for S4 objects?
Hi,
To write a "constructor" for an S4 object, you make an initialize method
which will be called by new. But how would I make a "destructor" method to
be called when the S4 object is garbage collected? I'm looking at
reg.finalizer, but I'm not sure how to make that work for an S4 object.
I want to write a destructor because my S4 object's initialize method
2011 Oct 16
2
[LLVMdev] Static destructor problem with recent HEAD
I recently updated my version of LLVM from revision 140108 to 142082, and
several things broke, most of which were easily fixed. However, I'm now
getting a "pure virtual method called" exception (__cxa_pure_virtual) which
I wasn't getting before. This is happening in the destructor of a
statically-initialized object. (More precisely, it's blowing up in a
BumpPtrAllocator,
2012 Sep 21
0
[LLVMdev] Clang API parsing of the destructor
On Fri, Sep 21, 2012 at 12:22 PM, Kamaljit Lall <klall at factset.com> wrote:
> I am using the clang API (version 3.1 - trunk 153913) to compile some
> very simple code as follows****
>
> class MyClass
> {
> ~MyClass() ;
>
> };
>
> MyClass::~MyClass()
> {
>
> }
>
> int main()
> {
> return 0;
> } ****
>
> My problem is that
2010 Aug 27
3
[PATCH 0 of 3] libxl: cleanups for type destructor generation
Following series cleans up a few niggles in the libxl destructor
autogeneration.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2012 Sep 21
2
[LLVMdev] Clang API parsing of the destructor
I am using the clang API (version 3.1 - trunk 153913) to compile some very simple code as follows
class MyClass
{
~MyClass() ;
};
MyClass::~MyClass()
{
}
int main()
{
return 0;
}
My problem is that I get the error message: test.cpp:20:10: error: destructor cannot have a return type MyClass::~MyClass()
If someone can point me to the right direction that would be great. It compiles fine if
2011 Oct 16
0
[LLVMdev] Static destructor problem with recent HEAD
Interestingly, I also get a similar error in a different executable (my
unittest):
pure virtual method called
terminate called without an active exception
0 tartc 0x00000001010a8265 PrintStackTrace(void*) + 53
1 tartc 0x00000001010a88cc SignalHandler(int) + 364
2 libSystem.B.dylib 0x00007fff831341ba _sigtramp + 26
3 libSystem.B.dylib 0x7261742e65637365 _sigtramp +
2011 Oct 16
2
[LLVMdev] Static destructor problem with recent HEAD
On Sat, Oct 15, 2011 at 9:49 PM, Chandler Carruth <chandlerc at google.com>wrote:
> On Sat, Oct 15, 2011 at 9:20 PM, Talin <viridia at gmail.com> wrote:
>
>> I recently updated my version of LLVM from revision 140108 to 142082, and
>> several things broke, most of which were easily fixed. However, I'm now
>> getting a "pure virtual method called"
2004 Jul 21
0
Asterisk sees inbound call, but won't answer
Good evening,
I am just getting started with Asterisk. I have it installed, and I believe
I am on the right track, overall, to get it working, but I can't get the
linejack to answer any calls.
At this point, all I'm trying to do is have Asterisk answer an inbound call
on my linejack, /dev/phone0, and play a greeting or tone. I figure, once I
am able to get asterisk to actually answer the
2005 Jul 18
0
Crash on reload only with autoload=no
Hi,
I've been having a little problem with my asterisk servers, I have 4
identical asterisk servers setup (same hardware, same OS, same config). Once
in a while (once or twice a day) one of the server crashes on the cron job
reload. But I realized this only happens on 3 of the 4 servers. Tried to
spot the difference between that one server that wasn't crashing. The
difference I found was
2004 Sep 14
1
asterisk does not start...
When I do a 'asterisk -vvvvvc' I get following, but asterisk does NOT stay up:
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
2007 Sep 16
1
evt_close
Salut Alex. Quand j''utilise:
evt_close() {|event| on_sortie}
def on_sortie
@fich1 = nil
end
dans mon application, ça désactive complètement la fermeture. Pourquoi?
J''aimerai pouvoir créer un évenement à la fermeture de mon application, quand je la ferme avec window manager, qui pourrait me permettre d''initialiser ma variable.
Quel est la chose que je ne fait pas
2005 Aug 11
2
wildcard/FXO config
Trying to config the latest Asterisk/zaptel with an Digium Wildcard and a
single X100m FXO interface connected to a POTS analog line.
Build and install of both work ok - I'm using Suse 8 on a dual Pentium box. I load
the driver with "modprobe wctdm" and the LED on the wildcard lights up. Then I start
Asterisk with "asterisk -vvvgc" and asterisk fails to start.
The