prasmussen / chrome-cli

Control Google Chrome from the command line
MIT License
2.61k stars 89 forks source link

Dumps core on x86-64 bit Monterey after last update #65

Closed diepfote closed 2 years ago

diepfote commented 2 years ago

May I ask you to take a look? Anything else I can provide?

Regards Florian

$ chrome-cli open https://google.com -i
2022-04-13 07:09:53.465 chrome-cli[78438:10079020] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[SBProxyByCode tabs]: object has not been added to a container yet; selector not recognized [self = 0x600002ff9020]'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007ff8185071e3 __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff818267c13 objc_exception_throw + 48
        2   CoreFoundation                      0x00007ff81850704a +[NSException exceptionWithName:reason:userInfo:] + 0
        3   CoreFoundation                      0x00007ff81846ddf5 ___forwarding___ + 1356
        4   CoreFoundation                      0x00007ff81846d818 _CF_forwarding_prep_0 + 120
        5   chrome-cli                          0x000000010ff75591 -[App openUrlInNewIncognitoWindow:] + 335
        6   chrome-cli                          0x000000010ff77ca0 -[Handler call:] + 364
        7   chrome-cli                          0x000000010ff77364 -[Argonaut run] + 85
        8   chrome-cli                          0x000000010ff783ee main + 1577
        9   dyld                                0x000000011d20a51e start + 462
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6
prasmussen commented 2 years ago

I'm not able to reproduce this on Monterey 12.3.1 Chrome Version 100.0.4896.88 (Official Build) (x86_64)

diepfote commented 2 years ago

Version 100.0.4896.75 (Official Build) (x86_64)

maybe I need an update...

diepfote commented 2 years ago

Thanks for the quick response. Will get back to you...

diepfote commented 2 years ago

still coredumps after I updated to the same Chrome Build you have. same Monterey build.

maybe it is because Chrome is managed

andypiper commented 2 years ago

I am running Chrome 100.0.4896.75 (managed by org) on Monterey on Intel x86_64 with chrome-cli 1.8.0 and I'm also not seeing the coredump. I already have Chrome running before issuing any commands, though - are you trying to start Chrome via chrome-cli? Are you able to run any other chrome-cli commands without it crashing, or does it always fail?

diepfote commented 2 years ago

Thanks for your effort. A second restart did the trick :(, :).

Closing.