Loading ...
Sorry, an error occurred while loading the content.

Re: vim 6.1 crash when displaying recovery dialog

Expand Messages
  • Benji Fisher
    ... I am cc ing the vim-mac list for this. It is probably related to other problems with dialogue boxes in the Carbon GUI. At what point does it crash? Does
    Message 1 of 3 , Apr 4, 2002
    • 0 Attachment
      "Eric Y. Kow" wrote:
      >
      > This happens whenever i open a file that has a swap-file associated
      > with it. I'm assuming it's for opening the "do you wanna recover"
      > dialag.

      I am cc'ing the vim-mac list for this. It is probably related to other
      problems with dialogue boxes in the Carbon GUI.

      At what point does it crash? Does it happen as soon as you start up vim,
      or does it give you a dialogue box and then crash after you choose one of the
      options? How did you get into this mess, anyway? There should not be swap
      files on the system unless vim already crashed.

      Possible work-around: if there are swap files lying around, try starting
      vim in a Terminal window instead of in GUI mode.

      % /Applications/vim/Vim.app/Contents/MacOS/Vim

      > Incidentally, would you happen to know a less annoying Vim way to do
      > swap-file-like things? The idea is to have it only bother me if there
      > is a file that had been CHANGED after the last write, in other words,
      > to only have dirty files be available for vim backup? Or are the swap
      > files really nothing to do with emergency recovery?

      The swap file contains all sorts of things that vim uses while editing
      the file, such as undo information. If you edit, then save, you can still
      undo your changes, so the swap file is still needed.

      :help swap-file

      HTH --Benji Fisher

      > Cheers,
      >
      > --eric
      >
      > **********
      >
      > Date/Time: 2002-04-03 14:54:45 +0200
      > OS Version: 10.1.3 (Build 5Q45)
      > Host: puddle.loria.fr
      >
      > Command: Vim
      > PID: 8191
      >
      > Exception: EXC_BAD_ACCESS (0x0001)
      > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
      >
      > Thread 0 Crashed:
      > #0 0x731ec138 in AutoSizeDialog
      > #1 0x0006298c in gui_mch_dialog
      > #2 0x0007e2c4 in do_dialog
      > #3 0x00051a74 in buf_check_timestamp
      > #4 0x00006cc4 in enter_buffer
      > #5 0x00006bf0 in set_curbuf
      > #6 0x00006aa4 in do_buffer
      > #7 0x00005f0c in goto_buffer
      > #8 0x0003ccc0 in ex_bnext
      > #9 0x00039de0 in do_one_cmd
      > #10 0x00037eb4 in do_cmdline
      > #11 0x0009a444 in nv_colon
      > #12 0x00094ab4 in normal_cmd
      > #13 0x00069dac in main_loop
      > #14 0x00069a90 in main
      > #15 0x000026ac in _start
      > #16 0x000024dc in start
      >
      > Thread 1:
      > #0 0x70000978 in mach_msg_overwrite_trap
      > #1 0x70005a04 in mach_msg
      > #2 0x7017bf98 in __CFRunLoopRun
      > #3 0x701b7100 in CFRunLoopRunSpecific
      > #4 0x7017b8e0 in CFRunLoopRunInMode
      > #5 0x7061be08 in XIOAudioDeviceManager::NotificationThread(XIOAudioDeviceManager *)
      > #6 0x706141c0 in CAPThread::Entry(CAPThread *)
      > #7 0x7002054c in _pthread_body
      >
      > Thread 2:
      > #0 0x70000978 in mach_msg_overwrite_trap
      > #1 0x70005a04 in mach_msg
      > #2 0x70026a2c in _pthread_become_available
      > #3 0x70026724 in pthread_exit
      > #4 0x70020550 in _pthread_body
      >
      > PPC Thread State:
      > srr0: 0x731ec138 srr1: 0x0000d030 vrsave: 0x00000000
      > xer: 0x00000020 lr: 0x731ec138 ctr: 0x702418b0 mq: 0x00000000
      > r0: 0x731ec138 r1: 0xbffff220 r2: 0x0161dafb r3: 0x002fabc0
      > r4: 0x00000000 r5: 0x0000003e r6: 0x00000001 r7: 0xbffff4c8
      > r8: 0x00000002 r9: 0x80240e10 r10: 0xa1b1c1d3 r11: 0x834e142c
      > r12: 0x702418b0 r13: 0xbffff50a r14: 0x00000000 r15: 0xbffff4e8
      > r16: 0x00000001 r17: 0x00000000 r18: 0x00000070 r19: 0x000000a8
      > r20: 0x00000000 r21: 0xbffff510 r22: 0xbffff508 r23: 0xbffff3c8
      > r24: 0xbffff3c8 r25: 0xbffff4c8 r26: 0x00000002 r27: 0x00000003
      > r28: 0x00000001 r29: 0x00000000 r30: 0x00000000 r31: 0x0006247c
      >
      > **********
      >
      > Date/Time: 2002-04-03 17:01:49 +0200
      > OS Version: 10.1.3 (Build 5Q45)
      > Host: puddle.loria.fr
      >
      > Command: Vim
      > PID: 377
      >
      > Exception: EXC_BAD_ACCESS (0x0001)
      > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
      >
      > Thread 0 Crashed:
      > #0 0x731ec138 in AutoSizeDialog
      > #1 0x0006298c in gui_mch_dialog
      > #2 0x0007e2c4 in do_dialog
      > #3 0x00051a74 in buf_check_timestamp
      > #4 0x00006cc4 in enter_buffer
      > #5 0x00006bf0 in set_curbuf
      > #6 0x00006aa4 in do_buffer
      > #7 0x00005f0c in goto_buffer
      > #8 0x0003ccc0 in ex_bnext
      > #9 0x00039de0 in do_one_cmd
      > #10 0x00037eb4 in do_cmdline
      > #11 0x0009a444 in nv_colon
      > #12 0x00094ab4 in normal_cmd
      > #13 0x00069dac in main_loop
      > #14 0x00069a90 in main
      > #15 0x000026ac in _start
      > #16 0x000024dc in start
      >
      > Thread 1:
      > #0 0x70000978 in mach_msg_overwrite_trap
      > #1 0x70005a04 in mach_msg
      > #2 0x7017bf98 in __CFRunLoopRun
      > #3 0x701b7100 in CFRunLoopRunSpecific
      > #4 0x7017b8e0 in CFRunLoopRunInMode
      > #5 0x7061be08 in XIOAudioDeviceManager::NotificationThread(XIOAudioDeviceManager *)
      > #6 0x706141c0 in CAPThread::Entry(CAPThread *)
      > #7 0x7002054c in _pthread_body
      >
      > PPC Thread State:
      > srr0: 0x731ec138 srr1: 0x0000f030 vrsave: 0x00000000
      > xer: 0x00000020 lr: 0x731ec138 ctr: 0x702418b0 mq: 0x00000000
      > r0: 0x731ec138 r1: 0xbffff220 r2: 0x01859e7e r3: 0x015e5870
      > r4: 0x00000000 r5: 0x00000027 r6: 0x00000001 r7: 0xbffff4c8
      > r8: 0x00000004 r9: 0x80240e10 r10: 0xa1b1c1d3 r11: 0x834e142c
      > r12: 0x702418b0 r13: 0xbffff50a r14: 0x00000000 r15: 0xbffff4e8
      > r16: 0x00000001 r17: 0x00000000 r18: 0x00000070 r19: 0x000000a8
      > r20: 0x00000000 r21: 0xbffff510 r22: 0xbffff508 r23: 0xbffff3c8
      > r24: 0xbffff3c8 r25: 0xbffff4c8 r26: 0x00000002 r27: 0x00000003
      > r28: 0x00000001 r29: 0x00000000 r30: 0x00000000 r31: 0x0006247c
      >
      > **********
      >
      > Date/Time: 2002-04-03 18:41:12 +0200
      > OS Version: 10.1.3 (Build 5Q45)
      > Host: puddle.loria.fr
      >
      > Command: Vim
      > PID: 305
      >
      > Exception: EXC_BAD_ACCESS (0x0001)
      > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
      >
      > Thread 0 Crashed:
      > #0 0x731ec138 in AutoSizeDialog
      > #1 0x0006298c in gui_mch_dialog
      > #2 0x0007e2c4 in do_dialog
      > #3 0x00077608 in findswapname
      > #4 0x000734f8 in ml_open_file
      > #5 0x00073604 in check_need_swap
      > #6 0x0004c3d8 in readfile
      > #7 0x00005628 in open_buffer
      > #8 0x0002c56c in do_ecmd
      > #9 0x0003f9d0 in do_exedit
      > #10 0x00039de0 in do_one_cmd
      > #11 0x00037eb4 in do_cmdline
      > #12 0x0009a444 in nv_colon
      > #13 0x00094ab4 in normal_cmd
      > #14 0x00069dac in main_loop
      > #15 0x00069a90 in main
      > #16 0x000026ac in _start
      > #17 0x000024dc in start
      >
      > PPC Thread State:
      > srr0: 0x731ec138 srr1: 0x0000f030 vrsave: 0x00000000
      > xer: 0x00000020 lr: 0x731ec138 ctr: 0x702418b0 mq: 0x00000000
      > r0: 0x731ec138 r1: 0xbfffec10 r2: 0xbfffe378 r3: 0x015e5870
      > r4: 0x00000000 r5: 0x000000b3 r6: 0x00000001 r7: 0xbfffeeb8
      > r8: 0x00000000 r9: 0x80240e10 r10: 0xa1b1c1d3 r11: 0x834e142c
      > r12: 0x702418b0 r13: 0xbfffeefa r14: 0x00000001 r15: 0xbfffeed8
      > r16: 0x00000001 r17: 0x00000000 r18: 0x00000098 r19: 0x00000230
      > r20: 0x00000000 r21: 0xbfffef00 r22: 0xbfffeef8 r23: 0xbfffedb8
      > r24: 0xbfffedb8 r25: 0xbfffeeb8 r26: 0x00000005 r27: 0x00000006
      > r28: 0x00000001 r29: 0x00000000 r30: 0x00000000 r31: 0x0006247c
      >
      > **********
      >
      > Date/Time: 2002-04-03 18:41:24 +0200
      > OS Version: 10.1.3 (Build 5Q45)
      > Host: puddle.loria.fr
      >
      > Command: Vim
      > PID: 314
      >
      > Exception: EXC_BAD_ACCESS (0x0001)
      > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
      >
      > Thread 0 Crashed:
      > #0 0x731ec138 in AutoSizeDialog
      > #1 0x0006298c in gui_mch_dialog
      > #2 0x0007e2c4 in do_dialog
      > #3 0x00077608 in findswapname
      > #4 0x000734f8 in ml_open_file
      > #5 0x00073604 in check_need_swap
      > #6 0x0004c3d8 in readfile
      > #7 0x00005628 in open_buffer
      > #8 0x0002c56c in do_ecmd
      > #9 0x0003f9d0 in do_exedit
      > #10 0x00039de0 in do_one_cmd
      > #11 0x00037eb4 in do_cmdline
      > #12 0x0009a444 in nv_colon
      > #13 0x00094ab4 in normal_cmd
      > #14 0x00069dac in main_loop
      > #15 0x00069a90 in main
      > #16 0x000026ac in _start
      > #17 0x000024dc in start
      >
      > PPC Thread State:
      > srr0: 0x731ec138 srr1: 0x0000f030 vrsave: 0x00000000
      > xer: 0x00000020 lr: 0x731ec138 ctr: 0x702418b0 mq: 0x00000000
      > r0: 0x731ec138 r1: 0xbfffec10 r2: 0xbfffe378 r3: 0x015e59e0
      > r4: 0x00000000 r5: 0x000000b3 r6: 0x00000001 r7: 0xbfffeeb8
      > r8: 0x00000002 r9: 0x80240e10 r10: 0xa1b1c1d3 r11: 0x834e142c
      > r12: 0x702418b0 r13: 0xbfffeefa r14: 0x00000001 r15: 0xbfffeed8
      > r16: 0x00000001 r17: 0x00000000 r18: 0x00000098 r19: 0x00000230
      > r20: 0x00000000 r21: 0xbfffef00 r22: 0xbfffeef8 r23: 0xbfffedb8
      > r24: 0xbfffedb8 r25: 0xbfffeeb8 r26: 0x00000005 r27: 0x00000006
      > r28: 0x00000001 r29: 0x00000000 r30: 0x00000000 r31: 0x0006247c
      >
      > **********
      >
      > Date/Time: 2002-04-03 18:43:13 +0200
      > OS Version: 10.1.3 (Build 5Q45)
      > Host: puddle.loria.fr
      >
      > Command: Vim
      > PID: 326
      >
      > Exception: EXC_BAD_ACCESS (0x0001)
      > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
      >
      > Thread 0 Crashed:
      > #0 0x731ec138 in AutoSizeDialog
      > #1 0x0006298c in gui_mch_dialog
      > #2 0x0007e2c4 in do_dialog
      > #3 0x00051a74 in buf_check_timestamp
      > #4 0x00051720 in check_timestamps
      > #5 0x000ea75c in ui_focus_change
      > #6 0x0006789c in gui_focus_change
      > #7 0x0005fb6c in gui_mac_doSuspendEvent
      > #8 0x000602a8 in gui_mac_handle_event
      > #9 0x000614a8 in gui_mch_wait_for_chars
      > #10 0x00065d84 in gui_wait_for_chars
      > #11 0x000e7744 in ui_inchar
      > #12 0x0005bef0 in inchar
      > #13 0x0005ba48 in vgetorpeek
      > #14 0x0005a504 in vgetc
      > #15 0x0005a824 in safe_vgetc
      > #16 0x00093dd0 in normal_cmd
      > #17 0x00069dac in main_loop
      > #18 0x00069a90 in main
      > #19 0x000026ac in _start
      > #20 0x000024dc in start
      >
      > Thread 1:
      > #0 0x70000978 in mach_msg_overwrite_trap
      > #1 0x70005a04 in mach_msg
      > #2 0x7017bf98 in __CFRunLoopRun
      > #3 0x701b7100 in CFRunLoopRunSpecific
      > #4 0x7017b8e0 in CFRunLoopRunInMode
      > #5 0x7061be08 in XIOAudioDeviceManager::NotificationThread(XIOAudioDeviceManager *)
      > #6 0x706141c0 in CAPThread::Entry(CAPThread *)
      > #7 0x7002054c in _pthread_body
      >
      > PPC Thread State:
      > srr0: 0x731ec138 srr1: 0x0200f030 vrsave: 0x00000000
      > xer: 0x00000020 lr: 0x731ec138 ctr: 0x70000a30 mq: 0x00000000
      > r0: 0x731ec138 r1: 0xbffff1b0 r2: 0x016626bb r3: 0x015e5870
      > r4: 0x00000000 r5: 0x00000027 r6: 0x00000001 r7: 0xbffff458
      > r8: 0x00000002 r9: 0x802418c4 r10: 0xa1b1c1d3 r11: 0x80003780
      > r12: 0x70000a30 r13: 0xbffff49a r14: 0x00000000 r15: 0xbffff478
      > r16: 0x00000001 r17: 0x00000000 r18: 0x00000070 r19: 0x000000a8
      > r20: 0x00000000 r21: 0xbffff4a0 r22: 0xbffff498 r23: 0xbffff358
      > r24: 0xbffff358 r25: 0xbffff458 r26: 0x00000002 r27: 0x00000003
      > r28: 0x00000001 r29: 0x00000000 r30: 0x00000000 r31: 0x0006247c
      >
      > **********
      >
      > Date/Time: 2002-04-04 11:24:09 +0200
      > OS Version: 10.1.3 (Build 5Q45)
      > Host: puddle.loria.fr
      >
      > Command: Vim
      > PID: 782
      >
      > Exception: EXC_BAD_ACCESS (0x0001)
      > Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
      >
      > Thread 0 Crashed:
      > #0 0x731ec138 in AutoSizeDialog
      > #1 0x0006298c in gui_mch_dialog
      > #2 0x0007e2c4 in do_dialog
      > #3 0x00077608 in findswapname
      > #4 0x000734f8 in ml_open_file
      > #5 0x00073604 in check_need_swap
      > #6 0x0004c3d8 in readfile
      > #7 0x00005628 in open_buffer
      > #8 0x0002c56c in do_ecmd
      > #9 0x0003f9d0 in do_exedit
      > #10 0x00039de0 in do_one_cmd
      > #11 0x00037eb4 in do_cmdline
      > #12 0x0009a444 in nv_colon
      > #13 0x00094ab4 in normal_cmd
      > #14 0x00069dac in main_loop
      > #15 0x00069a90 in main
      > #16 0x000026ac in _start
      > #17 0x000024dc in start
      >
      > Thread 1:
      > #0 0x70000978 in mach_msg_overwrite_trap
      > #1 0x70005a04 in mach_msg
      > #2 0x7017bf98 in __CFRunLoopRun
      > #3 0x701b7100 in CFRunLoopRunSpecific
      > #4 0x7017b8e0 in CFRunLoopRunInMode
      > #5 0x7061be08 in XIOAudioDeviceManager::NotificationThread(XIOAudioDeviceManager *)
      > #6 0x706141c0 in CAPThread::Entry(CAPThread *)
      > #7 0x7002054c in _pthread_body
      >
      > PPC Thread State:
      > srr0: 0x731ec138 srr1: 0x0000f030 vrsave: 0x00000000
      > xer: 0x00000020 lr: 0x731ec138 ctr: 0x702418b0 mq: 0x00000000
      > r0: 0x731ec138 r1: 0xbfffec10 r2: 0xbfffe378 r3: 0x002fffd0
      > r4: 0x00000000 r5: 0x000000b3 r6: 0x00000001 r7: 0xbfffeeb8
      > r8: 0x00000000 r9: 0x80240e10 r10: 0xa1b1c1d3 r11: 0x834e142c
      > r12: 0x702418b0 r13: 0xbfffeefa r14: 0x00000001 r15: 0xbfffeed8
      > r16: 0x00000001 r17: 0x00000000 r18: 0x00000098 r19: 0x00000230
      > r20: 0x00000000 r21: 0xbfffef00 r22: 0xbfffeef8 r23: 0xbfffedb8
      > r24: 0xbfffedb8 r25: 0xbfffeeb8 r26: 0x00000005 r27: 0x00000006
      > r28: 0x00000001 r29: 0x00000000 r30: 0x00000000 r31: 0x0006247c
      >
      > **********
    • Eric Y. Kow
      ... Right when i try to load the file... althogh it does seem to have crashed just when i m trying to do :bn , but i m not sure i know what i m saying ...
      Message 2 of 3 , Apr 4, 2002
      • 0 Attachment
        On Thu, Apr 04, 2002 at 09:31:03 -0500, Benji Fisher wrote:
        > At what point does it crash? Does it happen as soon as you start up vim,
        > or does it give you a dialogue box and then crash after you choose one of the
        > options? How did you get into this mess, anyway? There should not be swap
        > files on the system unless vim already crashed.

        Right when i try to load the file... althogh it does seem to have
        crashed just when i'm trying to do ":bn", but i'm not sure i know what
        i'm saying

        > Possible work-around: if there are swap files lying around, try starting
        > vim in a Terminal window instead of in GUI mode.

        Yup.. been doing that. Works (but then again, i'm using fink's
        vim-nox for Terminal)

        I'm also trying out Vim 6.1.5 (but right now, am reluctant to try and
        make it happen... will do sometime later)

        Cheers,

        --eric
      • Eric Y. Kow
        Hah... uhm... i ve got an unstable dual processor machine, for which i had disabled one of my processors. Whilst trying to do a boot-args=v, i had overridden
        Message 3 of 3 , Apr 4, 2002
        • 0 Attachment
          Hah... uhm... i've got an unstable dual processor machine, for which i
          had disabled one of my processors. Whilst trying to do a boot-args=v,
          i had overridden the cpus=1 thing, which made my machine unstable
          again (coincidentally when i was trying to do work with Vim, and not
          be smart like trying to disable the processor again)

          So, i doubt it's vim's fault there. But who knows?

          --eric


          On Thu, Apr 04, 2002 at 17:43:21 +0200, Eric Y. Kow wrote:
          > > options? How did you get into this mess, anyway? There should not be swap
          > > files on the system unless vim already crashed.
        Your message has been successfully submitted and would be delivered to recipients shortly.