Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Fix complist menuselect segmentation fault



On 2 lipca 2017 at 16:58:20, Maxime de Roucy (maxime.deroucy@xxxxxxxxx) wrote:
> Without this patch :

I have this core dump from 06.05.2017, not sure if it's related, I think I attach it here. The segmentation fault happened once.

* thread #1: tid = 0x0000, 0x00000001021032fb complist.so`msearch(ptr=0x00007fd97b34d940, ins="M", back=0, rep=0, wrapp=0x00007fff5ded95a8) + 315 at complist.c:2312, stop reason = signal SIGSTOP
  * frame #0: 0x00000001021032fb complist.so`msearch(ptr=0x00007fd97b34d940, ins="M", back=0, rep=0, wrapp=0x00007fff5ded95a8) + 315 at complist.c:2312
    frame #1: 0x00000001020fb56b complist.so`domenuselect(dummy=0x00000001020ea208, dat=0x00007fff5ded9928) + 16027 at complist.c:3349
    frame #2: 0x0000000101d842d6 zsh-5.3.1-dev-0`runhookdef + 150
    frame #3: 0x00000001020cbd8c complete.so`after_complete + 108
    frame #4: 0x0000000101d84351 zsh-5.3.1-dev-0`runhookdef + 273
    frame #5: 0x000000010208539d zle.so`docomplete + 4013
    frame #6: 0x0000000102085724 zle.so`expandorcomplete + 228
    frame #7: 0x00000001020841a6 zle.so`completecall + 70
    frame #8: 0x000000010206de3e zle.so`execzlefunc + 734
    frame #9: 0x0000000102083b47 zle.so`bin_zle_call + 1191
    frame #10: 0x0000000102082276 zle.so`bin_zle + 438
    frame #11: 0x0000000101d209fa zsh-5.3.1-dev-0`execbuiltin + 3242
    frame #12: 0x0000000101d4a943 zsh-5.3.1-dev-0`execcmd_exec + 18595
    frame #13: 0x0000000101d45ad9 zsh-5.3.1-dev-0`execpline2 + 425
    frame #14: 0x0000000101d3edd1 zsh-5.3.1-dev-0`execpline + 945
    frame #15: 0x0000000101d3dfb1 zsh-5.3.1-dev-0`execlist + 1745
    frame #16: 0x0000000101d3d8ac zsh-5.3.1-dev-0`execode + 284
    frame #17: 0x0000000101d43c2d zsh-5.3.1-dev-0`runshfunc + 509
    frame #18: 0x0000000101d43590 zsh-5.3.1-dev-0`doshfunc + 2160
    frame #19: 0x0000000101d4529d zsh-5.3.1-dev-0`execshfunc + 525
    frame #20: 0x0000000101d4a28c zsh-5.3.1-dev-0`execcmd_exec + 16876
    frame #21: 0x0000000101d45ad9 zsh-5.3.1-dev-0`execpline2 + 425
    frame #22: 0x0000000101d3edd1 zsh-5.3.1-dev-0`execpline + 945
    frame #23: 0x0000000101d3df5e zsh-5.3.1-dev-0`execlist + 1662
    frame #24: 0x0000000101d3d8ac zsh-5.3.1-dev-0`execode + 284
    frame #25: 0x0000000101d43c2d zsh-5.3.1-dev-0`runshfunc + 509
    frame #26: 0x0000000101d43590 zsh-5.3.1-dev-0`doshfunc + 2160
    frame #27: 0x000000010206e1c5 zle.so`execzlefunc + 1637
    frame #28: 0x0000000102083b47 zle.so`bin_zle_call + 1191
    frame #29: 0x0000000102082276 zle.so`bin_zle + 438
    frame #30: 0x0000000101d209fa zsh-5.3.1-dev-0`execbuiltin + 3242
    frame #31: 0x0000000101d4a943 zsh-5.3.1-dev-0`execcmd_exec + 18595
    frame #32: 0x0000000101d45ad9 zsh-5.3.1-dev-0`execpline2 + 425
    frame #33: 0x0000000101d3edd1 zsh-5.3.1-dev-0`execpline + 945
    frame #34: 0x0000000101d3df5e zsh-5.3.1-dev-0`execlist + 1662
    frame #35: 0x0000000101d7c429 zsh-5.3.1-dev-0`execif + 521
    frame #36: 0x0000000101d4a067 zsh-5.3.1-dev-0`execcmd_exec + 16327
    frame #37: 0x0000000101d45ad9 zsh-5.3.1-dev-0`execpline2 + 425
    frame #38: 0x0000000101d3edd1 zsh-5.3.1-dev-0`execpline + 945
    frame #39: 0x0000000101d3df5e zsh-5.3.1-dev-0`execlist + 1662
    frame #40: 0x0000000101d3d8ac zsh-5.3.1-dev-0`execode + 284
    frame #41: 0x0000000101d43c2d zsh-5.3.1-dev-0`runshfunc + 509
    frame #42: 0x0000000101d43590 zsh-5.3.1-dev-0`doshfunc + 2160
    frame #43: 0x0000000101d4529d zsh-5.3.1-dev-0`execshfunc + 525
    frame #44: 0x0000000101d4a28c zsh-5.3.1-dev-0`execcmd_exec + 16876
    frame #45: 0x0000000101d45ad9 zsh-5.3.1-dev-0`execpline2 + 425
    frame #46: 0x0000000101d3edd1 zsh-5.3.1-dev-0`execpline + 945
    frame #47: 0x0000000101d3df5e zsh-5.3.1-dev-0`execlist + 1662
    frame #48: 0x0000000101d3d8ac zsh-5.3.1-dev-0`execode + 284
    frame #49: 0x0000000101d43c2d zsh-5.3.1-dev-0`runshfunc + 509
    frame #50: 0x0000000101d43590 zsh-5.3.1-dev-0`doshfunc + 2160
    frame #51: 0x0000000101d4529d zsh-5.3.1-dev-0`execshfunc + 525
    frame #52: 0x0000000101d4a28c zsh-5.3.1-dev-0`execcmd_exec + 16876
    frame #53: 0x0000000101d45ad9 zsh-5.3.1-dev-0`execpline2 + 425
    frame #54: 0x0000000101d3edd1 zsh-5.3.1-dev-0`execpline + 945
    frame #55: 0x0000000101d3df5e zsh-5.3.1-dev-0`execlist + 1662
    frame #56: 0x0000000101d3d8ac zsh-5.3.1-dev-0`execode + 284
    frame #57: 0x0000000101d43c2d zsh-5.3.1-dev-0`runshfunc + 509
    frame #58: 0x0000000101d43590 zsh-5.3.1-dev-0`doshfunc + 2160
    frame #59: 0x0000000101d4529d zsh-5.3.1-dev-0`execshfunc + 525
    frame #60: 0x0000000101d4a28c zsh-5.3.1-dev-0`execcmd_exec + 16876
    frame #61: 0x0000000101d45ad9 zsh-5.3.1-dev-0`execpline2 + 425
    frame #62: 0x0000000101d3edd1 zsh-5.3.1-dev-0`execpline + 945
    frame #63: 0x0000000101d3df5e zsh-5.3.1-dev-0`execlist + 1662
    frame #64: 0x0000000101d3d8ac zsh-5.3.1-dev-0`execode + 284
    frame #65: 0x0000000101d43c2d zsh-5.3.1-dev-0`runshfunc + 509
    frame #66: 0x0000000101d43590 zsh-5.3.1-dev-0`doshfunc + 2160
    frame #67: 0x000000010206e1c5 zle.so`execzlefunc + 1637
    frame #68: 0x000000010206e5ff zle.so`zlecore + 415
    frame #69: 0x000000010206ef65 zle.so`zleread + 1845
    frame #70: 0x000000010206fdb3 zle.so`zle_main_entry + 739
    frame #71: 0x0000000101d6af97 zsh-5.3.1-dev-0`zleentry + 615
    frame #72: 0x0000000101d6c72d zsh-5.3.1-dev-0`inputline + 509
    frame #73: 0x0000000101d6c325 zsh-5.3.1-dev-0`ingetc + 325
    frame #74: 0x0000000101d5e41d zsh-5.3.1-dev-0`ihgetc + 13
    frame #75: 0x0000000101d75986 zsh-5.3.1-dev-0`gettok + 38
    frame #76: 0x0000000101d756f9 zsh-5.3.1-dev-0`zshlex + 121
    frame #77: 0x0000000101d9aeb7 zsh-5.3.1-dev-0`parse_event + 55
    frame #78: 0x0000000101d67096 zsh-5.3.1-dev-0`loop + 294
    frame #79: 0x0000000101d6b5af zsh-5.3.1-dev-0`zsh_main + 847
    frame #80: 0x0000000101d1fa82 zsh-5.3.1-dev-0`main + 34
    frame #81: 0x00007fff912e95ad libdyld.dylib`start + 1
    frame #82: 0x00007fff912e95ad libdyld.dylib`start + 1

--  
Sebastian Gniazdowski
psprint /at/ zdharma.org



Messages sorted by: Reverse Date, Date, Thread, Author