{"action":"created","issue":{"url":"https://api.github.com/repos/9fans/plan9port/issues/38","labels_url":"https://api.github.com/repos/9fans/plan9port/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/9fans/plan9port/issues/38/comments","events_url":"https://api.github.com/repos/9fans/plan9port/issues/38/events","html_url":"https://github.com/9fans/plan9port/issues/38","id":104965057,"number":38,"title":"acme: crash on osx in openfont","user":{"login":"masiulaniec","id":550892,"avatar_url":"https://avatars.githubusercontent.com/u/550892?v=3","gravatar_id":"","url":"https://api.github.com/users/masiulaniec","html_url":"https://github.com/masiulaniec","followers_url":"https://api.github.com/users/masiulaniec/followers","following_url":"https://api.github.com/users/masiulaniec/following{/other_user}","gists_url":"https://api.github.com/users/masiulaniec/gists{/gist_id}","starred_url":"https://api.github.com/users/masiulaniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masiulaniec/subscriptions","organizations_url":"https://api.github.com/users/masiulaniec/orgs","repos_url":"https://api.github.com/users/masiulaniec/repos","events_url":"https://api.github.com/users/masiulaniec/events{/privacy}","received_events_url":"https://api.github.com/users/masiulaniec/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-04T20:33:20Z","updated_at":"2015-10-16T06:06:54Z","closed_at":"2015-10-16T06:06:54Z","body":"backtrace:\r\n```\r\n[jacekm@jacekm-mbp cores]$ lldb -c core.627 /src/9fans.net/plan9port/bin/acme\r\n(lldb) target create \"/src/9fans.net/plan9port/bin/acme\" --core \"core.627\"\r\nwarning: (x86_64) /cores/core.627 load command 121 LC_SEGMENT_64 has a fileoff + filesize (0x20639000) that extends beyond the end of the file (0x20638000), the segment will be truncated to match\r\nwarning: (x86_64) /cores/core.627 load command 122 LC_SEGMENT_64 has a fileoff (0x20639000) that extends beyond the end of the file (0x20638000), ignoring this section\r\nCore file '/cores/core.627' (x86_64) was loaded.\r\nProcess 0 stopped\r\n* thread #1: tid = 0x0000, 0x0000000106ee4f57 acme`openfont(d=0x00007fca78600180, name=0x00007fca7a609290) + 71 at openfont.c:224, stop reason = signal SIGSTOP\r\n    frame #0: 0x0000000106ee4f57 acme`openfont(d=0x00007fca78600180, name=0x00007fca7a609290) + 71 at openfont.c:224\r\n   221 \t\t\t*p = '\\0';\r\n   222\r\n   223 \t\tf = openfont1(d, name);\r\n-> 224 \t\tf->lodpi = f;\r\n   225 \t\tf->namespec = namespec;\r\n   226\r\n   227 \t\t/* add to display list for when dpi changes */\r\n  thread #2: tid = 0x0001, 0x00007fff91ec6136 libsystem_kernel.dylib`__psynch_cvwait + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec6136 libsystem_kernel.dylib`__psynch_cvwait + 10\r\nlibsystem_kernel.dylib`__psynch_cvwait + 10:\r\n-> 0x7fff91ec6136:  jae    0x7fff91ec6140            ; __psynch_cvwait + 20\r\n   0x7fff91ec6138:  movq   %rax, %rdi\r\n   0x7fff91ec613b:  jmp    0x7fff91ec1c53            ; cerror_nocancel\r\n   0x7fff91ec6140:  retq\r\n  thread #3: tid = 0x0002, 0x00007fff91ec6136 libsystem_kernel.dylib`__psynch_cvwait + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec6136 libsystem_kernel.dylib`__psynch_cvwait + 10\r\nlibsystem_kernel.dylib`__psynch_cvwait + 10:\r\n-> 0x7fff91ec6136:  jae    0x7fff91ec6140            ; __psynch_cvwait + 20\r\n   0x7fff91ec6138:  movq   %rax, %rdi\r\n   0x7fff91ec613b:  jmp    0x7fff91ec1c53            ; cerror_nocancel\r\n   0x7fff91ec6140:  retq\r\n  thread #4: tid = 0x0003, 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10\r\nlibsystem_kernel.dylib`read + 10:\r\n-> 0x7fff91ec7682:  jae    0x7fff91ec768c            ; read + 20\r\n   0x7fff91ec7684:  movq   %rax, %rdi\r\n   0x7fff91ec7687:  jmp    0x7fff91ec1c78            ; cerror\r\n   0x7fff91ec768c:  retq\r\n  thread #5: tid = 0x0004, 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10\r\nlibsystem_kernel.dylib`read + 10:\r\n-> 0x7fff91ec7682:  jae    0x7fff91ec768c            ; read + 20\r\n   0x7fff91ec7684:  movq   %rax, %rdi\r\n   0x7fff91ec7687:  jmp    0x7fff91ec1c78            ; cerror\r\n   0x7fff91ec768c:  retq\r\n  thread #6: tid = 0x0005, 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10\r\nlibsystem_kernel.dylib`read + 10:\r\n-> 0x7fff91ec7682:  jae    0x7fff91ec768c            ; read + 20\r\n   0x7fff91ec7684:  movq   %rax, %rdi\r\n   0x7fff91ec7687:  jmp    0x7fff91ec1c78            ; cerror\r\n   0x7fff91ec768c:  retq\r\n  thread #7: tid = 0x0006, 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec7682 libsystem_kernel.dylib`read + 10\r\nlibsystem_kernel.dylib`read + 10:\r\n-> 0x7fff91ec7682:  jae    0x7fff91ec768c            ; read + 20\r\n   0x7fff91ec7684:  movq   %rax, %rdi\r\n   0x7fff91ec7687:  jmp    0x7fff91ec1c78            ; cerror\r\n   0x7fff91ec768c:  retq\r\n  thread #8: tid = 0x0007, 0x00007fff91ec6136 libsystem_kernel.dylib`__psynch_cvwait + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec6136 libsystem_kernel.dylib`__psynch_cvwait + 10\r\nlibsystem_kernel.dylib`__psynch_cvwait + 10:\r\n-> 0x7fff91ec6136:  jae    0x7fff91ec6140            ; __psynch_cvwait + 20\r\n   0x7fff91ec6138:  movq   %rax, %rdi\r\n   0x7fff91ec613b:  jmp    0x7fff91ec1c53            ; cerror_nocancel\r\n   0x7fff91ec6140:  retq\r\n  thread #9: tid = 0x0008, 0x00007fff91ec691a libsystem_kernel.dylib`__wait4_nocancel + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec691a libsystem_kernel.dylib`__wait4_nocancel + 10\r\nlibsystem_kernel.dylib`__wait4_nocancel + 10:\r\n-> 0x7fff91ec691a:  jae    0x7fff91ec6924            ; __wait4_nocancel + 20\r\n   0x7fff91ec691c:  movq   %rax, %rdi\r\n   0x7fff91ec691f:  jmp    0x7fff91ec1c53            ; cerror_nocancel\r\n   0x7fff91ec6924:  retq\r\n  thread #10: tid = 0x0009, 0x00007fff91ec691a libsystem_kernel.dylib`__wait4_nocancel + 10, stop reason = signal SIGSTOP\r\n    frame #0: 0x00007fff91ec691a libsystem_kernel.dylib`__wait4_nocancel + 10\r\nlibsystem_kernel.dylib`__wait4_nocancel + 10:\r\n-> 0x7fff91ec691a:  jae    0x7fff91ec6924            ; __wait4_nocancel + 20\r\n   0x7fff91ec691c:  movq   %rax, %rdi\r\n   0x7fff91ec691f:  jmp    0x7fff91ec1c53            ; cerror_nocancel\r\n   0x7fff91ec6924:  retq\r\n(lldb) bt\r\n* thread #1: tid = 0x0000, 0x0000000106ee4f57 acme`openfont(d=0x00007fca78600180, name=0x00007fca7a609290) + 71 at openfont.c:224, stop reason = signal SIGSTOP\r\n  * frame #0: 0x0000000106ee4f57 acme`openfont(d=0x00007fca78600180, name=0x00007fca7a609290) + 71 at openfont.c:224\r\n    frame #1: 0x0000000106eb7c71 acme`rfget(fix=1, save=0, setfont=0, name=<unavailable>) + 161 at acme.c:893\r\n    frame #2: 0x0000000106ec2011 acme`fontx(et=<unavailable>, t=<unavailable>, argt=<unavailable>, _0=<unavailable>, _1=<unavailable>, arg=<unavailable>, narg=0) + 529 at exec.c:1206\r\n    frame #3: 0x0000000106ec348a acme`execute(t=0x00007fca788088c0, aq0=<unavailable>, aq1=<unavailable>, external=<unavailable>, argt=0x0000000000000000) + 570 at exec.c:240\r\n    frame #4: 0x0000000106ed9412 acme`xfideventwrite(x=0x00007fca785002c0, w=0x00007fca78808800) + 530 at xfid.c:878\r\n    frame #5: 0x0000000106ed83fb acme`xfidwrite(x=0x00007fca785002c0) + 923 at xfid.c:572\r\n    frame #6: 0x0000000106ed6b41 acme`xfidctl(arg=0x00007fca785002c0) + 65 at xfid.c:51\r\n    frame #7: 0x0000000106eeddea acme`threadstart(y=<unavailable>, x=<unavailable>) + 26 at thread.c:96\r\n(lldb)\r\n```\r\n\r\ncmdline:\r\n```\r\n\"-a\"\r\n\"-f\" \"/mnt/font/Avenir-Heavy/20a/font,/mnt/font/Avenir-Heavy/35a/font\"\r\n\"-F\" \"/mnt/font/Menlo-Regular/18a/font,/mnt/font/Menlo-Regular/31a/font\"\r\n\"-W\" \"1800x1200\"\r\n```\r\n\r\nenv:\r\n```\r\nTERM=dumb\r\nmousescrollsize=1\r\n```\r\n\r\nrepro:\r\nB2-click 'Font non-existent-font-name' in any window\r\n"},"comment":{"url":"https://api.github.com/repos/9fans/plan9port/issues/comments/148618196","html_url":"https://github.com/9fans/plan9port/issues/38#issuecomment-148618196","issue_url":"https://api.github.com/repos/9fans/plan9port/issues/38","id":148618196,"user":{"login":"masiulaniec","id":550892,"avatar_url":"https://avatars.githubusercontent.com/u/550892?v=3","gravatar_id":"","url":"https://api.github.com/users/masiulaniec","html_url":"https://github.com/masiulaniec","followers_url":"https://api.github.com/users/masiulaniec/followers","following_url":"https://api.github.com/users/masiulaniec/following{/other_user}","gists_url":"https://api.github.com/users/masiulaniec/gists{/gist_id}","starred_url":"https://api.github.com/users/masiulaniec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masiulaniec/subscriptions","organizations_url":"https://api.github.com/users/masiulaniec/orgs","repos_url":"https://api.github.com/users/masiulaniec/repos","events_url":"https://api.github.com/users/masiulaniec/events{/privacy}","received_events_url":"https://api.github.com/users/masiulaniec/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T06:06:53Z","updated_at":"2015-10-16T06:06:53Z","body":"Sorry about the noise."}}