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

zsh 4.3.4 crashes in prompt-related code under Mac OS X



zsh 4.3.4 sometimes crashes in prompt-related code under Mac OS X.
Each time, this happens when I did a "ssh <some machine>" and the
ssh connection is (automatically) closed. Note in case this is
important: "ssh" is a zsh function here.

Here's crash information (with backtrace):

Date/Time:      2007-08-24 19:57:42.979 +0200
OS Version:     10.4.10 (Build 8R218)
Report Version: 4

Command: zsh
Path:    /opt/local/bin/zsh
Parent:  iTerm [329]

Version: ??? (???)

PID:    860
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000008

Thread 0 Crashed:
0   libSystem.B.dylib   0x90006328 free + 72
1   zsh                 0x00071640 preprompt + 224
2   zsh                 0x0002ac30 loop + 160
3   zsh                 0x0002dc5c zsh_main + 636
4   zsh                 0x0000209c _start + 760
5   zsh                 0x00001da0 start + 48


Date/Time:      2007-08-24 19:57:58.318 +0200
OS Version:     10.4.10 (Build 8R218)
Report Version: 4

Command: zsh
Path:    /opt/local/bin/zsh
Parent:  iTerm [329]

Version: ??? (???)

PID:    920
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   zsh         0x0006e890 wcs_nicechar + 848
1   zsh         0x0005ab0c stradd + 236
2   zsh         0x0005c78c putpromptchar + 3340
3   zsh         0x0005d44c promptexpand + 316
4   zsh         0x000096fc bin_print + 860
5   zsh         0x00002ce4 execbuiltin + 1588
6   zsh         0x00018014 execcmd + 9812
7   zsh         0x00018618 execpline2 + 408
8   zsh         0x00018a60 execpline + 576
9   zsh         0x000196b8 execlist + 808
10  zsh         0x00019bf8 execcursh + 184
11  zsh         0x00017b40 execcmd + 8576
12  zsh         0x00018618 execpline2 + 408
13  zsh         0x00018a60 execpline + 576
14  zsh         0x000196b8 execlist + 808
15  zsh         0x00019c64 execode + 68
16  zsh         0x00019d88 runshfunc + 264
17  zsh         0x0001a14c doshfunc + 892
18  zsh         0x00069bbc callhookfunc + 124
19  zsh         0x00071688 preprompt + 296
20  zsh         0x0002ac30 loop + 160
21  zsh         0x0002dc5c zsh_main + 636
22  zsh         0x0000209c _start + 760
23  zsh         0x00001da0 start + 48


Date/Time:      2007-08-24 19:59:12.824 +0200
OS Version:     10.4.10 (Build 8R218)
Report Version: 4

Command: zsh
Path:    /opt/local/bin/zsh
Parent:  iTerm [329]

Version: ??? (???)

PID:    980
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000008

Thread 0 Crashed:
0   libSystem.B.dylib   0x90006328 free + 72
1   zsh                 0x00071640 preprompt + 224
2   zsh                 0x0002ac30 loop + 160
3   zsh                 0x0002dc5c zsh_main + 636
4   zsh                 0x0000209c _start + 760
5   zsh                 0x00001da0 start + 48


Date/Time:      2007-08-29 17:01:28.197 +0200
OS Version:     10.4.10 (Build 8R218)
Report Version: 4

Command: zsh
Path:    /opt/local/bin/zsh
Parent:  iTerm [25726]

Version: ??? (???)

PID:    26140
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   zsh         0x0006e890 wcs_nicechar + 848
1   zsh         0x0005ab0c stradd + 236
2   zsh         0x0005c78c putpromptchar + 3340
3   zsh         0x0005d44c promptexpand + 316
4   zsh         0x000096fc bin_print + 860
5   zsh         0x00002ce4 execbuiltin + 1588
6   zsh         0x00018014 execcmd + 9812
7   zsh         0x00018618 execpline2 + 408
8   zsh         0x00018a60 execpline + 576
9   zsh         0x000196b8 execlist + 808
10  zsh         0x00019bf8 execcursh + 184
11  zsh         0x00017b40 execcmd + 8576
12  zsh         0x00018618 execpline2 + 408
13  zsh         0x00018a60 execpline + 576
14  zsh         0x000196b8 execlist + 808
15  zsh         0x00019c64 execode + 68
16  zsh         0x00019d88 runshfunc + 264
17  zsh         0x0001a14c doshfunc + 892
18  zsh         0x00069bbc callhookfunc + 124
19  zsh         0x00071688 preprompt + 296
20  zsh         0x0002ac30 loop + 160
21  zsh         0x0002dc5c zsh_main + 636
22  zsh         0x0000209c _start + 760
23  zsh         0x00001da0 start + 48

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



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