search for: pfds

Displaying 20 results from an estimated 33 matches for "pfds".

Did you mean: fds
2014 Mar 13
0
Help with Possible Bug in Samba 4.1.5 on Connection Close
...uot;), line 110 in "tevent_req.c" tevent_req_trigger(ev = 0x2000b2f8, im = 0x200c1528, private_data = 0x2000cde8), line 166 in "tevent_req.c" tevent_common_loop_immediate(ev = 0x2000b2f8), line 135 in "tevent_immediate.c" run_events_poll(ev = 0x2000b2f8, pollrtn = 0, pfds = (nil), num_pfds = 0), line 192 in "events.c" s3_event_loop_once(ev = 0x2000b2f8, location = "../source3/smbd/process.c:3626"), line 303 in "events.c" _tevent_loop_once(ev = 0x2000b2f8, location = "../source3/smbd/process.c:3626"), line 530 in "teven...
2011 Nov 03
2
Jedi Academy: opengl error
...version and installing fixed binaries (from here: http://appdb.winehq.org/objectManager.php?sClass=version&iId=2315 ) it gived me this error: could not load OpenGL subsystem. Here's the error message: Initializing OpenGL driver ...getting DC: succeeded ...GLW_ChoosePFD( 32, 24, 8 ) ...-1 PFDs found ...GLW_ChoosePFD failed ...GLW_ChoosePFD( 32, 24, 0 ) ...-1 PFDs found ...GLW_ChoosePFD failed ...failed to find an appropriate PIXELFORMAT ...restoring display settings ...WARNING: could not set the given mode (4) ...setting mode 3: 640 480 FS ...using colorsbits of 16 ...calling CDS: ok ......
2019 Nov 04
3
[PATCH nbdkit v2 0/2] Implement fuzzing using Clang's libFuzzer.
v1 was here: https://www.redhat.com/archives/libguestfs/2019-November/msg00003.html This version depends on: https://www.redhat.com/archives/libguestfs/2019-November/msg00004.html and this series: https://www.redhat.com/archives/libguestfs/2019-November/msg00009.html The delta has been reduced slightly because of changes made possible by cleaning up and fixing the quit path in nbdkit. It's
2019 Nov 02
2
[PATCH nbdkit 0/2] Implement fuzzing using Clang's libFuzzer.
libFuzzer is Clang's fuzzer, and alternative to using AFL: https://llvm.org/docs/LibFuzzer.html I implemented an alternative method of fuzzing for libnbd earlier today and it's pretty simple: https://github.com/libguestfs/libnbd/commit/c19a6fbae9a21a7d4693418706c59e81ed256875 However it's considerably more difficult to use libFuzzer with non-library code -- in this case nbdkit.
2011 Dec 21
2
Panic or segfault in Samba 3.6.1 - Debian testing
...=0xb967cb48, inbuf=<optimized out>, nread=132, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0) at smbd/process.c:1687 #28 0xb7057545 in smbd_server_connection_read_handler (conn=0xb967cb48, fd=<optimized out>) at smbd/process.c:2316 #29 0xb737e4ec in run_events_poll (num_pfds=2, pfds=0xb9680988, pollrtn=1, ev=0xb967cad8) at lib/events.c:286 #30 run_events_poll (ev=0xb967cad8, pollrtn=1, pfds=0xb9680988, num_pfds=2) at lib/events.c:184 #31 0xb7058f68 in smbd_server_connection_loop_once (conn=0xb967cb48) at smbd/process.c:1016 #32 smbd_process (sconn=0xb967cb48) at smb...
2014 Jan 10
1
samba 4.1.3 -- multiple bugs & 1, 297 coredumps -- coredump backtrace + full-backtrace included
...=deferred_pcd at entry=0x0) at ../source3/smbd/process.c:1844 #15 0x00007f6cb51d1460 in smbd_server_connection_read_handler ( sconn=0x7f6cb69aed10, fd=34) at ../source3/smbd/process.c:2433 #16 0x00007f6cb40b05bc in run_events_poll (ev=0x7f6cb69a5360, pollrtn=<optimized out>, pfds=0x7f6cb69b7140, num_pfds=3) at ../source3/lib/events.c:257 #17 0x00007f6cb40b0810 in s3_event_loop_once (ev=0x7f6cb69a5360, location=<optimized out>) at ../source3/lib/events.c:326 #18 0x00007f6cb2a68c0d in _tevent_loop_once () from /usr/lib/x86_64-linux-gnu/libtevent.so.0 #...
2013 Jan 24
0
64 Bit Build 3.6.11 on AIX 6 with acls enabled dumps core,
...ent_req_trigger(ev = 0x00000001100ab320, im = 0x0000000300000003, private_data = 0x0000000100951a0c), line 155 in "tevent_req.c" tevent_common_loop_immediate at AF8_3(??, ??), line 135 in "tevent_immediate.c" unnamed block in run_events_poll(ev = 0x0ffffffffffff559, pollrtn = 1, pfds = 0x00000001008dbb48, num_pfds = 0), line 198 in "events.c" run_events_poll(ev = 0x0ffffffffffff559, pollrtn = 1, pfds = 0x00000001008dbb48, num_pfds = 0), line 198 in "events.c" smbd_server_connection_loop_once(conn = 0x00000001100ab320), line 995 in "process.c" unnam...
2019 Oct 04
4
[PATCH libnbd 1/4] generator: Allow long ‘name - shortdesc’ in man pages.
For commands with long names and/or short descriptors, you can end up going over 72 characters in the first line of the man page (causing podwrapper to complain). Wrap these lines. --- generator/generator | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/generator b/generator/generator index 7d3f656..ad1cb6b 100755 --- a/generator/generator +++ b/generator/generator
2010 Jul 27
1
American McGee's Alice(tm) (2000)
...lling LoadLibrary( 'C:\windows\system32\opengl32.dll' ): succeeded ...setting mode 3: 640 480 FS ...using colorsbits of 16 ...calling CDS: ok ...registered window class ...created window at 0,0 (640x480) Initializing OpenGL driver ...getting DC: succeeded ...GLW_ChoosePFD( 16, 16, 0 ) ...-1 PFDs found ...GLW_ChoosePFD failed ...GLW_ChoosePFD( 16, 16, 0 ) ...-1 PFDs found ...GLW_ChoosePFD failed ...failed to find an appropriate PIXELFORMAT ...restoring display settings ...WARNING: could not set the given mode (3) ...shutting down QGL ...unloading OpenGL DLL ...assuming '3dfxvgl' is...
2017 Apr 18
0
Crash on samba-server(4.4) .. Some Queries
...07f8e21e8f54e in smbd_smb2_connection_handler (ev=<optimized out>, fde=<optimized out>, flags=<optimized out>, private_data=<optimized out>) at ../source3/smbd/smb2_server.c:3901 #10 0x00007f8e1fdeb45c in run_events_poll (ev=0x7f8e24691b30, pollrtn=<optimized out>, pfds=0x7f8e246f6ed0, num_pfds=4) at ../source3/lib/events.c:257 #11 0x00007f8e1fdeb6b0 in s3_event_loop_once (ev=0x7f8e24691b30, location=<optimized out>) at ../source3/lib/events.c:326 #12 0x00007f8e1e81240d in _tevent_loop_once (ev=ev at entry=0x7f8e24691b30, location=location at entry=0x7f8e21f...
2017 Oct 11
0
[PATCH miniexpect 2/2] Add debugging capability at runtime.
...create_handle (void) h->buffer = NULL; h->len = h->alloc = 0; h->next_match = -1; + h->debug_fp = NULL; h->user1 = h->user2 = h->user3 = NULL; return h; @@ -296,9 +293,8 @@ mexp_expect (mexp_h *h, const mexp_regexp *regexps, int *ovector, int ovecsize) pfds[0].events = POLLIN; pfds[0].revents = 0; r = poll (pfds, 1, timeout); -#if DEBUG - fprintf (stderr, "DEBUG: poll returned %d\n", r); -#endif + if (h->debug_fp) + fprintf (h->debug_fp, "DEBUG: poll returned %d\n", r); if (r == -1) return MEX...
2008 Dec 08
1
Call of Duty problem.
...alling LoadLibrary( 'C:\windows\system32\opengl32.dll' ): succeeded ...setting mode 3: 640 480 FS ...using colorbits of 32 ...calling CDS: ok ...registered window class ...created window at 0,0 (640x480) Initializing OpenGL driver ...getting DC: succeeded ...GLW_ChoosePFD( 32, 24, 8 ) ...-1 PFDs found ...GLW_ChoosePFD failed ...GLW_ChoosePFD( 32, 24, 0 ) ...-1 PFDs found ...GLW_ChoosePFD failed ...failed to find an appropriate PIXELFORMAT ...restoring display settings ...WARNING: could not set the given mode (3) ...shutting down QGL ...unloading OpenGL DLL ----- CL_Shutdown ----- RE_Shutdo...
2016 Sep 04
2
samba crashing on start up INTERNAL ERROR: Signal 11
...t (sig=11) at ../lib/util/fault.c:83 #5 0x00007f8ff30bfcf7 in sig_fault (sig=11) at ../lib/util/fault.c:94 #6 <signal handler called> #7 0x00007f8ff071f3c5 in talloc_get_size () from /usr/lib64/libtalloc.so.2 #8 0x00007f8ff2674f81 in event_add_to_poll_args (ev=0x56363bcbf2e0, mem_ctx=0x0, pfds=0x56363ad170d8 <fds>, pnum_pfds=0x7ffe10d579a4, ptimeout=0x7ffe10d579a8) at ../source3/lib/events.c:92 #9 0x000056363aaf22b1 in listen_for_packets (msg=0x56363bcbf410, run_election=false) at ../source3/nmbd/nmbd_packets.c:1939 #10 0x000056363aadbbdf in process (msg=0x56363bcbf410) at ../...
2013 Oct 14
1
Samba is still crashing
...rver_connection_read_handler (sconn=0xace3a9c0, fd=44) at ../source3/smbd/process.c:2433 #23 0x00d54c40 in smbd_server_connection_handler (ev=0x14138e0, fde=0x156bab0, flags=1, private_data=0xace3a9c0) at ../source3/smbd/process.c:2450 #24 0x0083b82c in run_events_poll (ev=0x14138e0, pollrtn=1, pfds=0xad198ce0, num_pfds=3) at ../source3/lib/events.c:257 #25 0x0083baf7 in s3_event_loop_once (ev=0x14138e0, location=0xec5c18 "../source3/smbd/process.c:3627") at ../source3/lib/events.c:326 #26 0x008a8133 in _tevent_loop_once (ev=0x14138e0, location=0xec5c18 "../source3/smbd/proces...
2013 Feb 19
13
[PATCH] mini-os: implement poll(2)
...if (comma) + printk(", "); + printk("%d(%c)/%02x", fd, file_types[files[fd].type], + pfd[i].events); + comma = 1; + } + printk("]"); + + printk(", %d, %d", nfds, timeout); +} +#else +#define dump_pollfds(pfds, nfds, timeout) +#endif + /* Just poll without blocking */ static int select_poll(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds) { @@ -983,6 +1007,71 @@ out: return ret; } +/* Wrap around select */ +int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout) +{ + int r...
2012 Nov 08
0
Samba crash
...57303d in smbd_server_connection_handler (ev=<value > optimized out>, fde=<value optimized out>, flags=1, private_data=<value > optimized out>) at smbd/process.c:2333 > #19 0x00002b1564818f5a in run_events_poll (ev=0x2b1579899990, > pollrtn=<value optimized out>, pfds=0x2b15798b3520, num_pfds=3) at > lib/events.c:286 > #20 0x00002b1564571d0a in smbd_server_connection_loop_once > (sconn=0x2b1579899a50) at smbd/process.c:1016 > #21 smbd_process (sconn=0x2b1579899a50) at smbd/process.c:3157 > #22 0x00002b1564a8936f in smbd_accept_connection (ev=<v...
2017 Oct 11
5
[PATCH miniexpect 0/2] Add debugging capability at runtime.
Currently you can only turn on miniexpect debugging by recompiling. These two patches make it configurable at runtime, and also improve the usefulness of the output. Rich.
2015 Apr 21
0
samba-4.2.0 join samba3 PDC
...=0x7f48048b5db0, fd=40) at ../source3/smbd/process.c:2529 #34 0x00007f4802b1967b in smbd_server_connection_handler (ev=0x7f48048a5a50, fde=0x7f48048b9bf0, flags=1, private_data=0x7f48048b5db0) at ../source3/smbd/process.c:2556 #35 0x00007f4800c0097e in run_events_poll (ev=0x7f48048a5a50, pollrtn=1, pfds=0x7f48048b92c0, num_pfds=4) at ../source3/lib/events.c:257 #36 0x00007f4800c00c4a in s3_event_loop_once (ev=0x7f48048a5a50, location=0x7f4802ca3bb0 "../source3/smbd/process.c:3992") at ../source3/lib/events.c:326 #37 0x00007f4802191942 in _tevent_loop_once (ev=0x7f48048a5a50, location=0x7...
2023 Aug 30
2
[nbdkit PATCH] sh: Allow pwrite to not consume all data
...ng *rbuf, /* read from stdout */ string *ebuf, /* read from stderr */ const char **argv) /* script + parameters */ @@ -275,15 +277,8 @@ call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */ r = write (pfds[0].fd, wbuf, wbuflen); if (r == -1) { if (errno == EPIPE) { - /* We tried to write to the script but it didn't consume - * the data. Probably the script exited without reading - * from stdin. This is an error in the script. - */ -...
2023 Aug 31
2
[PATCH nbdkit] sh: In pwrite, allow scripts to ignore stdin
...e-stdin.sh \ test-sh-tmpdir-leak.sh \ $(NULL) diff --git a/plugins/sh/call.c b/plugins/sh/call.c index 888c6459a..621465252 100644 --- a/plugins/sh/call.c +++ b/plugins/sh/call.c @@ -275,22 +275,31 @@ call3 (const char *wbuf, size_t wbuflen, /* sent to stdin (can be NULL) */ r = write (pfds[0].fd, wbuf, wbuflen); if (r == -1) { if (errno == EPIPE) { - /* We tried to write to the script but it didn't consume - * the data. Probably the script exited without reading - * from stdin. This is an error in the script. + /* In nbdkit...