search for: cctx

Displaying 20 results from an estimated 49 matches for "cctx".

Did you mean: ctx
2012 Oct 22
1
[PATCH] Implement remote dynamic TCP forwarding
...,7 @@ static void port_open_helper(Channel *c, char *rtype); /* non-blocking connect helpers */ static int connect_next(struct channel_connect *); static void channel_connect_ctx_free(struct channel_connect *); +static int connect_to_helper(const char *host, u_short port, struct channel_connect *cctx); /* -- channel core */ @@ -209,6 +210,7 @@ channel_lookup(int id) case SSH_CHANNEL_LARVAL: case SSH_CHANNEL_CONNECTING: case SSH_CHANNEL_DYNAMIC: + case SSH_CHANNEL_RDYNAMIC: case SSH_CHANNEL_OPENING: case SSH_CHANNEL_OPEN: case SSH_CHANNEL_INPUT_DRAINING: @@ -534,6 +536,7 @@ chan...
2010 Jan 14
1
ssh(1) multiplexing rewrite
...ack on open confirmation in mux master for a mux client session. */ +/* Cleanup callback fired on closure of mux slave _control_ channel */ +/* ARGSUSED */ static void -mux_session_confirm(int id, void *arg) +mux_master_control_cleanup_cb(int cid, void *unused) { - struct mux_session_confirm_ctx *cctx = arg; - const char *display; - Channel *c; - int i; - - if (cctx == NULL) - fatal("%s: cctx == NULL", __func__); - if ((c = channel_lookup(id)) == NULL) - fatal("%s: no channel for id %d", __func__, id); - - display = getenv("DISPLAY"); - if (cctx->want_x_fwd &am...
2017 Oct 17
2
Replication between different versions of dovecot
...<optimized out>, mail_set=0x560305e8ad50, ctx=0x560305e7e9e8) at doveadm-dsync.c:875 #11 cmd_dsync_prerun (_ctx=0x560305e7e9e8, service_user=<optimized out>, error_r=0x7fff8e40b9e8) at doveadm-dsync.c:947 #12 0x0000560304f10891 in doveadm_mail_next_user (ctx=ctx at entry=0x560305e7e9e8, cctx=cctx at entry=0x7fff8e40b9f0, error_r=error_r at entry=0x7fff8e40b9e8) at doveadm-mail.c:414 #13 0x0000560304f11473 in doveadm_mail_single_user (ctx=ctx at entry=0x560305e7e9e8, cctx=cctx at entry=0x7fff8e40b9f0, error_r=error_r at entry=0x7fff8e40b9e8) at doveadm-mail.c:460 #14 0x0000560304f262fb...
2019 Oct 02
1
Doveadm error during store - segfault clucene
...storage_service_deinit (_ctx=_ctx at entry=0x55ea409b7838) at mail-storage-service.c:1730 #6 0x000055ea3f4a3d35 in doveadm_mail_cmd_exec (ctx=ctx at entry=0x55ea409b77f8, wildcard_user=wildcard_user at entry=0x0) at doveadm-mail.c:673 #7 0x000055ea3f4a4bbd in doveadm_cmd_ver2_to_mail_cmd_wrapper (cctx=<optimized out>) at doveadm-mail.c:1144 #8 0x000055ea3f4b5c98 in doveadm_cmd_run_ver2 (argc=argc at entry=1, argv=argv at entry=0x55ea40997150, cctx=cctx at entry=0x7fff9a1cb990) at doveadm-cmd.c:574 #9 0x000055ea3f4ba020 in doveadm_cmd_server_run_ver2 (cctx=0x7fff9a1cb990, argv=0x55ea40997...
2016 May 29
4
fts lucene crashes in 2.2.24
...cur_id = 2 iter = 0x55555582b9f0 info = <optimized out> ret = 0 user = 0x5555558188b0 _ctx = 0x555555807410 ctx = 0x555555807410 i = <optimized out> #15 0x000055555557dedf in doveadm_mail_next_user (ctx=ctx at entry=0x555555807410, cctx=cctx at entry=0x7fffffffe2a0, error_r=error_r at entry=0x7fffffffe0b8) at doveadm-mail.c:400 input = {module = 0x0, service = 0x5555555b15a9 "doveadm", username = 0x5555557da298 "anmesse", session_id = 0x0, session_id_prefix = 0x0, local_ip = {family = 0, u = {ip6 = {__i...
2016 Sep 03
2
doveadm quota recalc returns a Segmentation fault
...538 quser = 0x6aead8 quota_set = 0x6b07c0 #7 0x00007ffff76a9b52 in mail_user_unref (_user=<value optimized out>) at mail-user.c:174 user = 0x6ac7b0 __FUNCTION__ = "mail_user_unref" #8 0x00000000004216b4 in doveadm_mail_next_user (ctx=0x69bbe0, cctx=<value optimized out>, error_r=0x7fffffffe1c0) at doveadm-mail.c:403 input = {module = 0x0, service = 0x4569d9 "doveadm", username = 0x681288 "alessio at skye.it", session_id = 0x0, session_id_prefix = 0x0, local_ip = {family = 0, u = {ip6 = {__i...
2017 Oct 18
0
Replication between different versions of dovecot
...zed out>, mail_set=0x560305e8ad50, ctx=0x560305e7e9e8) at doveadm-dsync.c:875 > #11 cmd_dsync_prerun (_ctx=0x560305e7e9e8, service_user=<optimized out>, error_r=0x7fff8e40b9e8) at doveadm-dsync.c:947 > #12 0x0000560304f10891 in doveadm_mail_next_user (ctx=ctx at entry=0x560305e7e9e8, cctx=cctx at entry=0x7fff8e40b9f0, error_r=error_r at entry=0x7fff8e40b9e8) at doveadm-mail.c:414 > #13 0x0000560304f11473 in doveadm_mail_single_user (ctx=ctx at entry=0x560305e7e9e8, cctx=cctx at entry=0x7fff8e40b9f0, error_r=error_r at entry=0x7fff8e40b9e8) at doveadm-mail.c:460 > #14 0x0000560...
2017 Jun 16
0
doveadm-server core dump
...state_str = 0x0 sync_type = <optimized out> name = 0x20a9f00 "10.33.207.136" process_title_prefix = 0x209cb40 "10.33.207.136 " mail_error = MAIL_ERROR_NONE #16 0x0000000000421f96 in doveadm_mail_next_user (ctx=ctx at entry=0x20b6168, cctx=cctx at entry=0x7ffd51c5b8e0, error_r=error_r at entry=0x7ffd51c5b8d8) at doveadm-mail.c:416 input = {module = 0x0, service = 0x4592b0 "doveadm", username = 0x209b5e1 "T0146937", session_id = 0x0, session_id_prefix = 0x0, session_create_time = 0, local_ip = {family = 2,...
2012 Dec 21
0
File Attachments for previous bug report
...(c->filter_cleanup != NULL && c->filter_ctx != NULL) @@ -2667,7 +2667,7 @@ return; cc->cb(type, c, cc->ctx); TAILQ_REMOVE(&c->status_confirms, cc, entry); - bzero(cc, sizeof(*cc)); + memset(cc, 0, sizeof(*cc)); xfree(cc); } @@ -3296,7 +3296,7 @@ xfree(cctx->host); if (cctx->aitop) freeaddrinfo(cctx->aitop); - bzero(cctx, sizeof(*cctx)); + memset(cctx, 0, sizeof(*cctx)); cctx->host = NULL; cctx->ai = cctx->aitop = NULL; } -------------- next part -------------- --- clientloop.c.orig 2012-12-19 17:15:16.548673571 -0800...
2017 Nov 20
2
doveadm mailbox list -s Segmentation fault
...ctx = (struct list_cmd_context *) 0x801c48448 iter_flags = 4352 iter = (struct doveadm_mailbox_list_iter *) 0x801c80060 info = (const struct mailbox_info *) 0x801c6e048 str = (string_t *) 0x801c1a308 #10 0x000000000042d222 in doveadm_mail_next_user (ctx=0x801c48448, cctx=0x7fffffffea60, error_r=0x7fffffffe808) at doveadm-mail.c:429 input = {module = 0x0, service = 0x487ca4 "doveadm", username = 0x801c18030 "kristjan.eentsalu", session_id = 0x0, session_id_prefix = 0x0, session_create_time = 0, local_ip = {family = 0, u = {ip6 = {__u6_add...
2019 Mar 26
4
v2.2.27 Panic: file rfc822-parser.h: line 23 (rfc822_parser_deinit): assertion failed: (ctx->data <= ctx->end)
...iter = 0x5563c13d44d0 ret = 0 #23 cmd_fetch_run (_ctx=0x5563c13b88a0, user=0x5a3b) at doveadm-mail-fetch.c:639 _data_stack_cur_id = 2 iter = 0x5563c13d4390 info = 0x5563c13aa338 #24 0x00005563bf88a57c in doveadm_mail_next_user (ctx=ctx at entry=0x5563c13b88a0, cctx=cctx at entry=0x7ffdc7616720, error_r=error_r at entry=0x7ffdc7616530) at doveadm-mail.c:404 input = {module = 0x0, service = 0x5563bf8c2554 "doveadm", username = 0x5563c13b157e "jason", session_id = 0x0, session_id_prefix = 0x0, session_create_time = 0, lo...
2018 Dec 08
2
doveadm batch crash
Hi I'm having an issue with doveadm batch - the following command always crashes: doveadm batch : mailbox status all inbox Whereas the following work as expected: doveadm mailbox status all inbox doveadm batch : mailbox list Any assistance gratefully received. Debug output from the crash: Debug: Loading modules from directory: /usr/lib64/dovecot Debug: Module loaded:
2019 Sep 16
1
Dovecot 2.3.7.2 lucene segfault and coredump
...0x00007f7dc9a26264 in mail_storage_service_deinit (_ctx=_ctx at entry=0x55ddb25d9848) at mail-storage-service.c:1730 ctx = 0x55ddb2612c18 #6 0x000055ddb0e0dd35 in doveadm_mail_cmd_exec (ctx=ctx at entry=0x55ddb25d9808, wildcard_user=wildcard_user at entry=0x0) at doveadm-mail.c:673 cctx = <optimized out> cli = <optimized out> ret = <optimized out> error = 0x7f7dc96762f7 <__x86_return_thunk+5> "\363\220\017\256\350\353\371H\215d$\b\303\350\a" #7 0x000055ddb0e0ebbd in doveadm_cmd_ver2_to_mail_cmd_wrapper (cctx=<optimized...
2018 Dec 13
0
doveadm batch crash
...821ad in cmd_batch_run (_ctx=0x5555557f64c8, user=0x55555582caa8) at doveadm-mail-batch.c:41 cmdp__foreach_end = 0x5555557f66e0 ctx = 0x5555557f64c8 cmdp = 0x5555557f66d8 ret = 0 #9 0x000055555557fd2c in doveadm_mail_next_user (ctx=ctx at entry=0x5555557f64c8, cctx=cctx at entry=0x7fffffffe2b0, error_r=error_r at entry=0x7fffffffe240) at doveadm-mail.c:429 input = {module = 0x0, service = 0x5555555b9e2b "doveadm", username = 0x5555557ef7c3 "jc", session_id = 0x0, session_id_prefix = 0x0, session_create_time = 0, local_ip = {fam...
2014 Jan 15
0
remote port forward failed because of failure resolving localhost to IP with error No such file or directory
.../* Return CONNECTING channel to remote host, port */ 3134 static Channel * 3135 connect_to(const char *host, u_short port, char *ctype, char *rname) 3136 { 3137 struct addrinfo hints; 3138 int gaierr; 3139 int sock = -1; 3140 char strport[NI_MAXSERV]; 3141 struct channel_connect cctx; 3142 Channel *c; 3143 3144 memset(&cctx, 0, sizeof(cctx)); 3145 memset(&hints, 0, sizeof(hints)); 3146 hints.ai_family = IPv4or6; 3147 hints.ai_socktype = SOCK_STREAM; 3148 snprintf(strport, sizeof strport, "%d", port); 3149 if ((gaierr = getaddrinfo(h...
2012 Dec 20
4
Deprecated calls to bzero() and index() found in OpenSSH 6.1p1
...->filter_ctx != NULL) @@ -2667,7 +2667,7 @@ return; cc->cb(type, c, cc->ctx); TAILQ_REMOVE(&c->status_confirms, cc, entry); - bzero(cc, sizeof(*cc)); + memset(cc, 0, sizeof(*cc)); xfree(cc); } @@ -3296,7 +3296,7 @@ xfree(cctx->host); if (cctx->aitop) freeaddrinfo(cctx->aitop); - bzero(cctx, sizeof(*cctx)); + memset(cctx, 0, sizeof(*cctx)); cctx->host = NULL; cctx->ai = cctx->aitop = NULL; } In file 'clientloop.c', I've replaced the bzer...
2017 Nov 20
0
doveadm mailbox list -s Segmentation fault
...t *) 0x801c48448 > iter_flags = 4352 > iter = (struct doveadm_mailbox_list_iter *) 0x801c80060 > info = (const struct mailbox_info *) 0x801c6e048 > str = (string_t *) 0x801c1a308 > #10 0x000000000042d222 in doveadm_mail_next_user (ctx=0x801c48448, > cctx=0x7fffffffea60, error_r=0x7fffffffe808) at doveadm-mail.c:429 > input = {module = 0x0, service = 0x487ca4 "doveadm", username = > 0x801c18030 "kristjan.eentsalu", session_id = 0x0, session_id_prefix = 0x0, > session_create_time = 0, local_ip = {family = 0, u = {...
2020 Sep 21
1
AW: doveadm search segfault Dovecot 2.2.22
...(ctx=0x5555557e9800, user=<optimized out>) at doveadm-mail-search.c:61 _data_stack_cur_id = 2 iter = 0x5555557f3ed0 info = <optimized out> ret = <optimized out> #19 0x000055555557acef in doveadm_mail_next_user (ctx=ctx at entry=0x5555557e9800, cctx=cctx at entry=0x7fffffffe0f0, error_r=error_r at entry=0x7fffffffe0e8) at doveadm-mail.c:400 input = {module = 0x0, service = 0x5555555afc11 "doveadm", username = 0x5555557d8360 "m056e04b", session_id = 0x0, session_id_prefix = 0x0, local_ip = {family =...
2019 May 24
2
Panic: file mail-index-util.c: line 10 (mail_index_uint32_to_offset): assertion failed: (offset < 0x40000000)
...x at entry=0x555555807d78, error_r=error_r at entry=0x7fffffffe0a0) at doveadm-mail.c:492 #35 0x0000555555580af9 in doveadm_mail_cmd_exec (ctx=ctx at entry=0x555555807d78, wildcard_user=wildcard_user at entry=0x0) at doveadm-mail.c:653 #36 0x00005555555819ce in doveadm_cmd_ver2_to_mail_cmd_wrapper (cctx=<optimized out>) at doveadm-mail.c:1144 #37 0x0000555555592b7e in doveadm_cmd_run_ver2 (argc=12, argv=0x5555557f5ae8, cctx=cctx at entry=0x7fffffffe290) at doveadm-cmd.c:574 #38 0x0000555555592bd7 in doveadm_cmd_try_run_ver2 (cmd_name=<optimized out>, argc=<optimized out>, argv=&l...
2019 Mar 26
2
v2.2.27 Panic: file rfc822-parser.h: line 23 (rfc822_parser_deinit): assertion failed: (ctx->data <= ctx->end)
After some investigation, it turns out it is non trivial to install dovecot-dbg on debian jessie. Sorry I can't investigate further. Jason Aki Tuomi wrote on 25/3/19 6:12 pm: > Can you install dovecot-dbg and try gdb again? > > Aki > > On 25.3.2019 3.20, Jason Lewis via dovecot wrote: >> Hi, >> >> I've been having an issue with the indexer giving me