search for: close_handle

Displaying 20 results from an estimated 22 matches for "close_handle".

2018 Feb 28
0
[PATCH] lib: Don't abort if a signal handler calls exit(2) during a guestfs_* function.
...virt-sparsify input output [ 0.0] Create overlay file in /tmp to protect source disk [ 0.0] Examine source disk ^C guestfs_close: g->lock: Device or resource busy Aborted (core dumped) The reason for this is because virt-sparsify calls exit(2) in the SIGINT signal handler, which causes the close_handles atexit handler to run, which calls guestfs_close. However the same handle is in the middle of a guestfs_* call, and the code in lib/handle.c catches this case and calls abort(2). (The same situation could happen from threaded code.) The solution is to ignore the case where guestfs_close is call...
2005 Nov 25
1
Sudden failure!
Wine 20050111 has been working fine until today ... now it fails when I go to run Quicken 2002. I am running Fedora Core 3 on a Pentium 3 with all of the current updates, wine 20050111. Windows Version is set to "Win98" Error message: fixme:msvcrt:_setmbcp Unreal codepages (e.g. -3) not implemented. What has happened? Thanks, David Johnson
2009 Mar 15
1
WoW under wine and winecfg segfault
...0009: load_dll() = 0 0009: open_key( parent=001c, access=00000001, attributes=00000000, name=L"Software\\Wine\\Alsa Driver" ) 0009: open_key() = OBJECT_NAME_NOT_FOUND { hkey=0000 } 0009: *killed* exit_code=0 0008: *process killed* wineserver: shutting down 000d: *wakeup* signaled=0 000d: close_handle( handle=0038 ) 000d: close_handle() = 0 000d: close_handle( handle=0020 ) 000d: close_handle() = 0 000d: terminate_process( handle=ffffffff, exit_code=0 ) 000e: *killed* exit_code=0 000d: terminate_process() = 0 { self=1 } 000d: *killed* exit_code=0 000c: *process killed* wineserver: exiting (pid=1...
2007 Jan 12
0
Larousse Multilingue: stack overflow in exception handler ?
...0x9c, access=00000000, cached=0 ) 0009: *fd* 0x9c -> 48 0009: get_handle_fd() = 0 { type=2, flags=0 } 0009:trace:server:add_fd_to_cache added 0x9c (20) type 2 to cache 0009:Ret ntdll.NtQueryVolumeInformationFile() retval=00000000 ret=7b893bed 0009:Call ntdll.NtClose(0000009c) ret=7b893bfd 0009: close_handle( handle=0x9c ) 0009: close_handle() = 0 0009:trace:server:server_remove_fd_from_cache removed 0x9c (20) from cache 0009:Ret ntdll.NtClose() retval=00000000 ret=7b893bfd 0009:Call ntdll.RtlInitUnicodeString(0034ef60,7b8a6ce0 L"Machine\\Software\\Wine\\Drives") ret=7b893cbd 0009:Ret ntdll...
2001 Dec 06
2
Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA?
...e.tmp") 0806d388: create_file( access=40000000, inherit=0, sharing=00000000, create=1, attrs=00000080, drive_type=3, filename="/mnt/dos/windows/000cf6e.tmp" ) 0806d388: create_file() = 0 { handle=52 } 0806d388:trace:file:FILE_GetTempFileName created C:\WINDOWS\000cf6e.tmp 0806d388: close_handle( handle=52 ) 0806d388: close_handle() = 0 { fd=-1 } 0806d388:trace:dosfs:DOSFS_GetFullName C:\WINDOWS\000cf6e.tmp (last=0) 0806d388:trace:string:lstrcpynA (0x40612234, "/mnt/dos", 1024) 0806d388:trace:dosfs:DOSFS_FindUnixName /mnt/dos,WINDOWS\000cf6e.tmp 0806d388:trace:heap:HeapAlloc (403...
2011 Dec 23
4
Remove temporary directories created during appliance building along error paths (RHBZ#769680)
https://bugzilla.redhat.com/show_bug.cgi?id=769680
2007 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2018 Mar 01
7
[PATCH v3 0/6] v2v: Add -o rhv-upload output mode.
v2 -> v3: - Lots of code cleanups. - Documentation. However this is still spooling the file into a temporary before the upload. It turns out that fixing this is going to require a small change to qemu. Rich.
2001 Dec 08
1
LoadOEMResource crash [Was: Re: Problem report: SHRINKER.ERR, fix to DEVICE_Open/CreateFileA? ]
...l kernel32.SetLastError(00000000) ret=00760711 0806d398:Ret kernel32.SetLastError() retval=00000000 ret=00760711 0806d398:Call kernel32.GetLastError() ret=00760303 0806d398:Ret kernel32.GetLastError() retval=00000000 ret=00760303 0806d398:Call kernel32.CloseHandle(00000028) ret=00760f0d 0806d398: close_handle( handle=40 ) 0806d398: close_handle() = 0 { fd=10 } 0806d398:Ret kernel32.CloseHandle() retval=00000001 ret=00760f0d 0806d398:Call kernel32.GetLocalTime(40504a5c) ret=00761d66 0806d398:Ret kernel32.GetLocalTime() retval=00000000 ret=00761d66 0806d398:Call kernel32.GetLocalTime(40504a5c) ret=00761...
2008 Apr 28
4
Wineserver causing heavy CPU load
I am running Fedora 8 uname -r = 2.6.24.4-64.fc8 on my box with Wine 0.9.58. When I first installed it I noticed that my CPU usage jumped and stayed at 100% with wineserver taking > 85%. I killed the wineserver process and it dropped down, however it soon jumped back up when wineserver restarted itself. I then killed it again and all related processes and disabled it from starting as a damen
2012 Apr 24
1
[PATCH] [resend] xen-access: Check return values and clean up on errors during init
...include <stdarg.h> +#include <stdbool.h> #include <time.h> #include <signal.h> #include <unistd.h> @@ -120,6 +121,7 @@ typedef struct xenaccess { } xenaccess_t; static int interrupted; +bool evtchn_bind = 0, evtchn_open = 0, mem_access_enable = 0; static void close_handler(int sig) { @@ -167,9 +169,68 @@ int xc_wait_for_event_or_timeout(xc_inte return -errno; } +int xenaccess_teardown(xc_interface *xch, xenaccess_t *xenaccess) +{ + int rc; + + if ( xenaccess == NULL ) + return 0; + + /* Tear down domain xenaccess in Xen */ + if ( xenacces...
2019 May 30
5
[PATCH 0/5] RFC: switch augeas APIs to OCaml
This synchronizes the embedded ocaml-augeas copy, and reimplements the augeas APIs using it (dropping all the C code). The behaviour seems unchanged, although I may have not tested all the various corner cases. Pino Toscano (5): common/mlaugeas: Synchronize with latest ocaml-augeas daemon: fix/enhance error reporting of Augeas exceptions Revert "Revert "daemon: implement
2004 May 09
0
Wine crash after update
...\SISUPFOR\\SISUPFOR.EXE" 0009: create_file( access=00000000, inherit=0, sharing=00000003, create=1, options=00000010, attrs=00000000, filename="/win/Arquivos de programas/sisupfor/SISUPFOR.exe" ) 0009: create_file() = 0 { handle=0x10 } 0009:trace:file:CreateFileW returning 0x10 0009: close_handle( handle=0x10 ) 0009: close_handle() = 0 { fd=-1 } 0009:trace:file:RtlGetFullPathName_U (L"/win/Arquivos de programas/sisupfor/SISUPFOR.exe" 520 0xbfffee20 (nil)) 0009:trace:heap:RtlAllocateHeap (0x40330000,00000002,00000020): returning 40330828 0009:trace:heap:RtlFreeHeap (0x40330000,0000...
2019 Dec 16
4
[PATCH 0/2] Move ocaml-augeas copy to libguestfs repo
ocaml-augeas is used only by virtlibguestfs, so move it to this repository, instead of having it around in the common submodule. The removal from common will happen later. Pino Toscano (2): Bundle the ocaml-augeas library for use by libguestfs build: switch embedded copy of ocaml-augeas .gitignore | 1 + 3rdparty/ocaml-augeas/COPYING.LIB | 515
2012 Jan 05
3
[PATCH 0 of 2] xenpaging:speed up page-in
The following two patches are about how to speed up in xenpaging when page in pages. On suse11-64 with 4G memory,if we page out 2G pages,it will cost about 15.5 seconds, but take 2088 seconds to finish paging in.If page-in costs too much time,it will cause unmesurable problems when vm or dom0 access the paged_out page,such as BSOD,crash. What鈥檚 more,the dom0 is always in high I/O pressure.
2012 Jan 05
13
[PATCH] xenpaging:add a new array to speed up page-in in xenpaging
..._t *)calloc(paging->domain_info->max_pages, sizeof(victim_to_i_t)); + if ( NULL == page_out_index ) + { + ERROR("Failed to alloc memory\n"); + goto out; + } /* ensure that if we get a signal, we''ll do cleanup, then exit */ act.sa_handler = close_handler; @@ -660,6 +672,7 @@ break; if ( i % 100 == 0 ) DPRINTF("%d pages evicted\n", i); + page_out_index[victims[i].gfn].index=i; } DPRINTF("%d pages evicted. Done.\n", i); @@ -687,17 +700,7 @@ if ( test_and_clear_bit...
2015 Sep 29
0
[PATCH 4/4] lib: Remove unused header files.
...libintl.h> #ifdef HAVE_LIBVIRT @@ -38,7 +36,6 @@ #include "guestfs.h" #include "guestfs-internal.h" #include "guestfs-internal-actions.h" -#include "guestfs_protocol.h" static int shutdown_backend (guestfs_h *g, int check_for_errors); static void close_handles (void); diff --git a/src/info.c b/src/info.c index de19202..02a1cf6 100644 --- a/src/info.c +++ b/src/info.c @@ -20,9 +20,7 @@ #include <stdio.h> #include <stdlib.h> -#include <stdint.h> #include <inttypes.h> -#include <limits.h> #include <fcntl.h> #inclu...
2016 Apr 01
0
Wine release 1.9.7
...ts: Add test for threadpool environment version 3. ntdll: Don't warn about unsupported environment version 3. kernel32: Fix handling of GetOverlappedResult when status remains STATUS_PENDING. user32: Set %ecx to address of rect in EnumDisplayMonitors callback. ntdll: Use close_handle instead of NtClose for internal memory management functions. Stefan Dösinger (10): wined3d: Avoid storing a clip plane pointer in struct wined3d_cs_set_clip_plane. wined3d: Avoid storing a transformation matrix pointer in struct wined3d_cs_set_transform. wined3d: Avoid storing a...
2015 Sep 29
8
[PATCH 1/4] lib: actions: Remove some unused header files.
--- generator/c.ml | 2 -- 1 file changed, 2 deletions(-) diff --git a/generator/c.ml b/generator/c.ml index 055b683..963cf21 100644 --- a/generator/c.ml +++ b/generator/c.ml @@ -1213,9 +1213,7 @@ and generate_client_actions hash () = #include <stdlib.h> #include <stdint.h> #include <inttypes.h> -#include <sys/types.h> #include <sys/stat.h> -#include
2012 Jul 03
8
[PATCH 0/7 v2] Fix and workaround for qcow2 issues in qemu causing data corruption.
https://bugzilla.redhat.com/show_bug.cgi?id=836710 https://bugzilla.redhat.com/show_bug.cgi?id=836913 There are at least two related bugs going on: (1) Linux sync(2) system call doesn't send a write barrier to the disk, so in effect it doesn't force the hard disk to flush its cache. libguestfs used sync(2) to force changes to disk. We didn't expect that qemu was caching anything