Displaying 20 results from an estimated 663 matches for "deallocated".
2008 May 09
2
Deallocation of a locked memory block
I repeatedly get a popup when running an old Windows 3.1 game on Ubuntu, Wine 0.9.59. It reads ...
Memory BUG
Deallocation of a locked memory block
I can usually continue OK, but it's very annoying. Is there anything I can do about it?
Thanks.
2018 Sep 15
4
LLVMContext: Threads and Ownership.
...tx = Mod->getContext();
delete Mod;
std::lock_guard<std::mutex> Lock(Ctx->getMutex());
if (Ctx.getNumModules())
delete Ctx;
Another option would be to invert the ownership model and say that each
Module shares ownership of its LLVMContext. That way LLVMContexts would be
automatically deallocated when the last module using them is destructed
(providing no other shared_ptrs to the context are held elsewhere).
There are other possible approaches (e.g. side tables for the mutex and
module count) but before I spent too much time on it I wanted to see
whether anyone else has encountered these i...
2014 Jan 22
2
[LLVMdev] [RFC] LTO: deallocating llvm::Module inside lto_codegen_add_module
LTOCodeGenerator::addModule (which is wrapped by lto_codegen_add_module) takes
an LTOModule as an argument and links the latter's llvm::Module into its own.
It does not change the latter's llvm::Module.
The lto_module_dispose API call destroys an LTOModule. This frees the
LTOModule's llvm::Module, but also invalidates strings returned by, e.g.,
lto_module_get_symbol_name.
I propose
2018 Oct 15
3
[PATCH v8] virtio_blk: add discard and write zeroes support
On Fri, Oct 12, 2018 at 02:06:28PM -0700, Daniel Verkamp wrote:
> From: Changpeng Liu <changpeng.liu at intel.com>
>
> In commit 88c85538, "virtio-blk: add discard and write zeroes features
> to specification" (https://github.com/oasis-tcs/virtio-spec), the virtio
There is some issues in this spec. For one using the multiple ranges
also for write zeroes is rather
2018 Oct 15
3
[PATCH v8] virtio_blk: add discard and write zeroes support
On Fri, Oct 12, 2018 at 02:06:28PM -0700, Daniel Verkamp wrote:
> From: Changpeng Liu <changpeng.liu at intel.com>
>
> In commit 88c85538, "virtio-blk: add discard and write zeroes features
> to specification" (https://github.com/oasis-tcs/virtio-spec), the virtio
There is some issues in this spec. For one using the multiple ranges
also for write zeroes is rather
2020 Jun 24
7
RFC: Sanitizer-based Heap Profiler
...ack context
u32 num_same_alloc_cpu;
u32 num_same_dealloc_cpu;
// Hash of type name (UNIMPLEMENTED). This needs instrumentation support
and
// possibly IR changes.
u64 data_type_id;
}
HIB Table
The Heap Info Block Table, which is a multi-way associative cache, holds
HIB objects from deallocated objects. It is indexed by the stack allocation
context id from the chunk header, and currently utilizes a simple mod with
a prime number close to a power of two as the hash (because of the way the
stack context ids are assigned, a mod of a power of two performs very
poorly). Thus far, only 4-way as...
2009 Aug 13
3
DO NOT REPLY [Bug 6636] New: Deallocation of a pointer not malloced
https://bugzilla.samba.org/show_bug.cgi?id=6636
Summary: Deallocation of a pointer not malloced
Product: rsync
Version: 3.0.6
Platform: PPC
OS/Version: Mac OS X
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: aaro at iki.fi
2018 Oct 15
0
[PATCH v8] virtio_blk: add discard and write zeroes support
...allocate
bit in the Write Zeroes command) is that the only difference between
Deallocate = 1 and 0 is that the device "should" versus "may" (no
"shall" on either side) deallocate the corresponding blocks, but only
if the device supports reading 0s back after blocks are deallocated.
If the device does not support reading 0s after deallocation, it is
not allowed to deallocate blocks as part of a Write Zeroes command
regardless of the setting of the Deallocate bit.
Some similar wording could probably be added to the virtio spec to
clarify the meaning of unmap, although I would...
2005 Jun 22
0
Deallocation bug in speex
Hi,
So 9316 works and 9320 doesn't? How about latest SVN. I just ran
everything in valgrind and saw no error at all. Can you give more info
on how to reproduce (with speexenc)?
Jean-Marc
Le mercredi 22 juin 2005 ? 21:19 -0300, Dario Andrade a ?crit :
>
>
> When updating the speex sources from svn tree, I found that the
> following revision has corrupted the deallocation
2005 Jun 22
2
Deallocation bug in speex
When updating the speex sources from svn tree, I found that the following
revision has corrupted the deallocation (segmentation fault):
------------------------------------------------------------------------
r9320 | jm | 2005-05-27 15:05:05 -0300 (Fri, 27 May 2005) | 2 lines
Proper de-allocation
When compiling with the 9316, everything works fine.
but when I update with later
2014 Dec 01
2
[LLVMdev] Optimization hints for "constant" loads
On 12/01/2014 11:14 AM, Andrew Trick wrote:
>
>> On Oct 21, 2014, at 4:03 PM, Philip Reames <listmail at philipreames.com
>> <mailto:listmail at philipreames.com>> wrote:
>>
>> Sanjoy made a good point. We don't actually need a new variant of
>> "invariant.start". Simply using an invariant.start with no uses
>> gives us a notion
2020 Jun 25
1
RFC: Sanitizer-based Heap Profiler
... // Hash of type name (UNIMPLEMENTED). This needs instrumentation
> support and
>
> // possibly IR changes.
>
> u64 data_type_id;
>
> }
>
>
> HIB Table
>
> The Heap Info Block Table, which is a multi-way associative cache,
> holds HIB objects from deallocated objects. It is indexed by the stack
> allocation context id from the chunk header, and currently utilizes a
> simple mod with a prime number close to a power of two as the hash
> (because of the way the stack context ids are assigned, a mod of a
> power of two performs very poorly)....
2020 Jul 05
2
RFC: Sanitizer-based Heap Profiler
...oc_cpu;
>
> // Hash of type name (UNIMPLEMENTED). This needs instrumentation support
> and
>
> // possibly IR changes.
>
> u64 data_type_id;
>
> }
> HIB Table
>
> The Heap Info Block Table, which is a multi-way associative cache, holds
> HIB objects from deallocated objects. It is indexed by the stack allocation
> context id from the chunk header, and currently utilizes a simple mod with
> a prime number close to a power of two as the hash (because of the way the
> stack context ids are assigned, a mod of a power of two performs very
> poorly). Thu...
2020 Jul 09
2
RFC: Sanitizer-based Heap Profiler
...IMPLEMENTED). This needs instrumentation
>> support and
>>
>> // possibly IR changes.
>>
>> u64 data_type_id;
>>
>> }
>> HIB Table
>>
>> The Heap Info Block Table, which is a multi-way associative cache, holds
>> HIB objects from deallocated objects. It is indexed by the stack allocation
>> context id from the chunk header, and currently utilizes a simple mod with
>> a prime number close to a power of two as the hash (because of the way the
>> stack context ids are assigned, a mod of a power of two performs very
>&...
2013 Jan 20
1
[LLVMdev] Memory clean for applications using LLVM for JIT compilation
...vm::JITMemoryManager and do something like this.
I've been trying to work with this solution, but it does pose a problem. The problem is that we use an ExecutionEngine and set a memory manager with setJITMemoryManager on EngineBuilder. The problem is that this means when the ExecutionEngine is deallocated, it end up deallocating the memory manager.
I can understand doing this when the code sets up it's own memory manager, but with an external memory manager, I'd expect LLVM not to deallocate that object for me. Is there a way to prevent this from happening? I can't keep the ExecutionEng...
2018 Dec 14
0
[WIP PATCH 05/15] drm/dp_mst: Fix payload deallocation on hotplugs using malloc refs
Up until now, freeing payloads on remote MST hubs that just had ports
removed has almost never worked because we've been relying on port
validation in order to stop us from accessing ports that have already
been freed from memory, but ports which need their payloads released due
to being removed will never be a valid part of the topology after
they've been removed.
Since we've
2018 Jul 11
8
[RFC] A nofree (and nosynch) function attribute: Mixing dereferenceable and delete
...ou'd need to know that the parameter was not also aliased with
another argument (or had not been captured). Another analysis would need
to provide this kind of information.
Also, just because a function does not, directly or indirectly, call
free does not mean that it cannot cause memory to be deallocated. The
function might communicate (synchronize) with another thread causing
that other thread to delete the memory. For this reason, to use
dereferenceable as we currently do, we also need to know that the
function does not synchronize with any other threads. To solve this
problem, like nofree, I pro...
2009 Mar 27
42
[PATCH 00/42] ocfs2: Add reflink file support. V1
Hi all,
So I have finally finished the v1 of reflink for ocfs2. It has some
bugs that I am still investigating, but the schema is almost there. So
I'd like to send it out first for review. And Tristan and I will
continue to work on the stability of the code.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please
2011 Jul 25
0
[LLVMdev] Memory leaks in the JIT and how will MC-objects be deallocated in the MCJIT?
We are currently using the JIT (non-MC) to implement a REPL-like shell that
needs to run in a long-lived process. During development, we noticed
substantial memory-growth with increased lifetime of the JIT.
In trying to eliminate that continuous memory growth, we did a few things,
including making LLVMContext collect and free unused constants (detected by
Value::uses_empty()). This dropped
2005 May 25
1
Deallocation of buffers
I noticed that in the narrow band and wide band destroy functions only
the main pointer is being freed. I think that it should be:
void nb_decoder_destroy(void *state)
{
DecState *st;
st=(DecState*)state;
speex_free (st->inBuf);
speex_free (st->excBuf);
speex_free (st->innov);
speex_free (st->interp_qlpc);
speex_free (st->qlsp);
speex_free