hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.21k stars 4.43k forks source link

vagrant not work and no response #13357

Open ouonet opened 7 months ago

ouonet commented 7 months ago

Debug output

vagrant not work and no response. image

Reproduction information

Vagrant version

2.4.1

0:25:35 ansible # brew info hashicorp/tap/hashicorp-vagrant
==> hashicorp-vagrant: 2.4.1
https://www.vagrantup.com/
/usr/local/Caskroom/hashicorp-vagrant/2.4.1 (3 files, 127.5MB)
From: https://github.com/hashicorp/homebrew-tap/blob/HEAD/Casks/hashicorp-vagrant.rb
==> Name
Vagrant
==> Description
Development environment
==> Artifacts
vagrant.pkg (Pkg)

Host operating system

macos sonoma

crash report

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               ruby [41859]
Path:                  /opt/vagrant/*/ruby
Identifier:            ruby
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        Exited process [41858]
Responsible:           iTerm2 [690]
User ID:               501

Date/Time:             2024-03-06 14:21:20.6715 +0800
OS Version:            macOS 14.2.1 (23C71)
Report Version:        12
Bridge OS Version:     8.2 (21P2057)
Anonymous UUID:        7A5091F4-3B55-5531-E88E-194195FA2F75

Sleep/Wake UUID:       F5C65B70-A521-4B83-9E52-D044962CCFC1

Time Awake Since Boot: 310000 seconds
Time Since Wake:       19590 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x0000000108de8040
Exception Codes:       0x0000000000000032, 0x0000000108de8040

Termination Reason:    Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x108de8040 is in 0x108de8000-0x110de8000;  bytes after start: 64  bytes before end: 134217663
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      VM_ALLOCATE                 108d47000-108de8000    [  644K] rw-/rwx SM=ZER  
--->  VM_ALLOCATE                 108de8000-110de8000    [128.0M] r-x/rwx SM=PRV  
      VM_ALLOCATE                 110de8000-118de8000    [128.0M] r-x/rwx SM=PRV  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   ???                                    0x108de8040 ???
1   libruby.3.1.dylib                      0x10579351d invoke_block_from_c_bh + 1853
2   libruby.3.1.dylib                      0x105779feb rb_yield_values2 + 91
3   libruby.3.1.dylib                      0x1055e53fc each_pair_i_fast + 44
4   libruby.3.1.dylib                      0x1055e4891 hash_foreach_iter + 33
5   libruby.3.1.dylib                      0x1056f2abf st_general_foreach + 175
6   libruby.3.1.dylib                      0x1055dbf89 hash_foreach_call + 441
7   libruby.3.1.dylib                      0x1055b411e rb_ensure + 350
8   libruby.3.1.dylib                      0x1055dbda7 rb_hash_foreach + 279
9   libruby.3.1.dylib                      0x1055e096e rb_hash_each_pair + 94
10  libruby.3.1.dylib                      0x10578c3ad vm_call_cfunc_with_frame + 349
11  libruby.3.1.dylib                      0x10578eaf3 vm_sendish + 1347
12  libruby.3.1.dylib                      0x10576b568 vm_exec_core + 12088
13  libruby.3.1.dylib                      0x10578202c rb_vm_exec + 2892
14  libruby.3.1.dylib                      0x105612406 load_iseq_eval + 182
15  libruby.3.1.dylib                      0x105610067 require_internal + 1223
16  libruby.3.1.dylib                      0x10560f473 rb_f_require + 51
17  libruby.3.1.dylib                      0x10578c3ad vm_call_cfunc_with_frame + 349
18  libruby.3.1.dylib                      0x10578eaf3 vm_sendish + 1347
19  libruby.3.1.dylib                      0x10576b5c2 vm_exec_core + 12178
20  libruby.3.1.dylib                      0x10578202c rb_vm_exec + 2892
21  libruby.3.1.dylib                      0x105612406 load_iseq_eval + 182
22  libruby.3.1.dylib                      0x105610067 require_internal + 1223
23  libruby.3.1.dylib                      0x10560f473 rb_f_require + 51
24  libruby.3.1.dylib                      0x10578c3ad vm_call_cfunc_with_frame + 349
25  libruby.3.1.dylib                      0x10578eaf3 vm_sendish + 1347
26  libruby.3.1.dylib                      0x10576b5c2 vm_exec_core + 12178
27  libruby.3.1.dylib                      0x10578202c rb_vm_exec + 2892
28  libruby.3.1.dylib                      0x1056e2443 ruby_opt_init + 131
29  libruby.3.1.dylib                      0x1056e1ee6 load_file_internal + 1254
30  libruby.3.1.dylib                      0x1055b411e rb_ensure + 350
31  libruby.3.1.dylib                      0x1056e03e4 ruby_process_options + 3284
32  libruby.3.1.dylib                      0x1055b26b8 ruby_options + 312
33  ruby                                   0x104692f05 main + 85
34  dyld                                0x7ff8187e5386 start + 1942

Thread 1:
0   libsystem_kernel.dylib              0x7ff818b3784a poll + 10
1   libruby.3.1.dylib                      0x10573827c timer_pthread_fn + 140
2   libsystem_pthread.dylib             0x7ff818b70202 _pthread_start + 99
3   libsystem_pthread.dylib             0x7ff818b6bbab thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000108de8040  rbx: 0x000060000064d080  rcx: 0x00007ff818b33a00  rdx: 0x0000000000000000
  rdi: 0x00007f83beb04ec0  rsi: 0x00007f83b0127dc0  rbp: 0x00007ff7bb86ce00  rsp: 0x00007ff7bb86cc78
   r8: 0x0000000000000004   r9: 0x0000000000000020  r10: 0x00007ff818b33a46  r11: 0x0000000000000246
  r12: 0x0000000000000001  r13: 0x00007f83b00280e1  r14: 0x00007f83beb04ec0  r15: 0x00007f83b0127e00
  rip: 0x0000000108de8040  rfl: 0x0000000000010206  cr2: 0x0000000108de8040

Logical CPU:     4
Error Code:      0x00000015 (invalid protections for user instruction read)
Trap Number:     14

Binary Images:
       0x1047ac000 -        0x1047affff transdb.bundle (*) <014c05ba-054d-3a88-ac68-7f30ec816b22> /opt/vagrant/*/transdb.bundle
       0x1047a0000 -        0x1047a3fff encdb.bundle (*) <8013a678-c3b5-3f40-9c16-12cc55b7c049> /opt/vagrant/*/encdb.bundle
       0x1054fb000 -        0x10587efff libruby.3.1.dylib (*) <eeb9e520-931a-3f0b-9750-ce0dacb0f3d7> /opt/vagrant/*/libruby.3.1.dylib
       0x10468f000 -        0x104692fff ruby (*) <c2139e53-1685-3487-af79-f95a6c28ab48> /opt/vagrant/*/ruby
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
    0x7ff8187df000 -     0x7ff81887b3bf dyld (*) <ab17bf63-259b-3b48-8d70-863166a2191c> /usr/lib/dyld
    0x7ff818b2f000 -     0x7ff818b69ff7 libsystem_kernel.dylib (*) <9927a0a9-dfa8-3ffa-88d8-62055f37a137> /usr/lib/system/libsystem_kernel.dylib
    0x7ff818b6a000 -     0x7ff818b75fff libsystem_pthread.dylib (*) <a9ba8a53-d774-3fe9-8bde-64187bff7ea9> /usr/lib/system/libsystem_pthread.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=310.0M resident=0K(0%) swapped_out_or_unallocated=310.0M(100%)
Writable regions: Total=1.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.0G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           943.2M       24 
MALLOC guard page                   24K        6 
STACK GUARD                       56.0M        2 
Stack                             8712K        2 
VM_ALLOCATE                      308.6M       93 
__DATA                            3275K      144 
__DATA_CONST                      6194K      101 
__DATA_DIRTY                       343K       57 
__LINKEDIT                       182.2M        5 
__OBJC_RO                         71.1M        1 
__OBJC_RW                         2169K        2 
__TEXT                           127.8M      158 
dyld private memory                260K        2 
shared memory                       24K        3 
===========                     =======  ======= 
TOTAL                              1.7G      602 

-----------
Full Report
-----------

{"app_name":"ruby","timestamp":"2024-03-06 14:21:21.00 +0800","app_version":"","slice_uuid":"c2139e53-1685-3487-af79-f95a6c28ab48","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.2.1 (23C71)","roots_installed":0,"incident_id":"D3B24611-818A-424F-8B3F-022514729F64","name":"ruby"}
{
  "uptime" : 310000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro15,1",
  "coalitionID" : 782,
  "osVersion" : {
    "train" : "macOS 14.2.1",
    "build" : "23C71",
    "releaseType" : "User"
  },
  "captureTime" : "2024-03-06 14:21:20.6715 +0800",
  "codeSigningMonitor" : 0,
  "incident" : "D3B24611-818A-424F-8B3F-022514729F64",
  "pid" : 41859,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-03-06 14:21:20.4829 +0800",
  "procStartAbsTime" : 313842433402881,
  "procExitAbsTime" : 313842608963151,
  "procName" : "ruby",
  "procPath" : "\/opt\/vagrant\/*\/ruby",
  "parentProc" : "Exited process",
  "parentPid" : 41858,
  "coalitionName" : "com.googlecode.iterm2",
  "crashReporterKey" : "7A5091F4-3B55-5531-E88E-194195FA2F75",
  "responsiblePid" : 690,
  "responsibleProc" : "iTerm2",
  "codeSigningID" : "ruby",
  "codeSigningTeamID" : "D38WU7D763",
  "codeSigningFlags" : 587272961,
  "codeSigningValidationCategory" : 6,
  "codeSigningTrustLevel" : 4294967295,
  "wakeTime" : 19590,
  "bridgeVersion" : {"build":"21P2057","train":"8.2"},
  "sleepWakeUUID" : "F5C65B70-A521-4B83-9E52-D044962CCFC1",
  "sip" : "enabled",
  "vmRegionInfo" : "0x108de8040 is in 0x108de8000-0x110de8000;  bytes after start: 64  bytes before end: 134217663\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      VM_ALLOCATE                 108d47000-108de8000    [  644K] rw-\/rwx SM=ZER  \n--->  VM_ALLOCATE                 108de8000-110de8000    [128.0M] r-x\/rwx SM=PRV  \n      VM_ALLOCATE                 110de8000-118de8000    [128.0M] r-x\/rwx SM=PRV  ",
  "exception" : {"codes":"0x0000000000000032, 0x0000000108de8040","rawCodes":[50,4443766848],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x0000000108de8040"},
  "termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
  "vmregioninfo" : "0x108de8040 is in 0x108de8000-0x110de8000;  bytes after start: 64  bytes before end: 134217663\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      VM_ALLOCATE                 108d47000-108de8000    [  644K] rw-\/rwx SM=ZER  \n--->  VM_ALLOCATE                 108de8000-110de8000    [128.0M] r-x\/rwx SM=PRV  \n      VM_ALLOCATE                 110de8000-118de8000    [128.0M] r-x\/rwx SM=PRV  ",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":16595818,"threadState":{"r13":{"value":140203570397409},"rax":{"value":4443766848},"rflags":{"value":66054},"cpu":{"value":4},"r14":{"value":140203816668864},"rsi":{"value":140203571445184},"r8":{"value":4},"cr2":{"value":4443766848},"rdx":{"value":0},"r10":{"value":140703543016006,"symbolLocation":10,"symbol":"__mprotect"},"r9":{"value":32},"r15":{"value":140203571445248},"rbx":{"value":105553122873472},"trap":{"value":14,"description":"(invalid protections for user instruction read)"},"err":{"value":21},"r11":{"value":582},"rip":{"value":4443766848,"matchesCrashFrame":1},"rbp":{"value":140701979823616},"rsp":{"value":140701979823224},"r12":{"value":1},"rcx":{"value":140703543015936,"symbolLocation":55,"symbol":"mach_vm_protect"},"flavor":"x86_THREAD_STATE","rdi":{"value":140203816668864}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4443766848,"imageIndex":4},{"imageOffset":2721053,"symbol":"invoke_block_from_c_bh","symbolLocation":1853,"imageIndex":2},{"imageOffset":2617323,"symbol":"rb_yield_values2","symbolLocation":91,"imageIndex":2},{"imageOffset":959484,"symbol":"each_pair_i_fast","symbolLocation":44,"imageIndex":2},{"imageOffset":956561,"symbol":"hash_foreach_iter","symbolLocation":33,"imageIndex":2},{"imageOffset":2063039,"symbol":"st_general_foreach","symbolLocation":175,"imageIndex":2},{"imageOffset":921481,"symbol":"hash_foreach_call","symbolLocation":441,"imageIndex":2},{"imageOffset":758046,"symbol":"rb_ensure","symbolLocation":350,"imageIndex":2},{"imageOffset":920999,"symbol":"rb_hash_foreach","symbolLocation":279,"imageIndex":2},{"imageOffset":940398,"symbol":"rb_hash_each_pair","symbolLocation":94,"imageIndex":2},{"imageOffset":2692013,"symbol":"vm_call_cfunc_with_frame","symbolLocation":349,"imageIndex":2},{"imageOffset":2702067,"symbol":"vm_sendish","symbolLocation":1347,"imageIndex":2},{"imageOffset":2557288,"symbol":"vm_exec_core","symbolLocation":12088,"imageIndex":2},{"imageOffset":2650156,"symbol":"rb_vm_exec","symbolLocation":2892,"imageIndex":2},{"imageOffset":1143814,"symbol":"load_iseq_eval","symbolLocation":182,"imageIndex":2},{"imageOffset":1134695,"symbol":"require_internal","symbolLocation":1223,"imageIndex":2},{"imageOffset":1131635,"symbol":"rb_f_require","symbolLocation":51,"imageIndex":2},{"imageOffset":2692013,"symbol":"vm_call_cfunc_with_frame","symbolLocation":349,"imageIndex":2},{"imageOffset":2702067,"symbol":"vm_sendish","symbolLocation":1347,"imageIndex":2},{"imageOffset":2557378,"symbol":"vm_exec_core","symbolLocation":12178,"imageIndex":2},{"imageOffset":2650156,"symbol":"rb_vm_exec","symbolLocation":2892,"imageIndex":2},{"imageOffset":1143814,"symbol":"load_iseq_eval","symbolLocation":182,"imageIndex":2},{"imageOffset":1134695,"symbol":"require_internal","symbolLocation":1223,"imageIndex":2},{"imageOffset":1131635,"symbol":"rb_f_require","symbolLocation":51,"imageIndex":2},{"imageOffset":2692013,"symbol":"vm_call_cfunc_with_frame","symbolLocation":349,"imageIndex":2},{"imageOffset":2702067,"symbol":"vm_sendish","symbolLocation":1347,"imageIndex":2},{"imageOffset":2557378,"symbol":"vm_exec_core","symbolLocation":12178,"imageIndex":2},{"imageOffset":2650156,"symbol":"rb_vm_exec","symbolLocation":2892,"imageIndex":2},{"imageOffset":1995843,"symbol":"ruby_opt_init","symbolLocation":131,"imageIndex":2},{"imageOffset":1994470,"symbol":"load_file_internal","symbolLocation":1254,"imageIndex":2},{"imageOffset":758046,"symbol":"rb_ensure","symbolLocation":350,"imageIndex":2},{"imageOffset":1987556,"symbol":"ruby_process_options","symbolLocation":3284,"imageIndex":2},{"imageOffset":751288,"symbol":"ruby_options","symbolLocation":312,"imageIndex":2},{"imageOffset":16133,"symbol":"main","symbolLocation":85,"imageIndex":3},{"imageOffset":25478,"symbol":"start","symbolLocation":1942,"imageIndex":5}]},{"id":16595819,"frames":[{"imageOffset":34890,"symbol":"poll","symbolLocation":10,"imageIndex":6},{"imageOffset":2347644,"symbol":"timer_pthread_fn","symbolLocation":140,"imageIndex":2},{"imageOffset":25090,"symbol":"_pthread_start","symbolLocation":99,"imageIndex":7},{"imageOffset":7083,"symbol":"thread_start","symbolLocation":15,"imageIndex":7}],"threadState":{"r13":{"value":4387845600,"symbolLocation":0,"symbol":"consume_communication_pipe.buff"},"rax":{"value":4},"rflags":{"value":515},"cpu":{"value":0},"r14":{"value":0},"rsi":{"value":1},"r8":{"value":123145408659456},"cr2":{"value":0},"rdx":{"value":4294967295},"r10":{"value":6148},"r9":{"value":419432703},"r15":{"value":140704673766272,"symbolLocation":0,"symbol":"_main_thread"},"rbx":{"value":123145408659456},"trap":{"value":133},"err":{"value":33554662},"r11":{"value":514},"rip":{"value":140703543031882},"rbp":{"value":123145408659376},"rsp":{"value":123145408659304},"r12":{"value":4294967295},"rcx":{"value":123145408659304},"flavor":"x86_THREAD_STATE","rdi":{"value":123145408659320}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4370120704,
    "size" : 16384,
    "uuid" : "014c05ba-054d-3a88-ac68-7f30ec816b22",
    "path" : "\/opt\/vagrant\/*\/transdb.bundle",
    "name" : "transdb.bundle"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4370071552,
    "size" : 16384,
    "uuid" : "8013a678-c3b5-3f40-9c16-12cc55b7c049",
    "path" : "\/opt\/vagrant\/*\/encdb.bundle",
    "name" : "encdb.bundle"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4384075776,
    "size" : 3686400,
    "uuid" : "eeb9e520-931a-3f0b-9750-ce0dacb0f3d7",
    "path" : "\/opt\/vagrant\/*\/libruby.3.1.dylib",
    "name" : "libruby.3.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4368953344,
    "size" : 16384,
    "uuid" : "c2139e53-1685-3487-af79-f95a6c28ab48",
    "path" : "\/opt\/vagrant\/*\/ruby",
    "name" : "ruby"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703539523584,
    "size" : 639936,
    "uuid" : "ab17bf63-259b-3b48-8d70-863166a2191c",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703542996992,
    "size" : 241656,
    "uuid" : "9927a0a9-dfa8-3ffa-88d8-62055f37a137",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703543238656,
    "size" : 49152,
    "uuid" : "a9ba8a53-d774-3fe9-8bde-64187bff7ea9",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  }
],
  "sharedCache" : {
  "base" : 140703538827264,
  "size" : 25769803776,
  "uuid" : "2a323ece-7dbf-33e2-9ef3-3390c59ddc35"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=310.0M resident=0K(0%) swapped_out_or_unallocated=310.0M(100%)\nWritable regions: Total=1.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.0G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                    8K        1 \nMALLOC                           943.2M       24 \nMALLOC guard page                   24K        6 \nSTACK GUARD                       56.0M        2 \nStack                             8712K        2 \nVM_ALLOCATE                      308.6M       93 \n__DATA                            3275K      144 \n__DATA_CONST                      6194K      101 \n__DATA_DIRTY                       343K       57 \n__LINKEDIT                       182.2M        5 \n__OBJC_RO                         71.1M        1 \n__OBJC_RW                         2169K        2 \n__TEXT                           127.8M      158 \ndyld private memory                260K        2 \nshared memory                       24K        3 \n===========                     =======  ======= \nTOTAL                              1.7G      602 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "ae355aa4f3aadab2619a00115aa4f8654f44a71e",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112d17137f5d11121dcd4e2",
      "factorPackIds" : {

      },
      "deploymentId" : 240000508
    },
    {
      "rolloutId" : "654439cdafbf5b61207873a9",
      "factorPackIds" : {

      },
      "deploymentId" : 240000004
    }
  ],
  "experiments" : [

  ]
}
}