Giter Site home page Giter Site logo

Segmentation fault about debase HOT 23 CLOSED

ruby-debug avatar ruby-debug commented on August 10, 2024
Segmentation fault

from debase.

Comments (23)

ViugiNick avatar ViugiNick commented on August 10, 2024 3

@skarger @weedySeaDragon @sedubois We are working on fixing the problem with bootsnap, hopefully, it will be fixed in one of the upcoming releases

from debase.

skarger avatar skarger commented on August 10, 2024 1

@ViugiNick I confirmed that bootsnap is the reason it does not pause in my project.

If I comment the require 'bootsnap/setup' line in config/boot.rb then Debug will successfully pause execution.

Alternatively, I can configure bootsnap like so:

config/boot.rb

require 'bundler/setup' # Set up gems listed in the Gemfile.

# require 'bootsnap/setup' <- do not use the default from Rails
require 'bootsnap'

env = ENV['RAILS_ENV'] || ENV['RACK_ENV'] || ENV['ENV']
development_mode = ['', nil, 'development'].include?(env)
# The part that makes debugging work is compile_cache_iseq: false
Bootsnap.setup(
  cache_dir:            File.join('tmp', 'cache'),
  development_mode:     development_mode,
  load_path_cache:      true,
  autoload_paths_cache: true,
  disable_trace:        false,
  compile_cache_iseq:   false,
  compile_cache_yaml:   true,
)

Also with that change, I no longer need the if iseq guard clause in debase to prevent the seg fault. Evidently with bootsnap disabled, iseq is not nil.

It would be nice if there's a way for debase or ruby-debug-ide to work around bootsnap itself. I'd prefer not commit the config/boot.rb changes above to my project's repository. I'd rather use the default bootsnap/setup script if possible, and only disable the iseq caching in a situation like this where it breaks the debugger.

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024 1

@skarger @weedySeaDragon @sedubois @amatrian Could you please check it in RubyMine 2019.2.1 RC

from debase.

skarger avatar skarger commented on August 10, 2024

I am seeing the same problem. For me it started on July 25 after I upgraded IntelliJ to Build #IU-192.5728.98, built on July 23, 2019. Before that I can confirm that the IDE debug feature was working fine. Now it produces a similar seg fault error as what @sedubois reported above.

With the IntelliJ upgrade, the Rubymine debugger installs debase version 0.3.0.beta3, as well as ruby-debug-ide-0.8.0.beta3.

~/Library/Logs/DiagnosticReports/ruby_2019-07-26-152906_skarger-GTFL.crash:

Process:               ruby [22399]
Path:                  /Users/USER/*/ruby
Identifier:            ruby
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        idea [7201]
Responsible:           ruby [22399]
User ID:               502

Date/Time:             2019-07-26 15:29:03.389 -0400
OS Version:            Mac OS X 10.13.6 (17G7024)
Report Version:        12
Bridge OS Version:     3.0 (14Y901)
Anonymous UUID:        A163E416-D67F-8184-D8C6-045CD6D1D047

Sleep/Wake UUID:       424FD4ED-9711-46A1-91DD-8C288CED4179

Time Awake Since Boot: 320000 seconds
Time Since Wake:       19000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000028
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x28:
--> 
    __TEXT                 000000010718c000-0000000107468000 [ 2928K] r-x/rwx SM=COW  �� [/Users/skarger/.rbenv/versions/2.6.3/bin/ruby]

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff5e526b66 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff5e6f1080 pthread_kill + 333
2   libsystem_c.dylib             	0x00007fff5e4821ae abort + 127
3   ruby                          	0x0000000107211829 die + 9
4   ruby                          	0x0000000107211a64 rb_bug_context + 564
5   ruby                          	0x0000000107329421 sigsegv + 81
6   libsystem_platform.dylib      	0x00007fff5e6e4f5a _sigtramp + 26
7   ???                           	000000000000000000 0 + 0
8   ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
9   ruby                          	0x000000010739e42f vm_exec_core + 13503
10  ruby                          	0x00000001073b263e rb_vm_exec + 2670
11  ruby                          	0x00000001073a9eb1 rb_check_funcall_default + 945
12  ruby                          	0x000000010726681f rb_iseq_load_iseq + 95
13  ruby                          	0x000000010726f7b6 rb_load_internal0 + 246
14  ruby                          	0x000000010727032c rb_require_internal + 796
15  ruby                          	0x000000010726f998 rb_f_require + 24
16  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
17  ruby                          	0x000000010739e42f vm_exec_core + 13503
18  ruby                          	0x00000001073b263e rb_vm_exec + 2670
19  ruby                          	0x000000010726f852 rb_load_internal0 + 402
20  ruby                          	0x000000010727032c rb_require_internal + 796
21  ruby                          	0x000000010726f998 rb_f_require + 24
22  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
23  ruby                          	0x000000010739e42f vm_exec_core + 13503
24  ruby                          	0x00000001073b263e rb_vm_exec + 2670
25  ruby                          	0x000000010726f852 rb_load_internal0 + 402
26  ruby                          	0x000000010727032c rb_require_internal + 796
27  ruby                          	0x000000010726fa89 rb_f_require_relative + 57
28  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
29  ruby                          	0x000000010739e42f vm_exec_core + 13503
30  ruby                          	0x00000001073b263e rb_vm_exec + 2670
31  ruby                          	0x000000010726f852 rb_load_internal0 + 402
32  ruby                          	0x000000010727032c rb_require_internal + 796
33  ruby                          	0x000000010726fa89 rb_f_require_relative + 57
34  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
35  ruby                          	0x000000010739e42f vm_exec_core + 13503
36  ruby                          	0x00000001073b263e rb_vm_exec + 2670
37  ruby                          	0x000000010726f852 rb_load_internal0 + 402
38  ruby                          	0x000000010727032c rb_require_internal + 796
39  ruby                          	0x000000010726f998 rb_f_require + 24
40  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
41  ruby                          	0x000000010739e42f vm_exec_core + 13503
42  ruby                          	0x00000001073b263e rb_vm_exec + 2670
43  ruby                          	0x000000010726f852 rb_load_internal0 + 402
44  ruby                          	0x000000010727032c rb_require_internal + 796
45  ruby                          	0x000000010726f998 rb_f_require + 24
46  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
47  ruby                          	0x00000001073b8a76 vm_call_opt_send + 646
48  ruby                          	0x000000010739e42f vm_exec_core + 13503
49  ruby                          	0x00000001073b263e rb_vm_exec + 2670
50  ruby                          	0x00000001073ab87e rb_yield + 158
51  ruby                          	0x00000001071901c9 rb_ary_each + 57
52  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
53  ruby                          	0x000000010739e17f vm_exec_core + 12815
54  ruby                          	0x00000001073b263e rb_vm_exec + 2670
55  ruby                          	0x00000001073ab87e rb_yield + 158
56  ruby                          	0x00000001071901c9 rb_ary_each + 57
57  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
58  ruby                          	0x000000010739e17f vm_exec_core + 12815
59  ruby                          	0x00000001073b263e rb_vm_exec + 2670
60  ruby                          	0x000000010726f852 rb_load_internal0 + 402
61  ruby                          	0x00000001072709f5 rb_f_load + 181
62  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
63  ruby                          	0x000000010739e42f vm_exec_core + 13503
64  ruby                          	0x00000001073b263e rb_vm_exec + 2670
65  ruby                          	0x000000010726f852 rb_load_internal0 + 402
66  ruby                          	0x000000010726f685 rb_load_protect + 261
67  debase_internals.bundle       	0x00000001079ce6ed zf9f48b911c + 237
68  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
69  ruby                          	0x000000010739e42f vm_exec_core + 13503
70  ruby                          	0x00000001073b263e rb_vm_exec + 2670
71  ruby                          	0x000000010721ca68 ruby_exec_internal + 232
72  ruby                          	0x000000010721c8d9 ruby_run_node + 73
73  ruby                          	0x000000010718cc6d main + 93
74  libdyld.dylib                 	0x00007fff5e3d6015 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff5e52809a poll + 10
1   ruby                          	0x000000010736fd70 timer_pthread_fn + 112
2   libsystem_pthread.dylib       	0x00007fff5e6ee661 _pthread_body + 340
3   libsystem_pthread.dylib       	0x00007fff5e6ee50d _pthread_start + 377
4   libsystem_pthread.dylib       	0x00007fff5e6edbf9 thread_start + 13

Thread 2:: ruby-debug-ide*
0   libsystem_kernel.dylib        	0x00007fff5e526cf2 __select + 10
1   ruby                          	0x00000001073699dd do_select + 845
2   ruby                          	0x000000010721d5b9 rb_ensure + 249
3   ruby                          	0x0000000107369411 rb_thread_fd_select + 1297
4   ruby                          	0x000000010725eeb6 select_call + 1430
5   ruby                          	0x000000010721d5b9 rb_ensure + 249
6   ruby                          	0x0000000107251f02 rb_f_select + 210
7   ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
8   ruby                          	0x000000010739e42f vm_exec_core + 13503
9   ruby                          	0x00000001073b263e rb_vm_exec + 2670
10  ruby                          	0x00000001073c0f53 loop_i + 35
11  ruby                          	0x000000010721d165 rb_rescue2 + 341
12  ruby                          	0x00000001073b7bc1 vm_call_cfunc + 353
13  ruby                          	0x000000010739e17f vm_exec_core + 12815
14  ruby                          	0x00000001073b263e rb_vm_exec + 2670
15  ruby                          	0x000000010736f7bc thread_do_start + 796
16  ruby                          	0x000000010736f166 thread_start_func_2 + 502
17  ruby                          	0x000000010736eda7 thread_start_func_1 + 279
18  libsystem_pthread.dylib       	0x00007fff5e6ee661 _pthread_body + 340
19  libsystem_pthread.dylib       	0x00007fff5e6ee50d _pthread_start + 377
20  libsystem_pthread.dylib       	0x00007fff5e6edbf9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff96e24380  rcx: 0x00007f8e48009fe8  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007f8e4800a020  rsp: 0x00007f8e48009fe8
   r8: 0x00007fff96e03048   r9: 0x0000000000000040  r10: 0x0000000000000000  r11: 0x0000000000000206
  r12: 0x0000000000000307  r13: 0x0000000000000063  r14: 0x0000000000000006  r15: 0x000000000000002d
  rip: 0x00007fff5e526b66  rfl: 0x0000000000000206  cr2: 0x00007fff96e01168
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x10718c000 -        0x107467fff +ruby (0) <3942106B-F49B-3EE8-9643-894ED842DA5F> /Users/USER/*/ruby
       0x1074cb000 -        0x10752afc7 +libgmp.10.dylib (0) <8FB71FC7-D55D-3C1C-91F9-6DAB14049DDA> /usr/local/opt/gmp/lib/libgmp.10.dylib
       0x10765e000 -        0x10765fffb +encdb.bundle (0) <0C635F7F-C92E-3757-944C-466CC750C8E2> /Users/USER/*/encdb.bundle
       0x107662000 -        0x107663fff +transdb.bundle (0) <5E4C0222-2C7F-368D-836C-EC87F8B425D7> /Users/USER/*/transdb.bundle
       0x10769f000 -        0x1076a4ff3 +stringio.bundle (0) <AFE5D66E-E0C0-3FCA-A260-286175BC7C1B> /Users/USER/*/stringio.bundle
       0x1076aa000 -        0x1076affff +pathname.bundle (0) <081BA4EF-718C-30A9-BBB9-6B98728F5E17> /Users/USER/*/pathname.bundle
       0x1076b3000 -        0x1076b6fff +etc.bundle (0) <7D5B90C5-7A29-34E8-8D53-59F23FC385EB> /Users/USER/*/etc.bundle
       0x107793000 -        0x107794ffb +digest.bundle (0) <D753FF02-A58A-3B6F-8FB8-66B4E04BE28F> /Users/USER/*/digest.bundle
       0x107798000 -        0x107798fff +sha1.bundle (0) <6A96A409-ABCA-3368-94D7-4431AF739568> /Users/USER/*/sha1.bundle
       0x10779b000 -        0x1077dbff7 +libssl.1.0.0.dylib (0) <B4719A46-019C-3F07-9E5E-D62D3768CD14> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
       0x1077fa000 -        0x10794deaf +libcrypto.1.0.0.dylib (0) <A80F77EF-A996-3CA6-98CB-287A9C76C124> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
       0x1079c6000 -        0x1079c6ffb +wait.bundle (0) <32830497-779B-3508-821E-50ACC972520E> /Users/USER/*/wait.bundle
       0x1079c9000 -        0x1079d2fff +debase_internals.bundle (0) <2E6FCBF4-824D-3E7C-BB4E-712BD11ED21D> /Users/USER/*/debase_internals.bundle
       0x1079d8000 -        0x1079d9fff +escape.bundle (0) <F60EFAF0-C07A-3C5D-872F-E935B6F93EFD> /Users/USER/*/escape.bundle
       0x1079dc000 -        0x1079dffff +strscan.bundle (0) <8EDBB682-5597-390A-8D5C-24CE8FF66EB8> /Users/USER/*/strscan.bundle
       0x1079e3000 -        0x107a2dacf  dyld (551.5) <30B355CB-35BA-3112-AA76-4E46CD45F699> /usr/lib/dyld
       0x107a81000 -        0x107a81ffb +utf_16be.bundle (0) <D1D653FA-9750-3811-B955-E7A8142AB9E4> /Users/USER/*/utf_16be.bundle
       0x107a84000 -        0x107a84fff +utf_16le.bundle (0) <E7595C4C-EE11-3AB1-A058-F39C1D60F5D3> /Users/USER/*/utf_16le.bundle
       0x109ac1000 -        0x109ae1fff +socket.bundle (0) <C9DD2F77-93B3-3746-8D5F-B1CF6250EB43> /Users/USER/*/socket.bundle
       0x109cab000 -        0x109cafff3 +parser.bundle (0) <97E0449E-2466-338F-8073-3D922F06EE27> /Users/USER/*/parser.bundle
       0x109cb3000 -        0x109cb3fff +utf_32be.bundle (0) <0A170E62-2939-3E00-B437-A58C409FBC77> /Users/USER/*/utf_32be.bundle
       0x109cb6000 -        0x109cb6fff +utf_32le.bundle (0) <90114E17-ABD0-3706-9CC1-F9B7A270FA8C> /Users/USER/*/utf_32le.bundle
       0x109cb9000 -        0x109cbffff +generator.bundle (0) <80D1B5EB-B887-3EEE-B530-B10B9D75E925> /Users/USER/*/generator.bundle
       0x109cc4000 -        0x109d08ff3 +date_core.bundle (0) <30E31AE9-AA27-3E5D-840B-2FC7508F70BD> /Users/USER/*/date_core.bundle
       0x109d79000 -        0x109d7aff3 +coverage.bundle (0) <3D3D012A-4859-3110-9DB0-2A29D6620EB1> /Users/USER/*/coverage.bundle
       0x109d7d000 -        0x109d89ffb +msgpack.bundle (0) <066C7EC2-BAB9-3BAF-A7DA-3E51F234D0AC> /Users/USER/*/msgpack.bundle
       0x10a4b3000 -        0x10a4b4ff3 +bootsnap.bundle (0) <C2D838DC-3FBF-3FE8-9BA3-4778D5E1F462> /Users/USER/*/bootsnap.bundle
       0x10a4b7000 -        0x10a4c2fff +zlib.bundle (0) <82C7949B-6057-357B-AAF0-A487C07083F5> /Users/USER/*/zlib.bundle
    0x7fff329a0000 -     0x7fff329a0fff  com.apple.Accelerate (1.11 - Accelerate 1.11) <8632A9C5-19EA-3FD7-A44D-80765CC9C540> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff329b8000 -     0x7fff32eb6fc3  com.apple.vImage (8.1 - ???) <A243A7EF-0C8E-3A9A-AA38-44AFD7507F00> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff32eb7000 -     0x7fff33011fe3  libBLAS.dylib (1211.50.2) <62C659EB-3E32-3B5F-83BF-79F5DF30D5CE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff33012000 -     0x7fff33040fef  libBNNS.dylib (38.1) <7BAEFDCA-3227-3E07-80D8-59B6370B89C6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
    0x7fff33041000 -     0x7fff33400ff7  libLAPACK.dylib (1211.50.2) <40ADBA5F-8B2D-30AC-A7AD-7B17C37EE52D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff33401000 -     0x7fff33416ff7  libLinearAlgebra.dylib (1211.50.2) <E8E0B7FD-A0B7-31E5-AF01-81781F71EBBE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fff33417000 -     0x7fff3341cff3  libQuadrature.dylib (3) <3D6BF66A-55B2-3692-BAC7-DEB0C676ED29> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
    0x7fff3341d000 -     0x7fff3349dfff  libSparse.dylib (79.50.2) <0DC25CDD-F8C1-3D6E-B472-8B060708424F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib
    0x7fff3349e000 -     0x7fff334b1fff  libSparseBLAS.dylib (1211.50.2) <722573CC-31CC-34B2-9032-E4F652A9CCFE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fff334b2000 -     0x7fff3365ffc3  libvDSP.dylib (622.50.5) <40690941-CF89-3F90-A0AC-A4D200744A5D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff33660000 -     0x7fff33711fff  libvMisc.dylib (622.50.5) <BA2532DF-2D68-3DD0-9B59-D434BF702AA4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff33712000 -     0x7fff33712fff  com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <54FF3B43-E66C-3F36-B34B-A2B3B0A36502> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff348b6000 -     0x7fff348b6fff  com.apple.ApplicationServices (48 - 50) <63B0C61F-CFE8-3884-853F-E6FB6CD84A44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fff348b7000 -     0x7fff3491dfff  com.apple.ApplicationServices.ATS (377 - 445.5) <703CE7E4-426A-35C0-A229-F140F30F5340> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fff349b6000 -     0x7fff34ad8fff  libFontParser.dylib (222.1.7) <9C4CEFB4-0F08-3B60-BD50-0120A37F6EA2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fff34ad9000 -     0x7fff34b23ff7  libFontRegistry.dylib (221.5) <8F68EA59-C8EE-3FA3-BD19-0F1A58441440> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fff34c65000 -     0x7fff34c69ff3  com.apple.ColorSyncLegacy (4.13.0 - 1) <A5FB2694-1559-34A8-A3D3-2029F68A63CA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy
    0x7fff34d09000 -     0x7fff34d5bffb  com.apple.HIServices (1.22 - 625) <78A1FB4F-A39C-3159-B285-600C997335FB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fff34d5c000 -     0x7fff34d6afff  com.apple.LangAnalysis (1.7.0 - 1.7.0) <B65FF7E6-E9B5-34D8-8CA7-63D415A8A9A6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fff34d6b000 -     0x7fff34db7fff  com.apple.print.framework.PrintCore (13.4 - 503.2) <B90C67C1-0292-3CEC-885D-F1882CD104BE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fff34db8000 -     0x7fff34df2fff  com.apple.QD (3.12 - 404.2) <38B20AFF-9D54-3B52-A6DC-C0D71380AA5F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fff34df3000 -     0x7fff34dfffff  com.apple.speech.synthesis.framework (7.8.1 - 7.8.1) <A08DE016-C8F2-3B0E-BD34-15959D13DBF0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fff34e00000 -     0x7fff3508eff7  com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <287960E1-605E-3789-9237-FDC3F3EC4000> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fff353b3000 -     0x7fff3574eff7  com.apple.CFNetwork (902.3.1 - 902.3.1) <4C012538-BB8A-32F3-AACA-011092BEFAB1> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fff35c83000 -     0x7fff35d3cfff  com.apple.ColorSync (4.13.0 - 3325) <D283C285-447D-3258-A7E4-59532123B8FF> /System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fff35ec9000 -     0x7fff35f5cff7  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <A862985C-536F-3E01-83CA-E510B2204DA6> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fff35fed000 -     0x7fff36343fef  com.apple.CoreData (120 - 851) <A2B59780-FB16-36A3-8EE0-E0EF072454E0> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fff36344000 -     0x7fff36427fff  com.apple.CoreDisplay (99.14 - 99.14) <A1B91ADD-828D-33A0-8A92-CC3F83DF89D0> /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
    0x7fff36428000 -     0x7fff368caff7  com.apple.CoreFoundation (6.9 - 1454.96) <B293A9C8-DFD3-3BF6-8E8A-E656D272C3FD> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff368cc000 -     0x7fff36edcfef  com.apple.CoreGraphics (2.0 - 1161.21.2) <E99B4B01-3D34-3797-A50D-061123E61323> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fff36ede000 -     0x7fff371cdfff  com.apple.CoreImage (13.0.0 - 579.5) <E40914F8-1937-3D52-903D-2916003CA6E8> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fff375a2000 -     0x7fff375a2fff  com.apple.CoreServices (822.37 - 822.37) <58ADA4D7-2FC0-32AC-BB75-DD8834454ACC> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fff375a3000 -     0x7fff37617ffb  com.apple.AE (735.2 - 735.2) <690A6F47-1306-371F-B257-783D8F83EA9E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fff37618000 -     0x7fff378effff  com.apple.CoreServices.CarbonCore (1178.4.1 - 1178.4.1) <009E1ABC-A66B-3355-9E6C-0D4E9B7BEA4C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fff378f0000 -     0x7fff37924fff  com.apple.DictionaryServices (1.2 - 284.2) <6505B075-41C3-3C62-A4C3-85CE3F6825CD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fff37925000 -     0x7fff3792dffb  com.apple.CoreServices.FSEvents (1239.50.1 - 1239.50.1) <3637CEC7-DF0E-320E-9634-44A442925C65> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fff3792e000 -     0x7fff37aecff7  com.apple.LaunchServices (822.37 - 822.37) <5FD5F15D-0D10-302E-AF17-AD2A3B9B5926> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff37aed000 -     0x7fff37b9dfff  com.apple.Metadata (10.7.0 - 1191.7) <3DD530A7-E104-3469-98BB-20449834B2FE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fff37b9e000 -     0x7fff37bfefff  com.apple.CoreServices.OSServices (822.37 - 822.37) <789FD38A-B612-3A66-8EE8-27A344FAD7A7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fff37bff000 -     0x7fff37c6dfff  com.apple.SearchKit (1.4.0 - 1.4.0) <3662545A-B1CF-3079-BDCD-C83855CEFEEE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fff37c6e000 -     0x7fff37c92ffb  com.apple.coreservices.SharedFileList (71.21 - 71.21) <1B5228EF-D869-3A50-A373-7F4B0289FADD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fff37f33000 -     0x7fff38083fff  com.apple.CoreText (352.0 - 578.22) <6129F39D-284D-3BBF-8999-7854AB61C01C> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fff38084000 -     0x7fff380befff  com.apple.CoreVideo (1.8 - 0.0) <86CCC036-51BB-3DD1-9601-D93798BCCD0F> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fff383c5000 -     0x7fff383cafff  com.apple.DiskArbitration (2.7 - 2.7) <2F628584-8177-3894-92CE-9CA6089B61C6> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fff3858b000 -     0x7fff38951ff3  com.apple.Foundation (6.9 - 1454.96) <0DD43942-B183-3A39-BCDE-E3CCA0E4DE59> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff389c2000 -     0x7fff389f2ff3  com.apple.GSS (4.0 - 2.0) <62F1A2A7-EBDB-3CAB-8306-4DA9EFA70E81> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fff38c68000 -     0x7fff38d03fff  com.apple.framework.IOKit (2.0.2 - 1445.71.6) <9337E730-48FF-306C-B8A2-5DFCDBECD9F6> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fff38d05000 -     0x7fff38d0cfff  com.apple.IOSurface (211.16 - 211.16) <3A727DBA-324D-3ED5-9665-573D091A9B67> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fff38d63000 -     0x7fff38eddfe7  com.apple.ImageIO.framework (3.3.0 - 1739.3.1) <9E5567EF-14E5-3D8B-985A-E4746043FD26> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fff38ede000 -     0x7fff38ee2ffb  libGIF.dylib (1739.3.1) <18C293BB-E3FD-3125-87A9-3BEBC49060CF> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fff38ee3000 -     0x7fff38fcafe7  libJP2.dylib (1739.3.1) <BE52D0BA-CDCD-36E0-91DC-F7D51C84FD57> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fff38fcb000 -     0x7fff38feeff7  libJPEG.dylib (1739.3.1) <94116E67-CD25-3D46-B1BE-EB6E7BD42177> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fff392ca000 -     0x7fff392f0feb  libPng.dylib (1739.3.1) <F4BB9096-E1B4-376B-A551-44AB6C3C0E03> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fff392f1000 -     0x7fff392f3ffb  libRadiance.dylib (1739.3.1) <7DA8A381-4902-375D-AC3F-53B2A738208C> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fff392f4000 -     0x7fff39342fef  libTIFF.dylib (1739.3.1) <184BD146-22B2-3342-AC90-C328050C6558> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fff3a1fc000 -     0x7fff3a215ff7  com.apple.Kerberos (3.0 - 1) <F86DCCDF-93C1-38B3-82C2-477C12E8EE6D> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fff3abf7000 -     0x7fff3ac78fff  com.apple.Metal (125.30 - 125.30) <659DF560-9B89-3E8A-88AC-4C0BCB4578B4> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7fff3ac95000 -     0x7fff3acb0fff  com.apple.MetalPerformanceShaders.MPSCore (1.0 - 1) <AD754E8F-CA00-3878-9AF3-208C224A230B> /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Versions/A/MPSCore
    0x7fff3acb1000 -     0x7fff3ad20fef  com.apple.MetalPerformanceShaders.MPSImage (1.0 - 1) <338B7779-E608-3D68-8A07-2ACC11299744> /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSImage.framework/Versions/A/MPSImage
    0x7fff3ad21000 -     0x7fff3ad45fff  com.apple.MetalPerformanceShaders.MPSMatrix (1.0 - 1) <9CE072D7-853B-3939-9645-7EB951376B87> /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix
    0x7fff3ad46000 -     0x7fff3ae2dff7  com.apple.MetalPerformanceShaders.MPSNeuralNetwork (1.0 - 1) <0DE891AD-27E5-38FF-AEC8-4A95356C4357> /System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork
    0x7fff3ae2e000 -     0x7fff3ae2eff7  com.apple.MetalPerformanceShaders.MetalPerformanceShaders (1.0 - 1) <2D2D261C-50B0-32F9-BF9A-5C01382BB528> /System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
    0x7fff3be2d000 -     0x7fff3be39ffb  com.apple.NetFS (6.0 - 4.0) <471DD96F-FA2E-3FE9-9746-2519A6780D1A> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fff3ec2b000 -     0x7fff3ec85ff7  com.apple.opencl (2.8.24 - 2.8.24) <1104D870-CE68-3240-81D7-C58D8A24EF0A> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fff3ec86000 -     0x7fff3eca2ffb  com.apple.CFOpenDirectory (10.13 - 207.50.1) <29F55F7B-379F-3053-8FF3-5C6675A3DD4D> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fff3eca3000 -     0x7fff3ecaefff  com.apple.OpenDirectory (10.13 - 207.50.1) <F895547D-4915-353F-9C1E-E95172BA803B> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fff3fe2d000 -     0x7fff3fe2ffff  libCVMSPluginSupport.dylib (16.7.4) <6846D939-478C-3AE3-9DCD-CD4F4CD05409> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fff3fe30000 -     0x7fff3fe35ffb  libCoreFSCache.dylib (162.9) <1BBC6180-FCC0-31EB-8C0A-A1287A9A87C3> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
    0x7fff3fe36000 -     0x7fff3fe3afff  libCoreVMClient.dylib (162.9) <8F26B9F9-75DB-3292-9DE8-D9E023B2690C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fff3fe3b000 -     0x7fff3fe44ff3  libGFXShared.dylib (16.7.4) <6187AD8B-1CD2-3775-84CD-76A0EA8BCDD4> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fff3fe45000 -     0x7fff3fe50fff  libGL.dylib (16.7.4) <2BB333D3-5C61-33DF-8545-06DF2D08B83D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fff3fe51000 -     0x7fff3fe8cfe7  libGLImage.dylib (16.7.4) <4DA003CE-0B74-3FE4-808C-B2FBCE517EB4> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fff3fffb000 -     0x7fff40039ffb  libGLU.dylib (16.7.4) <BCB09CD8-EB0E-38FA-8B5A-9E29532EE364> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fff409b1000 -     0x7fff409c0ff3  com.apple.opengl (16.7.4 - 16.7.4) <7B71A596-B6D8-335A-B7CA-8684D83B9C0E> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fff4180f000 -     0x7fff41a5bff7  com.apple.QuartzCore (1.11 - 584.64.2) <DDA39332-DE09-3737-A332-0002AE05DD39> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fff42292000 -     0x7fff425bdfff  com.apple.security (7.0 - 58286.70.14) <FE163834-A993-3D19-8D7E-9546B4F999B6> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fff425be000 -     0x7fff4264aff7  com.apple.securityfoundation (6.0 - 55185.50.5) <B5F933AE-BF0B-36CB-B2D4-3C07DD952BCE> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fff4267c000 -     0x7fff42680ffb  com.apple.xpc.ServiceManagement (1.0 - 1) <E3146BBE-7F32-3605-AD2B-54C0E70759DC> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fff42a25000 -     0x7fff42a95ff3  com.apple.SystemConfiguration (1.17 - 1.17) <CD4A4C66-7886-3323-A3B9-0C8952500856> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff45992000 -     0x7fff45a25fff  com.apple.APFS (1.0 - 1) <7CC77BF1-881B-357A-9E05-A73C661F830E> /System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS
    0x7fff467ce000 -     0x7fff46816ff3  com.apple.AppleJPEG (1.0 - 1) <8DD410CB-76A1-3F22-9A9F-0491FA0CEB4A> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fff46851000 -     0x7fff46879fff  com.apple.applesauce (1.0 - ???) <CCA8B094-1BCE-3AE3-A0A7-D544C818DE36> /System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce
    0x7fff4709c000 -     0x7fff470a3ff7  com.apple.coreservices.BackgroundTaskManagement (1.0 - 57.1) <51A41CA3-DB1D-3380-993E-99C54AEE518E> /System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement
    0x7fff48ae5000 -     0x7fff48aeeff3  com.apple.CommonAuth (4.0 - 2.0) <FBBD852E-FFFE-396B-A343-2C5DB7A3D819> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fff49602000 -     0x7fff49612ff7  com.apple.CoreEmoji (1.0 - 69.3) <A4357F5C-0C38-3A61-B456-D7321EB2CEE5> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
    0x7fff4a7ba000 -     0x7fff4a7beffb  com.apple.DSExternalDisplay (3.1 - 380) <901B7F6D-376A-3848-99D0-170C4D00F776> /System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay
    0x7fff4b889000 -     0x7fff4bcb7fff  com.apple.vision.FaceCore (3.3.2 - 3.3.2) <B574FE33-4A41-3611-9738-388EBAF03E37> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fff4ef7f000 -     0x7fff4ef84fff  com.apple.GPUWrangler (3.20.0 - 3.20.0) <F73FEE8E-9D02-3AC6-BE94-841175614A3D> /System/Library/PrivateFrameworks/GPUWrangler.framework/Versions/A/GPUWrangler
    0x7fff4fcfa000 -     0x7fff4fd09fff  com.apple.GraphVisualizer (1.0 - 5) <B993B8A2-5700-3DFC-9EB7-4CCEE8F959F1> /System/Library/PrivateFrameworks/GraphVisualizer.framework/Versions/A/GraphVisualizer
    0x7fff4fd8c000 -     0x7fff4fe00fff  com.apple.Heimdal (4.0 - 2.0) <9F4D7008-944E-3A7C-8E58-A9F7D8497C32> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fff50710000 -     0x7fff50717ff7  com.apple.IOAccelerator (378.28 - 378.28) <BE5CBEAA-314E-348B-BE85-7E4B2E4C42FF> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
    0x7fff5071b000 -     0x7fff50732fff  com.apple.IOPresentment (1.0 - 35.1) <53B47F2A-9A9A-33F5-ADCB-FF766292B93A> /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
    0x7fff50dbc000 -     0x7fff50eb1ff7  com.apple.LanguageModeling (1.0 - 159.5.3) <7F0AC200-E3DD-39FB-8A95-00DD70B66A9F> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fff50eb2000 -     0x7fff50ef4fff  com.apple.Lexicon-framework (1.0 - 33.5) <DC94CF9E-1EB4-3C0E-B298-CA1190885276> /System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon
    0x7fff50ef8000 -     0x7fff50effff7  com.apple.LinguisticData (1.0 - 238.3) <49A54649-1021-3DBD-99B8-1B2EDFFA5378> /System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData
    0x7fff51c11000 -     0x7fff51c7aff7  com.apple.gpusw.MetalTools (1.0 - 1) <2C0FE0FB-FAC2-3906-A46D-CF68392EC549> /System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools
    0x7fff51eaf000 -     0x7fff51ed9ffb  com.apple.MultitouchSupport.framework (1614.1 - 1614.1) <A0709B43-FA9E-3617-8E7A-D68CDFAB2167> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fff52140000 -     0x7fff5214bfff  com.apple.NetAuth (6.2 - 6.2) <2CFA1228-61A1-3708-988D-30499A1D6A9F> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fff5818d000 -     0x7fff58429fff  com.apple.SkyLight (1.600.0 - 312.103.11) <3E03D943-2BA4-3658-B014-1675DD191696> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
    0x7fff59d9e000 -     0x7fff59da6ff7  com.apple.TCC (1.0 - 1) <E1EB7272-FE6F-39AB-83CA-B2B5F2A88D9B> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fff5ba4c000 -     0x7fff5ba4effb  com.apple.loginsupport (1.0 - 1) <D1232C1B-80EA-3DF8-9466-013695D0846E> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fff5bbb5000 -     0x7fff5bbe8ff7  libclosured.dylib (551.5) <112BC241-6626-3848-8DD8-B34B5B6F7ABC> /usr/lib/closure/libclosured.dylib
    0x7fff5bca2000 -     0x7fff5bcdbff7  libCRFSuite.dylib (41) <FE5EDB68-2593-3C2E-BBAF-1C52D206F296> /usr/lib/libCRFSuite.dylib
    0x7fff5bcdc000 -     0x7fff5bce7fff  libChineseTokenizer.dylib (28) <53633C9B-A3A8-36F7-A53C-432D802F4BB8> /usr/lib/libChineseTokenizer.dylib
    0x7fff5bd79000 -     0x7fff5bd7aff3  libDiagnosticMessagesClient.dylib (104) <9712E980-76EE-3A89-AEA6-DF4BAF5C0574> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff5bdb1000 -     0x7fff5bf7bff3  libFosl_dynamic.dylib (17.8) <413FDC7A-28B1-3966-9E25-9536E0164B4F> /usr/lib/libFosl_dynamic.dylib
    0x7fff5bfb3000 -     0x7fff5bfb3fff  libOpenScriptingUtil.dylib (174) <610F0242-7CE5-3C86-951B-B646562694AF> /usr/lib/libOpenScriptingUtil.dylib
    0x7fff5c0ef000 -     0x7fff5c0f0ffb  libSystem.B.dylib (1252.50.4) <237634FA-3FEA-3C76-8236-DE684D9894A2> /usr/lib/libSystem.B.dylib
    0x7fff5c183000 -     0x7fff5c183fff  libapple_crypto.dylib (109.50.14) <48BA2E76-BF2F-3522-A54E-D7FB7EAF7A57> /usr/lib/libapple_crypto.dylib
    0x7fff5c184000 -     0x7fff5c19aff7  libapple_nghttp2.dylib (1.24) <01402BC4-4822-3676-9C80-50D83F816424> /usr/lib/libapple_nghttp2.dylib
    0x7fff5c19b000 -     0x7fff5c1c5ff3  libarchive.2.dylib (54) <8FC28DD8-E315-3C3E-95FE-D1D2CBE49888> /usr/lib/libarchive.2.dylib
    0x7fff5c24b000 -     0x7fff5c24bff3  libauto.dylib (187) <A05C7900-F8C7-3E75-8D3F-909B40C19717> /usr/lib/libauto.dylib
    0x7fff5c24c000 -     0x7fff5c304ff3  libboringssl.dylib (109.50.14) <E6813F87-B5E4-3F7F-A725-E6A7F2BD02EC> /usr/lib/libboringssl.dylib
    0x7fff5c305000 -     0x7fff5c315ff3  libbsm.0.dylib (39) <6BC96A72-AFBE-34FD-91B1-748A530D8AE6> /usr/lib/libbsm.0.dylib
    0x7fff5c316000 -     0x7fff5c323ffb  libbz2.1.0.dylib (38) <0A5086BB-4724-3C14-979D-5AD4F26B5B45> /usr/lib/libbz2.1.0.dylib
    0x7fff5c324000 -     0x7fff5c37afff  libc++.1.dylib (400.9) <7D3DACCC-3804-393C-ABC1-1A580FD00CB6> /usr/lib/libc++.1.dylib
    0x7fff5c37b000 -     0x7fff5c39fff7  libc++abi.dylib (400.8.2) <EF5E37D7-11D9-3530-BE45-B986612D13E2> /usr/lib/libc++abi.dylib
    0x7fff5c3a1000 -     0x7fff5c3b1fff  libcmph.dylib (6) <890DEC4C-4334-393C-8B56-7C8560BBED9D> /usr/lib/libcmph.dylib
    0x7fff5c3b2000 -     0x7fff5c3c9fcf  libcompression.dylib (47.60.2) <543F07BF-2F2F-37D5-9866-E84BF659885B> /usr/lib/libcompression.dylib
    0x7fff5c674000 -     0x7fff5c68cff7  libcoretls.dylib (155.50.1) <D350052E-DC4D-3185-ADBA-BA48EDCEE955> /usr/lib/libcoretls.dylib
    0x7fff5c68d000 -     0x7fff5c68eff3  libcoretls_cfhelpers.dylib (155.50.1) <B297F5D8-F2FE-3566-A752-E9D998B9C039> /usr/lib/libcoretls_cfhelpers.dylib
    0x7fff5cb5f000 -     0x7fff5cbb5ff3  libcups.2.dylib (462.2.5) <EA944DD1-0B60-32E9-8FB4-BE642D2E7352> /usr/lib/libcups.2.dylib
    0x7fff5ccf5000 -     0x7fff5ccf5fff  libenergytrace.dylib (16) <A92AB8B8-B986-3CE6-980D-D55090FEF387> /usr/lib/libenergytrace.dylib
    0x7fff5cd2c000 -     0x7fff5cd31ff3  libheimdal-asn1.dylib (520.50.8) <6C10CD33-2920-340F-A98B-E1A465A40D03> /usr/lib/libheimdal-asn1.dylib
    0x7fff5cd5d000 -     0x7fff5ce4eff7  libiconv.2.dylib (51.50.1) <2FEC9707-3FAF-3828-A50D-8605086D060F> /usr/lib/libiconv.2.dylib
    0x7fff5ce4f000 -     0x7fff5d076ffb  libicucore.A.dylib (59181.0.1) <2CE6205F-D375-3BF5-AA0A-3254BC4773D0> /usr/lib/libicucore.A.dylib
    0x7fff5d0c3000 -     0x7fff5d0c4fff  liblangid.dylib (128) <39C39393-0D05-301D-93B2-F224FC4949AA> /usr/lib/liblangid.dylib
    0x7fff5d0c5000 -     0x7fff5d0deffb  liblzma.5.dylib (10) <3D419A50-961F-37D2-8A01-3DC7AB7B8D18> /usr/lib/liblzma.5.dylib
    0x7fff5d0df000 -     0x7fff5d0f5ff7  libmarisa.dylib (9) <D6D2D55D-1D2E-3442-B152-B18803C0ABB4> /usr/lib/libmarisa.dylib
    0x7fff5d1a6000 -     0x7fff5d3ceff7  libmecabra.dylib (779.7.6) <F462F170-E872-3D09-B219-973D5E99C09F> /usr/lib/libmecabra.dylib
    0x7fff5d5a6000 -     0x7fff5d721fff  libnetwork.dylib (1229.70.2) <E185D902-AC7F-3044-87C0-AE2887C59CE7> /usr/lib/libnetwork.dylib
    0x7fff5d7a8000 -     0x7fff5db967e7  libobjc.A.dylib (723) <DD9E5EC5-B507-3249-B700-93433E2D5EDF> /usr/lib/libobjc.A.dylib
    0x7fff5dba9000 -     0x7fff5dbadfff  libpam.2.dylib (22) <7B4D2CE2-1438-387A-9802-5CEEFBF26F86> /usr/lib/libpam.2.dylib
    0x7fff5dbb0000 -     0x7fff5dbe4fff  libpcap.A.dylib (79.20.1) <FA13918B-A247-3181-B256-9B852C7BA316> /usr/lib/libpcap.A.dylib
    0x7fff5dc63000 -     0x7fff5dc7fffb  libresolv.9.dylib (65) <E8F3415B-4472-3202-8901-41FD87981DB2> /usr/lib/libresolv.9.dylib
    0x7fff5dcd0000 -     0x7fff5de63ff7  libsqlite3.dylib (274.8.1) <FCAD6A57-829E-3701-B16E-1833D620E0E8> /usr/lib/libsqlite3.dylib
    0x7fff5e037000 -     0x7fff5e097ff3  libusrtcp.dylib (1229.70.2) <1E065228-D0E3-3808-9405-894056C6BEC0> /usr/lib/libusrtcp.dylib
    0x7fff5e098000 -     0x7fff5e09bffb  libutil.dylib (51.20.1) <216D18E5-0BAF-3EAF-A38E-F6AC37CBABD9> /usr/lib/libutil.dylib
    0x7fff5e09c000 -     0x7fff5e0a9ff3  libxar.1.dylib (417.1) <351781D5-3CCF-320F-BB5A-4DFCC1CCD31D> /usr/lib/libxar.1.dylib
    0x7fff5e0ad000 -     0x7fff5e194fff  libxml2.2.dylib (31.13) <8C12B82A-66FD-330C-9BEA-AAC090C7076A> /usr/lib/libxml2.2.dylib
    0x7fff5e195000 -     0x7fff5e1bdfff  libxslt.1.dylib (15.12) <4A5E011D-8B29-3135-A52B-9A9070ABD752> /usr/lib/libxslt.1.dylib
    0x7fff5e1be000 -     0x7fff5e1d0ffb  libz.1.dylib (70) <48C67CFC-940D-3857-8DAD-857774605352> /usr/lib/libz.1.dylib
    0x7fff5e26c000 -     0x7fff5e270ff7  libcache.dylib (80) <092479CB-1008-3A83-BECF-E115F24D13C1> /usr/lib/system/libcache.dylib
    0x7fff5e271000 -     0x7fff5e27bff3  libcommonCrypto.dylib (60118.50.1) <029F5985-9B6E-3DCB-9B96-FD007678C6A7> /usr/lib/system/libcommonCrypto.dylib
    0x7fff5e27c000 -     0x7fff5e283fff  libcompiler_rt.dylib (62) <968B8E3F-3681-3230-9D78-BB8732024F6E> /usr/lib/system/libcompiler_rt.dylib
    0x7fff5e284000 -     0x7fff5e28dffb  libcopyfile.dylib (146.50.5) <3885083D-50D8-3EEC-B481-B2E605180D7F> /usr/lib/system/libcopyfile.dylib
    0x7fff5e28e000 -     0x7fff5e313ffb  libcorecrypto.dylib (562.70.3) <37AF8EC6-BF34-3D15-BC3A-A9B98F2427D4> /usr/lib/system/libcorecrypto.dylib
    0x7fff5e39b000 -     0x7fff5e3d4ff7  libdispatch.dylib (913.60.3) <BF368549-2DFB-3530-B4CB-31D5EDAC4F2F> /usr/lib/system/libdispatch.dylib
    0x7fff5e3d5000 -     0x7fff5e3f2ff7  libdyld.dylib (551.5) <49BF9E96-8297-30CF-8AA6-128CC14054B2> /usr/lib/system/libdyld.dylib
    0x7fff5e3f3000 -     0x7fff5e3f3ffb  libkeymgr.dylib (28) <E34E283E-90FA-3C59-B48E-1277CDB9CDCE> /usr/lib/system/libkeymgr.dylib
    0x7fff5e3f4000 -     0x7fff5e400ff3  libkxld.dylib (4570.71.45) <03FEE7FE-74F1-3EAE-99AE-DEB3EC414AEF> /usr/lib/system/libkxld.dylib
    0x7fff5e401000 -     0x7fff5e401ff7  liblaunch.dylib (1205.70.12) <4950A0B3-5EE1-3F9A-8B1A-94FB85FCCA2C> /usr/lib/system/liblaunch.dylib
    0x7fff5e402000 -     0x7fff5e406ffb  libmacho.dylib (906) <1902A611-081A-3452-B11E-EBD1B166E831> /usr/lib/system/libmacho.dylib
    0x7fff5e407000 -     0x7fff5e409ff3  libquarantine.dylib (86) <26C0BA22-8F93-3A07-9A4E-C8D53D2CE42E> /usr/lib/system/libquarantine.dylib
    0x7fff5e40a000 -     0x7fff5e40bff3  libremovefile.dylib (45) <711E18B2-5BBE-3211-A916-56740C27D17A> /usr/lib/system/libremovefile.dylib
    0x7fff5e40c000 -     0x7fff5e423fff  libsystem_asl.dylib (356.70.1) <39E46A6F-B228-3E78-B83E-1779F9707A39> /usr/lib/system/libsystem_asl.dylib
    0x7fff5e424000 -     0x7fff5e424fff  libsystem_blocks.dylib (67) <17303FDF-0D2D-3963-B05E-B4DF63052D47> /usr/lib/system/libsystem_blocks.dylib
    0x7fff5e425000 -     0x7fff5e4aeff7  libsystem_c.dylib (1244.50.9) <1187BFE8-4576-3247-8177-481554E1F9E7> /usr/lib/system/libsystem_c.dylib
    0x7fff5e4af000 -     0x7fff5e4b2ffb  libsystem_configuration.dylib (963.50.9) <A5DC1AFC-2C3E-3113-BE20-48F96064DB0F> /usr/lib/system/libsystem_configuration.dylib
    0x7fff5e4b3000 -     0x7fff5e4b6ffb  libsystem_coreservices.dylib (51) <486000D3-D8CB-3BE7-8EE5-8BF380DE6DF7> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff5e4b7000 -     0x7fff5e4b8fff  libsystem_darwin.dylib (1244.50.9) <09C21A4A-9EE0-388B-A9D9-DFF8F6758791> /usr/lib/system/libsystem_darwin.dylib
    0x7fff5e4b9000 -     0x7fff5e4bfff7  libsystem_dnssd.dylib (878.70.3) <E117689D-8CF3-3010-9EED-B71C033BF8D7> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff5e4c0000 -     0x7fff5e509ff7  libsystem_info.dylib (517.30.1) <AB634A98-B8AA-3804-8436-38261FC8EC4D> /usr/lib/system/libsystem_info.dylib
    0x7fff5e50a000 -     0x7fff5e530ff7  libsystem_kernel.dylib (4570.71.45) <939FEA3D-15A3-33E5-9476-789AF120C330> /usr/lib/system/libsystem_kernel.dylib
    0x7fff5e531000 -     0x7fff5e57cfcb  libsystem_m.dylib (3147.50.1) <17570F46-566C-39FC-BEF6-635A355DD549> /usr/lib/system/libsystem_m.dylib
    0x7fff5e57d000 -     0x7fff5e59cff7  libsystem_malloc.dylib (140.50.7) <A45A484C-3BDE-3BC4-A219-726E3CB332D9> /usr/lib/system/libsystem_malloc.dylib
    0x7fff5e59d000 -     0x7fff5e6cdff7  libsystem_network.dylib (1229.70.2) <5E86B2DE-9E15-3354-8714-4094ED5F698D> /usr/lib/system/libsystem_network.dylib
    0x7fff5e6ce000 -     0x7fff5e6d8ffb  libsystem_networkextension.dylib (767.70.2) <9DC03712-552D-3AEE-9519-B5ED70980B70> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff5e6d9000 -     0x7fff5e6e2ff3  libsystem_notify.dylib (172) <08012EC0-2CD2-34BE-BF93-E7F56491299A> /usr/lib/system/libsystem_notify.dylib
    0x7fff5e6e3000 -     0x7fff5e6eaff7  libsystem_platform.dylib (161.50.1) <6355EE2D-5456-3CA8-A227-B96E8F1E2AF8> /usr/lib/system/libsystem_platform.dylib
    0x7fff5e6eb000 -     0x7fff5e6f6fff  libsystem_pthread.dylib (301.50.1) <0E51CCBA-91F2-34E1-BF2A-FEEFD3D321E4> /usr/lib/system/libsystem_pthread.dylib
    0x7fff5e6f7000 -     0x7fff5e6fafff  libsystem_sandbox.dylib (765.70.1) <553DFCC6-9D31-3B9C-AB7C-30F6F265786D> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff5e6fb000 -     0x7fff5e6fcff3  libsystem_secinit.dylib (30) <DE8D14E8-A276-3FF8-AE13-77F7040F33C1> /usr/lib/system/libsystem_secinit.dylib
    0x7fff5e6fd000 -     0x7fff5e704ff7  libsystem_symptoms.dylib (820.60.3) <70753784-099A-3E44-9E80-7364C9901CDA> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff5e705000 -     0x7fff5e718fff  libsystem_trace.dylib (829.70.1) <3A6CB706-8CA6-3616-8AFC-14AAD7FAF187> /usr/lib/system/libsystem_trace.dylib
    0x7fff5e71a000 -     0x7fff5e71fff7  libunwind.dylib (35.3) <BEF3FB49-5604-3B5F-82B5-332B80023AC3> /usr/lib/system/libunwind.dylib
    0x7fff5e720000 -     0x7fff5e74dff7  libxpc.dylib (1205.70.12) <7B82608D-ED82-35C1-B13F-99855E25D6DC> /usr/lib/system/libxpc.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: 652401
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=301.3M resident=0K(0%) swapped_out_or_unallocated=301.3M(100%)
Writable regions: Total=138.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=138.5M(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        2 
Kernel Alloc Once                    8K        2 
MALLOC                           128.4M       23 
MALLOC guard page                   32K        9 
STACK GUARD                          8K        3 
Stack                             9744K        4 
Stack Guard                       56.0M        2 
__DATA                            14.4M      207 
__FONT_DATA                          4K        2 
__LINKEDIT                       194.0M       30 
__TEXT                           107.3M      206 
__UNICODE                          560K        2 
mapped file                       3384K        3 
shared memory                       12K        4 
===========                     =======  ======= 
TOTAL                            513.8M      485 

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@sedubois @skarger Could you try the following workaround: in file /Users/sdubois/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/debase-0.3.0.beta3/lib/debase.rb add if iseq after two Debugger.handle_iseq(path, iseq) accurances

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@sedubois @skarger https://youtrack.jetbrains.com/issue/RUBY-24642

from debase.

skarger avatar skarger commented on August 10, 2024

@ViugiNick when I make that change it avoids the seg fault error, but it doesn't actually pause execution at the breakpoint I set in IntelliJ.

Maybe it doesn't pause because iseq is (unexpectedly) nil?

I'm using this modified code:

module Debase
  class << self
    attr_accessor :handler

    alias start_ setup_tracepoints
    alias stop remove_tracepoints

    # possibly deprecated options
    attr_accessor :keep_frame_binding, :tracing

    module InstructionSequenceMixin
      def load_iseq(path)
        iseq = RubyVM::InstructionSequence.compile_file(path)
        Debugger.handle_iseq(path, iseq) if iseq
        iseq
      end
    end

    module InstructionSequenceMixin2
      def load_iseq(path)
        iseq = super(path)

        do_set_flags(iseq, path)

        iseq
      end

      def do_set_flags(iseq, path)
        Debugger.handle_iseq(path, iseq) if iseq
        iseq.each_child { |child_iseq| do_set_flags(child_iseq, path) } if iseq.respond_to? :each_child
      end
    end

   ...

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@skarger Hmm, could you log path for cases when iseq is nil?

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@skarger Or you can just share an example, so I can reproduce the problem

from debase.

skarger avatar skarger commented on August 10, 2024

@ViugiNick I attempted to reproduce with an example new Rails app but it successfully paused execution there.

I cannot share the code for the real project I have where it fails to pause. However, I added some logging and ran Debug for an example rspec test from that project. It shows that iseq is never nil in the load_iseq method, but is always nil in the do_set_flags method.

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@skarger Is it nil for the file with a breakpoint?

from debase.

skarger avatar skarger commented on August 10, 2024

@ViugiNick yes it is, if I understand you correctly.

In the IDE I have a breakpoint set in a given file, ./spec/my_spec.rb.
With my logging in debase, I see
"do_set_flags: path: /full/path/to/spec/my_spec.rb, iseq nil? true"

But iseq is always nil in do_set_flags in my experiment.

Here's the logging for do_set_flags. I have a similar line in the outer load_iseq.

    module InstructionSequenceMixin2
      def load_iseq(path)
        iseq = super(path)

        do_set_flags(iseq, path)

        iseq
      end

      def do_set_flags(iseq, path)
        $stderr.puts("do_set_flags: path: #{path}, iseq nil? #{iseq.nil?}")
        if iseq
          Debugger.handle_iseq(path, iseq)
          iseq.each_child { |child_iseq| do_set_flags(child_iseq, path) } if iseq.respond_to? :each_child
        end
      end
    end

In case it matters, it looks like the load_iseq method is never called for paths in my project - it's only called when loading the gems.

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@skarger But if do_set_flags is called for /full/path/to/spec/my_spec.rb then InstructionSequenceMixin2#load_iseq is called for files from you project. Could you please try temporary disable spring (comment it in boot.rb)

from debase.

skarger avatar skarger commented on August 10, 2024

@ViugiNick

In our project we actually don't turn on spring in config/boot.rb. It seems like IntelliJ automatically uses spring though. I have commented bin/spring and config/spring.rb, and I've disabled it in the IntelliJ RSpec Run Configurations.

When I Debug the test, it now prints out the following command, which says nothing about spring:

/bin/bash -c "env RBENV_VERSION=2.6.3 /Users/skarger/.rbenv/libexec/rbenv exec bundle exec ruby /Users/skarger/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/ruby-debug-ide-0.8.0.beta3/bin/rdebug-ide --key-value --step-over-in-blocks --disable-int-handler --evaluation-timeout 10 --evaluation-control --time-limit 100 --memory-limit 0 --rubymine-protocol-extensions --port 62453 --host 0.0.0.0 --dispatcher-port 62454 -- /Users/skarger/Code/my-rails-project/bin/rspec /Users/skarger/Code/my-rails-project/spec/service_objects/example_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter --example \"My Test\""

It does not pause though.

When I tried creating a brand new Rails project it did pause successfully. So maybe the problem has something to do with my existing project's code, Rails configuration, or loaded gems (although Debug was working for that project before the new IntelliJ release.)

The not-pausing problem may be unrelated to the seg fault. I found this other issue:
https://youtrack.jetbrains.com/issue/RUBY-20684
I have not read all the comments there yet but it sounds like the same problem. We are using bootsnap in the project.

from debase.

weedySeaDragon avatar weedySeaDragon commented on August 10, 2024

This is also a problem for me. I also getting a SegFault with bootsnap. It doesn't happen if I comment out the bootsnap line in my boot.rb.

Not everyone uses the same (or any) IDE on my project, so just commenting out bootsnap in the boot.rb file won't work.
I'm not sure if making the specific changes to the bootsnap setup as @skarger did above would mess up other folks on my project that do not use an IDE.

from debase.

weedySeaDragon avatar weedySeaDragon commented on August 10, 2024

@ViugiNick - working! paused in a Controller as well as a Model just fine.

(Edited to post the correct version info)

version info from About RubyMine:

RubyMine 2019.2.1 RC
Build #RM-192.6262.39, built on August 15, 2019
...
Runtime version: 11.0.3+12-b304.39 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 8
Registry: ide.tooltip.initialDelay=1089, ide.balloon.shadow.size=0
...

info from RubyGems Environment:

RUBYGEMS VERSION: 2.7.7
RUBY VERSION: 2.5.1 (2018-03-29 patchlevel 57) [x86_64-darwin15]
INSTALLATION DIRECTORY:  ...
USER INSTALLATION DIRECTORY:  ...
...
RUBYGEMS PLATFORMS:
  ruby
  x86_64-darwin-15
GEM PATHS:
   /Users/ ...  /.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0
...
----------------------
IDE: RubyMine 2019.2.1 RC, build #RM-192.6262.39
OS: Mac OS X 10.13.6[x86_64]
Java: 11.0.3+12-b304.39
RubyMine SDK Environment:
Sdk: rbenv: 2.5.1
Sdk Version: ver.2.5.1p57 ( revision 63029) p57
Ruby Interpreter: /Users/  ...  /.rbenv/versions/2.5.1/bin/ruby
RVM Sdk: Rbenv sdk, gemset nullSdk Language Level: 2.5

from debase.

bisrael avatar bisrael commented on August 10, 2024

Not sure if the exact issue, but I've created a sample app that will segfault in String#gsub on startup:

https://github.com/bisrael/debase_crash_app

/bin/zsh -c "bash -c 'env RBENV_VERSION=2.4.7 /usr/local/Cellar/rbenv/1.0.0/libexec/rbenv exec ruby gems/ruby-debug-ide-0.8.0.beta6/bin/rdebug-ide --key-value --step-over-in-blocks --disable-int-handler --evaluation-timeout 10 --evaluation-control --time-limit 100 --memory-limit 0 --rubymine-protocol-extensions --port 55979 --host 0.0.0.0 --dispatcher-port 55980 -- debase_crash_app/bin/rails s'"
Fast Debugger (ruby-debug-ide 0.8.0.beta6, debase 0.3.0.beta7, file filtering is supported, block breakpoints supported, smart steps supported, obtaining return values supported) listens on 0.0.0.0:55979
gems/addressable-2.7.0/lib/addressable/uri.rb:565: [BUG] Segmentation fault at 0x0000000000000000
ruby 2.4.7p357 (2019-08-28 revision 67796) [x86_64-darwin18]

-- Crash Report log information --------------------------------------------
   See Crash Report log file under the one of following:
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   for more details.
Don't forget to include the above Crash Report log file in bug reports.

-- Control frame information -----------------------------------------------
c:0028 p:---- s:0154 e:000153 CFUNC  :gsub
c:0027 p:0316 s:0149 e:000149 (none)
c:0026 p:0362 s:0142 e:000141 METHOD gems/addressable-2.7.0/lib/addressable/uri.rb:565
c:0025 p:0111 s:0132 e:000131 METHOD gems/addressable-2.7.0/lib/addressable/uri.rb:879
c:0024 p:0010 s:0128 e:000127 METHOD gems/addressable-2.7.0/lib/addressable/uri.rb:2160
c:0023 p:0147 s:0124 e:000123 BLOCK  gems/webmock-3.3.0/lib/webmock/util/uri.rb:20 [FINISH]
c:0022 p:0079 s:0117 e:000116 METHOD gems/webmock-3.3.0/lib/webmock/util/uri.rb:33
c:0021 p:0059 s:0112 e:000111 METHOD gems/webmock-3.3.0/lib/webmock/request_pattern.rb:114 [FINISH]
c:0020 p:---- s:0107 e:000106 CFUNC  :new
c:0019 p:0096 s:0102 e:000101 METHOD gems/webmock-3.3.0/lib/webmock/request_pattern.rb:84
c:0018 p:0035 s:0097 e:000096 METHOD gems/webmock-3.3.0/lib/webmock/request_pattern.rb:19 [FINISH]
c:0017 p:---- s:0090 e:000089 CFUNC  :new
c:0016 p:0020 s:0084 e:000083 METHOD gems/webmock-3.3.0/lib/webmock/request_stub.rb:7 [FINISH]
c:0015 p:---- s:0078 e:000077 CFUNC  :new
c:0014 p:0040 s:0072 e:000070 METHOD gems/webmock-3.3.0/lib/webmock/api.rb:7
c:0013 p:0164 s:0065 E:000ab0 TOP    debase_crash_app/config/application.rb:21 [FINISH]
c:0012 p:---- s:0062 e:000061 CFUNC  :require
c:0011 p:0017 s:0057 E:000da8 BLOCK  gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:78 [FINISH]
c:0010 p:---- s:0053 e:000052 CFUNC  :tap
c:0009 p:0044 s:0049 E:000e60 METHOD gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75
c:0008 p:0042 s:0045 E:001448 METHOD gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39
c:0007 p:0149 s:0040 E:001770 TOP    gems/railties-4.2.11.1/lib/rails/commands.rb:17 [FINISH]
c:0006 p:---- s:0035 e:000034 CFUNC  :require
c:0005 p:0043 s:0030 E:0026f0 TOP    debase_crash_app/bin/rails:4 [FINISH]
c:0004 p:---- s:0027 e:000026 CFUNC  :debug_load
c:0003 p:0052 s:0020 E:001fc8 METHOD gems/ruby-debug-ide-0.8.0.beta6/lib/ruby-debug-ide.rb:100
c:0002 p:0991 s:0013 E:000e28 EVAL   gems/ruby-debug-ide-0.8.0.beta6/bin/rdebug-ide:192 [FINISH]
c:0001 p:0000 s:0003 E:0006f0 (none) [FINISH]

-- Ruby level backtrace information ----------------------------------------
gems/ruby-debug-ide-0.8.0.beta6/bin/rdebug-ide:192:in `<main>'
gems/ruby-debug-ide-0.8.0.beta6/lib/ruby-debug-ide.rb:100:in `debug_program'
gems/ruby-debug-ide-0.8.0.beta6/lib/ruby-debug-ide.rb:100:in `debug_load'
debase_crash_app/bin/rails:4:in `<top (required)>'
debase_crash_app/bin/rails:4:in `require'
gems/railties-4.2.11.1/lib/rails/commands.rb:17:in `<top (required)>'
gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in `server'
gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:75:in `tap'
gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:78:in `block in server'
gems/railties-4.2.11.1/lib/rails/commands/commands_tasks.rb:78:in `require'
debase_crash_app/config/application.rb:21:in `<top (required)>'
gems/webmock-3.3.0/lib/webmock/api.rb:7:in `stub_request'
gems/webmock-3.3.0/lib/webmock/api.rb:7:in `new'
gems/webmock-3.3.0/lib/webmock/request_stub.rb:7:in `initialize'
gems/webmock-3.3.0/lib/webmock/request_stub.rb:7:in `new'
gems/webmock-3.3.0/lib/webmock/request_pattern.rb:19:in `initialize'
gems/webmock-3.3.0/lib/webmock/request_pattern.rb:84:in `create_uri_pattern'
gems/webmock-3.3.0/lib/webmock/request_pattern.rb:84:in `new'
gems/webmock-3.3.0/lib/webmock/request_pattern.rb:114:in `initialize'
gems/webmock-3.3.0/lib/webmock/util/uri.rb:33:in `normalize_uri'
gems/webmock-3.3.0/lib/webmock/util/uri.rb:20:in `block in <class:URI>'
gems/addressable-2.7.0/lib/addressable/uri.rb:2160:in `normalize'
gems/addressable-2.7.0/lib/addressable/uri.rb:879:in `normalized_scheme'
gems/addressable-2.7.0/lib/addressable/uri.rb:565:in `normalize_component'
gems/addressable-2.7.0/lib/addressable/uri.rb:410:in `encode_component'
gems/addressable-2.7.0/lib/addressable/uri.rb:410:in `gsub'

-- Machine register context ------------------------------------------------
 rax: 0x00007fc66a500000 rbx: 0x00007fc670b83ab0 rcx: 0x0000000000000000
 rdx: 0x0000000107b31000 rdi: 0x00007fc670b835d8 rsi: 0x0000000000000005
 rbp: 0x00007ffee8533630 rsp: 0x00007ffee8533630  r8: 0x00000000ffffffff
  r9: 0x000000010784c0c0 r10: 0x0000000107b30af0 r11: 0x00007fc66a500000
 r12: 0x00007fc670b835e8 r13: 0x00007fc670b835d8 r14: 0x00007fc671244f20
 r15: 0x0000000000000000 rip: 0x000000010789dce8 rfl: 0x0000000000010246

-- C level backtrace information -------------------------------------------
0   ruby                                0x00000001078b1258 rb_vm_bugreport + 136
1   ruby                                0x000000010773afe3 rb_bug_context + 467
2   ruby                                0x00000001078263a8 sigsegv + 72
3   libsystem_platform.dylib            0x00007fff66bb1b5d _sigtramp + 29
4   ruby                                0x000000010789dce8 rb_backref_get + 72
5   ruby                                0x00000001077ef3e3 rb_reg_search0 + 371
6   ruby                                0x0000000107853289 str_gsub + 249
7   ruby                                0x00000001078a47e3 vm_call_cfunc + 275
8   ruby                                0x000000010788d270 vm_exec_core + 10096
9   ruby                                0x000000010789f010 vm_exec + 128
10  ruby                                0x000000010789d9f6 vm_invoke_proc + 262
11  ruby                                0x00000001078ab82b vm_call0_body + 1691
12  ruby                                0x00000001078ac1ca rb_call0 + 202
13  ruby                                0x0000000107899dc9 rb_funcall + 249
14  ruby                                0x0000000107762ebb rb_hash_aref + 59
15  ruby                                0x00000001078929f9 vm_exec_core + 32505
16  ruby                                0x000000010789f010 vm_exec + 128
17  ruby                                0x00000001078ac1ca rb_call0 + 202
18  ruby                                0x00000001077a84c9 rb_class_new_instance + 41
19  ruby                                0x00000001078a47e3 vm_call_cfunc + 275
20  ruby                                0x000000010788db01 vm_exec_core + 12289
21  ruby                                0x000000010789f010 vm_exec + 128
22  ruby                                0x00000001078ac1ca rb_call0 + 202
23  ruby                                0x00000001077a84c9 rb_class_new_instance + 41
24  ruby                                0x00000001078a47e3 vm_call_cfunc + 275
25  ruby                                0x000000010788db01 vm_exec_core + 12289
26  ruby                                0x000000010789f010 vm_exec + 128
27  ruby                                0x00000001078ac1ca rb_call0 + 202
28  ruby                                0x00000001077a84c9 rb_class_new_instance + 41
29  ruby                                0x00000001078a47e3 vm_call_cfunc + 275
30  ruby                                0x000000010788db01 vm_exec_core + 12289
31  ruby                                0x000000010789f010 vm_exec + 128
32  ruby                                0x00000001077888c3 rb_load_internal0 + 291
33  ruby                                0x0000000107789126 rb_require_internal + 1702
34  ruby                                0x0000000107788948 rb_f_require + 24
35  ruby                                0x00000001078a47e3 vm_call_cfunc + 275
36  ruby                                0x000000010788db01 vm_exec_core + 12289
37  ruby                                0x000000010789f010 vm_exec + 128
38  ruby                                0x00000001078ac514 invoke_block_from_c_splattable + 500
39  ruby                                0x000000010789a30e rb_yield + 158
40  ruby                                0x00000001077a802e rb_obj_tap + 14
41  ruby                                0x00000001078a47e3 vm_call_cfunc + 275
42  ruby                                0x000000010788d270 vm_exec_core + 10096
43  ruby                                0x000000010789f010 vm_exec + 128
44  ruby                                0x00000001077888c3 rb_load_internal0 + 291
45  ruby                                0x0000000107789126 rb_require_internal + 1702
46  ruby                                0x0000000107788948 rb_f_require + 24
47  ruby                                0x00000001078a47e3 vm_call_cfunc + 275
48  ruby                                0x000000010788db01 vm_exec_core + 12289
49  ruby                                0x000000010789f010 vm_exec + 128
50  ruby                                0x00000001077888c3 rb_load_internal0 + 291
51  ruby                                0x000000010778877b rb_load_protect + 203
52  debase_internals.bundle             0x0000000107c00846 zf9f48b911c + 230
53  ruby                                0x00000001078a47e3 vm_call_cfunc + 275
54  ruby                                0x000000010788db01 vm_exec_core + 12289
55  ruby                                0x000000010789f010 vm_exec + 128
56  ruby                                0x00000001077441ba ruby_exec_internal + 138
57  ruby                                0x00000001077440d8 ruby_run_node + 56
58  ruby                                0x00000001076c7b8f main + 79

from debase.

bisrael avatar bisrael commented on August 10, 2024

I can set a breakpoint at the last file gems/addressable-2.7.0/lib/addressable/uri.rb:565, and the debugger will stop, but then if i try to step into self.encode_component there, the segfault happens.

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@bisrael Could you please update RubyMine. This problem is fixed in a later versions of debase gem

from debase.

bisrael avatar bisrael commented on August 10, 2024

I think I have the latest version:

RubyMine 2019.2.2
Build #RM-192.6603.29, built on September 6, 2019
Licensed to Blake Israel
Subscription is active until May 15, 2020
Runtime version: 11.0.3+12-b304.56 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.5
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Registry: debugger.watches.in.variables=false
Non-Bundled Plugins: Railways, mobi.hsz.idea.gitignore, net.seesharpsoft.intellij.plugins.csv, org.jetbrains.plugins.ruby-chef, BashSupport, NodeJS, com.dmarcotte.handlebars, com.github.masahirosuzuka.PhoneGapIntelliJPlugin, com.jetbrains.lang.ejs, org.jetbrains.plugins.vue, org.toml.lang, org.rust.lang, ru.adelf.idea.dotenv, AngularJS, zielu.gittoolbox

from debase.

ViugiNick avatar ViugiNick commented on August 10, 2024

@bisrael Could you please try this one: https://twitter.com/rubymine/status/1172121556673318912?s=19
Or this one:
https://twitter.com/rubymine/status/1172526396880621568?s=19

from debase.

bisrael avatar bisrael commented on August 10, 2024

@ViugiNick - thank you, the EAP is working correctly. I'll leave that repo be if you need something to test against.

from debase.

hurricup avatar hurricup commented on August 10, 2024

This issue is about JetBrains version of the debugger and should be reported at https://youtrack.jetbrains.com/issues/RUBY

from debase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.