Hi

On 28/03/2023 15.43, Oswald Buddenhagen wrote:
On Tue, Mar 28, 2023 at 02:50:54PM +0200, Niklaus Hofer wrote:
Here is the requested output.

hmpf, that didn't help. let's try something else:
make sure that you have a debug info package installed for isync, and then run the sync with -Dd on the command line. that should drop you into a gdb command line, where you can run "where full" ("bt" on steroids) to hopefully see where things go wrong. (exit with "q".) (caveat: this works only if you're on linux, as i expect. otherwise, you need to use gdb manually.)

The "getting dropped into a gdb shell" did not work for me. I ended up running "gdb --args mbsync -Dd gugus". Here is the output just before it crashed:

N: [ 18663] Leave close_box
F: Enter select_box, name=Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef sdke - 
HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq 
DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF)
F: Leave select_box, ret=0
N: Enter select_box, name=Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef sdke - 
HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq 
DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF)
N: Leave select_box, ret=0
N: Called get_box_path, 
ret=/home/niklaus/.mail/gugus/Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef 
sdke - HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. 
Pmemq DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF)
Opening far side box Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef sdke - HscB 
Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq 
DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF)...
F: [ 18664] Enter open_box
F: [ 18664] Leave open_box
Opening near side box Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef sdke - 
HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq 
DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF)...
N: [ 18665] Enter open_box
N: [ 18665] Callback enter open_box, sts=0, uidvalidity=1648798071
N: [ 18665] Callback leave open_box
N: [ 18665] Leave open_box
F: [ 18661] Callback leave load_box
F: [ 18664] Callback enter open_box, sts=0, uidvalidity=1282727861
F: Enter prepare_load_box, opts=0x7
F: Leave prepare_load_box, ret=0x7
N: Enter prepare_load_box, opts=0x1e7
N: Leave prepare_load_box, ret=0x1e7
Loading far side box...
F: [ 18666] Enter load_box, [1,inf] (find >= 0, paired <= 4294967295, new > 0)
F: [ 18666] Leave load_box
Loading near side box...
N: [ 18667] Enter load_box, [1,inf] (find >= 18, paired <= 4294967295, new > 0)
N: [ 18667] Callback enter load_box, sts=0, total=0, recent=0
near side: 0 messages, 0 recent
Warning: lost track of 4 pulled message(s)
N: [ 18667] Callback leave load_box
N: [ 18667] Leave load_box
F: [ 18664] Callback leave open_box
F: [ 18666] Callback enter load_box, sts=0, total=4, recent=0
  uid=1     flags=S    size=0      tuid=?
  uid=2     flags=S    size=0      tuid=?
  uid=3     flags=RS   size=0      tuid=?
  uid=4     flags=S    size=0      tuid=?
far side: 4 messages, 0 recent
Synchronizing...
F: Called get_supported_flags, ret=0xff
N: Called get_supported_flags, ret=0xff
F: Enter commit_cmds
F: Leave commit_cmds
N: Enter commit_cmds
N: Leave commit_cmds
N: Called get_uidnext, ret=19
N: Called get_memory_usage, ret=0
F: [ 18668] Enter fetch_msg, uid=1, want_flags=no, want_date=no
F: [ 18668] Leave fetch_msg
N: Called get_memory_usage, ret=0
F: [ 18669] Enter fetch_msg, uid=2, want_flags=no, want_date=no
F: [ 18669] Leave fetch_msg
N: Called get_memory_usage, ret=0
F: [ 18670] Enter fetch_msg, uid=3, want_flags=no, want_date=no
F: [ 18670] Leave fetch_msg
N: Called get_memory_usage, ret=0
F: [ 18671] Enter fetch_msg, uid=4, want_flags=no, want_date=no
F: [ 18671] Leave fetch_msg
F: [ 18666] Callback leave load_box
F: [ 18668] Callback enter fetch_msg, flags=S, date=0, size=1899
F: Called get_caps, ret=0x7
N: Called get_caps, ret=0
N: [ 18672] Enter store_msg, flags=S, date=0, size=1880, to_trash=no
Fatal: buffer too small. Please report a bug.

And then, as instructed, I ran "where full" in the interactive gdb shell. Here is the output for that:

Program received signal SIGABRT, Aborted.
0x00007ffff7afe80c in ?? () from /lib64/libc.so.6
(gdb) where full
#0  0x00007ffff7afe80c in ?? () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007ffff7aac896 in raise () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007ffff7a962fc in abort () from /lib64/libc.so.6
No symbol table info available.
#3  0x000055555556875b in oob () at util.c:343
No locals.
#4  0x000055555556884d in nfsnprintf (
    buf=0x7fffffffc810 "/home/niklaus/.mail/gugus/Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: 
nmlesfmlwef sdke - HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq 
DF)sl-nsk-563: msklepscmld eksg: Ameldd "..., blen=256, fmt=0x5555555845fd 
"%s/tmp/%s%s") at util.c:354
        ret = 269
        va = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 
0x7fffffffc720, reg_save_area = 0x7fffffffc660}}
#5  0x000055555557a79a in maildir_store_msg (gctx=0x55555558d0a0, 
data=0x55555591c0c0, to_trash=0, cb=0x55555557d804 <proxy_store_msg_cb>, 
aux=0x555555968990) at drv_maildir.c:1639
        ctx = 0x55555558d0a0
        box = 0x555555910670 
"/home/niklaus/.mail/gugus/Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef sdke - 
HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq 
DF)sl-nsk-563: msklepscmld eksg: Ameldd "...
        ret = 0
        fd = 0
        bl = 26
        uid = 20
        buf = "/home/niklaus/.mail/gugus/Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: 
nmlesfmlwef sdke - HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. 
Pmemq DF)sl-nsk-563: msklepscmld eksg: Ameldd "...
        nbuf = "`\311\377\377\377\177\000\000P\311\377\[...]"...
        fbuf = ":2,S\000\000\000\000"
        base = "1680013245.9761_4.octarine,U=20", '\000' <repeats 96 times>
#6  0x000055555557d9e2 in proxy_store_msg (gctx=0x55555558d170, data=0x55555591c0c0, 
to_trash=0, cb=0x55555555e5b9 <msg_stored>, aux=0x55555591c0a0)
    at 
/var/tmp/portage/net-mail/isync-1.4.4/work/isync-1.4.4/src/drv_proxy.inc:469
        ctx = 0x55555558d170
        cmd = 0x555555968990
        fbuf = "S\000\000\000\000\000"
#7  0x000055555555e562 in msg_fetched (sts=0, aux=0x55555591c0a0) at sync.c:573
        vars = 0x55555591c0a0
        t = 1
        svars = 0x5555559114f0
        scr = 1
        tcr = 0
#8  0x000055555557d5a7 in proxy_do_fetch_msg_cb (gcmd=0x555555922a20) at 
/var/tmp/portage/net-mail/isync-1.4.4/work/isync-1.4.4/src/drv_proxy.inc:396
        cmd = 0x555555922a20
        fbuf = "S\000\000\000\000\000"
#9  0x000055555557c0ac in proxy_invoke_cb (cmd=0x555555922a20, cb=0x55555557d45d 
<proxy_do_fetch_msg_cb>, checked=0, name=0x555555584f6b "fetch_msg") at 
drv_proxy.c:168
No locals.
#10 0x000055555557d61b in proxy_fetch_msg_cb (sts=0, aux=0x555555922a20) at 
/var/tmp/portage/net-mail/isync-1.4.4/work/isync-1.4.4/src/drv_proxy.inc:406
        cmd = 0x555555922a20
#11 0x000055555556dfde in imap_done_simple_msg (ctx=0x7ffff7a42010, 
cmd=0x55555592e7f0, response=0) at drv_imap.c:664
        cmdp = 0x55555592e7f0
#12 0x00005555555736b9 in imap_fetch_msg_p2 (ctx=0x7ffff7a42010, 
gcmd=0x55555592e7f0, response=0) at drv_imap.c:3013
        cmd = 0x55555592e7f0
#13 0x000055555556cb55 in done_imap_cmd (ctx=0x7ffff7a42010, 
cmd=0x55555592e7f0, response=0) at drv_imap.c:326
No locals.
#14 0x0000555555571097 in imap_socket_read (aux=0x7ffff7a42010) at 
drv_imap.c:1749
        ctx = 0x7ffff7a42010
        cmdp = 0x55555592e7f0
        pcmdp = 0x7ffff7a420f8
        cmd = 0x7ffff7a423b1 "Fetch completed."
        arg = 0x7ffff7a423ae "OK"
        arg1 = 0x1df5ef00 <error: Cannot access memory at address 0x1df5ef00>
        p = 0x159 <error: Cannot access memory at address 0x159>
        resp = 0
        resp2 = 0
        tag = 7158
iov = {{buf = 0x7fffffffccb0 "\360\314\377\377\377\177", len = 1431746140, takeOwn = (GiveOwn | unknown: 0x5554)}, {buf = 0x80 <error: Cannot access memory at address 0x80>, len = 4294954196, takeOwn = (unknown: 0x186a0)}}
#15 0x000055555556b9b4 in socket_fill (sock=0x7ffff7a42158) at socket.c:802
        buf = 0x7ffff7a422b8 "1 11 111 11 11*|* www.example.com <http://www.example.com>  
| \r\n> #kpdiowmdlw #kasdfasd\r\n> \r\n\r\n-- \r\nstepping stone AG\r\nWasserwerkgasse 
7\r\nCH-3011 Bern\r\n\r\nTelefon: +41 31 332 53 63\r\nwww.stepping"...
        len = 100000
        n = 345
        __PRETTY_FUNCTION__ = "socket_fill"
#16 0x000055555556c641 in socket_fd_cb (events=1, aux=0x7ffff7a42158) at 
socket.c:1105
        conn = 0x7ffff7a42158
#17 0x0000555555569ac3 in event_wait () at util.c:831
        n = 0
        head = 0x55555558d130
        sn = 0x7ffff7a42218
        m = 1
        timeout = 2000
        __PRETTY_FUNCTION__ = "event_wait"
#18 0x0000555555569b00 in main_loop () at util.c:903
No locals.
#19 0x000055555555b5e7 in main (argc=3, argv=0x7fffffffcf98) at main.c:797
mvars = {{t = {0, 1}, chan = 0x55555558cd10, drv = {0x55555558b300 <proxy_driver>, 0x55555558b300 <proxy_driver>}, ctx = {0x55555558d000, 0x55555558d170}, chanptr = 0x55555558cfd0, boxptr = 0x555555923cf0, boxes = {0x55555587fc60, 0x555555683690}, names = {
              0x5555558c9e50 "Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef sdke - 
HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq 
DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSM--Type <RET> for more, q to 
quit, c to continue without paging--
L - Dr. Meyer AG"..., 0x5555558c9e50 "Asdfake/kSfelwe/AksdJlsfd/ehs-wjd: nmlesfmlwef sdke - HscB Skeiclw/psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF"...}, ret = 1, all = 0, list = 0, state = {2, 2}, done = 0 '\000', skip = 0 '\000', cben = 1 '\001'}}
        chans = 0x55555558cfd0
        chanapp = 0x55555558cfd0
        group = 0x0
        chan = 0x8
        channame = 0x80000
        config = 0x0
        opt = 0x80000 <error: Cannot access memory at address 0x80000>
        ochar = 0x7fffffffd3e3 ""
        oind = 3
        cops = 0
        op = 2112
        ops = {0, 0}
        ms_warn = 0


Now, looking closely at this, I was actually able to resolve my issue. Looking at the name of the folder on the deepest level, psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF)psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF), I noticed that the folder name was double. Must have made a copy&past error when creating it. Renaming the folder to just psl-nsk-563: msklepscmld eksg: Ameldd 9 (AsAsVCNSMD - Rw. Pmemq DF) resolved the issue.

Sincerely

Niklaus Hofer

--
Arbeitszeiten: Dienstag bis Freitag

stepping stone AG
Wasserwerkgasse 7
CH-3011 Bern

Telefon: +41 31 332 53 63
www.stepping-stone.ch
niklaus.ho...@stepping-stone.ch


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to