id
int64
393k
2.82B
repo
stringclasses
68 values
title
stringlengths
1
936
body
stringlengths
0
256k
labels
stringlengths
2
508
priority
stringclasses
3 values
severity
stringclasses
3 values
2,526,581,407
rust
Tracking Issue for `str::as_str()`
<!-- Thank you for creating a tracking issue! Tracking issues are for tracking a feature from implementation to stabilization. Make sure to include the relevant RFC for the feature if it has one. If the new feature is small, it may be fine to skip the RFC process. In that case, you can use `issue = "none"` in your initial implementation PR. The reviewer will ask you to open a tracking issue if they agree your feature can be added without an RFC. --> Feature gate: `#![feature(str_as_str)]` This is a tracking issue for the `as_str()` method on the `str` type itself, so that `Box<str>`, `Rc<str>`, `Arc<str>` & others can have the same things as `String` has. <!-- Include a short description of the feature. --> ### Public API ```rust impl str { pub const fn as_str(&self) -> &Self; } ``` ### Steps / History - [ ] Implementation: #129550 - [ ] Final comment period (FCP)[^1] - [ ] Stabilization PR <!-- Once the feature has gone through a few release cycles and there are no unresolved questions left, the feature might be ready for stabilization. If this feature didn't go through the RFC process, a final comment period (FCP) is always needed before stabilization. This works as follows: A library API team member can kick off the stabilization process, at which point the rfcbot will ask all the team members to verify they agree with stabilization. Once enough members agree and there are no concerns, the final comment period begins: this issue will be marked as such and will be listed in the next This Week in Rust newsletter. If no blocking concerns are raised in that period of 10 days, a stabilization PR can be opened by anyone. --> ### Unresolved Questions <!-- Include any open questions that need to be answered before the feature can be stabilised. If multiple (unrelated) big questions come up, it can be a good idea to open a separate issue for each, to make it easier to keep track of the discussions. It's useful to link any relevant discussions and conclusions (whether on GitHub, Zulip, or the internals forum) here. --> - None yet. [^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
T-libs-api,C-tracking-issue
low
Major
2,526,598,173
nvm
Nvm slow down Msys2
After installing nvm in a Msys2 environment, msys takes more than 10 seconds to start. After remove nvm from .bash_profile, Msys works again as expected. Fnm works without problems. How to reproduce: Install Msys2 in windows https://www.msys2.org/wiki/MSYS2-installation/ Try to install nvm with `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash` Use `pacman -S` to install required packages. Try again to install nvm. Close Msys2 and open again a Msys2 command line. It takes a lot of seconds now. Remove nvm from ~/.bash_profile Close Msys2 and open again. Now Msys works correctly.
OS: windows
low
Major
2,526,609,090
flutter
Camera Web example doesn't work on Safari
### What package does this bug report belong to? camera ### What target platforms are you seeing this bug on? Web ### Have you already upgraded your packages? Yes ### Dependency versions <details><summary>pubspec.lock</summary> ```lock # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile packages: _fe_analyzer_shared: dependency: transitive description: name: _fe_analyzer_shared sha256: f6dbf021f4b214d85c79822912c5fcd142a2c4869f01222ad371bc51f9f1c356 url: "https://pub.dev" source: hosted version: "74.0.0" _macros: dependency: transitive description: dart source: sdk version: "0.3.3" analyzer: dependency: transitive description: name: analyzer sha256: f7e8caf82f2d3190881d81012606effdf8a38e6c1ab9e30947149733065f817c url: "https://pub.dev" source: hosted version: "6.9.0" args: dependency: transitive description: name: args sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted version: "2.5.0" async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" boolean_selector: dependency: transitive description: name: boolean_selector sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" url: "https://pub.dev" source: hosted version: "2.1.1" build: dependency: transitive description: name: build sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" url: "https://pub.dev" source: hosted version: "2.4.1" build_config: dependency: transitive description: name: build_config sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 url: "https://pub.dev" source: hosted version: "1.1.1" build_daemon: dependency: transitive description: name: build_daemon sha256: "79b2aef6ac2ed00046867ed354c88778c9c0f029df8a20fe10b5436826721ef9" url: "https://pub.dev" source: hosted version: "4.0.2" build_resolvers: dependency: transitive description: name: build_resolvers sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" url: "https://pub.dev" source: hosted version: "2.4.2" build_runner: dependency: "direct dev" description: name: build_runner sha256: dd09dd4e2b078992f42aac7f1a622f01882a8492fef08486b27ddde929c19f04 url: "https://pub.dev" source: hosted version: "2.4.12" build_runner_core: dependency: transitive description: name: build_runner_core sha256: f8126682b87a7282a339b871298cc12009cb67109cfa1614d6436fb0289193e0 url: "https://pub.dev" source: hosted version: "7.3.2" built_collection: dependency: transitive description: name: built_collection sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" url: "https://pub.dev" source: hosted version: "5.1.1" built_value: dependency: transitive description: name: built_value sha256: c7913a9737ee4007efedaffc968c049fd0f3d0e49109e778edc10de9426005cb url: "https://pub.dev" source: hosted version: "8.9.2" camera: dependency: "direct main" description: path: ".." relative: true source: path version: "0.11.0+2" camera_android_camerax: dependency: transitive description: name: camera_android_camerax sha256: "7cd93578ad201dcc6bb5810451fb00d76a86bab9b68dceb68b8cbd7038ac5846" url: "https://pub.dev" source: hosted version: "0.6.8+3" camera_avfoundation: dependency: transitive description: name: camera_avfoundation sha256: "7c28969a975a7eb2349bc2cb2dfe3ad218a33dba9968ecfb181ce08c87486655" url: "https://pub.dev" source: hosted version: "0.9.17+3" camera_platform_interface: dependency: transitive description: name: camera_platform_interface sha256: b3ede1f171532e0d83111fe0980b46d17f1aa9788a07a2fbed07366bbdbb9061 url: "https://pub.dev" source: hosted version: "2.8.0" camera_web: dependency: "direct overridden" description: path: "../../camera_web" relative: true source: path version: "0.3.5" characters: dependency: transitive description: name: characters sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" url: "https://pub.dev" source: hosted version: "1.3.0" checked_yaml: dependency: transitive description: name: checked_yaml sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff url: "https://pub.dev" source: hosted version: "2.0.3" clock: dependency: transitive description: name: clock sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf url: "https://pub.dev" source: hosted version: "1.1.1" code_builder: dependency: transitive description: name: code_builder sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 url: "https://pub.dev" source: hosted version: "4.10.0" collection: dependency: transitive description: name: collection sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted version: "1.19.0" convert: dependency: transitive description: name: convert sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" url: "https://pub.dev" source: hosted version: "3.1.1" cross_file: dependency: transitive description: name: cross_file sha256: "7caf6a750a0c04effbb52a676dce9a4a592e10ad35c34d6d2d0e4811160d5670" url: "https://pub.dev" source: hosted version: "0.3.4+2" crypto: dependency: transitive description: name: crypto sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 url: "https://pub.dev" source: hosted version: "3.0.5" csslib: dependency: transitive description: name: csslib sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb" url: "https://pub.dev" source: hosted version: "1.0.0" dart_style: dependency: transitive description: name: dart_style sha256: "7856d364b589d1f08986e140938578ed36ed948581fbc3bc9aef1805039ac5ab" url: "https://pub.dev" source: hosted version: "2.3.7" fake_async: dependency: transitive description: name: fake_async sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" url: "https://pub.dev" source: hosted version: "1.3.1" ffi: dependency: transitive description: name: ffi sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted version: "2.1.3" file: dependency: transitive description: name: file sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted version: "7.0.0" fixnum: dependency: transitive description: name: fixnum sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" url: "https://pub.dev" source: hosted version: "1.1.0" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_driver: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda" url: "https://pub.dev" source: hosted version: "2.0.22" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" flutter_web_plugins: dependency: transitive description: flutter source: sdk version: "0.0.0" frontend_server_client: dependency: transitive description: name: frontend_server_client sha256: f64a0333a82f30b0cca061bc3d143813a486dc086b574bfb233b7c1372427694 url: "https://pub.dev" source: hosted version: "4.0.0" fuchsia_remote_debug_protocol: dependency: transitive description: flutter source: sdk version: "0.0.0" glob: dependency: transitive description: name: glob sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" url: "https://pub.dev" source: hosted version: "2.1.2" graphs: dependency: transitive description: name: graphs sha256: "741bbf84165310a68ff28fe9e727332eef1407342fca52759cb21ad8177bb8d0" url: "https://pub.dev" source: hosted version: "2.3.2" html: dependency: transitive description: name: html sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a" url: "https://pub.dev" source: hosted version: "0.15.4" http_multi_server: dependency: transitive description: name: http_multi_server sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" url: "https://pub.dev" source: hosted version: "3.2.1" http_parser: dependency: transitive description: name: http_parser sha256: "40f592dd352890c3b60fec1b68e786cefb9603e05ff303dbc4dda49b304ecdf4" url: "https://pub.dev" source: hosted version: "4.1.0" integration_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" io: dependency: transitive description: name: io sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" url: "https://pub.dev" source: hosted version: "1.0.4" js: dependency: transitive description: name: js sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf url: "https://pub.dev" source: hosted version: "0.7.1" json_annotation: dependency: transitive description: name: json_annotation sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" url: "https://pub.dev" source: hosted version: "4.9.0" leak_tracker: dependency: transitive description: name: leak_tracker sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted version: "3.0.8" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted version: "3.0.1" logging: dependency: transitive description: name: logging sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.dev" source: hosted version: "1.2.0" macros: dependency: transitive description: name: macros sha256: "1d9e801cd66f7ea3663c45fc708450db1fa57f988142c64289142c9b7ee80656" url: "https://pub.dev" source: hosted version: "0.1.3-main.0" matcher: dependency: transitive description: name: matcher sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb url: "https://pub.dev" source: hosted version: "0.12.16+1" material_color_utilities: dependency: transitive description: name: material_color_utilities sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted version: "0.11.1" meta: dependency: transitive description: name: meta sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted version: "1.15.0" mime: dependency: transitive description: name: mime sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" url: "https://pub.dev" source: hosted version: "1.0.6" package_config: dependency: transitive description: name: package_config sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" url: "https://pub.dev" source: hosted version: "2.1.0" path: dependency: transitive description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" path_provider: dependency: "direct main" description: name: path_provider sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 url: "https://pub.dev" source: hosted version: "2.1.4" path_provider_android: dependency: transitive description: name: path_provider_android sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" url: "https://pub.dev" source: hosted version: "2.2.10" path_provider_foundation: dependency: transitive description: name: path_provider_foundation sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 url: "https://pub.dev" source: hosted version: "2.4.0" path_provider_linux: dependency: transitive description: name: path_provider_linux sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279 url: "https://pub.dev" source: hosted version: "2.2.1" path_provider_platform_interface: dependency: transitive description: name: path_provider_platform_interface sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334" url: "https://pub.dev" source: hosted version: "2.1.2" path_provider_windows: dependency: transitive description: name: path_provider_windows sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7 url: "https://pub.dev" source: hosted version: "2.3.0" platform: dependency: transitive description: name: platform sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" url: "https://pub.dev" source: hosted version: "3.1.5" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted version: "2.1.8" pool: dependency: transitive description: name: pool sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" url: "https://pub.dev" source: hosted version: "1.5.1" process: dependency: transitive description: name: process sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" url: "https://pub.dev" source: hosted version: "5.0.2" pub_semver: dependency: transitive description: name: pub_semver sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" url: "https://pub.dev" source: hosted version: "2.1.4" pubspec_parse: dependency: transitive description: name: pubspec_parse sha256: c799b721d79eb6ee6fa56f00c04b472dcd44a30d258fac2174a6ec57302678f8 url: "https://pub.dev" source: hosted version: "1.3.0" shelf: dependency: transitive description: name: shelf sha256: e7dd780a7ffb623c57850b33f43309312fc863fb6aa3d276a754bb299839ef12 url: "https://pub.dev" source: hosted version: "1.4.2" shelf_web_socket: dependency: transitive description: name: shelf_web_socket sha256: "073c147238594ecd0d193f3456a5fe91c4b0abbcc68bf5cd95b36c4e194ac611" url: "https://pub.dev" source: hosted version: "2.0.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.0" source_span: dependency: transitive description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" stack_trace: dependency: transitive description: name: stack_trace sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted version: "1.11.1" stream_channel: dependency: transitive description: name: stream_channel sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 url: "https://pub.dev" source: hosted version: "2.1.2" stream_transform: dependency: transitive description: name: stream_transform sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" url: "https://pub.dev" source: hosted version: "2.1.0" string_scanner: dependency: transitive description: name: string_scanner sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted version: "1.3.0" sync_http: dependency: transitive description: name: sync_http sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961" url: "https://pub.dev" source: hosted version: "0.3.1" term_glyph: dependency: transitive description: name: term_glyph sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 url: "https://pub.dev" source: hosted version: "1.2.1" test_api: dependency: transitive description: name: test_api sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted version: "0.7.3" timing: dependency: transitive description: name: timing sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" url: "https://pub.dev" source: hosted version: "1.0.1" typed_data: dependency: transitive description: name: typed_data sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted version: "1.3.2" vector_math: dependency: transitive description: name: vector_math sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" url: "https://pub.dev" source: hosted version: "2.1.4" video_player: dependency: "direct main" description: name: video_player sha256: e30df0d226c4ef82e2c150ebf6834b3522cf3f654d8e2f9419d376cdc071425d url: "https://pub.dev" source: hosted version: "2.9.1" video_player_android: dependency: transitive description: name: video_player_android sha256: "38d8fe136c427abdce68b5e8c3c08ea29d7a794b453c7a51b12ecfad4aad9437" url: "https://pub.dev" source: hosted version: "2.7.3" video_player_avfoundation: dependency: transitive description: name: video_player_avfoundation sha256: d1e9a824f2b324000dc8fb2dcb2a3285b6c1c7c487521c63306cc5b394f68a7c url: "https://pub.dev" source: hosted version: "2.6.1" video_player_platform_interface: dependency: transitive description: name: video_player_platform_interface sha256: "236454725fafcacf98f0f39af0d7c7ab2ce84762e3b63f2cbb3ef9a7e0550bc6" url: "https://pub.dev" source: hosted version: "6.2.2" video_player_web: dependency: transitive description: name: video_player_web sha256: "6dcdd298136523eaf7dfc31abaf0dfba9aa8a8dbc96670e87e9d42b6f2caf774" url: "https://pub.dev" source: hosted version: "2.3.2" vm_service: dependency: transitive description: name: vm_service sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted version: "14.2.5" watcher: dependency: transitive description: name: watcher sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" url: "https://pub.dev" source: hosted version: "1.1.0" web: dependency: transitive description: name: web sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 url: "https://pub.dev" source: hosted version: "1.0.0" web_socket: dependency: transitive description: name: web_socket sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83" url: "https://pub.dev" source: hosted version: "0.1.6" web_socket_channel: dependency: transitive description: name: web_socket_channel sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f" url: "https://pub.dev" source: hosted version: "3.0.1" webdriver: dependency: transitive description: name: webdriver sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e" url: "https://pub.dev" source: hosted version: "3.0.3" xdg_directories: dependency: transitive description: name: xdg_directories sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d url: "https://pub.dev" source: hosted version: "1.0.4" yaml: dependency: transitive description: name: yaml sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.dev" source: hosted version: "3.1.2" sdks: dart: ">=3.5.0 <4.0.0" flutter: ">=3.24.0" ``` </details> ### Steps to reproduce 1. Download and build the [example camera app](https://github.com/flutter/packages/tree/main/packages/camera/camera/example) with `flutter build web` 2. Run a local webserver in the build/web folder 3. Open the webserver with Safari web browser (Version 17.6 (19618.3.11.11.5)) ### Expected results The app shows the camera preview and controls ### Actual results The app shows a blank screen even when the camera permission is accepted and the camera is active. In Chrome, the app works normally ### Code sample <details open><summary>Code sample</summary> [https://github.com/flutter/packages/tree/main/packages/camera/camera/example](https://github.com/flutter/packages/tree/main/packages/camera/camera/example) </details> ### Screenshots or Videos _No response_ ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel master, 3.26.0-1.0.pre.126, on macOS 14.6.1 23G93 darwin-arm64, locale en-CO) • Flutter version 3.26.0-1.0.pre.126 on channel master at /Users/victor.catano/fvm/versions/master • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5d83a98331 (6 hours ago), 2024-09-14 10:54:34 -0400 • Engine revision 622d4aec2e • Dart version 3.6.0 (build 3.6.0-255.0.dev) • DevTools version 2.40.0-dev.1 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome • chrome • web-javascript • Google Chrome 128.0.6613.138 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 2 categories. ``` </details>
c: regression,platform-web,p: camera,package,has reproducible steps,browser: safari-macos,P2,team-web,triaged-web,found in release: 3.24,found in release: 3.26
low
Critical
2,526,609,178
ollama
qos, serving websites with the server, but when downloading a model...
if a big model gets loaded, it loads at full speed, slowing down other services. can you make a throttle to only allow a certain amount of bandwidth consumed by downloading the model. I try to have websites running on that server, and they become unresponsive due to the model download (tested it with llama3.1:70b)
feature request
low
Major
2,526,609,302
rust
Permitting "foreign" languages to dispose of Rust panics
It is currently undefined behavior for a "foreign" language (such as C++) to catch a Rust panic, regardless of what the "foreign" code then does with the exception. That is, either disposing of or rethrowing the panic are both unconditional undefined behavior. Permitting other languages to rethrow the panic, and permitting them to dispose of the panic, are separate "features" Rust could provide. This issue is only for safe disposal. Note that Rust can document a function that a different runtime must call in order to safely dispose of a Rust panic. Per @chorman0773, Itanium specifies this cross-language mechanism this way: > [the runtime catching the exception is] supposed to call the `unwind_cleanup` function stored in the `_Unwind_Exception` struct with `_URC_FOREIGN_EXCEPTION_CAUGHT`. Currently, the main thing that the Rust runtime would need to do when notified that a panic has been disposed of by a foreign runtime is to decrement the panic count. @bjorn3, @nbdd0121, @workingjubilee, and @Amanieu may have additional context on what would be required for foreign languages to safely dispose of Rust panics. Original discussion: https://github.com/rust-lang/reference/pull/1226#discussion_r1739926327 CC @rust-lang/libs-api ; CC @rust-lang/lang
T-lang,T-libs-api,C-discussion,A-panic
low
Major
2,526,612,267
flutter
[go_router] Add simple way to check if a dialog is shown
### Use case Currently, there is no straightforward way to determine if a dialog is displayed when using go_router (as per my research), unlike Navigator 1.0, where we could easily check the displayed route using the RouteSettings.name parameter. This functionality is critical for developers managing complex navigation flows that involve dialogs or modal routes. The lack of an equivalent in go_router complicates state management and user experience control. Use Case: In many apps, dialogs are used for confirmation prompts, error messages, or alerts. A common challenge is preventing multiple dialogs from being opened simultaneously. For example, if an error occurs while a confirmation dialog is already shown, the app should avoid opening a second dialog until the first one is dismissed. In Navigator 1.0, developers could use RouteSettings.name to check if a dialog is already open, but with go_router, there is no simple way to make this determination. This makes it difficult to ensure that only one dialog is displayed at a time, potentially leading to overlapping dialogs and a poor user experience. ### Proposal Although there are workarounds, such as the solution described in [this article](https://croxx5f.hashnode.dev/adding-modal-routes-to-your-gorouter) where dialogs are added to the go_router configuration, this method is overly complicated and introduces unnecessary complexity into the codebase. Developers need a more straightforward and efficient way to manage dialogs in go_router, similar to how it was done with Navigator 1.0. This could be achieved by providing an easy mechanism to check if a dialog is currently shown, allowing developers to prevent multiple dialogs from being opened at the same time without the need for complex configurations.
c: new feature,package,c: proposal,P3,p: go_router,team-go_router,triaged-go_router
low
Critical
2,526,625,799
yt-dlp
Progress also displays x-factor (Download speed / playback speed = X) e.g. Downloading at 1.35MiB/s (= 3.4x)
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm requesting a feature unrelated to a specific site - [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme) - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) ### Provide a description that is worded well enough to be understood #### Download Progress is currently shown like this ``` [download] Destination: My Movie.fdash-p0va0br3001270-1.mp4 [download] 58.8% of ~ 976.12MiB at 1.35MiB/s ETA 07:24 (frag 161/274) ``` #### Proposal: Add X-factor in brackets of download speed ``` [download] Destination: My Movie.fdash-p0va0br3001270-1.mp4 [download] 58.8% of ~ 976.12MiB at 1.35MiB/s (= 3.4x) ETA 07:24 (frag 161/274) ``` - Download speed / Playback speed = X-Factor - Below 1 means that your bandwidth is not enough for streaming, because the download speed is slower than the necessary playback speed. - Above 1 tells you how much faster you can download than watching in real time. - From the streaming manifest and/or the media container header the overall bit rate of the media container is known. - E.g. 3200 kb/s divided by 8 = 0.4MiB/s - Download speed 1.35 / Playback speed 0.4 = 3.4x - Which means it downloads 3.4x times faster than it plays back - Do we really need this? - The ETA is already a good metrics. - Nevertheless the x-factor gives you an estimate of a factor/proportion. - I propose it's off by default, so that default output does not get too noisy, but can be enabled with some kind of `--progress-*` argument, for those use cases which benefit from this metric. ### Provide verbose output that clearly demonstrates the problem Not applicable. ### Complete Verbose Output _No response_
enhancement,triage,core:downloader
low
Critical
2,526,628,932
flutter
[Android] : Black screen after minimizing the app and turning the screen off and on specific device api 22 (Gertec GPOS700A)
### Steps to reproduce 1 - With the app open, turn off the screen 2 - Turn the screen back on 3 - Exit the app 4 - Upon returning, the screen goes black. In the tests I performed, even with the black screen, the '+' button still works, generating a log with 'print' when incrementing. ### Expected results It is expected that the app should not display this black screen :) ### Actual results Well, I performed the tests using the default code generated by flutter create... The only changes I made were adding a print statement in the _incrementCounter method and configuring signingConfigs, as this device requires it to install any app (Gertec GPOS700A, API 22). In my tests, I was consistently able to reproduce the issue as shown in the attached video. No errors are generated in the logcat. The app seems to still be working (in my app, it opens the keyboard), and logs are generated when clicking where the increment button would be... However, no further updates appear in Flutter DevTools. ### Code sample To reproduce the issue, simply run `flutter create bug` and then make the following changes: 1. Add the `debug.keystore` file to the `android/app` folder. 2. Modify the `android/app/build.gradle` file by adding: ```kotlin signingConfigs { debug { storeFile file('debug.keystore') storePassword 'Development@GertecDeveloper2018' keyAlias 'developmentgertecdeveloper_customerapp' keyPassword 'Development@GertecDeveloper2018' } } ``` 3. Update the `_incrementCounter` method in `lib/main.dart` to: ```dart void _incrementCounter() { setState(() { print(_counter); _counter++; }); } ``` This setup consistently reproduces the bug on the Gertec GPOS700A (API 22). ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> https://github.com/user-attachments/assets/03283216-b710-4760-9580-d63b0cce5a69 https://github.com/user-attachments/assets/cd3a523b-3828-4e4b-856e-ca9983f780d2 </details> ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 3.24.1, on Microsoft Windows [versÆo 10.0.22631.4169], locale pt-BR) [√] Windows Version (Installed version of Windows is version 10 or higher) [!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) X cmdline-tools component is missing Run `path/to/sdkmanager --install "cmdline-tools;latest"` See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses. See https://flutter.dev/to/windows-android-setup for more details. [X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components [√] Android Studio (version 2024.1) [√] IntelliJ IDEA Ultimate Edition (version 2024.2) [√] VS Code (version 1.93.1) [√] Connected device (3 available) [√] Network resources ! Doctor found issues in 3 categories. ``` </details>
e: device-specific,platform-android,e: OS-version specific,P3,team-android,triaged-android
low
Critical
2,526,654,056
rust
Real cross-compiling tests instead of `#![no_core]` silliness
We have a zillion tests that use the `#![no_core]` hack, like this one: https://github.com/rust-lang/rust/blob/5e3ede22ef6fd23197629c22b9f466b3734e19f1/tests/ui/asm/bad-template.rs#L10 A given test involves: - Host A - Target B - Some Rust source (compiled for Target B) - Test tooling (run on Host A) Most of our test infra assumes that Host A and Target B are the same thing. This greatly simplifies a lot of assumptions. But this hack we have introduced in so many tests essentially exists so that we can be sure the test runs even when cross-compiling from Host A to Target B. It's possible there's some weird finagling of test flags that can enable this without the hack, but that would be another hack itself. Cross-compiled tests should be relatively easy, like just writing something like: ```rust //@ cross-compile-targets: arch_1-unknown-os_3-env_5 arch_2-unknown-os_4-env_6 arch_1-unknown-os_4-env_5 arch_2-unknown-os_3-env_7 ```
A-testsuite,C-enhancement,A-cross,T-compiler,T-bootstrap,E-medium,A-compiletest
low
Major
2,526,654,173
rust
Making a mistake in a match can lead to infinite recursion without any hint to what is going on
### Code ```Rust pub struct SubMenu; impl SubMenu { pub fn test(&self) { } } pub enum Item { Back, SubMenu(SubMenu) } impl Item { pub fn test(&self) { match self { Item::Back => (), // This recurses because I messed up the match // I really want Item::SubMenu(x) but there is // no warning at all that this can cause an issue sub => sub.test() } } } fn main() { let itm = Item::SubMenu(SubMenu{}); itm.test(); } ``` ### Current output ```Shell (Running in rust playground) Compiling playground v0.0.1 (/playground) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s (Clippy output in rust playground) Checking playground v0.0.1 (/playground) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s ``` ### Desired output ```Shell Anything that tells the user that there is an infinite loop waiting to happen Something like: sub => sub.test() ^^^^^^^^^^ this will recurse infinitely ``` ### Rationale and extra context I made a mistake while writing the match seen above. I really wanted `Item::SubMenu(sub) => sub.test()` but mistakenly thought `sub => sub.test()` will be enough. While the error was of course made by me, after I found it I was surprised that neither rustc, clippy nor rust-analyzer will warn me that this will cause infinite recursion. I ran the code on an embedded target which made the error search very hard, since any debug connection died when the stack overflowed without any error message, leading to a two day search for the cause ### Other cases _No response_ ### Rust Version ```Shell rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: x86_64-pc-windows-msvc release: 1.81.0 LLVM version: 18.1.7 (The exact same issue/missing diagnostic is also true on the beta and nightly channels) ``` ### Anything else? _No response_ <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"gurry"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
A-diagnostics,T-compiler
low
Critical
2,526,661,059
stable-diffusion-webui
[Bug]: ERROR: HTTP error 404 while getting CLIP
### Checklist - [ ] The issue exists after disabling all extensions - [X] The issue exists on a clean installation of webui - [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui - [x] The issue exists in the current version of the webui - [ ] The issue has not been reported before recently - [X] The issue has been reported before but has not been fixed yet ### What happened? Clean install of sd.webui on windows 11. Receiving this error with CLIP install 404 error. ![image](https://github.com/user-attachments/assets/d26cb901-02ce-4289-b2d0-2683f2de0f39) ### Steps to reproduce the problem download sd.webui v1.0.0 run environment.bat run update.bat Run run.bat ### What should have happened? start up normally ### What browsers do you use to access the UI ? _No response_ ### Sysinfo not available ### Console logs ```Shell Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] Version: v1.10.1 Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 Installing clip Traceback (most recent call last): File "D:\sd.webui\webui\launch.py", line 48, in <module> main() File "D:\sd.webui\webui\launch.py", line 39, in main prepare_environment() File "D:\sd.webui\webui\modules\launch_utils.py", line 394, in prepare_environment run_pip(f"install {clip_package}", "clip") File "D:\sd.webui\webui\modules\launch_utils.py", line 144, in run_pip return run(f'"{python}" -m pip {command} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}", live=live) File "D:\sd.webui\webui\modules\launch_utils.py", line 116, in run raise RuntimeError("\n".join(error_bits)) RuntimeError: Couldn't install clip. Command: "D:\sd.webui\system\python\python.exe" -m pip install https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip --prefer-binary Error code: 1 stdout: Collecting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip stderr: ERROR: HTTP error 404 while getting https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip ERROR: Could not install requirement https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip because of HTTP error 404 Client Error: Not Found for url: https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip for URL https://github.com/openai/CLIP/archive/d50d76daa670286dd6cacf3bcd80b5e4823fc8e1.zip Press any key to continue . . . ``` ### Additional information There was more info in the terminal the very first time I ran it, but the other packages installed successfully.
bug-report
low
Critical
2,526,669,814
godot
Looping 2D animation flickers when physics interpolation is enabled
### Tested versions 4.3 stable ### System information macOS Monterey, iMac (Retina 4K, 21.5-inch, 2017), 3.4 ghz quad-core intel core i5, Radeon Pro 560 4 GB ### Issue description I have several Sprite2Ds animated with AnimationPlayer (changing their position, rotation, scale and skew). The animation is set to a linear loop. When physics interpolation is enabled, the animation flickers at runtime at the start of the cycle. This doesn't happen in the editor, doesn't happen after changing the loop mode to Ping Pong, and, most importantly, doesn't happen when physics interpolation is disabled. ### Steps to reproduce Open MRP, ensure that physics interpolation is enabled, run the project and observe. Then disable physics interpolation and run the project again to compare results. ### Minimal reproduction project (MRP) [looping-animation-issue.zip](https://github.com/user-attachments/files/17004168/looping-animation-issue.zip)
topic:physics,topic:animation,topic:2d
low
Minor
2,526,710,159
PowerToys
增加鼠标右键菜单管理
### Description of the new feature / enhancement 能够删除或增加右键菜单中的项目,增加二级或多级菜单,高度自定义项目 ### Scenario when this would be used? 可以集成到鼠标右键,使截图等一系列操作更加方便,如果使用快捷键,数目繁多难以记忆 ### Supporting information _No response_
Needs-Triage
low
Minor
2,526,730,440
tensorflow
Encountering a `Segmentation fault` when using `data_flow_ops.FIFOQueue` in TensorFlow
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf-nightly 2.18.0.dev20240817 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04.3 LTS (x86_64) ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? A `Segmentation fault` could be raised in TensorFlow when using `data_flow_ops.FIFOQueue` . The following code is confirmed to crash on `tf-nightly 2.18.0.dev20240817` (nightly-build) ### Standalone code to reproduce the issue ```shell from tensorflow.python.framework import dtypes as dtypes_lib from tensorflow.python.ops import data_flow_ops import tensorflow as tf q = data_flow_ops.FIFOQueue(10, dtypes_lib.float32, ()) elems = [10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0] tmp_var64 = elems[4:8] sess = tf.compat.v1.Session() with sess.as_default(): q.dequeue_up_to([]) ``` ### Relevant log output ```shell > Segmentation fault (core dumped) ```
stat:awaiting tensorflower,type:bug,comp:ops,2.17
medium
Critical
2,526,730,518
ui
[bug]: During the installation getting error
### Describe the bug I am installing Shadcn in Next.js and encountering this error. Before this, I was facing issues while installing it, so I created a fresh project using npx create-next-app@latest. Then, I ran the command npx shadcn@latest init. After selecting the options, I received this error. My operating system is Windows 10. ![image](https://github.com/user-attachments/assets/0c26ff71-fdd0-4222-8c25-3bae5ec277c0) ### Affected component/components No anything when install it does complete automatically ### How to reproduce - Create a fresh Next.js project using the command: `npx create-next-app@latest` - Then, run the following command to install Shadcn: `npx shadcn@latest init` - then you encounter an error during this process, you may need to complete the installation manually. ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash Operating system: Windows 10 System: HP Elitebook 840G ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,526,733,284
pytorch
Setting `True` to `return_indices` argument of `nn.MaxPool1d()` with the tensor of `int` works
### 🐛 Describe the bug Setting `False` to `return_indices` argument of [nn.MaxPool1d()](https://pytorch.org/docs/stable/generated/torch.nn.MaxPool1d.html) with the tensor of `int` gets the error message as shown below: ```python import torch from torch import nn my_tensor = torch.tensor([[8, -3, 0, 1, 5, -2]]) # ↓↓↓↓↓ maxpool1d = nn.MaxPool1d(kernel_size=1, return_indices=False) maxpool1d(input=my_tensor) # Error ``` > RuntimeError: "max_pool1d_impl" not implemented for 'Long' But setting `True` to `return_indices` argument of `nn.MaxPool1d()` with the tensor of `int` works as shown below: ```python import torch from torch import nn my_tensor = torch.tensor([[8, -3, 0, 1, 5, -2]]) # ↓↓↓↓ maxpool1d = nn.MaxPool1d(kernel_size=1, return_indices=True) maxpool1d(input=my_tensor) # (tensor([[8, -3, 0, 1, 5, -2]]), tensor([[0, 1, 2, 3, 4, 5]])) ``` ### Versions ```python import torch torch.__version__ # '2.3.0' ``` cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: nn,triaged
low
Critical
2,526,754,799
godot
Script editor back button doesn't work as advertised (regression)
### Tested versions v4.3.stable.official [77dcf97d8] Reproducible. v4.2 works as expected. ### System information v4.3.stable.official [77dcf97d8] Reproducible.Compatibility Apple M1 Max Sonoma 14.6.1 (23G93) ### Issue description <img width="254" alt="Screenshot 2024-09-14 at 10 43 32 PM" src="https://github.com/user-attachments/assets/f81a29e0-8983-4ce5-857d-30ae0379f104"> It no longer "goes back to previous edited document" as advertised when you hover over the button. Clicking the back button in the script editor will now go back to every single line that has been selected, even if it wasn't edited, and even if it is all in the same script! I assume this is a bug. But if it was intentional, please revert back. This issue removes the convenience of quickly navigating back to the previous script with 1 click. Now you might have to press the back button any number of times (dozens? in worse case) just to go back to the previous script. ### Steps to reproduce Have 2 scripts. Make sure the scripts are somewhat long. (You can use any text and just comment it out) <img width="103" alt="Screenshot 2024-09-14 at 10 54 16 PM" src="https://github.com/user-attachments/assets/dd649939-28c3-40f5-b86f-de98c1dd1f64"> Step 1: Open script 1 then open script 2. Step 2: Click on several different lines in the text editor. Step 3: Then press the back button. It SHOULD go back to script 1. But actually it will go to every line you selected in step 2 Edit: Also I added a second bug with my 2nd comment - which is clearly a bug. ### Minimal reproduction project (MRP) Use any empty project.
discussion,topic:editor
low
Critical
2,526,760,080
flutter
[camera_android_camerax] CameraX Version 1.4
### Use case Usage of camerax 1.4.0 CameraX 1.4.0-rc02 is out there with a lot of bug fixes. https://developer.android.com/jetpack/androidx/releases/camera#1.4.0-rc02 Possibility to implement new features such as: > ZoomGestureDetector.ZoomEvent > CameraInfo.getCameraInfo > CameraInfo.mustPlayShutterSound ### Proposal 1. Test what refactoring updates has to be made in order to leverage CameraX 1.4.0 improvements. 2. Plan exposing new features available in CameraX 1.4.0
c: new feature,platform-android,p: camera,package,c: proposal,P2,team-android,triaged-android
low
Critical
2,526,765,462
kubernetes
make the scheduler can react when the runtimeclass is changed
### What would you like to be added? at first runtimeclass is not tolerations taints ,so the pod is pending then I modify runitmeclass make it toleration the taint ,but the pod is still pending make the scheduler can react when the runtimeclass is changed ``` cat <<EOF | kubectl apply -n k8s -f - apiVersion: node.k8s.io/v1 kind: RuntimeClass metadata: name: runsc handler: runsc scheduling: nodeSelector: kata: "true" tolerations: - effect: NoSchedule key: storage operator: Equal value: slow EOF ``` oot@k8s-master01:~# kubectl get pod -n k8s NAME READY STATUS RESTARTS AGE busybox 0/1 Pending 0 80s ### Why is this needed? make the scheduler can react when the runtimeclass is changed
sig/scheduling,sig/node,kind/feature,lifecycle/rotten,needs-triage
low
Major
2,526,770,771
ui
[feat]: Toggle sidebar
### Feature description I think it'll be useful if there'll be an option to open-close toggle the sidebar in the components page, so we could extend our read area when working on split screens ### Affected component/components _No response_ ### Additional Context _No response_ ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues and PRs
area: request
low
Minor
2,526,788,818
ui
[bug]: Is there a way to automatically close a Popover if it is not in viewport?
### Describe the bug I am attaching a Popover to a button on my menu bar. I want the Popover to be hidden when it is no longer in the Viewport when scrolled up, but it is scrolled down as well. I have tried using z-indexes on other elements overlaying it but it doesn't work. ### Affected component/components Popover ### How to reproduce 1) Create button in navigation 2) Click button to show Popover 3) When scroll, Popover is not in Viewport but it always show ### Codesandbox/StackBlitz link _No response_ ### Logs _No response_ ### System Info ```bash Google ``` ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues
bug
low
Critical
2,526,791,576
vscode
The bottom border of Manage menu is cut
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: 1.93.1 - OS Version: Windows_NT x64 10.0.19045 Steps to Reproduce: 1. Hide the Status bar 2. Click the Manage button in the bottem left 3. See the picture below ![image](https://github.com/user-attachments/assets/e74813be-c174-45a9-8116-8f84c3ef8389) (Update: it's still remaining in version 1.93.1)
polish,layout,workbench-views
low
Critical
2,526,797,222
react-native
`ReactNoCrashSoftException: "Cannot find EventEmitter for receivedTouches"` warning in Android Native UI Component
### Description We are creating an Android Native UI Component consisting of ViewPager2 and RecyclerView. When a touch occurs in RecyclerView, the following error occurs. ### Steps to reproduce 1. Run the project. 2. Scroll through the thumbnail list. ### React Native Version 0.75.3 ### Affected Platforms Runtime - Android ### Output of `npx react-native info` ```text System: OS: macOS 14.1 CPU: (12) arm64 Apple M2 Pro Memory: 96.50 MB / 32.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.11.1 path: ~/.nvm/versions/node/v20.11.1/bin/node Yarn: Not Found npm: version: 10.2.4 path: ~/.nvm/versions/node/v20.11.1/bin/npm Watchman: version: 2023.10.23.00 path: /usr/local/bin/watchman Managers: CocoaPods: version: 1.14.3 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 23.4 - iOS 17.4 - macOS 14.4 - tvOS 17.4 - visionOS 1.1 - watchOS 10.4 Android SDK: Not Found IDEs: Android Studio: 2024.1 AI-241.18034.62.2412.12266719 Xcode: version: 15.3/15E204a path: /usr/bin/xcodebuild Languages: Java: version: 17.0.11 path: /usr/bin/javac Ruby: version: 2.6.10 path: /usr/bin/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.3.1 wanted: 18.3.1 react-native: installed: 0.75.3 wanted: 0.75.3 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: false ``` ### Stacktrace or Logs ```text Unhandled SoftException com.facebook.react.bridge.ReactNoCrashSoftException: Cannot find EventEmitter for receivedTouches: ReactTag[2131230852] UIManagerType[2] EventName[topTouchStart] at com.facebook.react.uimanager.events.ReactEventEmitter.receiveTouches(ReactEventEmitter.java:102) at com.facebook.react.uimanager.events.TouchEvent.dispatchModern(TouchEvent.kt:124) at com.facebook.react.uimanager.events.EventDispatcherImpl$DispatchEventsRunnable.run(EventDispatcherImpl.java:376) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:235) at java.lang.Thread.run(Thread.java:1012) Unhandled SoftException com.facebook.react.bridge.ReactNoCrashSoftException: Cannot find EventEmitter for receivedTouches: ReactTag[2131230852] UIManagerType[2] EventName[topTouchMove] at com.facebook.react.uimanager.events.ReactEventEmitter.receiveTouches(ReactEventEmitter.java:102) at com.facebook.react.uimanager.events.TouchEvent.dispatchModern(TouchEvent.kt:124) at com.facebook.react.uimanager.events.EventDispatcherImpl$DispatchEventsRunnable.run(EventDispatcherImpl.java:376) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:235) at java.lang.Thread.run(Thread.java:1012) Unhandled SoftException com.facebook.react.bridge.ReactNoCrashSoftException: Cannot find EventEmitter for receivedTouches: ReactTag[2131230852] UIManagerType[2] EventName[topTouchEnd] at com.facebook.react.uimanager.events.ReactEventEmitter.receiveTouches(ReactEventEmitter.java:102) at com.facebook.react.uimanager.events.TouchEvent.dispatchModern(TouchEvent.kt:124) at com.facebook.react.uimanager.events.EventDispatcherImpl$DispatchEventsRunnable.run(EventDispatcherImpl.java:376) at android.os.Handler.handleCallback(Handler.java:958) at android.os.Handler.dispatchMessage(Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) at android.os.Looper.loopOnce(Looper.java:230) at android.os.Looper.loop(Looper.java:319) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:235) at java.lang.Thread.run(Thread.java:1012) ``` ### Reproducer https://github.com/dekim1028/error ### Screenshots and Videos https://github.com/user-attachments/assets/86d636c7-4ecc-4666-a49e-208b88e701af
Issue: Author Provided Repro,Platform: Android,Needs: Author Feedback
low
Critical
2,526,807,717
rust
Miscompilation: comparing a pointer against all possible addresses returns `false`
Consider this code: ```rust #![feature(strict_provenance)] use std::ptr; #[no_mangle] pub fn test(x: *mut u8) -> bool { let local = 0u8; for i in 0..=usize::MAX { if x.addr() == ptr::from_ref(&local).wrapping_add(i).addr() { return true; } } false } ``` This compares `x.addr()` with *every possible address there is*. And yet, the optimized LLVM IR for this is: ``` ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define noundef zeroext i1 @test(ptr nocapture noundef readnone %x) unnamed_addr #0 { start: ret i1 false } ``` That's clearly nonsense. This is the Rust version of https://github.com/llvm/llvm-project/issues/34450. Cc @nikic @rust-lang/opsem
A-LLVM,P-low,T-compiler,I-unsound,I-miscompile
low
Major
2,526,810,090
terminal
Large drop in performance when using font features
### Windows Terminal version 1.22.2362.0 ### Windows build number 10.0.19045.4894 ### Other Software [Iosevka Term 31.6.1](https://github.com/be5invis/Iosevka/blob/v31.6.1/doc/PACKAGE-LIST.md) ### Steps to reproduce 1. Download and install [Iosevka Term 31.6.1](https://github.com/be5invis/Iosevka/blob/v31.6.1/doc/PACKAGE-LIST.md). 2. Set font face to Iosevka Term 3. Set any of the available font features to an arbitrary value. ### Expected Behavior Smooth scrolling/selection. ### Actual Behavior Selection via mouse and scrolling becomes very sluggish. It is less noticeable on a blank cmd, but it gets worse and worse with more colors, characters and a bigger window. Especially noticeable when using a command line editor like Vim/Helix via WSL. Removing the font features immediately makes everything smooth again. I can't reproduce this behavior with Cascadia Code, only noticed it with Iosevka Term so far.
Area-Rendering,Issue-Bug,Product-Terminal
low
Major
2,526,816,102
flutter
SliderTickMarkShape paint() arguments
### Use case The theming of the `Slider` allows us to provide our own implementation for various elements, including the tick marks on the track. But there's one obvious oversight: the `paint()` function doesn't receive which tick mark should be painted, so there's no way to paint different marks depending on position (an obvious and ubiquitous use case would be to draw a larger tick for every fifth or tenth or similar division). ### Proposal The obvious solution would be to add a new argument to the paint function: ``` void paint( PaintingContext context, Offset center, { required RenderBox parentBox, required SliderThemeData sliderTheme, required Animation<double> enableAnimation, required TextDirection textDirection, required Offset thumbCenter, required bool isEnabled, int index = 0, // not passed by original Slider }) ``` but this might lead to compatibility problems. So, a new field could be introduced in `SliderTickMarkShape`, eg. `tickMarkPaintIndex`, that gets set before each call to `paint()` and the routine can consult it to determine how to do its painting accordingly.
framework,f: material design,c: proposal,P3,team-design,triaged-design
low
Minor
2,526,822,086
godot
You get locked out of the code editor after CtrL+Shift+U and then clicking somewhere
### Tested versions Reproducible in 4.3 ### System information Godot v4.3.stable - Pop!_OS 22.04 LTS - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (ADL GT2) - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads) ### Issue description The code in the script editor stops being editable when you click somewhere while you're inputting a unicode with Ctrl+Shift+U. ### Steps to reproduce - Press Ctrl+Shift+U (or Ctrl+Shift+E if your system supports it). You'll see an underlined letter appear, which now prompts you to type something to input the unicode or emoji. - Click somewhere in the code editor. - You're now locked out and can't write code. You can get edit access back by doing Ctrl+Shift+U again. The expected behavior would be that you exit unicode mode, or that you'd now be adding a unicode character in the new caret position (the latter seems to be how it's usually implemented). ### Minimal reproduction project (MRP) N/A
bug,topic:editor
low
Minor
2,526,834,221
langchain
cannot import name 'from_env' from 'langchain_core.utils'
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangChain rather than my code. - [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). ### Example Code from crewai import Agent, Task , Crew from langchain_huggingface import HuggingFaceEndpoint llm = HuggingFaceEndpoint( repo_id="microsoft/Phi-3-mini-4k-instruct", task="text-generation", max_new_tokens=512, do_sample=False, repetition_penalty=1.03, ) ### Error Message and Stack Trace (if applicable) ImportError: cannot import name 'from_env' from 'langchain_core.utils' (c:\Users\User\AppData\Local\Programs\Python\Python312\Lib\site-packages\langchain_core\utils\__init__.py) ### Description when trying to use import HuggingFaceEndpoint get an error: cannot import name 'from_env' from 'langchain_core.utils' try using python version 10 and version 12, meet the same error. ### System Info python version 12.
investigate,Ɑ: core
low
Critical
2,526,870,086
yt-dlp
Rule34video no longer returning correct uploader name
### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE - [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field ### Checklist - [X] I'm reporting that yt-dlp is broken on a **supported** site - [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels)) - [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details - [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command) - [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates - [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue) - [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required ### Region _No response_ ### Provide a description that is worded well enough to be understood When downloading videos from rule34video.com, uploader name returns as NA. ### Provide verbose output that clearly demonstrates the problem - [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead - [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below ### Complete Verbose Output ```shell [debug] Command-line config: ['-vU', 'https://rule34video.com/video/3533043/aunt-cass-tiktok-cosplay/'] [debug] User config "C:\Users\USERNAME\AppData\Roaming\yt-dlp\config": ['--merge-output-format', 'mkv', '--no-mtime', '--windows-filenames', '--concurrent-fragments', '4', '--retries', '3', '-o', '[%(uploader)s] %(upload_date>%Y-%m-%d)s %(title).100s [%(id)s].%(ext)s'] [debug] Encodings: locale cp932, fs utf-8, pref cp932, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version nightly@2024.09.14.232748 from yt-dlp/yt-dlp-nightly-builds [a06bb5867] (win_exe) [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k 25 Mar 2021) [debug] exe versions: none [debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.0.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1835 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Latest version: nightly@2024.09.14.232748 from yt-dlp/yt-dlp-nightly-builds yt-dlp is up to date (nightly@2024.09.14.232748 from yt-dlp/yt-dlp-nightly-builds) [Rule34Video] Extracting URL: https://rule34video.com/video/3533043/aunt-cass-tiktok-cosplay/ [Rule34Video] 3533043: Downloading webpage [debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id [debug] Default format spec: best/bestvideo+bestaudio [info] 3533043: Downloading 1 format(s): 3 [debug] Invoking http downloader on "https://rule34video.com/get_file/16/cac24f13f5194551cb847c98b07ba8f836ca6e3843/3533000/3533043/3533043_1080p.mp4/?download_filename=aunt-cass-tiktok-cosplay_1080p.mp4&download=true&br=5679" [debug] File locking is not supported. Proceeding without locking [download] Destination: [NA] 2024-09-15 Aunt Cass TikTok Cosplay [3533043].mp4 [download] 100% of 17.33MiB in 00:00:56 at 313.53KiB/s ```
NSFW,site-bug,patch-available
low
Critical
2,526,874,443
rust
ICE: suggestion must not have overlapping parts `E0599`
<!-- Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for how to create smaller examples. http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/ --> ### Code ```Rust enum U { B(isize, usize), } fn main() { let x = T::A(U::C); } ``` ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> `rustc --version --verbose`: ``` rustc 1.83.0-nightly (9b72238eb 2024-09-14) binary: rustc commit-hash: 9b72238eb813e9d06e9e9d270168512fbffd7ee7 commit-date: 2024-09-14 host: x86_64-unknown-linux-gnu release: 1.83.0-nightly LLVM version: 19.1.0 ``` ### Error output ``` error[E0433]: failed to resolve: use of undeclared type `T` --> k.rs:6:13 | 6 | let x = T::A(U::C); | ^ | | | use of undeclared type `T` | help: an enum with a similar name exists: `U` error[E0599]: no variant or associated item named `C` found for enum `U` in the current scope --> k.rs:6:21 | 1 | enum U { | ------ variant or associated item `C` not found for this enum ... 6 | let x = T::A(U::C); | ^ variant or associated item not found in `U` | help: there is a variant with a similar name | 6 | let x = T::A(/* isize */, /* usize */B); | ~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 2 previous errors Some errors have detailed explanations: E0433, E0599. For more information about an error, try `rustc --explain E0433`. ```
A-diagnostics,I-ICE,T-compiler,C-bug,D-invalid-suggestion,S-bug-has-test,requires-debug-assertions
low
Critical
2,526,875,743
ollama
Multi-user installation for Ollama on MacOS
Trying to help my university IT install Ollama in such a way that it can be distributed via the IT self-service installation process which uses [Jamf Pro](https://www.jamf.com/products/jamf-pro/). Looks like this might already be possible. Seems that when trying to run the installer inside `/Applications` folder the installer succeeds but then upon first use by a user, the user is prompted to install the command line interface and asked to provide admin password. Any suggestions would be much appreciated!
feature request
low
Minor
2,526,893,775
rust
Some linker sections are missing when building project with nightly toolchain
I'm using Ubuntu Linux 20.04. I have a project which build some `.c` files (lttng tracepoints) in `build.rs` with `cc::Build` and link it to executable. In `stable` version of Rust toolchain everything works fine. But when compiling it with `nightly` Rust toolchain some tracepoint data is missing in resulting executable and tracing does not working. ### Code Here is the archive of minimal project which have a link problem on `nightly`: [lttng_link_test.zip](https://github.com/user-attachments/files/17005743/lttng_link_test.zip) To build the code you may need to install `liblttng-ust-dev` package. The Rust toolchain is specified in `rust-toolchain.toml` file of the project. I tried this code: ```sh > cargo build > nm target/debug/lttng_link_test | grep tracepoint_ptr ``` I expected to see this happen: ```sh 0000000000057118 d __tracepoint_ptr_hello_world___my_first_tracepoint 0000000000057128 V __tracepoint_ptrs_registered ``` Instead, this happened: ```sh 0000000000059988 b __tracepoint_ptrs_registered ``` The `__tracepoint_ptr_hello_world___my_first_tracepoint` is missing. ### Version it worked on It most recently worked on: ``` rustc 1.81.0 (eeb90cda1 2024-09-04) binary: rustc commit-hash: eeb90cda1969383f56a2637cbd3037bdf598841c commit-date: 2024-09-04 host: x86_64-unknown-linux-gnu release: 1.81.0 LLVM version: 18.1.7 ``` ### Version with regression ``` rustc 1.83.0-nightly (9b72238eb 2024-09-14) binary: rustc commit-hash: 9b72238eb813e9d06e9e9d270168512fbffd7ee7 commit-date: 2024-09-14 host: x86_64-unknown-linux-gnu release: 1.83.0-nightly LLVM version: 19.1.0 ``` <!-- If you know when this regression occurred, please add a line like below, replacing `{channel}` with one of stable, beta, or nightly. @rustbot modify labels: +regression-from-stable-to-{channel} -regression-untriaged -->
A-linkage,T-compiler,C-bug,requires-nightly
low
Critical
2,526,905,974
PowerToys
[VERY MUCH NEEDED] Separate Power Run plugins for System's commands and IP/MAC addresses.
### Description of the new feature / enhancement IP/MAC addresses get in the way when you want to use a system's command, as reported [here](https://github.com/microsoft/PowerToys/issues/23335). The ideal would be to create a separate plugin for these addresses, triggered by a different shortcut. And leave the system's commands on their own. ### Scenario when this would be used? Count the times you've used Power Run for your system's command. Now compare it to the times you've used it to grab an IP/MAC address. Now, do you think it makes sense for these addresses to show up first when trying to use a system's command? Does it even make sense for them to be grouped with the system's commands within the same plugin? ### Supporting information Please, I'm sure it wouldn't take that much effort to implement this. I'd do it myself if I could. Thanks to anyone who will help.
Needs-Triage
low
Minor
2,526,909,853
transformers
The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results.
### System Info - `transformers` version: 4.44.2 - Platform: Linux-6.8.0-44-generic-x86_64-with-glibc2.39 - Python version: 3.12.3 - Huggingface_hub version: 0.24.7 - Safetensors version: 0.4.5 - Accelerate version: not installed - Accelerate config: not found - PyTorch version (GPU?): 2.4.1+cu121 (False) - Tensorflow version (GPU?): not installed (NA) - Flax version (CPU?/GPU?/TPU?): not installed (NA) - Jax version: not installed - JaxLib version: not installed - Using distributed or parallel set-up in script?: No ### Who can help? speech models: @ylacombe, @eustlb pipelines: @Rocketknight1 ### Information - [ ] The official example scripts - [X] My own modified scripts ### Tasks - [ ] An officially supported task in the `examples` folder (such as GLUE/SQuAD, ...) - [ ] My own task or dataset (give details below) ### Reproduction ```python import torch from transformers import pipeline pipe = pipeline( "automatic-speech-recognition", model="openai/whisper-base.en", device="cpu", torch_dtype=torch.float32, ) # https://github.com/openai/whisper/blob/main/tests/jfk.flac pipe("./jfk.flac") ``` ### Expected behavior This does return the expected: ```python {'text': ' And so my fellow Americans ask not what your country can do for you, ask what you can do for your country.'} ``` But it also prints the following, so would be nice to fix/suppress: ``` The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input's `attention_mask` to obtain reliable results. ``` Thanks!
bug
low
Major
2,526,928,875
neovim
diagnostics UI not updating after "textDocument/publishDiagnostics" event (with is_pull=false)
### Problem - The LSP server sends code actions list to Neovim client one of the code actions does not update the buffer (it's for ignoring the error) - The code action sends the new diagnostics list using (textDocument/publishDiagnostics) to Neovim - Now the UI does not change unless I update the buffer manually https://github.com/user-attachments/assets/b19db9e5-10a8-41c6-bd15-044a4ad5e95d adding this to `init.lua` ```lua vim.api.nvim_create_autocmd('DiagnosticChanged', { callback = function(args) vim.print(vim.inspect(args)) end, }) ``` it prints the up to date version of diagnostics ### Steps to reproduce using "nvim -u minimal_init.lua" ```lua vim.api.nvim_create_autocmd('FileType', { pattern = { "markdown", "text", "plaintext", "md", "html", "xml", "json", "yaml", "toml", "javascript", "typescript", "javascriptreact", "typescriptreact", "css", "scss", "less", "vue", "svelte", "go", "python", "lua", "c", "cpp", "java", "php", "ruby", "rust", "bash", "sh", "dockerfile", "sql" }, callback = function(args) vim.lsp.start({ name = "cspell", cmd = { "node", "path/to/dist/server.js", "--stdio" }, root_dir = vim.fn.getcwd(), }) end, }) ``` 1. run `nvim test.txt` 2. write `hellx` or any misspelled word 3. run `lua vim.lsp.buf.code_action()` 4. chose the last code action for adding the word to user settings ### Expected behavior to update the UI of diagnostics without the need for updating the file ### Neovim version (nvim -v) NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068 ### Language server name/version custom made, https://github.com/salihdhaifullah/cspell-lsp ### Operating system/version Ubuntu 22.04.4 LTS ### Log file _No response_
bug,has:plan,lsp,diagnostic
low
Critical
2,526,939,196
neovim
cmdheight=0: Restoring session prints current file name in cmd line with "Press ENTER or type command to continue" prompt
### Problem When restoring session with `nvim -S` I get annoying prompt to press enter. It is not happening with version 0.9-x. Only started happening after upgrade to 0.10 My `cmdheight` option is set to 0 ### Steps to reproduce start `nvim -S ` to restore seesion. The current open file name will be printed in cmd line with the mentioned prompt. ### Expected behavior No prompt ### Neovim version (nvim -v) v0.10.1 ### Vim (not Nvim) behaves the same? no ### Operating system/version arch linux 6.10.9 ### Terminal name/version xfce terminal ### $TERM environment variable xterm-256color ### Installation arch official repo
bug,ui,has:bisected,messages,editor
low
Major
2,526,940,672
deno
Segfault with attaching debugger
### Steps to reproduce Note: I couldn't reliably reproduce the segmentation fault. I archived the entire project directory with git archive and attempted reproduction in another dev container, but the issue did not reoccur. The following is for reference purposes only. 1. My environment. ``` macOS Sonoma 14.5 Docker Desktop 4.30.0 Cursor IDE 0.40.4 Deno 2.0.0-rc.2 (Devcontainer Dockerfile) ``` 2. Clone the repository: `git clone -b debugger-segfault https://github.com/jeiea/deno_report.git` Make sure to check out the correct branch. 3. Open the cloned directory in VSCode, then run the command: *Dev Containers: Reopen in Container*. 5. After the container builds, open `main.ts` and press F5. ### Expected behavior The debugger should stop at the debugger statement. ### Actual behavior The debug task stops immediately. ### Additional context <summary> I managed to capture debugging information using lldb and found a segfault stack trace. <details> ``` ➜ git:(debug/abort) ✗ cd /workspaces/project ; /usr/bin/env RUST_BACKTRACE=full 'VSCODE_INSPECTOR_OPTIONS=:::{"inspe ctorIpc":"/tmp/node-cdp.326-bb675a64-7.sock","deferredMode":false,"waitForDebugger":"","onlyEntrypoint":false,"autoAttachMode":"always","mandatePortTr acking":true,"fileCallback":"/tmp/node-debug-callback-ec67ca8f89c8fd1e"}' /usr/bin/lldb -- /usr/bin/deno run --inspect-wait --allow-all ./main.ts Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'lldb.embedded_interpreter' (lldb) target create "/usr/bin/deno" Current executable set to '/usr/bin/deno' (aarch64). (lldb) settings set -- target.run-args "run" "--inspect-wait" "--allow-all" "./main.ts" (lldb) run Process 3112 launched: '/usr/bin/deno' (aarch64) Debugger listening on ws://127.0.0.1:9229/ws/6cd7c667-661b-41d5-ab82-06918a8ad73f Visit chrome://inspect to connect to the debugger. Deno is waiting for debugger to connect. Debugger session started. Process 3112 stopped * thread #1, name = 'deno', stop reason = signal SIGSEGV: invalid address (fault address: 0xffffffffffffffff) frame #0: 0x0000aaaaadbe1efc deno`v8::internal::Context::module() const + 28 deno`v8::internal::Context::module: -> 0xaaaaadbe1efc <+28>: ldur x9, [x8, #-0x1] 0xaaaaadbe1f00 <+32>: ldurh w9, [x9, #0xb] 0xaaaaadbe1f04 <+36>: cmp w9, #0xe3 0xaaaaadbe1f08 <+40>: b.ne 0xaaaaadbe1ef8 ; <+24> (lldb) bt all * thread #1, name = 'deno', stop reason = signal SIGSEGV: invalid address (fault address: 0xffffffffffffffff) * frame #0: 0x0000aaaaadbe1efc deno`v8::internal::Context::module() const + 28 frame #1: 0x0000aaaaad9bd0fc deno`v8::internal::ScopeIterator::VisitLocals(std::__Cr::function<bool (v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::Object>, v8::internal::ScopeIterator::ScopeType)> const&, v8::internal::ScopeIterator::Mode, v8::internal::ScopeIterator::ScopeType) const + 696 frame #2: 0x0000aaaaad9bb9c4 deno`v8::internal::ScopeIterator::VisitLocalScope(std::__Cr::function<bool (v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::Object>, v8::internal::ScopeIterator::ScopeType)> const&, v8::internal::ScopeIterator::Mode, v8::internal::ScopeIterator::ScopeType) const + 80 frame #3: 0x0000aaaaad9bb2cc deno`v8::internal::ScopeIterator::DeclaresLocals(v8::internal::ScopeIterator::Mode) const + 164 frame #4: 0x0000aaaaad9c0588 deno`v8::internal::DebugScopeIterator::Advance() + 64 frame #5: 0x0000aaaaae3f703c deno`v8_inspector::V8DebuggerAgentImpl::currentCallFrames(std::__Cr::unique_ptr<std::__Cr::vector<std::__Cr::unique_ptr<v8_inspector::protocol::Debugger::CallFrame, std::__Cr::default_delete<v8_inspector::protocol::Debugger::CallFrame> >, std::__Cr::allocator<std::__Cr::unique_ptr<v8_inspector::protocol::Debugger::CallFrame, std::__Cr::default_delete<v8_inspector::protocol::Debugger::CallFrame> > > >, std::__Cr::default_delete<std::__Cr::vector<std::__Cr::unique_ptr<v8_inspector::protocol::Debugger::CallFrame, std::__Cr::default_delete<v8_inspector::protocol::Debugger::CallFrame> >, std::__Cr::allocator<std::__Cr::unique_ptr<v8_inspector::protocol::Debugger::CallFrame, std::__Cr::default_delete<v8_inspector::protocol::Debugger::CallFrame> > > > > >*) + 644 frame #6: 0x0000aaaaae3ed61c deno`v8_inspector::V8DebuggerAgentImpl::didPause(int, v8::Local<v8::Value>, std::__Cr::vector<int, std::__Cr::allocator<int> > const&, v8::debug::ExceptionType, bool, v8::base::EnumSet<v8::debug::BreakReason, int>) + 2644 frame #7: 0x0000aaaaae3dc044 deno`v8_inspector::V8InspectorImpl::forEachSession(int, std::__Cr::function<void (v8_inspector::V8InspectorSessionImpl*)> const&) + 756 frame #8: 0x0000aaaaae3e2cf0 deno`v8_inspector::V8Debugger::handleProgramBreak(v8::Local<v8::Context>, v8::Local<v8::Value>, std::__Cr::vector<int, std::__Cr::allocator<int> > const&, v8::base::EnumSet<v8::debug::BreakReason, int>, v8::debug::ExceptionType, bool) + 608 frame #9: 0x0000aaaaad9c3424 deno`v8::internal::Debug::OnDebugBreak(v8::internal::Handle<v8::internal::FixedArray>, v8::internal::StepAction, v8::base::EnumSet<v8::debug::BreakReason, int>) + 344 frame #10: 0x0000aaaaad9c297c deno`v8::internal::Debug::Break(v8::internal::JavaScriptFrame*, v8::internal::Handle<v8::internal::JSFunction>) + 1088 frame #11: 0x0000aaaaade5f074 deno`v8::internal::Runtime_DebugBreakOnBytecode(int, unsigned long*, v8::internal::Isolate*) + 196 frame #12: 0x0000aaaaaec435c4 deno`Builtins_CEntry_Return2_ArgvOnStack_NoBuiltinExit + 100 frame #13: 0x0000aaaaaed18a70 deno`Builtins_DebugBreak2Handler + 80 frame #14: 0x0000aaaaaeba6240 deno`Builtins_InterpreterEntryTrampoline + 288 frame #15: 0x0000aaaaaebe830c deno`Builtins_GeneratorPrototypeNext + 140 frame #16: 0x0000aaaaaeba3d34 deno`Builtins_JSEntryTrampoline + 180 frame #17: 0x0000aaaaaeba397c deno`Builtins_JSEntry + 188 frame #18: 0x0000aaaaad9f1530 deno`v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) + 1604 frame #19: 0x0000aaaaad9f1dbc deno`v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) + 92 frame #20: 0x0000aaaaad9f1e90 deno`v8::internal::Execution::TryCall(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, v8::internal::Execution::MessageHandling, v8::internal::MaybeHandle<v8::internal::Object>*) + 124 frame #21: 0x0000aaaaadd7b7f0 deno`v8::internal::SourceTextModule::ExecuteModule(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::MaybeHandle<v8::internal::Object>*) + 164 frame #22: 0x0000aaaaadd7b154 deno`v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule> >*, unsigned int*) + 924 frame #23: 0x0000aaaaadd7af84 deno`v8::internal::SourceTextModule::InnerModuleEvaluation(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>, v8::internal::ZoneForwardList<v8::internal::Handle<v8::internal::SourceTextModule> >*, unsigned int*) + 460 frame #24: 0x0000aaaaadd7ac7c deno`v8::internal::SourceTextModule::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::SourceTextModule>) + 240 frame #25: 0x0000aaaaadd47980 deno`v8::internal::Module::Evaluate(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Module>) + 228 frame #26: 0x0000aaaaad8ebeb0 deno`v8::Module::Evaluate(v8::Local<v8::Context>) + 556 frame #27: 0x0000aaaab07c8858 deno`deno_core::modules::map::ModuleMap::mod_evaluate::h01efb854dc2212e3 + 596 frame #28: 0x0000aaaab07ecfa0 deno`deno_core::runtime::jsruntime::JsRuntime::mod_evaluate::h47fa68b92f6b1174 + 64 frame #29: 0x0000aaaaaf19c914 deno`deno::worker::CliMainWorker::evaluate_module_possibly_with_npm::_$u7b$$u7b$closure$u7d$$u7d$::h0ae5ac4cb102e77b + 148 frame #30: 0x0000aaaaaf19bb9c deno`deno::worker::CliMainWorker::execute_main_module_possibly_with_npm::_$u7b$$u7b$closure$u7d$$u7d$::h42adcde395f81aba + 816 frame #31: 0x0000aaaaaf19afd4 deno`deno::worker::CliMainWorker::run::_$u7b$$u7b$closure$u7d$$u7d$::h310e9370cf2bb718 + 648 frame #32: 0x0000aaaaaf1b19c4 deno`deno::run_subcommand::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::he828cd9a8f82f52f + 3244 frame #33: 0x0000aaaaaf1a665c deno`deno::spawn_subcommand::_$u7b$$u7b$closure$u7d$$u7d$::h7bc6f56dde254128 + 112 frame #34: 0x0000aaaaaedd1ee8 deno`_$LT$deno_unsync..tokio..task..MaskFutureAsSend$LT$F$GT$$u20$as$u20$core..future..future..Future$GT$::poll::h3fe065a46748b337 + 12 frame #35: 0x0000aaaaaef5ece8 deno`tokio::runtime::task::raw::poll::hfc0593ec9c11e028 + 72 frame #36: 0x0000aaaaaf1b57d4 deno`deno::main::h5d16eefb091ea8c9 + 3256 frame #37: 0x0000aaaaaee6c1cc deno`std::sys_common::backtrace::__rust_begin_short_backtrace::h4b19a8d1b955a482 + 8 frame #38: 0x0000aaaaaee73308 deno`std::rt::lang_start::_$u7b$$u7b$closure$u7d$$u7d$::hdc5a0f786cbf0fa3 + 12 frame #39: 0x0000aaaaaed82d64 deno`std::rt::lang_start_internal::hd1567374aba5b64a + 828 frame #40: 0x0000aaaaaee732f4 deno`std::rt::lang_start::hc5a9419d268ab127 + 40 frame #41: 0x0000aaaaaf2164a4 deno`main + 12 frame #42: 0x0000fffff7d273fc libc.so.6`___lldb_unnamed_symbol2962 + 108 frame #43: 0x0000fffff7d274cc libc.so.6`__libc_start_main + 152 frame #44: 0x0000aaaaad878034 deno`_start + 52 thread #2, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #3, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #4, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #5, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #6, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #7, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #8, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #9, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #10, name = 'V8 DefaultWorke' frame #0: 0x0000fffff7d79df8 libc.so.6`___lldb_unnamed_symbol3262 + 200 frame #1: 0x0000fffff7d7c8fc libc.so.6`pthread_cond_wait + 520 frame #2: 0x0000aaaaad89fea0 deno`v8::platform::DefaultWorkerThreadsTaskRunner::WorkerThread::Run() + 144 frame #3: 0x0000aaaaad896868 deno`v8::base::ThreadEntry(void*) + 136 frame #4: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #5: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #11, name = 'tokio-runtime-w' frame #0: 0x0000fffff7de1c24 libc.so.6`syscall + 36 frame #1: 0x0000aaaab089c384 deno`_$LT$parking_lot_core..thread_parker..imp..ThreadParker$u20$as$u20$parking_lot_core..thread_parker..ThreadParkerT$GT$::park_until::hcd188b0b29c42938 + 136 frame #2: 0x0000aaaab089d128 deno`parking_lot::condvar::Condvar::wait_until_internal::hd55ab2fcd912bb79 + 252 frame #3: 0x0000aaaab08459a0 deno`std::sys_common::backtrace::__rust_begin_short_backtrace::hbf33c25a1e8912c5 + 548 frame #4: 0x0000aaaab0847ed0 deno`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdcabae7d0223c3f4 + 164 frame #5: 0x0000aaaaaed9d418 deno`std::sys::pal::unix::thread::Thread::new::thread_start::haf793f2025a74235 + 52 frame #6: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #7: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #12, name = 'tokio-runtime-w' frame #0: 0x0000fffff7de1c24 libc.so.6`syscall + 36 frame #1: 0x0000aaaab089c384 deno`_$LT$parking_lot_core..thread_parker..imp..ThreadParker$u20$as$u20$parking_lot_core..thread_parker..ThreadParkerT$GT$::park_until::hcd188b0b29c42938 + 136 frame #2: 0x0000aaaab089d128 deno`parking_lot::condvar::Condvar::wait_until_internal::hd55ab2fcd912bb79 + 252 frame #3: 0x0000aaaab08459a0 deno`std::sys_common::backtrace::__rust_begin_short_backtrace::hbf33c25a1e8912c5 + 548 frame #4: 0x0000aaaab0847ed0 deno`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdcabae7d0223c3f4 + 164 frame #5: 0x0000aaaaaed9d418 deno`std::sys::pal::unix::thread::Thread::new::thread_start::haf793f2025a74235 + 52 frame #6: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #7: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #13, name = 'tokio-runtime-w' frame #0: 0x0000fffff7de1c24 libc.so.6`syscall + 36 frame #1: 0x0000aaaab089c384 deno`_$LT$parking_lot_core..thread_parker..imp..ThreadParker$u20$as$u20$parking_lot_core..thread_parker..ThreadParkerT$GT$::park_until::hcd188b0b29c42938 + 136 frame #2: 0x0000aaaab089d128 deno`parking_lot::condvar::Condvar::wait_until_internal::hd55ab2fcd912bb79 + 252 frame #3: 0x0000aaaab08459a0 deno`std::sys_common::backtrace::__rust_begin_short_backtrace::hbf33c25a1e8912c5 + 548 frame #4: 0x0000aaaab0847ed0 deno`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::hdcabae7d0223c3f4 + 164 frame #5: 0x0000aaaaaed9d418 deno`std::sys::pal::unix::thread::Thread::new::thread_start::haf793f2025a74235 + 52 frame #6: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #7: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 thread #14, name = 'deno' frame #0: 0x0000fffff7de607c libc.so.6`epoll_pwait + 156 frame #1: 0x0000aaaab0884778 deno`mio::poll::Poll::poll::h311122ee393af9b6 + 200 frame #2: 0x0000aaaab0865f38 deno`tokio::runtime::io::driver::Driver::turn::h0b361a022580a73e + 344 frame #3: 0x0000aaaab0868720 deno`tokio::runtime::time::Driver::park_internal::ha535b1807fb3fe4e + 736 frame #4: 0x0000aaaab085ff84 deno`tokio::runtime::scheduler::current_thread::Context::park::h22cb4c5a5f7aa83a + 528 frame #5: 0x0000aaaaaf719c68 deno`std::sys_common::backtrace::__rust_begin_short_backtrace::hb946e8317a5cefee + 2296 frame #6: 0x0000aaaaaf72d654 deno`core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::ha7368470ebf8860a + 176 frame #7: 0x0000aaaaaed9d418 deno`std::sys::pal::unix::thread::Thread::new::thread_start::haf793f2025a74235 + 52 frame #8: 0x0000fffff7d7d5c8 libc.so.6`___lldb_unnamed_symbol3291 + 724 frame #9: 0x0000fffff7de5edc libc.so.6`___lldb_unnamed_symbol3660 + 12 ``` </details> </summary>
bug
low
Critical
2,526,950,811
godot
gdextension: `Object::ConnectFlags` marked as not a bitfield in `extension_api.json`
### Tested versions - Reproducible in: 4.3.stable.official.77dcf97d8 ### System information Godot v4.3.stable - Ubuntu 24.04.1 LTS 24.04 - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX Vega M GH Graphics (RADV VEGAM) - Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz (8 Threads) ### Issue description In `extension_api.json`, `Object::ConnectFlags` is marked as `"is_bitfield": false`, however, given that the enum values are powers of two, the default value in e.g. `Signal::connect` is 0 (seemingly unset), and that the behaviors associated with each enum variant are seemingly orthogonal, it would seem that this is a bitfield. This seems to have led to issues in C# (https://github.com/godotengine/godot/issues/74829) and in Rust gdext (https://github.com/godot-rust/gdext/issues/756). ### Steps to reproduce ```sh godot --dump-extension-api cat extension_api.json | jq '.classes[] | select(.name == "Object").enums[] | select(.name == "ConnectFlags").is_bitfield' # false # alternately, inspect with a pager or text editor ``` ### Minimal reproduction project (MRP) N/A
discussion,topic:core
low
Minor
2,526,960,810
flutter
Date-picker buttons accessibility issue with icon buttons
### Steps to reproduce 1. Use the example code for DatePicker. 2. Turn on Talkback or voiceover 3. Tap on the buttons like edit, calendar_today, chevron_left, chevron_right ### Expected results Icon buttons should not call the detected icon after label. ### Actual results Icon buttons call the detected icon after label. ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; /// Flutter code sample for [showDatePicker]. void main() => runApp(const DatePickerApp()); class DatePickerApp extends StatelessWidget { const DatePickerApp({super.key}); @override Widget build(BuildContext context) { return const MaterialApp( restorationScopeId: 'app', home: DatePickerExample(restorationId: 'main'), ); } } class DatePickerExample extends StatefulWidget { const DatePickerExample({super.key, this.restorationId}); final String? restorationId; @override State<DatePickerExample> createState() => _DatePickerExampleState(); } /// RestorationProperty objects can be used because of RestorationMixin. class _DatePickerExampleState extends State<DatePickerExample> with RestorationMixin { // In this example, the restoration ID for the mixin is passed in through // the [StatefulWidget]'s constructor. @override String? get restorationId => widget.restorationId; final RestorableDateTime _selectedDate = RestorableDateTime(DateTime(2021, 7, 25)); late final RestorableRouteFuture<DateTime?> _restorableDatePickerRouteFuture = RestorableRouteFuture<DateTime?>( onComplete: _selectDate, onPresent: (NavigatorState navigator, Object? arguments) { return navigator.restorablePush( _datePickerRoute, arguments: _selectedDate.value.millisecondsSinceEpoch, ); }, ); @pragma('vm:entry-point') static Route<DateTime> _datePickerRoute( BuildContext context, Object? arguments, ) { return DialogRoute<DateTime>( context: context, builder: (BuildContext context) { return DatePickerDialog( restorationId: 'date_picker_dialog', initialEntryMode: DatePickerEntryMode.calendarOnly, initialDate: DateTime.fromMillisecondsSinceEpoch(arguments! as int), firstDate: DateTime(2021), lastDate: DateTime(2022), ); }, ); } @override void restoreState(RestorationBucket? oldBucket, bool initialRestore) { registerForRestoration(_selectedDate, 'selected_date'); registerForRestoration( _restorableDatePickerRouteFuture, 'date_picker_route_future'); } void _selectDate(DateTime? newSelectedDate) { if (newSelectedDate != null) { setState(() { _selectedDate.value = newSelectedDate; ScaffoldMessenger.of(context).showSnackBar(SnackBar( content: Text( 'Selected: ${_selectedDate.value.day}/${_selectedDate.value.month}/${_selectedDate.value.year}'), )); }); } } @override Widget build(BuildContext context) { return Scaffold( body: Center( child: OutlinedButton( onPressed: () { _restorableDatePickerRouteFuture.present(); }, child: const Text('Open Date Picker'), ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel master, 3.26.0-1.0.pre.127, on macOS 14.6.1 23G93 darwin-arm64, locale en-IN) • Flutter version 3.26.0-1.0.pre.127 on channel master at /Users/creatorpiyush/FlutterSDK/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2c449a96f4 (12 hours ago), 2024-09-14 23:16:38 -0400 • Engine revision f5ccef12c1 • Dart version 3.6.0 (build 3.6.0-255.0.dev) • DevTools version 2.40.0-dev.1 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/creatorpiyush/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • ANDROID_HOME = /Users/creatorpiyush/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.14.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314) [✓] IntelliJ IDEA Community Edition (version 2023.3.4) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] VS Code (version 1.92.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.96.0 [✓] Connected device (4 available) • SM G990E (mobile) • RZCT90LDP7T • android-arm64 • Android 14 (API 34) • macOS (desktop) • macos • darwin-arm64 • macOS 14.6.1 23G93 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.6.1 23G93 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 128.0.6613.138 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
f: material design,a: accessibility,f: date/time picker,has reproducible steps,P2,found in release: 3.24,team-accessibility,triaged-accessibility,found in release: 3.26
low
Major
2,526,977,182
deno
Unexpected error: tempFd.createWriteStream is not a function
When running `observable build` https://compat.deno.dev/#@observablehq/framework-1.11.0
bug,node compat
low
Critical
2,527,014,382
rust
When a type is `#[repr(simd)]`, `#[repr(align(N))]` annotations are ignored.
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> See this example [playground](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=a84ef736c4d63be76b5d6136edcc5f33) ```rust #[repr(simd, align(32))] struct Test([f32; 4]); fn main() { println!("{}", core::mem::align_of::<Test>()); } ``` I expected to see this happen: an alignment of *at least* 32 to be printed. Instead, this happened: the alignment is only `16`, the align of the underlying platform 128bit simd vector type. ### Meta <!-- If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. --> Seen on playground nightly with version ``` (2024-09-14 9b72238eb813e9d06e9e) ```
T-compiler,A-SIMD,C-bug,A-repr,A-align
low
Critical
2,527,019,911
godot
Godot always freezes when I press the export project button for Android using a Gradle build.
### Tested versions Reproducible in: v4.3.stable.official [77dcf97] ### System information Godot v4.3.stable - macOS 12.5.0 - Vulkan (Mobile) - integrated Apple M2 - Apple M2 (8 Threads) ### Issue description I am experiencing a freeze crash when trying to export my project to Android using the Gradle build system in Godot. The editor crashes without displaying any error messages, making it difficult to determine whether the issue is due to a configuration mistake or a bug. Even after I close Godot, my Mac overheats Export Setup Details: 1. JDK: - Version: OpenJDK 17.0.12 - Runtime Environment: Temurin-17.0.12+7 (build 17.0.12+7) - JVM: OpenJDK 64-Bit Server VM Temurin-17.0.12+7 (build 17.0.12+7, mixed mode) 2. Android Development Tools: - Android Studio: 2024.1.1 - Android SDK Platform-Tools: Version 35.0.2 - Android SDK Build-Tools: Version 34.0.0 - Android SDK Platform: Version 34 - Android SDK Command-line Tools: Latest version - CMake: Version 3.10.2.4988404 - NDK: Version 23.2.8568313 3. config.gradle file in Android Build Template ext.versions = [ - androidGradlePlugin: '8.2.0', - compileSdk : 34, - minSdk : 21, - targetSdk : 34, - buildTools : '34.0.0', - kotlinVersion : '1.9.20', - fragmentVersion : '1.7.1', - nexusPublishVersion: '1.3.0', - javaVersion : JavaVersion.VERSION_17, - ndkVersion : '23.2.8568313', - splashscreenVersion: '1.0.1' ] ### Steps to reproduce 1. Open any project in Godot. 2. Go to Project > Export. 3. Select Android and configure the export settings. 4. Enable Gradle Build 6. Click on Export Project. ### Minimal reproduction project (MRP) N/A
bug,platform:android,needs testing,topic:export
low
Critical
2,527,046,210
ui
[feat]: a `shadcn@latest reset` command to re-install components
### Feature description A reset command that would install all the installed components again. the installation status of these components can be tracked via the `components.json` file where the name of the components can be added. ### Affected component/components none ### Additional Context _No response_ ### Before submitting - [X] I've made research efforts and searched the documentation - [X] I've searched for existing issues and PRs
area: request
low
Minor
2,527,052,834
rust
Internal SIMD layout specification is not flexible enough for SPIR-V
In [`rust-gpu`](https://github.com/Rust-GPU/rust-gpu) we implement a codegen backend for SPIR-V. SPIR-V supports vector types, which we currently model by analogue of Rust `Abi::Vector` types, i.e. `#[repr(simd)]`. However, SPIR-V supports vector types of the same size that have a different representation depending on their element, which is incompatible with how Rust currently handles vector type data layouts. ## Base SPIR-V Vector Layout The default representation of SPIR-V vectors is specified in section [2.2.2](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Vector) and [2.18.1](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_memory_layout) of the SPIR-V spec. This default representation is effectively an align of the underlying element type and size of `element_size * count`. As specified in section [2.16](https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_validation_rules), the `count` is limited to 2, 3, or 4 elements, unless certain capabilities are enabled which allow 8 and 16 element vectors as well. ## Extra requirements However, the actual layout requirements of vector types change and can get rather messy depending on where and how they are used. As far as the SPIR-V spec itself is concerned, the above are the only rules. In practice, you must run SPIR-V code through a client implementation of some graphics API. For Vulkan, this adds extra rules for how you can load vector types from different kinds of buffers. The rules are specified [in the Vulkan specification here](https://registry.khronos.org/vulkan/specs/1.3-extensions/html/vkspec.html#interfaces-resources-layout). Basically, under so-called *scalar alignment* rules (the least restrictive), stuff in buffers behaves just like `repr(C)` layout, with vectors retaining the property of having the same alignment as their *base element*. Under the more restrictive layout rules (i.e. older versions of the spec without extensions enabled), vectors start to behave more like on x86 or aarch64: two component vectors have an alignment of twice their base element, and 3 and 4 component vectors both have alignment of 4 times the element. Something that is unclear to me is whether it's even sensical within Rust's type model to allow the same type to exhibit different alignment requirements in different locations. If not, it makes most sense to me to always follow the *less restrictive* model and force the programmer to respect the more restrictive rules manually where applicable. ## Alternative solutions We already have a set of `#[spirv(X)]` attributes. It would be possible, though more annoying and perhaps less flexible, for us to implement a `#[spirv(vector)]` attribute which handles things separately. Right now we are [experimenting](https://github.com/EmbarkStudios/rust-gpu/commit/7943f9e1ebbc65afefa7b248836e4e3f1e9377b9) with basically doing this to patch internal simd vector layouting.
T-compiler,A-SIMD,PG-portable-simd,A-repr,A-align
low
Minor
2,527,056,844
vscode
Port forwarding fails after codespace restart, or rebuild
I have an example repository where this issue happens. https://github.com/mhitza/codespace-port-forwarding-bug (a devcontainer, a compose file and a Dockerfile which uses the php:8.1-apache as base image). Apache runs in the background and this is the base container in which the codespace user operates. First time the codespace is built, the port 80 forwarded port will work. Opened in a new tab, a forbidden page should be shown (because this is a minimal reproduction proof on concept and I've included no additional files for Apache to render). Once the codespace is left (closed), and later returned to it, or the container is rebuilt, the port forwarding will no longer work, and a 502 response will be what I will see instead. However, if I manually remove the port forwarding rule, and add it again manually (just typing port 80 in the field and hitting enter), the forwarding will work once again, until I do any of the previously mentioned actions. Version: 1.93.1 Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0 Embedder: codespaces <!-- generated by web issue reporter -->
bug,upstream,github-codespaces
low
Critical
2,527,067,970
electron
[Feature Request]: Draw GTK window shadow when application have custom window frame
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success. ### Problem Description Hello! With gnome-wayland and weston, the job of drawing the window frame, including the shadow, is all up to the client, the wayland server does not draw window shadow for the client. Electron's ozone-wayland normally draws a gtk-based client-side titlebar with the shadow on gnome and weston, this is good. When an application uses a custom window frame under ozone-wayland, electron doesn't draw any gtk decoration, this is good, **however** this extends to the window shadows, so applications with custom window frames **will be missing shadows with ozone-wayland on gnome and weston** ### Proposed Solution When an app uses a custom window frame and WaylandWindowDecorations is enabled in electron, do not draw GTK window decorations, **but do still draw the GTK window shadow**. ### Alternatives Considered use a shadow effect available with the rounded window corners reborn gnome extension. ### Additional Information This is due to the fact GNOME wayland and Weston does not support the xdg-decoration protocol, leaving everything to be drawn by the app, from the window frame to the window shadow.
enhancement :sparkles:
low
Minor
2,527,071,696
flutter
Allow any flutter.dev/dart.dev package in flutter/packages repo tooling
Currently the flutter/packages repo tooling has an allow list for any package that's not an `sdk:` dependency and not from within flutter/packages. However, any package published by flutter.dev or dart.dev publisher accounts is allowed by policy, so it would be simpler (although slightly more fragile from a CI standpoint since it would add more network communication) to query the pub.dev API for the publisher, instead of having to list all of them individually.
team,p: tooling,package,team-ecosystem,P3,triaged-ecosystem
low
Minor
2,527,105,354
kubernetes
Separate log and container lifecycle management
This is a follow-up to issue #123279, as the scope of the discussion has expanded beyond the original issue. Therefore, I am opening a new issue to focus on this topic. In issue #123279, the goal was to disable kubelet from removing container logs when the container is deleted. However, disabling kubelet from cleaning up logs of removed containers could introduce potential risks, such as log files consuming excessive disk space, eventually leading to the host running out of storage and becoming unresponsive. With that in mind, I would like to further discuss a topic we had previously considered: **separating the lifecycle management of containers and their logs in kubelet**, with the retention of logs for deleted containers being a subset of this broader topic. ref: https://github.com/kubernetes/kubernetes/blob/af2bf2d8f1b3437fe67e1686266a176320422465/pkg/kubelet/kuberuntime/kuberuntime_container.go#L1308-L1314 Below are some features that I think: 1. **Rotation and Compression of Logs from Deleted Pods**: Logs for containers are stored by default under /var/log/pods/, with a unique directory structure based on the pod's namespace-podName-podUUID. Perhaps we should consider compressing the entire pod log directory when the pod is deleted? 2. **Kubelet Management of Deleted Pod Logs**: Kubelet should have a clear configuration to manage the cleanup and retention policy for logs from deleted pods. We could introduce new settings, such as **podLogMaxFiles** and **podLogMaxSize**, similar to the existing containerLogMaxFiles and containerLogMaxSize. 3. **Capacity Limits for Pod Log Directories**: Should we enforce a maximum storage limit for pod log directories? If no limit is set, they could potentially fill up the entire host storage. I'm not entirely sure if these ideas are on the right track, or if simply disabling kubelet's log cleanup for containers is sufficient. I would greatly appreciate any feedback or suggestions. /sig node /kind feature
sig/node,kind/feature,lifecycle/rotten,needs-triage
low
Major
2,527,134,330
godot
Opcode: 4 and 5 (please report) errors on scene Timer when changing code while the game is running
### Tested versions - Reproducable in Godot 4.3 ### System information Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6900 XT (Advanced Micro Devices, Inc.; 32.0.11037.4004) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads) ### Issue description I get different Opcode errors when changing a variable in a script and save while the game is running. The error appears in a subclass of the script I changed. ![image](https://github.com/user-attachments/assets/e3390179-dfc3-4f34-b430-d59caa30905d) ![image](https://github.com/user-attachments/assets/14caaa12-b14e-4135-930f-1540edb72741) The code: ![image](https://github.com/user-attachments/assets/8cafc40e-9188-4e93-aece-75a914a55e01) I saw some issues related to Scene Timers and their cleanup, so maybe related to that. ### Steps to reproduce 1. I change a variable in my superclass script and save 2. The opcode error appears on a script that extends the class 3. It happens on code that create a scene timer, so might be related to that ### Minimal reproduction project (MRP) Nothing yet, will see if I can make one
bug,topic:gdscript,topic:editor
low
Critical
2,527,138,985
PowerToys
power toys Bug
### Microsoft PowerToys version 0.68.1.0 ### Installation method PowerToys auto-update ### Running as admin No ### Area(s) with issue? General ### Steps to reproduce ![image](https://github.com/user-attachments/assets/1038c296-c617-44d0-833b-6decd830409a) ### ✔️ Expected Behavior work normally, i guess... ### ❌ Actual Behavior Something went wrong Version: 0.68.1.0 OS Version: Microsoft Windows NT 10.0.22621.0 IntPtr Length: 8 x64: True Date: 16/09/2024 12:42:31 AM Exception: System.IO.IOException: There is not enough space on the disk. : 'C:\Users\HP\AppData\Local\Microsoft\PowerToys\Settings Logs\cc14335e-1873-4718-ad60-bc3811dbe5deLog_2024-09-16.txt' at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) at System.IO.Strategies.OSFileStreamStrategy.Write(ReadOnlySpan`1 buffer) at System.IO.Strategies.BufferedFileStreamStrategy.Flush(Boolean flushToDisk) at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder) at System.Diagnostics.TextWriterTraceListener.Flush() at System.Diagnostics.TraceInternal.WriteLine(String message) at Microsoft.PowerToys.Settings.UI.Library.Utilities.Logger.Log(String message, String type) at Microsoft.PowerToys.Settings.UI.Library.Utilities.Logger.LogError(String message, Exception e) at Microsoft.PowerToys.Settings.UI.Library.SettingsUtils.SaveSettings(String jsonSettings, String powertoy, String fileName) at PowerLauncher.SettingsReader..ctor(PowerToysRunSettings settings, ThemeManager themeManager) at PowerLauncher.App.<>c__DisplayClass19_0.<OnStartup>b__0() at Wox.Infrastructure.Stopwatch.Normal(String message, Action action) at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e) at System.Windows.Application.<.ctor>b__1_0(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Critical
2,527,140,940
ui
[feat]: Multi state Toggle button
### Feature description There is a [toggle](https://ui.shadcn.com/docs/components/toggle) already but... has only true or false kind of states. What if a user(me) wants to add Dark mode without using the ugly select mode. Or what if someone wants to use the multi state toggle button to choose between "to do" | "incomplete" | "done" or even "public" | "protected" | " not choosen" ### Affected component/components toggle, checkbox, any ### Additional Context Additional details here... ### Before submitting - [x] I've made research efforts and searched the documentation - [X] I've searched for existing issues and PRs
area: request
low
Minor
2,527,170,976
three.js
ArcballControls error on mobile devices
### Description Please, read: https://discourse.threejs.org/t/arcballcontrol-problems-on-mobile/70160/3 ### Reproduction steps 1. Set camera position after the creation of ArcballControls object. 2. On mobile devices, the model vanishes because this._nearPos0 < 0 in ArcballControls.js 3. It does not depend on the browser used. ### Code ```js // code goes here ``` ### Live example * [jsfiddle-latest-release WebGLRenderer](https://jsfiddle.net/3mrkqyea/) * [jsfiddle-dev WebGLRenderer](https://jsfiddle.net/gcqx26jv/) * [jsfiddle-latest-release WebGPURenderer](https://jsfiddle.net/8L2jkmx7/) * [jsfiddle-dev WebGPURenderer](https://jsfiddle.net/L3n1w4yh/) ### Screenshots _No response_ ### Version r168 ### Device Mobile ### Browser Safari ### OS iOS
Addons
low
Critical
2,527,172,454
pytorch
[RFC] Default torch.compile backend customization
### 🚀 The feature, motivation and pitch This RFC proposes an enhancement to torch.compile to improve its backend agnosticism. The goal is to enable a more seamless experience for users working with devices that may not be well-supported by the current default backend, Inductor. By allowing for the customization of the default backend, we aim to improve the overall usability of torch.compile across a wider range of hardware. **Background:** torch.compile currently defaults to the Inductor backend, which is optimized for GPUs and devices that benefit from Inductor's loop-level IR. Users can select the Inductor backend explicitly by specifying backend="Inductor" or implicitly by omitting the backend parameter. However, this can lead to compilation issues on devices without Inductor integration. **Problem Statement:** The implicit selection of the Inductor backend can cause compatibility issues for devices that do not support it. While explicit backend selection by the user should be respected, the implicit case presents an opportunity to adapt to different device types. **Proposal:** We propose to introduce a mechanism that allows for the customization of the default backend used by torch.compile. This would enable device-specific backends to be set as the default, thereby making user code more robust and backend-agnostic. For example, on an HPU, the default backend could be set to "hpu_backend," eliminating the need for code modifications when no backend is explicitly defined. **Implementation:** The customization of the default backend could be achieved through a new configuration option within torch._dynamo.config or a similar in a dedicated configuration space. Device extensions could then specify their preferred backend during their initialization phase, such as during the autoload process (as discussed in https://github.com/pytorch/pytorch/issues/122468). @albanD @ezyang @jgong5 please provide feedback. ### Alternatives _No response_ ### Additional context _No response_ cc @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire
feature,triaged,oncall: pt2,module: inductor
low
Major
2,527,182,558
rust
ICE: `asked to assemble auto trait candidates of unexpected type: FreshTy(0)`
<!-- ICE: Rustc ./a.rs '' 'error: internal compiler error: compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs:782:21: asked to assemble auto trait candidates of unexpected type: FreshTy(0)', 'error: internal compiler error: compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs:782:21: asked to assemble auto trait candidates of unexpected type: FreshTy(0)' File: /tmp/im/a.rs --> auto-reduced (treereduce-rust): ````rust trait Project { const SELF: Self; } fn take1(_: Project<SELF = {}>) {} ```` original: ````rust trait Project { const SELF: Self; } fn take1(_: Project<SELF = { let mut res = Vec::new(); loop { match decode_packet(itr) { Some(p) => { res.push(p); }, None => break } } return res; }>) {} ```` Version information ```` rustc 1.83.0-nightly (8c2c9a9ef 2024-09-15) binary: rustc commit-hash: 8c2c9a9ef527edb453bcee638d34beb0e7b4616b commit-date: 2024-09-15 host: x86_64-unknown-linux-gnu release: 1.83.0-nightly LLVM version: 19.1.0 ```` Command: `/home/matthias/.rustup/toolchains/master/bin/rustc ` <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary><strong>Program output</strong></summary> <p> ``` error[E0658]: associated const equality is incomplete --> /tmp/icemaker_global_tempdir.gI8qCq1Vuhv8/rustc_testrunner_tmpdir_reporting.wExSU1hbC7Cc/mvce.rs:5:21 | 5 | fn take1(_: Project<SELF = {}>) {} | ^^^^^^^^^ | = note: see issue #92827 <https://github.com/rust-lang/rust/issues/92827> for more information = help: add `#![feature(associated_const_equality)]` to the crate attributes to enable = note: this compiler was built on 2024-09-15; consider upgrading it if it is out of date error[E0601]: `main` function not found in crate `mvce` --> /tmp/icemaker_global_tempdir.gI8qCq1Vuhv8/rustc_testrunner_tmpdir_reporting.wExSU1hbC7Cc/mvce.rs:5:35 | 5 | fn take1(_: Project<SELF = {}>) {} | ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.gI8qCq1Vuhv8/rustc_testrunner_tmpdir_reporting.wExSU1hbC7Cc/mvce.rs` warning: trait objects without an explicit `dyn` are deprecated --> /tmp/icemaker_global_tempdir.gI8qCq1Vuhv8/rustc_testrunner_tmpdir_reporting.wExSU1hbC7Cc/mvce.rs:5:13 | 5 | fn take1(_: Project<SELF = {}>) {} | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> = note: `#[warn(bare_trait_objects)]` on by default help: if this is an object-safe trait, use `dyn` | 5 | fn take1(_: dyn Project<SELF = {}>) {} | +++ error[E0308]: mismatched types --> /tmp/icemaker_global_tempdir.gI8qCq1Vuhv8/rustc_testrunner_tmpdir_reporting.wExSU1hbC7Cc/mvce.rs:5:28 | 5 | fn take1(_: Project<SELF = {}>) {} | ^^ expected fresh type, found `()` | = note: expected type `FreshTy(0)` found unit type `()` error: internal compiler error: compiler/rustc_infer/src/infer/relate/generalize.rs:464:17: unexpected infer type: FreshTy(0) thread 'rustc' panicked at compiler/rustc_infer/src/infer/relate/generalize.rs:464:17: Box<dyn Any> stack backtrace: 0: 0x7f8b8806c1da - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hf576e3db34dcd4c0 1: 0x7f8b88803297 - core::fmt::write::h6031a1fcd647db63 2: 0x7f8b89710373 - std::io::Write::write_fmt::h9c4d18eebfa610c9 3: 0x7f8b8806c032 - std::sys::backtrace::BacktraceLock::print::hd5d6f94195a58c57 4: 0x7f8b8806e7b1 - std::panicking::default_hook::{{closure}}::he12b6c1c70a494ea 5: 0x7f8b8806e5e4 - std::panicking::default_hook::h79139f377ef49e73 6: 0x7f8b8717090f - std[1fc20c4bf4345a88]::panicking::update_hook::<alloc[31ea272c46cb0a00]::boxed::Box<rustc_driver_impl[bd499d3fdd772cd8]::install_ice_hook::{closure#0}>>::{closure#0} 7: 0x7f8b8806eed8 - std::panicking::rust_panic_with_hook::hb2e822dcfa6f992d 8: 0x7f8b871aa631 - std[1fc20c4bf4345a88]::panicking::begin_panic::<rustc_errors[22b46ce98bbdbfbc]::ExplicitBug>::{closure#0} 9: 0x7f8b8719de46 - std[1fc20c4bf4345a88]::sys::backtrace::__rust_end_short_backtrace::<std[1fc20c4bf4345a88]::panicking::begin_panic<rustc_errors[22b46ce98bbdbfbc]::ExplicitBug>::{closure#0}, !> 10: 0x7f8b87199389 - std[1fc20c4bf4345a88]::panicking::begin_panic::<rustc_errors[22b46ce98bbdbfbc]::ExplicitBug> 11: 0x7f8b871b3951 - <rustc_errors[22b46ce98bbdbfbc]::diagnostic::BugAbort as rustc_errors[22b46ce98bbdbfbc]::diagnostic::EmissionGuarantee>::emit_producing_guarantee 12: 0x7f8b877d10e4 - rustc_middle[75f727fe079a4f22]::util::bug::opt_span_bug_fmt::<rustc_span[a0fd5433b72e73f5]::span_encoding::Span>::{closure#0} 13: 0x7f8b877b6bda - rustc_middle[75f727fe079a4f22]::ty::context::tls::with_opt::<rustc_middle[75f727fe079a4f22]::util::bug::opt_span_bug_fmt<rustc_span[a0fd5433b72e73f5]::span_encoding::Span>::{closure#0}, !>::{closure#0} 14: 0x7f8b877b6a8b - rustc_middle[75f727fe079a4f22]::ty::context::tls::with_context_opt::<rustc_middle[75f727fe079a4f22]::ty::context::tls::with_opt<rustc_middle[75f727fe079a4f22]::util::bug::opt_span_bug_fmt<rustc_span[a0fd5433b72e73f5]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> 15: 0x7f8b84d715c0 - rustc_middle[75f727fe079a4f22]::util::bug::bug_fmt 16: 0x7f8b888e7f52 - <rustc_infer[6668340c28d2c56d]::infer::relate::generalize::Generalizer as rustc_type_ir[c12c9ed35f9c7001]::relate::TypeRelation<rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>>::tys::{closure#0} 17: 0x7f8b888d7bdf - <rustc_infer[6668340c28d2c56d]::infer::relate::type_relating::TypeRelating as rustc_type_ir[c12c9ed35f9c7001]::relate::TypeRelation<rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>>::tys 18: 0x7f8b888c7c92 - <rustc_hir_typeck[4fd6adf6e1b8df80]::fn_ctxt::FnCtxt>::coerce 19: 0x7f8b88a30655 - rustc_hir_typeck[4fd6adf6e1b8df80]::typeck 20: 0x7f8b88a2dd25 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>> 21: 0x7f8b88c776bd - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::VecCache<rustc_span[a0fd5433b72e73f5]::def_id::LocalDefId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 22: 0x7f8b88c7628d - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace 23: 0x7f8b890a433d - rustc_mir_build[a4d1425a7ec00b3f]::thir::pattern::check_match::check_match 24: 0x7f8b890a3a63 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::check_match::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>> 25: 0x7f8b890a31d8 - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::VecCache<rustc_span[a0fd5433b72e73f5]::def_id::LocalDefId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 26: 0x7f8b890a2e5d - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::check_match::get_query_non_incr::__rust_end_short_backtrace 27: 0x7f8b890b15d2 - rustc_mir_build[a4d1425a7ec00b3f]::build::mir_build 28: 0x7f8b88806dd4 - rustc_mir_transform[24b7b05644591e31]::mir_built 29: 0x7f8b88806d97 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_built::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>> 30: 0x7f8b88c776bd - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::VecCache<rustc_span[a0fd5433b72e73f5]::def_id::LocalDefId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 31: 0x7f8b88c771cd - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace 32: 0x7f8b89132f27 - rustc_mir_transform[24b7b05644591e31]::mir_const_qualif 33: 0x7f8b89132e1b - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_const_qualif::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 4usize]>> 34: 0x7f8b8913220b - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::DefIdCache<rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 4usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 35: 0x7f8b89131fa3 - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_const_qualif::get_query_non_incr::__rust_end_short_backtrace 36: 0x7f8b85ccdc73 - rustc_mir_transform[24b7b05644591e31]::mir_promoted 37: 0x7f8b88d30f92 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_promoted::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 16usize]>> 38: 0x7f8b88d3125a - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::VecCache<rustc_span[a0fd5433b72e73f5]::def_id::LocalDefId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 39: 0x7f8b89857190 - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_promoted::get_query_non_incr::__rust_end_short_backtrace 40: 0x7f8b89857283 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_borrowck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>> 41: 0x7f8b88c776bd - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::VecCache<rustc_span[a0fd5433b72e73f5]::def_id::LocalDefId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 42: 0x7f8b88c77113 - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_borrowck::get_query_non_incr::__rust_end_short_backtrace 43: 0x7f8b88c7ff2d - rustc_mir_transform[24b7b05644591e31]::mir_drops_elaborated_and_const_checked 44: 0x7f8b88c7f555 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_drops_elaborated_and_const_checked::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>> 45: 0x7f8b88c776bd - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::VecCache<rustc_span[a0fd5433b72e73f5]::def_id::LocalDefId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 46: 0x7f8b88c77065 - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_drops_elaborated_and_const_checked::get_query_non_incr::__rust_end_short_backtrace 47: 0x7f8b891477b9 - rustc_mir_transform[24b7b05644591e31]::mir_for_ctfe 48: 0x7f8b89147679 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_for_ctfe::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>> 49: 0x7f8b8882f8ae - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::DefIdCache<rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 50: 0x7f8b88fe75af - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::mir_for_ctfe::get_query_non_incr::__rust_end_short_backtrace 51: 0x7f8b88fe76f0 - <rustc_const_eval[f76452ba52d780f5]::interpret::eval_context::InterpCx<rustc_const_eval[f76452ba52d780f5]::const_eval::machine::CompileTimeMachine>>::load_mir 52: 0x7f8b862184f2 - rustc_const_eval[f76452ba52d780f5]::const_eval::eval_queries::eval_to_allocation_raw_provider 53: 0x7f8b88fe8e76 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::eval_to_allocation_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 24usize]>> 54: 0x7f8b88fe8692 - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::DefaultCache<rustc_middle[75f727fe079a4f22]::ty::ParamEnvAnd<rustc_middle[75f727fe079a4f22]::mir::interpret::GlobalId>, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 55: 0x7f8b88fe826f - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::eval_to_allocation_raw::get_query_non_incr::__rust_end_short_backtrace 56: 0x7f8b88fdaeaf - rustc_const_eval[f76452ba52d780f5]::const_eval::valtrees::eval_to_valtree 57: 0x7f8b88fdacc3 - <rustc_const_eval[f76452ba52d780f5]::provide::{closure#0} as core[72d89f67a2ed16cb]::ops::function::FnOnce<(rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt, rustc_middle[75f727fe079a4f22]::ty::ParamEnvAnd<rustc_middle[75f727fe079a4f22]::mir::interpret::GlobalId>)>>::call_once 58: 0x7f8b88fdac7a - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::eval_to_valtree::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 24usize]>> 59: 0x7f8b88fdac3b - <rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::eval_to_valtree::dynamic_query::{closure#2} as core[72d89f67a2ed16cb]::ops::function::FnOnce<(rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt, rustc_middle[75f727fe079a4f22]::ty::ParamEnvAnd<rustc_middle[75f727fe079a4f22]::mir::interpret::GlobalId>)>>::call_once 60: 0x7f8b88fe876d - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::DefaultCache<rustc_middle[75f727fe079a4f22]::ty::ParamEnvAnd<rustc_middle[75f727fe079a4f22]::mir::interpret::GlobalId>, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 61: 0x7f8b88fe808a - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::eval_to_valtree::get_query_non_incr::__rust_end_short_backtrace 62: 0x7f8b891d21c2 - rustc_middle[75f727fe079a4f22]::query::plumbing::query_get_at::<rustc_query_system[5ff4688cf420f9ff]::query::caches::DefaultCache<rustc_middle[75f727fe079a4f22]::ty::ParamEnvAnd<rustc_middle[75f727fe079a4f22]::mir::interpret::GlobalId>, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 24usize]>>> 63: 0x7f8b891d1c28 - <rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>::const_eval_global_id_for_typeck 64: 0x7f8b891d0bbe - <rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>::const_eval_resolve_for_typeck 65: 0x7f8b891d084a - <rustc_middle[75f727fe079a4f22]::ty::consts::Const>::eval 66: 0x7f8b891d033c - <rustc_trait_selection[fd550b6f72b0e0c6]::traits::normalize::AssocTypeNormalizer as rustc_type_ir[c12c9ed35f9c7001]::fold::TypeFolder<rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>>::fold_const 67: 0x7f8b87e117f3 - <rustc_middle[75f727fe079a4f22]::ty::Term as rustc_type_ir[c12c9ed35f9c7001]::fold::TypeFoldable<rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>>::try_fold_with::<rustc_trait_selection[fd550b6f72b0e0c6]::traits::normalize::AssocTypeNormalizer> 68: 0x7f8b87f06468 - <rustc_trait_selection[fd550b6f72b0e0c6]::traits::normalize::AssocTypeNormalizer as rustc_type_ir[c12c9ed35f9c7001]::fold::TypeFolder<rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>>::fold_binder::<rustc_type_ir[c12c9ed35f9c7001]::predicate::ExistentialPredicate<rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>> 69: 0x7f8b88fb7a17 - <rustc_middle[75f727fe079a4f22]::ty::Ty as rustc_type_ir[c12c9ed35f9c7001]::fold::TypeSuperFoldable<rustc_middle[75f727fe079a4f22]::ty::context::TyCtxt>>::try_super_fold_with::<rustc_trait_selection[fd550b6f72b0e0c6]::traits::normalize::AssocTypeNormalizer> 70: 0x7f8b88e5d2b9 - <rustc_hir_analysis[f9d0127424903d94]::check::wfcheck::WfCheckingCtxt>::normalize::<rustc_middle[75f727fe079a4f22]::ty::Ty> 71: 0x7f8b88e5bd60 - rustc_hir_analysis[f9d0127424903d94]::check::wfcheck::check_fn_or_method 72: 0x7f8b88e5e2f5 - rustc_hir_analysis[f9d0127424903d94]::check::wfcheck::check_item_fn 73: 0x7f8b85f37f61 - rustc_hir_analysis[f9d0127424903d94]::check::wfcheck::check_well_formed 74: 0x7f8b88d1a3c7 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::check_well_formed::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>> 75: 0x7f8b88d1a63e - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::VecCache<rustc_hir[bda7baf23f46ef3e]::hir_id::OwnerId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 76: 0x7f8b88d1a3a2 - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace 77: 0x7f8b88d1b153 - rustc_hir_analysis[f9d0127424903d94]::check::wfcheck::check_mod_type_wf 78: 0x7f8b88d1af91 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::check_mod_type_wf::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>> 79: 0x7f8b896aa5bb - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::DefaultCache<rustc_span[a0fd5433b72e73f5]::def_id::LocalModDefId, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 80: 0x7f8b896aa36d - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace 81: 0x7f8b88c73a49 - rustc_hir_analysis[f9d0127424903d94]::check_crate 82: 0x7f8b88c70705 - rustc_interface[21c67170a9071fc5]::passes::run_required_analyses 83: 0x7f8b895166de - rustc_interface[21c67170a9071fc5]::passes::analysis 84: 0x7f8b895166b1 - rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>> 85: 0x7f8b896ae22e - rustc_query_system[5ff4688cf420f9ff]::query::plumbing::try_execute_query::<rustc_query_impl[85a0e4e3d1ea5e51]::DynamicConfig<rustc_query_system[5ff4688cf420f9ff]::query::caches::SingleCache<rustc_middle[75f727fe079a4f22]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[85a0e4e3d1ea5e51]::plumbing::QueryCtxt, false> 86: 0x7f8b896adf8f - rustc_query_impl[85a0e4e3d1ea5e51]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace 87: 0x7f8b89500bbc - rustc_interface[21c67170a9071fc5]::interface::run_compiler::<core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>, rustc_driver_impl[bd499d3fdd772cd8]::run_compiler::{closure#0}>::{closure#1} 88: 0x7f8b895c8850 - std[1fc20c4bf4345a88]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[21c67170a9071fc5]::util::run_in_thread_with_globals<rustc_interface[21c67170a9071fc5]::util::run_in_thread_pool_with_globals<rustc_interface[21c67170a9071fc5]::interface::run_compiler<core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>, rustc_driver_impl[bd499d3fdd772cd8]::run_compiler::{closure#0}>::{closure#1}, core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>>::{closure#0}, core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>> 89: 0x7f8b895c8eba - <<std[1fc20c4bf4345a88]::thread::Builder>::spawn_unchecked_<rustc_interface[21c67170a9071fc5]::util::run_in_thread_with_globals<rustc_interface[21c67170a9071fc5]::util::run_in_thread_pool_with_globals<rustc_interface[21c67170a9071fc5]::interface::run_compiler<core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>, rustc_driver_impl[bd499d3fdd772cd8]::run_compiler::{closure#0}>::{closure#1}, core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>>::{closure#0}, core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[72d89f67a2ed16cb]::result::Result<(), rustc_span[a0fd5433b72e73f5]::ErrorGuaranteed>>::{closure#1} as core[72d89f67a2ed16cb]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 90: 0x7f8b895c92ab - std::sys::pal::unix::thread::Thread::new::thread_start::hfd4e0f9214174c65 91: 0x7f8b8ad4739d - <unknown> 92: 0x7f8b8adcc49c - <unknown> 93: 0x0 - <unknown> note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: rustc 1.83.0-nightly (8c2c9a9ef 2024-09-15) running on x86_64-unknown-linux-gnu query stack during panic: #0 [typeck] type-checking `take1::{constant#0}` #1 [check_match] match-checking `take1::{constant#0}` end of query stack error: aborting due to 4 previous errors; 1 warning emitted Some errors have detailed explanations: E0308, E0601, E0658. For more information about an error, try `rustc --explain E0308`. ``` </p> </details> <!-- query stack: #0 [typeck] type-checking `take1::{constant#0}` #1 [check_match] match-checking `take1::{constant#0}` -->
I-ICE,T-compiler,C-bug,S-bug-has-test,F-associated_const_equality
low
Critical
2,527,200,623
svelte
Better effect stack logging
### Describe the problem See https://github.com/sveltejs/svelte/pull/13231#issuecomment-2351790857 ### Describe the proposed solution Attach location information to effects in development, so that it can be used when generating the error message. For simple cases where there's only a single effect involved we can do this sort of thing: > Uncaught Svelte error: effect_update_depth_exceeded > Maximum update depth exceeded **in App.svelte:3:1**. This can happen when a reactive block or effect repeatedly sets a new value. Svelte limits the number of nested updates to prevent infinite loops If there are multiple effects running in a loop, the message could be more like this... > Uncaught Svelte error: effect_update_depth_exceeded > Maximum update depth exceeded. This can happen when a reactive block or effect repeatedly sets a new value. Svelte limits the number of nested updates to prevent infinite loops. Last ten effects: > > App.svelte:3:1 > App.svelte:10:1 > App.svelte:3:1 > App.svelte:10:1 > App.svelte:3:1 > App.svelte:10:1 > App.svelte:3:1 > App.svelte:10:1 > App.svelte:3:1 > App.svelte:10:1 ...or we could try and be smarter about it so that we identify the actual loop (which aside from truly pathological cases should just be a case of going back until we see the most recent effect earlier in the stack?) ### Importance nice to have
feature request
low
Critical
2,527,202,787
pytorch
[torch.export] Dim discrete/finite set
### 🚀 The feature, motivation and pitch Is it possible to introduce `dynamic_shape` discrete/finite set? Suppose that we need to export a model for a set of well known input resolution at inference. It seems currently there is not way to do it a we could define only min and max for Dim. How is it going to create optimized code if we only specify the full range? It seems to me too much relaxed ### Alternatives _No response_ ### Additional context _No response_ cc @ezyang @chauhang @penguinwu @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4
triaged,oncall: pt2,module: dynamic shapes,export-triaged,oncall: export
low
Major
2,527,290,874
pytorch
[Distributed] Decouple ProcessGroupNCCL's regular exit from abort
### 🚀 The feature, motivation and pitch The coupling was an issue left over from the time when `ncclCommDestroy` could hang and `ncclCommAbort` was a stronger hammer. The downside is that their paths are now entangled in ProcessGroupNCCL and regular exits can see the overhead from the abort side (such as some post-failure processing/logging). `ncclCommDestroy` is now async to CPU with NCCL non-blocking mode, and we should be able to kill it when it hangs. To avoid the cost from the entanglement, we should move regular exit back to this API. ### Alternatives _No response_ ### Additional context Cc: @atuljangra @c-p-i-o cc @XilunWu @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
oncall: distributed
low
Critical
2,527,314,580
pytorch
DISABLED test_angle_cpu (__main__.CpuTritonTests)
Platforms: inductor This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_angle_cpu&suite=CpuTritonTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/30170563905). Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 3 failures and 3 successes. **Debugging instructions (after clicking on the recent samples link):** DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs. To find relevant log snippets: 1. Click on the workflow logs linked above 2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work. 3. Grep for `test_angle_cpu` 4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs. <details><summary>Sample error message</summary> ``` Traceback (most recent call last): File "/var/lib/jenkins/workspace/test/inductor/test_torchinductor.py", line 267, in tearDown super().tearDown() File "/opt/conda/envs/py_3.12/lib/python3.12/site-packages/torch/_inductor/test_case.py", line 35, in tearDown self._inductor_test_stack.close() File "/opt/conda/envs/py_3.12/lib/python3.12/contextlib.py", line 618, in close self.__exit__(None, None, None) File "/opt/conda/envs/py_3.12/lib/python3.12/contextlib.py", line 610, in __exit__ raise exc_details[1] File "/opt/conda/envs/py_3.12/lib/python3.12/contextlib.py", line 595, in __exit__ if cb(*exc_details): ^^^^^^^^^^^^^^^^ File "/opt/conda/envs/py_3.12/lib/python3.12/contextlib.py", line 144, in __exit__ next(self.gen) File "/opt/conda/envs/py_3.12/lib/python3.12/site-packages/torch/_inductor/utils.py", line 839, in fresh_inductor_cache shutil.rmtree(inductor_cache_dir) File "/opt/conda/envs/py_3.12/lib/python3.12/shutil.py", line 759, in rmtree _rmtree_safe_fd(stack, onexc) File "/opt/conda/envs/py_3.12/lib/python3.12/shutil.py", line 703, in _rmtree_safe_fd onexc(func, path, err) File "/opt/conda/envs/py_3.12/lib/python3.12/shutil.py", line 662, in _rmtree_safe_fd os.rmdir(name, dir_fd=dirfd) OSError: [Errno 39] Directory not empty: '/tmp/tmpq_6cxgvi' ``` </details> Test file path: `inductor/test_triton_cpu_backend.py` cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @clee2000 @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @muchulee8 @ColinPeppler @amjames @desertfire
triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor
low
Critical
2,527,314,626
pytorch
DISABLED test_open_device_registration (__main__.TritonExtensionBackendTests)
Platforms: asan, linux, rocm, slow This test was disabled because it is failing in CI. See [recent examples](https://hud.pytorch.org/flakytest?name=test_open_device_registration&suite=TritonExtensionBackendTests&limit=100) and the most recent trunk [workflow logs](https://github.com/pytorch/pytorch/runs/30169319334). Over the past 3 hours, it has been determined flaky in 22 workflow(s) with 22 failures and 22 successes. **Debugging instructions (after clicking on the recent samples link):** DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs. To find relevant log snippets: 1. Click on the workflow logs linked above 2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work. 3. Grep for `test_open_device_registration` 4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs. <details><summary>Sample error message</summary> ``` Traceback (most recent call last): File "/var/lib/jenkins/workspace/test/inductor/test_triton_extension_backend.py", line 93, in test_open_device_registration self.assertTrue( File "/opt/conda/envs/py_3.9/lib/python3.9/unittest/case.py", line 688, in assertTrue raise self.failureException(msg) AssertionError: False is not true To execute this test, run the following from the base repo dir: python test/inductor/test_triton_extension_backend.py TritonExtensionBackendTests.test_open_device_registration This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0 ``` </details> Test file path: `inductor/test_triton_extension_backend.py` cc @clee2000 @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire
triaged,module: flaky-tests,skipped,oncall: pt2,module: inductor
low
Critical
2,527,335,336
pytorch
A division-by-zero operation in a scripted function can cause the core dumped
### 🐛 Describe the bug A `Floating point exception (core dumped)` will be raised if we have a division-by-zero operation in a scripted function. The code is as follows: ```python import torch def fn(dividend: int, divisor: int) -> int: return dividend % divisor inputs = (5, 0) scripted_fn = torch.jit.script(fn) script_outputs = scripted_fn(*inputs) opt_script_outputs = scripted_fn(*inputs) ``` Error message: > Floating point exception (core dumped) The error is reproducible with the nightly-build version `2.5.0.dev20240815+cpu` . ### Versions Collecting environment information... PyTorch version: 2.5.0.dev20240815+cpu Is debug build: False CUDA used to build PyTorch: Could not collect ROCM used to build PyTorch: N/A OS: Ubuntu 20.04.3 LTS (x86_64) GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 Clang version: 10.0.0-4ubuntu1 CMake version: version 3.16.3 Libc version: glibc-2.31 Python version: 3.10.14 (main, May 6 2024, 19:42:50) [GCC 11.2.0] (64-bit runtime) Python platform: Linux-5.15.0-107-generic-x86_64-with-glibc2.31 Is CUDA available: False CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: N/A GPU models and configuration: GPU 0: NVIDIA GeForce RTX 3090 GPU 1: NVIDIA GeForce RTX 3090 Nvidia driver version: 535.183.01 cuDNN version: Could not collect HIP runtime version: N/A MIOpen runtime version: N/A Is XNNPACK available: True CPU: Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 46 bits physical, 57 bits virtual CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 106 Model name: Intel(R) Xeon(R) Gold 6326 CPU @ 2.90GHz Stepping: 6 CPU MHz: 808.748 CPU max MHz: 3500.0000 CPU min MHz: 800.0000 BogoMIPS: 5800.00 Virtualization: VT-x L1d cache: 1.5 MiB L1i cache: 1 MiB L2 cache: 40 MiB L3 cache: 48 MiB NUMA node0 CPU(s): 0-15,32-47 NUMA node1 CPU(s): 16-31,48-63 Vulnerability Gather data sampling: Mitigation; Microcode Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Mitigation; Clear CPU buffers; SMT vulnerable Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced IBRS; IBPB conditional; RSB filling; PBRSB-eIBRS SW sequence; BHI Syscall hardening, KVM SW loop Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid fsrm md_clear pconfig flush_l1d arch_capabilities Versions of relevant libraries: [pip3] numpy==1.26.4 [pip3] onnx==1.16.2 [pip3] onnxruntime==1.19.0 [pip3] onnxscript==0.1.0.dev20240816 [pip3] pytorch-triton==3.0.0+dedb7bdf33 [pip3] torch==2.5.0.dev20240815+cpu [pip3] torch-xla==2.4.0 [pip3] torch_xla_cuda_plugin==2.4.0 [pip3] torchaudio==2.4.0.dev20240815+cu121 [pip3] torchvision==0.20.0.dev20240815+cu121 [pip3] triton==3.0.0 [conda] numpy 1.26.4 pypi_0 pypi [conda] pytorch-triton 3.0.0+dedb7bdf33 pypi_0 pypi [conda] torch 2.5.0.dev20240815+cpu pypi_0 pypi [conda] torch-xla 2.4.0 pypi_0 pypi [conda] torch-xla-cuda-plugin 2.4.0 pypi_0 pypi [conda] torchaudio 2.4.0.dev20240815+cu121 pypi_0 pypi [conda] torchvision 0.20.0.dev20240815+cu121 pypi_0 pypi [conda] triton 3.0.0 pypi_0 pypi cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel
oncall: jit
low
Critical
2,527,349,727
tensorflow
`resource_create_op` operation can cause TensorFlow to crash.
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? Yes ### Source source ### TensorFlow version tf-nightly 2.18.0.dev20240817 ### Custom code Yes ### OS platform and distribution Ubuntu 20.04.3 LTS (x86_64) ### Mobile device _No response_ ### Python version _No response_ ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version _No response_ ### GPU model and memory _No response_ ### Current behavior? A `Segmentation fault` could be raised in TensorFlow when using `test_ops.resource_create_op` . The code is as follows: ### Standalone code to reproduce the issue ```shell import tensorflow as tf from tensorflow.python.framework import test_ops from tensorflow.python.ops import array_ops from tensorflow.python.ops import array_ops_stack sess = tf.compat.v1.Session() @tf.function def func(): r1 = test_ops.stub_resource_handle_op(container='a', shared_name='b') r2 = test_ops.stub_resource_handle_op(container='a', shared_name='c') c = array_ops_stack.stack([r1, r2]) s = array_ops.strided_slice(c, [1], [2 ** 32]) with sess.as_default(): test_ops.resource_create_op(s) func() ``` ### Relevant log output ```shell > Segmentation fault (core dumped) The above code is confirmed to crash on `tf-nightly 2.18.0.dev20240817` (nightly-build) ```
stat:awaiting tensorflower,type:bug,comp:ops,2.17
low
Critical
2,527,358,426
rust
Suboptimal codegen for a function that should fold to a constant
I'm not entirely sure whether this belongs to LLVM or rust (I haven't triaged), but let's start here. I tried this code: https://godbolt.org/z/E5W74re7v which could potentially folded to a single constant, but the optimizer fails to recognize. Changing the inner if condition from `t + s + r == 10` to `t + s == 10` results into the LLVM IR being a single line function: `ret i64 63000000000`. In godbolt: https://godbolt.org/z/zfchrszbW I would expect both cases to fold to a constant, but maybe I'm missing something here. <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"deniskilseev"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
A-LLVM,I-slow,A-codegen,T-compiler,C-optimization
low
Minor
2,527,376,267
PowerToys
Bsod
### Microsoft PowerToys version 0.70 ### Installation method PowerToys auto-update ### Running as admin No ### Area(s) with issue? General ### Steps to reproduce [091624-14671-01.dmp](https://github.com/user-attachments/files/17008189/091624-14671-01.dmp) ### ✔️ Expected Behavior when downloading last update ### ❌ Actual Behavior _No response_ ### Other Software win 10 ltsc 21h2
Issue-Bug,Needs-Triage
low
Minor
2,527,381,701
excalidraw
Request to whitelist url
Hoping to have shadeup.dev urls whitelisted for embedding shaders e.g. https://shadeup.dev/kqk9w1su3719/embed
Embeddable
low
Minor
2,527,527,093
ollama
用qwen2微调训练出的hf转为gguf后,用ollama加载,要指定TEMPLATE才不会胡乱输出
### What is the issue? 而同样的gguf,用其它框架直接加载使用是正常的。 原始的qwen2模型转为gguf加载也不需要TEMPLATE参数。只有微调训练后生成的gguf要加TEMPLATE才不会胡乱输出。为什么? ### OS Linux, Docker ### GPU Nvidia ### CPU Intel ### Ollama version 0.3.10
bug
low
Major
2,527,548,095
PowerToys
We need an easy upgrade, one-click option
### Description of the new feature / enhancement Upgrading Powertoys is cumbersome. It requires many clicks: -one on the notification -then in the main Powertoys window, one more in "more info" on the upgrade info button -then download and install This whould be so much more user friendly with a "download and install" right from the notification, or even, an auto-upgrade feature. ### Scenario when this would be used? upgrading in a user-friendly manner ### Supporting information _No response_
Needs-Triage
low
Minor
2,527,572,510
go
x/crypto/ssh: Close hangs with remote forward if TCP session is hung
### Go version x/crypto v0.27.0 ### Output of `go env` in your module/workspace: ```shell GO111MODULE='' GOARCH='arm64' GOBIN='' GOCACHE='/Users/spike/Library/Caches/go-build' GOENV='/Users/spike/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='arm64' GOHOSTOS='darwin' GOINSECURE='' GOMODCACHE='/Users/spike/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='darwin' GOPATH='/Users/spike/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/Users/spike/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.6.darwin-arm64' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/Users/spike/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.6.darwin-arm64/pkg/tool/darwin_arm64' GOVCS='' GOVERSION='go1.22.6' GCCGO='gccgo' AR='ar' CC='clang' CXX='clang++' CGO_ENABLED='1' GOMOD='/Users/spike/repos/coder/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/53/zffdtv3x7lg_pyhrk85p7_nw0000gn/T/go-build1889086903=/tmp/go-build -gno-record-gcc-switches -fno-common' ``` ### What did you do? Connect via SSH and set up remote forwarding of a TCP port or Unix socket (both exhibit the problem) via a call to `Listen()`. Break the networking: unplug Ethernet cable, disable WiFi, etc. Close the Listener. ### What did you see happen? Closing the Listener hangs indefinitely, until the TCP socket times out, which could be hours or days. ### What did you expect to see? Closing the Listener times out with some reasonable timeframe, or accepts a timeout (e.g. via a `Context). Typical use patterns would be: ``` client, err := ssh.Dial("tcp", server, cfg) if err != nil { return err } defer client.Close() l, err := client.Listen("tcp", addr) if err != nil { return err } defer l.Close() waitForConnectionOrClose(l) ``` With the `defer`s stacked like this, kind of the only sensible way, when you try to close the listener gets closed first, and you can hang indefinitely. I've been able to work around the issue by building code that sets timeouts for the listener to close and if it fails, starts closing stuff from the bottom up, but it's much more difficult than being able to set a timeout for the listener to close down.
NeedsInvestigation
low
Minor
2,527,607,272
rust
ICE: const eval: `ImmTy { .. } input to a fat-to-thin cast´
<!-- ICE: Rustc ./a.rs '-Zmir-opt-level=5 -Zpolymorphize=on -ooutputfile -Zdump-mir-dir=dir' 'error: internal compiler error: /rustc/39b7669347b02f25a36da610822fb3c1e03bac6c/compiler/rustc_const_eval/src/interpret/cast.rs:216:42: ImmTy { imm: Scalar(alloc1), ty: *const dyn Sync } input to a fat-to-thin cast (*const dyn Sync -> *const usize)', 'error: internal compiler error: /rustc/39b7669347b02f25a36da610822fb3c1e03bac6c/compiler/rustc_const_eval/src/interpret/cast.rs:216:42: ImmTy { imm: Scalar(alloc1), ty: *const dyn Sync } input to a fat-to-thin cast (*const dyn Sync -> *const usize)' File: /tmp/im/a.rs --> auto-reduced (treereduce-rust): ````rust struct S<T>(T) where [T; ( |_: u8| { static FOO: Sync = AtomicUsize::new(0); unsafe { &*(&FOO as *const _ as *const usize) } }, 1, ) .1]: Copy; ```` original: ````rust struct S<T>(T) where [T; (|_: u8|{ static FOO: Sync = AtomicUsize::new(0); unsafe { &*(&FOO as *const _ as *const usize) } }, 1).1]: Copy; fn main() {} ```` Version information ```` rustc 1.83.0-nightly (39b766934 2024-09-16) binary: rustc commit-hash: 39b7669347b02f25a36da610822fb3c1e03bac6c commit-date: 2024-09-16 host: x86_64-unknown-linux-gnu release: 1.83.0-nightly LLVM version: 19.1.0 ```` Command: `/home/matthias/.rustup/toolchains/master/bin/rustc -Zmir-opt-level=5 -Zpolymorphize=on` <!-- Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your environment. E.g. `RUST_BACKTRACE=1 cargo build`. --> <details><summary><strong>Program output</strong></summary> <p> ``` error[E0433]: failed to resolve: use of undeclared type `AtomicUsize` --> /tmp/icemaker_global_tempdir.VG6dBz3gFVPN/rustc_testrunner_tmpdir_reporting.n3Yk4XznZfno/mvce.rs:5:32 | 5 | static FOO: Sync = AtomicUsize::new(0); | ^^^^^^^^^^^ use of undeclared type `AtomicUsize` | help: consider importing this struct | 1 + use std::sync::atomic::AtomicUsize; | error[E0601]: `main` function not found in crate `mvce` --> /tmp/icemaker_global_tempdir.VG6dBz3gFVPN/rustc_testrunner_tmpdir_reporting.n3Yk4XznZfno/mvce.rs:10:19 | 10 | .1]: Copy; | ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.VG6dBz3gFVPN/rustc_testrunner_tmpdir_reporting.n3Yk4XznZfno/mvce.rs` warning: trait objects without an explicit `dyn` are deprecated --> /tmp/icemaker_global_tempdir.VG6dBz3gFVPN/rustc_testrunner_tmpdir_reporting.n3Yk4XznZfno/mvce.rs:5:25 | 5 | static FOO: Sync = AtomicUsize::new(0); | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> = note: `#[warn(bare_trait_objects)]` on by default help: if this is an object-safe trait, use `dyn` | 5 | static FOO: dyn Sync = AtomicUsize::new(0); | +++ error[E0277]: the size for values of type `(dyn Sync + 'static)` cannot be known at compilation time --> /tmp/icemaker_global_tempdir.VG6dBz3gFVPN/rustc_testrunner_tmpdir_reporting.n3Yk4XznZfno/mvce.rs:5:25 | 5 | static FOO: Sync = AtomicUsize::new(0); | ^^^^ doesn't have a size known at compile-time | = help: the trait `Sized` is not implemented for `(dyn Sync + 'static)` error[E0277]: the size for values of type `(dyn Sync + 'static)` cannot be known at compilation time --> /tmp/icemaker_global_tempdir.VG6dBz3gFVPN/rustc_testrunner_tmpdir_reporting.n3Yk4XznZfno/mvce.rs:5:32 | 5 | static FOO: Sync = AtomicUsize::new(0); | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time | = help: the trait `Sized` is not implemented for `(dyn Sync + 'static)` = note: constant expressions must have a statically known size error: internal compiler error: /rustc/39b7669347b02f25a36da610822fb3c1e03bac6c/compiler/rustc_const_eval/src/interpret/cast.rs:216:42: ImmTy { imm: Scalar(alloc1), ty: *const dyn Sync } input to a fat-to-thin cast (*const dyn Sync -> *const usize) thread 'rustc' panicked at /rustc/39b7669347b02f25a36da610822fb3c1e03bac6c/compiler/rustc_const_eval/src/interpret/cast.rs:216:42: Box<dyn Any> stack backtrace: 0: 0x7cdf71066b5a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h688d92dd3e7bfae7 1: 0x7cdf71803297 - core::fmt::write::h8095b5fc1f2aba3f 2: 0x7cdf7270c073 - std::io::Write::write_fmt::hdc66ed1666cc8932 3: 0x7cdf710669b2 - std::sys::backtrace::BacktraceLock::print::h7b49d08d4dea3fff 4: 0x7cdf71069131 - std::panicking::default_hook::{{closure}}::hc0a5f9ff76fea135 5: 0x7cdf71068f64 - std::panicking::default_hook::hf28f41a3f75f65f5 6: 0x7cdf7016b81f - std[5fe423659e5b23cd]::panicking::update_hook::<alloc[fb3eda72240f4d64]::boxed::Box<rustc_driver_impl[8cede590182e427d]::install_ice_hook::{closure#0}>>::{closure#0} 7: 0x7cdf71069858 - std::panicking::rust_panic_with_hook::h868a1036df76a3e6 8: 0x7cdf701a5001 - std[5fe423659e5b23cd]::panicking::begin_panic::<rustc_errors[d9a0488990c1eec8]::ExplicitBug>::{closure#0} 9: 0x7cdf70198676 - std[5fe423659e5b23cd]::sys::backtrace::__rust_end_short_backtrace::<std[5fe423659e5b23cd]::panicking::begin_panic<rustc_errors[d9a0488990c1eec8]::ExplicitBug>::{closure#0}, !> 10: 0x7cdf70193bb9 - std[5fe423659e5b23cd]::panicking::begin_panic::<rustc_errors[d9a0488990c1eec8]::ExplicitBug> 11: 0x7cdf701ae181 - <rustc_errors[d9a0488990c1eec8]::diagnostic::BugAbort as rustc_errors[d9a0488990c1eec8]::diagnostic::EmissionGuarantee>::emit_producing_guarantee 12: 0x7cdf708bdb0d - <rustc_errors[d9a0488990c1eec8]::DiagCtxtHandle>::span_bug::<rustc_span[52d9c6078ded5bad]::span_encoding::Span, alloc[fb3eda72240f4d64]::string::String> 13: 0x7cdf708f15f8 - rustc_middle[552e10f1b06d458a]::util::bug::opt_span_bug_fmt::<rustc_span[52d9c6078ded5bad]::span_encoding::Span>::{closure#0} 14: 0x7cdf708f1e7a - rustc_middle[552e10f1b06d458a]::ty::context::tls::with_opt::<rustc_middle[552e10f1b06d458a]::util::bug::opt_span_bug_fmt<rustc_span[52d9c6078ded5bad]::span_encoding::Span>::{closure#0}, !>::{closure#0} 15: 0x7cdf708ddbeb - rustc_middle[552e10f1b06d458a]::ty::context::tls::with_context_opt::<rustc_middle[552e10f1b06d458a]::ty::context::tls::with_opt<rustc_middle[552e10f1b06d458a]::util::bug::opt_span_bug_fmt<rustc_span[52d9c6078ded5bad]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> 16: 0x7cdf708d4a17 - rustc_middle[552e10f1b06d458a]::util::bug::span_bug_fmt::<rustc_span[52d9c6078ded5bad]::span_encoding::Span> 17: 0x7cdf72244b0d - <rustc_mir_transform[e930eb8a847a145b]::gvn::VnState>::insert 18: 0x7cdf72238dda - <rustc_mir_transform[e930eb8a847a145b]::gvn::VnState>::simplify_rvalue 19: 0x7cdf6ee4ae16 - <rustc_mir_transform[e930eb8a847a145b]::gvn::GVN as rustc_mir_transform[e930eb8a847a145b]::pass_manager::MirPass>::run_pass 20: 0x7cdf7180d84d - rustc_mir_transform[e930eb8a847a145b]::pass_manager::run_passes_inner 21: 0x7cdf721c9222 - rustc_mir_transform[e930eb8a847a145b]::optimized_mir 22: 0x7cdf721c7ae1 - rustc_query_impl[eb7750c59ad6b12a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[eb7750c59ad6b12a]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[552e10f1b06d458a]::query::erase::Erased<[u8; 8usize]>> 23: 0x7cdf7182f56e - rustc_query_system[d4c8a0ce1f97cbc0]::query::plumbing::try_execute_query::<rustc_query_impl[eb7750c59ad6b12a]::DynamicConfig<rustc_query_system[d4c8a0ce1f97cbc0]::query::caches::DefIdCache<rustc_middle[552e10f1b06d458a]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[eb7750c59ad6b12a]::plumbing::QueryCtxt, false> 24: 0x7cdf7182eb1f - rustc_query_impl[eb7750c59ad6b12a]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace 25: 0x7cdf721bebe7 - rustc_middle[552e10f1b06d458a]::query::plumbing::query_get_at::<rustc_query_system[d4c8a0ce1f97cbc0]::query::caches::DefIdCache<rustc_middle[552e10f1b06d458a]::query::erase::Erased<[u8; 8usize]>>> 26: 0x7cdf71cb78cf - rustc_query_impl[eb7750c59ad6b12a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[eb7750c59ad6b12a]::query_impl::unused_generic_params::dynamic_query::{closure#2}::{closure#0}, rustc_middle[552e10f1b06d458a]::query::erase::Erased<[u8; 4usize]>> 27: 0x7cdf71cb70af - rustc_query_system[d4c8a0ce1f97cbc0]::query::plumbing::try_execute_query::<rustc_query_impl[eb7750c59ad6b12a]::DynamicConfig<rustc_query_system[d4c8a0ce1f97cbc0]::query::caches::DefaultCache<rustc_middle[552e10f1b06d458a]::ty::instance::InstanceKind, rustc_middle[552e10f1b06d458a]::query::erase::Erased<[u8; 4usize]>>, false, false, false>, rustc_query_impl[eb7750c59ad6b12a]::plumbing::QueryCtxt, false> 28: 0x7cdf71cb6d90 - rustc_query_impl[eb7750c59ad6b12a]::query_impl::unused_generic_params::get_query_non_incr::__rust_end_short_backtrace 29: 0x7cdf71cbb414 - rustc_interface[30a05c7cffabd25a]::passes::run_required_analyses 30: 0x7cdf7251c49e - rustc_interface[30a05c7cffabd25a]::passes::analysis 31: 0x7cdf7251c471 - rustc_query_impl[eb7750c59ad6b12a]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[eb7750c59ad6b12a]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[552e10f1b06d458a]::query::erase::Erased<[u8; 1usize]>> 32: 0x7cdf726b9e6e - rustc_query_system[d4c8a0ce1f97cbc0]::query::plumbing::try_execute_query::<rustc_query_impl[eb7750c59ad6b12a]::DynamicConfig<rustc_query_system[d4c8a0ce1f97cbc0]::query::caches::SingleCache<rustc_middle[552e10f1b06d458a]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[eb7750c59ad6b12a]::plumbing::QueryCtxt, false> 33: 0x7cdf726b9bcf - rustc_query_impl[eb7750c59ad6b12a]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace 34: 0x7cdf7250697c - rustc_interface[30a05c7cffabd25a]::interface::run_compiler::<core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>, rustc_driver_impl[8cede590182e427d]::run_compiler::{closure#0}>::{closure#1} 35: 0x7cdf725c7f90 - std[5fe423659e5b23cd]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[30a05c7cffabd25a]::util::run_in_thread_with_globals<rustc_interface[30a05c7cffabd25a]::util::run_in_thread_pool_with_globals<rustc_interface[30a05c7cffabd25a]::interface::run_compiler<core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>, rustc_driver_impl[8cede590182e427d]::run_compiler::{closure#0}>::{closure#1}, core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>>::{closure#0}, core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>> 36: 0x7cdf725c85fa - <<std[5fe423659e5b23cd]::thread::Builder>::spawn_unchecked_<rustc_interface[30a05c7cffabd25a]::util::run_in_thread_with_globals<rustc_interface[30a05c7cffabd25a]::util::run_in_thread_pool_with_globals<rustc_interface[30a05c7cffabd25a]::interface::run_compiler<core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>, rustc_driver_impl[8cede590182e427d]::run_compiler::{closure#0}>::{closure#1}, core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>>::{closure#0}, core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[62617e15cf8aa4b2]::result::Result<(), rustc_span[52d9c6078ded5bad]::ErrorGuaranteed>>::{closure#1} as core[62617e15cf8aa4b2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 37: 0x7cdf725c89eb - std::sys::pal::unix::thread::Thread::new::thread_start::h043ff58bc28d939d 38: 0x7cdf73ce239d - <unknown> 39: 0x7cdf73d6749c - <unknown> 40: 0x0 - <unknown> note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: rustc 1.83.0-nightly (39b766934 2024-09-16) running on x86_64-unknown-linux-gnu note: compiler flags: -Z mir-opt-level=5 -Z polymorphize=on -Z dump-mir-dir=dir query stack during panic: #0 [optimized_mir] optimizing MIR for `S::{constant#0}::{closure#0}` #1 [unused_generic_params] determining which generic parameters are unused by `S::{constant#0}::{closure#0}` end of query stack error: aborting due to 5 previous errors; 1 warning emitted Some errors have detailed explanations: E0277, E0433, E0601. For more information about an error, try `rustc --explain E0277`. ``` </p> </details> <!-- query stack: #0 [optimized_mir] optimizing MIR for `S::{constant#0}::{closure#0}` #1 [unused_generic_params] determining which generic parameters are unused by `S::{constant#0}::{closure#0}` -->
I-ICE,T-compiler,C-bug,A-const-eval,-Zpolymorphize,S-bug-has-test
low
Critical
2,527,645,950
vscode
Change the global `fetch` available in local extension hosts to be the one from Electron
null
feature-request,proxy
low
Minor
2,527,708,313
transformers
Video Processor as a separate class
### Feature request Since we currently have more and more VLMs that support image and video, and not always videos are processed same way as images are, I want to add a `VideoProcessor` class that inherits from `ImageProcessingMixin`. Thus we can have two separate classes for processing visuals, each with its own set of attributes and methods. We can also save different configs for both to avoid issues as #33484. The `VideoProcessor` will mainly use the same transform methods as slow image processors, by iterating over each frame and stacking it. Some additional helper fn can be added, like `load_video` and `make_list_of_videos`. The main input name will be videos and the output var name is `pixel_values_videos`. For the `load_video` we can prob rely on `av`, but I find it super slow compared to other video decoders. I'll try to get a small comparison benchmarks for that, and unfortunately `decord` can't be used as it had problems with models on cuda. In the long term we might consider adding video transforms where each video is transformed in one call, instead of each video frame, similar to fast image processing with `torchvision`. To Do: - [ ] Add the VideoProcessor class and integrate with llava-next-video which is one of the models with different processing for image and videos. - [ ] After the changed are approved and merged, the following models will be easy to modify: - [ ] Video-LLaVa - [ ] Qwen2-VL - [ ] LLaVA-OneVision - [ ] Instructblip-Video might need deprecation as it currently accepts images as main arg and returns pixel_values . TBH, it is a video-only model so we can disregard changing it, same was as we won't touch VIVIT and other video-only models ### Motivation Easier integration of multimodal LLMs ### Your contribution @amyeroberts WDYT about this suggestion? Would love to hear your opinion 🤗
Feature request,Vision,Multimodal
low
Major
2,527,736,519
TypeScript
Inlay parameter hints don't account for trailing required parameters
### 🔎 Search Terms inlay hints parameters rest spread argument ### 🕗 Version & Regression Information - This is the behavior in every version I tried ### ⏯ Playground Link N/A ### 💻 Code ```ts /// <reference path="fourslash.ts" /> //// function test(...rest: [first: number, ...middle: string[], last: string]) {} //// test(10, 'a', 'b', 'c') verify.baselineInlayHints(undefined, { includeInlayParameterNameHints: "all", includeInlayFunctionParameterTypeHints: true, }); ``` ### 🙁 Actual behavior ```ts function test(...rest: [first: number, ...middle: string[], last: string]) {} test(/* first: */10, /* ...middle: */'a', /* last: */'b', 'c') ``` ### 🙂 Expected behavior ```ts function test(...rest: [first: number, ...middle: string[], last: string]) {} test(/* first: */10, /* ...middle: */'a', 'b', /* last: */'c') ``` ### Additional information about the issue _No response_
Bug,Help Wanted
low
Minor
2,527,766,371
TypeScript
JsDoc with overloads and different generics results in wrong dts output
### 🔎 Search Terms javascript jsdoc dts overload ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed the FAQ for entries about jsdoc ### ⏯ Playground Link https://www.typescriptlang.org/play/?ts=5.6.2&filetype=js#code/PQKhFgCgAIWgBALgUwLYAcA2BDF0DeAzogE4CWAdgOYC+0AopmshYlLAgPYBuyJmnbABN2ceOmwlsqAo2as6yJqhZsYYkskQBXEhUIEAFAEpoAXgB80bpzJCao4FCigI6hCgw48+AEadOJmwKOjkVVlEuXn5BEXdxSWlZZVVFFIj4zR09A3wTcysbOwd1J0gXMEj4Hj4BYSqJKRl8Cm1UXz40+TUOeCzdfSNTS2tbe0dnSFcGxObggE8u8J6QMuQAD3ROEkRoADNtCgBjRDJOCmhzwyVu03woAEh+vWh8kfwSkqA ### 💻 Code ```js /** * @template {string} Element * @overload * @param {Element} element * @returns {() => void} */ /** * @template {boolean} Element * @overload * @param {Element} element * @returns {() => void} */ /** * @overload * @param {number} element * @returns {() => void} */ /** * @param {any} element */ export function on(element) { return () => {} } ``` ### 🙁 Actual behavior The resulting dts of the given JSDoc looks like this: ```ts export function on<Element extends string>(element: Element): () => void; export function on<Element extends string>(element: Element): () => void; export function on(element: number): () => void; ``` As you can see the generic does `extends string` both times, but it should be `extends boolean` the second time ### 🙂 Expected behavior ```ts export function on<Element extends string>(element: Element): () => void; export function on<Element extends boolean>(element: Element): () => void; export function on(element: number): () => void; ``` ### Additional information about the issue _No response_
Bug,Help Wanted
low
Minor
2,527,780,445
node
fetch() throws uncatachable UND_ERR_SOCKET exception
### Version v22.8.0 ### Platform ```text Microsoft Windows NT 10.0.22631.0 x64 ``` ### Subsystem _No response_ ### What steps will reproduce the bug? While using `fetch()`, I occasionally get this exception: ``` node:internal/deps/undici/undici:13185 Error.captureStackTrace(err); ^ TypeError: fetch failed at node:internal/deps/undici/undici:13185:13 at async getOldCourse (file:///E:/memrise-community-courses/fix-column-types.mjs:27:30) { [cause]: SocketError: other side closed at TLSSocket.<anonymous> (node:internal/deps/undici/undici:6040:28) at TLSSocket.emit (node:events:532:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { code: 'UND_ERR_SOCKET', socket: { localAddress: '127.0.0.1', localPort: 52533, remoteAddress: '127.0.0.1', remotePort: 443, remoteFamily: 'IPv4', timeout: undefined, bytesWritten: 12008, bytesRead: 4044144 } } } Node.js v22.8.0 ``` The problem is that the exception is uncatchable. I've already wrapped my `fetch()` called in `try/catch`, but when this `UND_ERR_SOCKET` error occurs, it crashes the entire process. ### How often does it reproduce? Is there a required condition? Once in every ~100 `fetch()` calls. ### What is the expected behavior? Why is that the expected behavior? Error should be catch ### What do you see instead? Error is uncatchable and crashes process ### Additional information My code is basically this: ```js process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0; try { await fetch( 'https://example.com/api/course/123/entries', { method: 'GET' } ); } catch(exception) { console.error(...); } ```
fetch
low
Critical
2,527,803,450
storybook
[Bug]: Angular: Functions declared in stories overrides implementation of functions in components when the names of the functions are the same
### Describe the bug When a function is declared in a component's story with the same name as a function in the component and passed as props, the implementation of the function in the story overrides the implementation in the component. **Private functions in the component are also overridden.** ### Reproduction link https://stackblitz.com/edit/github-ybftbv?file=src%2Fstories%2Fbutton.component.ts ### Reproduction steps 1. Go to the above link. 2. Run `npm run storybook` 3. Open the console to see the logs. ### System ```bash Storybook Environment Info: System: OS: macOS 14.5 CPU: (10) arm64 Apple M1 Max Shell: 5.9 - /bin/zsh Binaries: Node: 20.17.0 - /usr/local/bin/node npm: 10.8.2 - /usr/local/bin/npm <----- active Browsers: Chrome: 128.0.6613.138 Safari: 17.5 npmPackages: @storybook/addon-essentials: ^8.3.0 => 8.3.0 @storybook/addon-interactions: ^8.3.0 => 8.3.0 @storybook/addon-links: ^8.3.0 => 8.3.0 @storybook/angular: ^8.3.0 => 8.3.0 @storybook/blocks: ^8.3.0 => 8.3.0 @storybook/test: ^8.3.0 => 8.3.0 msw-storybook-addon: ^1.10.0 => 1.10.0 storybook: ^8.3.0 => 8.3.0 ``` ### Additional context _No response_
bug,needs triage
low
Critical
2,527,851,035
godot
File logging log rotation is broken.
### Tested versions v4.3.stable.arch_linux v4.2.2.stable.official [15073afe3] ### System information Godot v4.3.stable unknown - Arch Linux #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3090 (nvidia; 560.35.03) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads) ### Issue description When file `debug/file_logging/enable_file_logging` is enabled and `debug/file_logging/max_log_files` is > 1, files should be logged to the set directory (default `"user://logs/godot.log"`) starting with `godot.log` (most recent run) and keeping previous runs as `godot{datetimestamp}.log`. Previously this would correctly maintain the most recent logs but since ~4.3 it has stopped working. Now once the first `debug/file_logging/max_log_files` have been generated, only the newest (`godot.log`) gets correctly replaced and the oldest n-1 files are kept forever. ### Steps to reproduce Enable file logging add some print statements and run the game 6 times. ### Minimal reproduction project (MRP) N/A
bug,topic:core
low
Critical
2,527,865,007
angular
InjectionToken SwRegistrationOptions is ignored when using standalone bootstrapApplication function.
### Which @angular/* package(s) are the source of the bug? service-worker ### Is this a regression? Yes ### Description Hi, I've made a little repo to illustrate the issue. When using the old [NgModule based syntax](https://github.com/antur84/sw-registration-options-bug/commit/22ef382f4d6d0da584bead9725c8bea277a3bfb7) to init your app with a service worker, then your provided `SwRegistrationOptions` is found and respected. Runing the app gives you a console log. [When using standalone app syntax](https://github.com/antur84/sw-registration-options-bug/commit/718936d54b03560d4cfe669e071e9e6bef8006e2#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3d), via `bootstrapApplication` then your provided `SwRegistrationOptions` is not not found nor respected. Runing the app does not give you a console log. Likely it was overlooked in the PR where the [provideServiceWorker](https://github.com/angular/angular/pull/48247) function was added. Or perhaps I'm just misunderstanding how it's supposed to work now. ### Please provide a link to a minimal reproduction of the bug https://github.com/antur84/sw-registration-options-bug/commits/main/ ### Please provide the exception or error you saw _No response_ ### Please provide the environment you discovered this bug in (run `ng version`) ```true Angular CLI: 18.2.4 Node: 20.16.0 Package Manager: npm 10.8.1 OS: win32 x64 Angular: 18.2.4 ... animations, cli, common, compiler, compiler-cli, core, forms ... platform-browser, platform-browser-dynamic, router ... service-worker ``` ### Anything else? _No response_
area: service-worker,cross-cutting: standalone
low
Critical
2,527,958,024
excalidraw
Request to whitelist url for education
It would be great to embed H5P content from the following sites: [https://app.lumi.education/](https://app.lumi.education/) [https://apps.zum.de/](https://apps.zum.de/)
Embeddable
low
Minor
2,527,986,140
tauri
[feat] iOS App Clips
### Describe the problem It is difficult to find any docs on implementing [iOS App Clips](https://developer.apple.com/app-clips/). ### Describe the solution you'd like Documentation or a recipe for implementing [iOS App Clips](https://developer.apple.com/app-clips/) would be extremely helpful. ### Alternatives considered _No response_ ### Additional context The React Native community has a few solutions for building iOS App Clips that could be used for reference. [Building an App Clip with React Native](https://shopify.engineering/building-app-clip-react-native) [Expo plugin](https://github.com/bndkt/react-native-app-clip)
type: feature request,platform: iOS
low
Minor
2,528,014,307
kubernetes
Scheduler perf incorrectly shows percentiles for fast metrics
### What happened? When all metric values are in the first bucket, percentiles are incorrectly computed: ```json { "data": { "Average": 0.0009773531999999999, "Perc50": 0.05, "Perc90": 0.09000000000000001, "Perc95": 0.095, "Perc99": 0.099 }, "unit": "ms", "labels": { "Metric": "scheduler_framework_extension_point_duration_seconds", } } ``` ### What did you expect to happen? Correctly computed percentiles. Perhaps bucketing should be changed for some metrics. ### How can we reproduce it (as minimally and precisely as possible)? Run scheduler_perf or see some [perf-dash](https://perf-dash.k8s.io/#/?jobname=scheduler-perf-benchmark&metriccategoryname=Scheduler&metricname=BenchmarkPerfResults&Metric=scheduler_framework_extension_point_duration_seconds&Name=SchedulingBasic%2F5000Nodes_10000Pods%2Fnamespace-2&extension_point=Permit&plugin=not%20applicable&result=not%20applicable&event=not%20applicable) charts. ### Anything else we need to know? _No response_ ### Kubernetes version <details> ```console $ kubectl version # paste output here ``` </details> ### Cloud provider <details> </details> ### OS version <details> ```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ``` </details> ### Install tools <details> </details> ### Container runtime (CRI) and version (if applicable) <details> </details> ### Related plugins (CNI, CSI, ...) and versions (if applicable) <details> </details>
kind/bug,sig/scheduling,needs-triage
medium
Major
2,528,024,725
flutter
pub workspace mixes plugins between projects
### Steps to reproduce - Create 2 flutter projects in the same "pub workspace" - Have these projects uses different Flutter plugins (e.g. project1 uses url_launcher and project2 uses webview_flutter). ### Expected results The 2 projects should be separated. The plugins used by one project should not leak to the other projects (for binary size reasons?). ### Actual results After you run `flutter run` (or `flutter test`), you notice that various files from project1 contains pointer to the plugins used by project2 (in files GeneratedPluginRegistrant.swift|java) Example in `GeneratedPluginRegistrant.swift` in project2: ``` import url_launcher_macos import webview_flutter_wkwebview func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) FLTWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "FLTWebViewFlutterPlugin")) } ``` ### Code sample git clone https://github.com/xvrh/pub_workspace_test ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console Flutter (Channel main, 3.26.0-1.0.pre.131, on macOS 14.5 23F79 darwin-arm64, locale en-BE) ``` </details>
tool,has reproducible steps,P2,team-tool,triaged-tool,found in release: 3.26
low
Major
2,528,084,262
ant-design
InputNumber to support allowClear
### What problem does this feature solve? At times in a Form, having an undefined value has a specific meaning (like clearing this value from the DB on submit), so being able to clear the value from an InputNumber the same way an Input does would be great. ### What does the proposed API look like? <InputNumber allowClear />, same as <Input allowClear /> <!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
💡 Feature Request,Inactive
low
Major
2,528,087,640
rust
Compiler forgets the trait bound on an associated type if the concrete type is known
<!-- Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug. --> I tried this code: ```rust trait SomeTrait {} trait Foo { type Assoc: SomeTrait; } struct Wrap<T>(T); fn require_trait<T: SomeTrait>() {} fn works<T: Foo>() { require_trait::<<T as Foo>::Assoc>(); } fn fails<T: Foo<Assoc = Wrap<T>>>() { require_trait::<<T as Foo>::Assoc>(); } ``` I expected the code to compile, but I got the following error instead: ``` Compiling playground v0.0.1 (/playground) error[E0277]: the trait bound `Wrap<T>: SomeTrait` is not satisfied --> src/lib.rs:16:21 | 16 | require_trait::<<T as Foo>::Assoc>(); | ^^^^^^^^^^^^^^^^^ the trait `SomeTrait` is not implemented for `Wrap<T>` | help: this trait has no implementations, consider adding one --> src/lib.rs:1:1 | 1 | trait SomeTrait {} | ^^^^^^^^^^^^^^^ note: required by a bound in `require_trait` --> src/lib.rs:9:21 | 9 | fn require_trait<T: SomeTrait>() {} | ^^^^^^^^^ required by this bound in `require_trait` For more information about this error, try `rustc --explain E0277`. error: could not compile `playground` (lib) due to 1 previous error ``` Note that the `works` function compiles, even though it's strictly more general than the `fails` function. Discovered by sarah8389 on the rust community discord. ### Meta The issue reproduces on the playground with "Stable version: 1.81.0" and "1.83.0-nightly (2024-09-15 04a318787b39732e306f)"
A-trait-system,T-compiler,C-bug,T-types
low
Critical
2,528,090,577
langchain
MongoDBAtlasVectorSearch the PDF exceeding 100 pages cannot be processed. How can this be resolved?
### Checked other resources - [X] I added a very descriptive title to this issue. - [X] I searched the LangChain documentation with the integrated search. - [X] I used the GitHub search to find a similar question and didn't find it. - [X] I am sure that this is a bug in LangChain rather than my code. - [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package). ### Example Code loader = PyPDFLoader(file_path) data = loader.load() text_splitter = RecursiveCharacterTextSplitter( chunk_size=400, chunk_overlap=20, length_function=len, add_start_index=True) embed_model = ZhipuAIEmbeddings( model=EMBEDDING_MODEL, api_key=MODEL_API_KEY ) docs = text_splitter.split_documents(data) vector_store = MongoDBAtlasVectorSearch.from_documents( documents=docs, embedding=embed_model, collection=collection, index_name="vector_index" ) ### Error Message and Stack Trace (if applicable) raise self._make_status_error(err.response) from None zhipuai.core._errors.APIRequestFailedError: Error code: 400, with error text {"error":{"code":"1210","message":"API 调用参数有误,请检查文档。"}} ### Description raise self._make_status_error(err.response) from None zhipuai.core._errors.APIRequestFailedError: Error code: 400, with error text {"error":{"code":"1210","message":"API 调用参数有误,请检查文档。"}} ### System Info aenum==3.1.15 aiofiles==24.1.0 aiohappyeyeballs==2.3.5 aiohttp==3.10.3 aiolimiter==1.1.0 aiosignal==1.3.1 annotated-types==0.7.0 anyio==4.4.0 anytree==2.12.1 appnope==0.1.4 APScheduler==3.10.4 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asgiref==3.8.1 asteval==1.0.2 asttokens==2.4.1 async-lru==2.0.4 attrs==24.2.0 autograd==1.7.0 azure-common==1.1.28 azure-core==1.30.2 azure-identity==1.17.1 azure-search-documents==11.5.1 azure-storage-blob==12.22.0 babel==2.16.0 backoff==2.2.1 bcrypt==4.2.0 beartype==0.18.5 beautifulsoup4==4.12.3 bleach==6.1.0 build==1.2.1 cachetools==5.4.0 certifi==2024.7.4 cffi==1.17.0 chardet==5.2.0 charset-normalizer==3.3.2 chroma-hnswlib==0.7.6 chromadb==0.5.5 click==8.1.7 cloudpickle==3.0.0 coloredlogs==15.0.1 comm==0.2.2 contourpy==1.2.1 cramjam==2.8.3 cryptography==43.0.0 cycler==0.12.1 dask==2024.8.1 dask-expr==1.1.11 dataclasses-json==0.6.7 datashaper==0.0.49 debugpy==1.8.5 decorator==5.1.1 defusedxml==0.7.1 Deprecated==1.2.14 deprecation==2.1.0 devtools==0.12.2 dill==0.3.8 diskcache==5.6.3 distro==1.9.0 dnspython==2.6.1 environs==11.0.0 executing==2.0.1 faiss-cpu==1.8.0.post1 fastapi==0.112.2 fastjsonschema==2.20.0 fastparquet==2024.5.0 filelock==3.15.4 flatbuffers==24.3.25 fonttools==4.53.1 fqdn==1.5.1 frozenlist==1.4.1 fsspec==2024.6.1 funcsigs==1.0.2 future==1.0.0 gensim==4.3.3 google-auth==2.34.0 googleapis-common-protos==1.65.0 graphrag==0.3.1 graspologic==3.4.1 graspologic-native==1.2.1 grpcio==1.66.1 gs-quant==1.0.108 h11==0.14.0 hs-config==0.1.2 html5tagger==1.3.0 httpcore==1.0.5 httptools==0.6.1 httpx==0.27.0 huggingface-hub==0.24.6 humanfriendly==10.0 hyppo==0.4.0 idna==3.7 importlib_metadata==8.4.0 importlib_resources==6.4.4 inflection==0.5.1 ipykernel==6.29.5 ipython==8.26.0 ipywidgets==8.1.3 isodate==0.6.1 isoduration==20.11.0 jedi==0.19.1 Jinja2==3.1.4 jiter==0.5.0 joblib==1.4.2 json5==0.9.25 json_repair==0.26.0 jsonpatch==1.33 jsonpointer==3.0.0 jsonschema==4.23.0 jsonschema-specifications==2023.12.1 jupyter==1.0.0 jupyter-console==6.6.3 jupyter-events==0.10.0 jupyter-lsp==2.2.5 jupyter_client==8.6.2 jupyter_core==5.7.2 jupyter_server==2.14.2 jupyter_server_terminals==0.5.3 jupyterlab==4.2.4 jupyterlab_pygments==0.3.0 jupyterlab_server==2.27.3 jupyterlab_widgets==3.0.11 kiwisolver==1.4.5 kubernetes==30.1.0 lancedb==0.11.0 langchain==0.2.13 langchain-community==0.2.12 langchain-core==0.2.30 langchain-mongodb==0.1.8 langchain-openai==0.1.21 langchain-text-splitters==0.2.2 langsmith==0.1.99 linkify-it-py==2.0.3 llvmlite==0.43.0 lmfit==1.3.2 locket==1.0.0 loguru==0.7.2 lxml==5.3.0 markdown-it-py==3.0.0 MarkupSafe==2.1.5 marshmallow==3.21.3 matplotlib==3.9.2 matplotlib-inline==0.1.7 mdit-py-plugins==0.4.1 mdurl==0.1.2 mistune==3.0.2 mmh3==4.1.0 monotonic==1.6 more-itertools==10.4.0 motor==3.1.2 mpmath==1.3.0 msal==1.30.0 msal-extensions==1.2.0 msgpack==1.0.8 multidict==6.0.5 mypy-extensions==1.0.0 nbclient==0.10.0 nbconvert==7.16.4 nbformat==5.10.4 nest-asyncio==1.6.0 networkx==3.3 nltk==3.9.1 notebook==7.2.1 notebook_shim==0.2.4 numba==0.60.0 numpy==1.26.4 oauthlib==3.2.2 onnxruntime==1.19.0 openai==1.40.6 opentelemetry-api==1.27.0 opentelemetry-exporter-otlp-proto-common==1.27.0 opentelemetry-exporter-otlp-proto-grpc==1.27.0 opentelemetry-instrumentation==0.48b0 opentelemetry-instrumentation-asgi==0.48b0 opentelemetry-instrumentation-fastapi==0.48b0 opentelemetry-proto==1.27.0 opentelemetry-sdk==1.27.0 opentelemetry-semantic-conventions==0.48b0 opentelemetry-util-http==0.48b0 opentracing==2.4.0 orjson==3.10.6 overrides==7.7.0 packaging==24.1 pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 partd==1.4.2 patsy==0.5.6 pexpect==4.9.0 pillow==10.4.0 platformdirs==4.2.2 portalocker==2.10.1 posthog==3.6.0 POT==0.9.4 prometheus_client==0.20.0 prompt_toolkit==3.0.47 protobuf==4.25.4 psutil==6.0.0 ptyprocess==0.7.0 pure_eval==0.2.3 py==1.11.0 pyaml-env==1.2.1 pyarrow==15.0.2 pyasn1==0.6.0 pyasn1_modules==0.4.0 pycparser==2.22 pydantic==2.8.2 pydantic-settings==2.3.4 pydantic_core==2.20.1 pydash==6.0.2 Pygments==2.18.0 PyJWT==2.8.0 pylance==0.15.0 pymongo==4.8.0 pynndescent==0.5.13 pyparsing==3.1.4 pypdf==4.3.1 PyPDF2==3.0.1 PyPika==0.48.9 pyproject_hooks==1.1.0 python-dateutil==2.9.0.post0 python-docx==1.1.2 python-dotenv==1.0.1 python-json-logger==2.0.7 pytz==2024.1 PyYAML==6.0.2 pyzmq==26.1.0 qtconsole==5.5.2 QtPy==2.4.1 ratelimiter==1.2.0.post0 referencing==0.35.1 regex==2024.7.24 requests==2.32.3 requests-oauthlib==2.0.0 retry==0.9.2 rfc3339-validator==0.1.4 rfc3986-validator==0.1.1 rich==13.7.1 rpds-py==0.20.0 rsa==4.9 sanic==24.6.0 sanic-api==0.2.9 sanic-base-extension==0.2.0 sanic-ext==23.12.0 sanic-motor==0.7.0 sanic-routing==23.12.0 scikit-learn==1.5.1 scipy==1.12.0 seaborn==0.13.2 Send2Trash==1.8.3 shellingham==1.5.4 six==1.16.0 smart-open==7.0.4 sniffio==1.3.1 soupsieve==2.5 SQLAlchemy==2.0.32 stack-data==0.6.3 starlette==0.38.2 statsmodels==0.14.2 swifter==1.4.0 sympy==1.13.2 tenacity==8.5.0 terminado==0.18.1 textual==0.76.0 threadpoolctl==3.5.0 tiktoken==0.7.0 tinycss2==1.3.0 tokenizers==0.20.0 toolz==0.12.1 tornado==6.4.1 tqdm==4.66.5 tracerite==1.1.1 traitlets==5.14.3 twython==3.9.1 typer==0.12.5 types-python-dateutil==2.9.0.20240316 typing-inspect==0.9.0 typing_extensions==4.12.2 tzdata==2024.1 tzlocal==5.2 uc-micro-py==1.0.3 ujson==5.10.0 umap-learn==0.5.6 umongo==3.1.0 uncertainties==3.2.2 uri-template==1.3.0 urllib3==2.2.2 uvicorn==0.30.6 uvloop==0.20.0 watchfiles==0.24.0 wcwidth==0.2.13 webcolors==24.6.0 webencodings==0.5.1 websocket-client==1.8.0 websockets==12.0 widgetsnbextension==4.0.11 wrapt==1.16.0 yarl==1.9.4 zhipuai==2.1.4.20230812 zipp==3.20.0
Ɑ: vector store
low
Critical
2,528,129,673
storybook
[Bug]: Indexers are 'first-come, first served' for each RegExp match
### Describe the bug I attempted to create a new indexer with the RegExp match `\.amlstories.ts$?\` and couldn't understand why it was not working. It took quite some debugging and referencing existing indexers to realise that the indexer array is first-come, first-served for the regex match. After changing the RegExp to `\.aml.ts%?\`, the indexer matched the file type and ran normally. I see two solutions - the easiest is to simply document this fact. It shouldn't be hard to keep `story` or `stories` out of the matched filename, though instinct does indicate that you write that. Alternatively, a combinatorial approach would allow you to have a different render for each indexer, and combine them together. I don't mind, I just wanted this to be documented for anyone else who hits this (admittedly trivial) issue in the future :) ### Reproduction link https://stackblitz.com/~/github.com/LazerFX/storybook-indexer-bug ### Reproduction steps 1. Add a `custom_indexer` with the `test` matching the same as the default indexer (i.e. anything ending story or stories). I expected the indexer to be 'added' or 'merged' with the existing one, so that regular stories would be indexed, as well as new ones. Instead, the existing indexer was ran, and the new indexer wasn't even triggered (Which led to a lot of head scratching to figure out why the test was failing - it wasn't, strictly speaking, it was just never ran as the first indexer to satisfy the result was used). ### System ```bash Storybook Environment Info: System: OS: Windows 11 10.0.22631 CPU: (14) x64 Intel(R) Core(TM) Ultra 5 135U Binaries: Node: 20.17.0 - C:\Program Files\nodejs\node.EXE npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD <----- active Browsers: Edge: Chromium (127.0.2651.86) ``` ### Additional context _No response_
bug,needs triage
low
Critical
2,528,195,284
vscode
After accepting any suggestion from copilot i'm not able to save the file
Type: <b>Bug</b> After accepting any suggestion from copilot i'm not able to save the file. VS Code version: Code 1.93.1 (Universal) (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Darwin x64 23.6.0 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off| |Load (avg)|2, 3, 3| |Memory (System)|16.00GB (0.26GB free)| |Process Argv|--crash-reporter-id 7cc89160-37fe-4560-b6dd-941beb6584f8| |Screen Reader|no| |VM|0%| </details><details><summary>Extensions (37)</summary> Extension|Author (truncated)|Version ---|---|--- format-selection-as-html|adr|2.3.0 ng-template|Ang|18.2.0 vscode-eslint|dba|3.0.10 vscode-html-css|ecm|2.0.10 prettier-vscode|esb|11.0.0 esp-idf-extension|esp|1.8.1 copilot|Git|1.229.0 copilot-chat|Git|0.20.1 ionic|Ion|1.94.1 Angular2|joh|18.0.2 vscode-azureappservice|ms-|0.25.3 vscode-azurefunctions|ms-|1.15.4 vscode-azureresourcegroups|ms-|0.9.5 vscode-cosmosdb|ms-|0.23.0 csdevkit|ms-|1.10.18 csharp|ms-|2.45.25 vscode-dotnet-runtime|ms-|2.1.5 vscodeintellicode-csharp|ms-|2.1.11 remote-containers|ms-|0.384.0 azure-account|ms-|0.12.0 cmake-tools|ms-|1.19.51 cpptools|ms-|1.21.6 cpptools-extension-pack|ms-|1.3.0 live-server|ms-|0.4.15 vscode-css-peek|pra|4.4.1 java|red|1.34.0 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-gradle|vsc|3.16.4 vscode-java-debug|vsc|0.58.0 vscode-java-dependency|vsc|0.24.0 vscode-java-pack|vsc|0.29.0 vscode-java-test|vsc|0.42.0 vscode-maven|vsc|0.44.0 eno|Wsc|2.3.53 JavaScriptSnippets|xab|1.8.0 (1 theme extensions excluded) </details><details> <summary>A/B Experiments</summary> ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 724cj586:31013169 a69g1124:31058053 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl1:31134654 refactort:31108082 pythonrstrctxt:31112756 flightc:31134773 wkspc-onlycs-t:31132770 wkspc-ranged-c:31125598 pme_test_t:31118333 defaultse:31133495 ei213698:31121563 ``` </details> <!-- generated by issue reporter -->
info-needed,inline-chat
low
Critical
2,528,292,692
PowerToys
Keyboard Manager shortcut not working
### Microsoft PowerToys version 0.84 and 0.79 ### Installation method GitHub ### Running as admin Yes ### Area(s) with issue? Keyboard Manager ### Steps to reproduce I added Win+Y and Alt+Y key combinations to open the calc.exe in a new window. Restart the computer, let powertoys run automatically. ### ✔️ Expected Behavior After restart the added key combinations will work. ### ❌ Actual Behavior The combinations only work right after configuring them or after disabling/enabling the keyboard manager. Additional problem is that even when it works, the calc.exe is mostly not opened in the foreground (tested with firefox and other apps). ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,528,313,359
pytorch
`num_features` of `nn.BatchNorm1d()` with a tuple of `int` works
### 🐛 Describe the bug [The doc](https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm1d.html) of `nn.BatchNorm1d()` says `num_features` is `int` as shown below: > Parameters > - num_features ([int](https://docs.python.org/3/library/functions.html#int)) – number of features or channels C of the input But `num_features` with a tuple of `int` works as shown below. *It also happens with `num_features` of [nn.BatchNorm2d()](https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm2d.html) and [nn.BatchNorm3d()](https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm3d.html): ```python import torch from torch import nn my_tensor = torch.tensor([[8., -3., 0.], [1., 5., -2.]]) batchnorm1d = nn.BatchNorm1d(num_features=(3,)) batchnorm1d(input=my_tensor) # ↑↑↑↑ # tensor([[1.0000, -1.0000, 1.0000], # [-1.0000, 1.0000, -1.0000]], grad_fn=<NativeBatchNormBackward0>) ``` ### Versions ```python import torch torch.__version__ # '2.3.0' ``` cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: nn,triaged
low
Critical
2,528,330,682
stable-diffusion-webui
[Bug]: AMD GPU xFormers 0.0.28 do not support,GPU works but turn out nothing but error
### Checklist - [ ] The issue exists after disabling all extensions - [X] The issue exists on a clean installation of webui - [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui - [X] The issue exists in the current version of the webui - [X] The issue has not been reported before recently - [ ] The issue has been reported before but has not been fixed yet ### What happened? AMD GPU xFormers 0.0.28 do not support,GPU works but turn out nothing but error ![截图 2024-09-15 20-48-14](https://github.com/user-attachments/assets/2fad287a-58b9-4bc2-a1b8-48d4d03b1975) ### Steps to reproduce the problem 1.I git clone the a1111 sdwebui and managed to install the pytorch2.4.1-rocm6.1,and it work well . 2.Then i installed the xformers0.0.28post1 ,the trouble comes.When i fill the prompt and cick che generate botton ,the terminal and GPU sound shows the process ,but after seconds turn out an error. 3.When i run a benchmark in vlad's system info extension,it turns out that error: ![截图 2024-09-16 18-09-37](https://github.com/user-attachments/assets/c246064e-5801-40f3-9004-267ac29aac6c) penny@Neko:~/stable-diffusion-webui$ '/home/penny/stable-diffusion-webui/webui.sh' --reinstall-xformers --xformers ################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer. ################################################################ ################################################################ Running on penny user ################################################################ ################################################################ Repo already cloned, using it as install directory ################################################################ ################################################################ Create and activate python venv ################################################################ ################################################################ Launching launch.py... ################################################################ glibc version is 2.35 Cannot locate TCMalloc. Do you have tcmalloc or google-perftool installed on your system? (improves CPU memory usage) Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] Version: v1.10.1 Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 Installing xformers Launching Web UI with arguments: --reinstall-xformers --xformers WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.4.1+cu121 with CUDA 1201 (you have 2.4.1+rocm6.1) Python 3.10.15 (you have 3.10.12) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details *** Error running preload() for /home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py Traceback (most recent call last): File "/home/penny/stable-diffusion-webui/modules/script_loading.py", line 30, in preload_extensions module = load_module(preload_script) File "/home/penny/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py", line 4, in from modules.shared import models_path ImportError: cannot import name 'models_path' from partially initialized module 'modules.shared' (most likely due to a circular import) (/home/penny/stable-diffusion-webui/modules/shared.py) Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu. sd-webui-prompt-all-in-one background API service started successfully. *** Error loading script: tagger.py Traceback (most recent call last): File "/home/penny/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/home/penny/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/scripts/tagger.py", line 5, in from tagger.ui import on_ui_tabs File "/home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/tagger/ui.py", line 10, in from webui import wrap_gradio_gpu_call ImportError: cannot import name 'wrap_gradio_gpu_call' from 'webui' (/home/penny/stable-diffusion-webui/webui.py) Loading weights [7c819b6d13] from /home/penny/stable-diffusion-webui/models/Stable-diffusion/majicmixRealistic_v7.safetensors Running on local URL: http://127.0.0.1:7860/ Creating model from config: /home/penny/stable-diffusion-webui/configs/v1-inference.yaml /home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True. warnings.warn( Applying attention optimization: sdp-no-mem... done. Model loaded in 1.8s (load weights from disk: 0.3s, create model: 0.2s, apply weights to model: 0.9s, calculate empty prompt: 0.1s). To create a public link, set share=True in launch(). Startup time: 10.4s (prepare environment: 3.1s, import torch: 1.6s, import gradio: 0.3s, setup paths: 2.5s, other imports: 0.2s, load scripts: 0.3s, create ui: 0.2s, gradio launch: 2.2s). 正在现有浏览器会话中打开。 WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" /home/penny/stable-diffusion-webui/modules/safe.py:156: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. return unsafe_torch_load(filename, *args, **kwargs) 0%| | 0/20 [00:00<?, ?it/s]/usr/lib/python3.10/contextlib.py:103: FutureWarning: torch.backends.cuda.sdp_kernel() is deprecated. In the future, this context manager will be removed. Please see torch.nn.attention.sdpa_kernel() for the new context manager, with updated signature. self.gen = func(*args, **kwds) 100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 18.65it/s] ERROR:sd:SD-System-Info benchmark error: 1 No operator found for memory_efficient_attention_forward with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 ckF is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see python -m xformers.info for more info WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" 100%|███████████████████████████████████████████| 20/20 [00:00<00:00, 20.65it/s] ERROR:sd:SD-System-Info benchmark error: 1 No operator found for memory_efficient_attention_forward with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 ckF is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see python -m xformers.info for more info WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" 100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 11.10it/s] ERROR:sd:SD-System-Info benchmark error: 2 No operator found for memory_efficient_attention_forward with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 ckF is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see python -m xformers.info for more info WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" 100%|███████████████████████████████████████████| 20/20 [00:03<00:00, 5.75it/s] ERROR:sd:SD-System-Info benchmark error: 4 No operator found for memory_efficient_attention_forward with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 ckF is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see python -m xformers.info for more info 4.when i generate the picture in txt2img ,here is the code: *** Error completing request 4.43s/it] *** Arguments: ('task(femn6y84yofgpcx)', <gradio.routes.Request object at 0x7b50d04eb640>, '1girl, ', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, 'NONE:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\nALL:1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1\nINS:1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0\nIND:1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0\nINALL:1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0\nMIDD:1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0\nOUTD:1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0\nOUTS:1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1\nOUTALL:1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1\nALL0.5:0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', True, 0, 'values', '0,0.25,0.5,0.75,1', 'Block ID', 'IN05-OUT05', 'none', '', '0.5,1', 'BASE,IN00,IN01,IN02,IN03,IN04,IN05,IN06,IN07,IN08,IN09,IN10,IN11,M00,OUT00,OUT01,OUT02,OUT03,OUT04,OUT05,OUT06,OUT07,OUT08,OUT09,OUT10,OUT11', 1.0, 'black', '20', False, 'ATTNDEEPON:IN05-OUT05:attn:1\n\nATTNDEEPOFF:IN05-OUT05:attn:0\n\nPROJDEEPOFF:IN05-OUT05:proj:0\n\nXYZ:::1', False, False, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {} Traceback (most recent call last): File "/home/penny/stable-diffusion-webui/modules/call_queue.py", line 74, in f res = list(func(*args, **kwargs)) File "/home/penny/stable-diffusion-webui/modules/call_queue.py", line 53, in f res = func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/modules/call_queue.py", line 37, in f res = func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/modules/txt2img.py", line 109, in txt2img processed = processing.process_images(p) File "/home/penny/stable-diffusion-webui/modules/processing.py", line 847, in process_images res = process_images_inner(p) File "/home/penny/stable-diffusion-webui/modules/processing.py", line 1002, in process_images_inner x_samples_ddim = decode_latent_batch(p.sd_model, samples_ddim, target_device=devices.cpu, check_for_nans=True) File "/home/penny/stable-diffusion-webui/modules/processing.py", line 632, in decode_latent_batch sample = decode_first_stage(model, batch[i:i + 1])[0] File "/home/penny/stable-diffusion-webui/modules/sd_samplers_common.py", line 76, in decode_first_stage return samples_to_images_tensor(x, approx_index, model) File "/home/penny/stable-diffusion-webui/modules/sd_samplers_common.py", line 58, in samples_to_images_tensor x_sample = model.decode_first_stage(sample.to(model.first_stage_model.dtype)) File "/home/penny/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs)) File "/home/penny/stable-diffusion-webui/modules/sd_hijack_utils.py", line 36, in call return self.__orig_func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 826, in decode_first_stage return self.first_stage_model.decode(z) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/autoencoder.py", line 90, in decode dec = self.decoder(z) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl return forward_call(*args, **kwargs) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/model.py", line 631, in forward h = self.mid.attn_1(h) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl return forward_call(*args, **kwargs) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/model.py", line 258, in forward out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=None, op=self.attention_op) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/init.py", line 301, in memory_efficient_attention return _memory_efficient_attention( File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/init.py", line 462, in _memory_efficient_attention return _memory_efficient_attention_forward( File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/init.py", line 481, in _memory_efficient_attention_forward op = _dispatch_fw(inp, False) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/dispatch.py", line 135, in _dispatch_fw return _run_priority_list( File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/dispatch.py", line 76, in _run_priority_list raise NotImplementedError(msg) NotImplementedError: No operator found for memory_efficient_attention_forward with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 ckF is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see python -m xformers.info for more info ### What should have happened? since xFormers has the AMD ROCm support,hope that the dev branch could quickly give the featrure support update. ### What browsers do you use to access the UI ? Microsoft Edge ### Sysinfo [sysinfo-2024-09-16-12-25.json](https://github.com/user-attachments/files/17012841/sysinfo-2024-09-16-12-25.json) ### Console logs ```Shell penny@Neko:~/stable-diffusion-webui$ '/home/penny/stable-diffusion-webui/webui.sh' --xformers ################################################################ Install script for stable-diffusion + Web UI Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer. ################################################################ ################################################################ Running on penny user ################################################################ ################################################################ Repo already cloned, using it as install directory ################################################################ ################################################################ Create and activate python venv ################################################################ ################################################################ Launching launch.py... ################################################################ glibc version is 2.35 Cannot locate TCMalloc. Do you have tcmalloc or google-perftool installed on your system? (improves CPU memory usage) Python 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] Version: v1.10.1 Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2 Launching Web UI with arguments: --xformers WARNING:xformers:WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.4.1+cu121 with CUDA 1201 (you have 2.4.1+rocm6.1) Python 3.10.15 (you have 3.10.12) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details *** Error running preload() for /home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py Traceback (most recent call last): File "/home/penny/stable-diffusion-webui/modules/script_loading.py", line 30, in preload_extensions module = load_module(preload_script) File "/home/penny/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/preload.py", line 4, in <module> from modules.shared import models_path ImportError: cannot import name 'models_path' from partially initialized module 'modules.shared' (most likely due to a circular import) (/home/penny/stable-diffusion-webui/modules/shared.py) --- Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu. sd-webui-prompt-all-in-one background API service started successfully. *** Error loading script: tagger.py Traceback (most recent call last): File "/home/penny/stable-diffusion-webui/modules/scripts.py", line 515, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/home/penny/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/scripts/tagger.py", line 5, in <module> from tagger.ui import on_ui_tabs File "/home/penny/stable-diffusion-webui/extensions/stable-diffusion-webui-wd14-tagger/tagger/ui.py", line 10, in <module> from webui import wrap_gradio_gpu_call ImportError: cannot import name 'wrap_gradio_gpu_call' from 'webui' (/home/penny/stable-diffusion-webui/webui.py) --- Loading weights [7c819b6d13] from /home/penny/stable-diffusion-webui/models/Stable-diffusion/majicmixRealistic_v7.safetensors Running on local URL: http://127.0.0.1:7860 Creating model from config: /home/penny/stable-diffusion-webui/configs/v1-inference.yaml /home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Applying attention optimization: Doggettx... done. Model loaded in 1.8s (load weights from disk: 0.3s, create model: 0.2s, apply weights to model: 0.9s, calculate empty prompt: 0.2s). To create a public link, set `share=True` in `launch()`. Startup time: 8.7s (prepare environment: 1.4s, import torch: 1.6s, import gradio: 0.3s, setup paths: 2.5s, other imports: 0.2s, load scripts: 0.3s, create ui: 0.2s, gradio launch: 2.2s). 正在现有浏览器会话中打开。 /home/penny/stable-diffusion-webui/modules/safe.py:156: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature. return unsafe_torch_load(filename, *args, **kwargs) 100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 18.34it/s] *** Error completing request████████████████████| 20/20 [00:00<00:00, 20.39it/s] *** Arguments: ('task(5mb4apnjy4i0lh3)', <gradio.routes.Request object at 0x7796f0f434c0>, '1girl, ', '', [], 1, 1, 7, 512, 512, False, 0.7, 2, 'Latent', 0, 0, 0, 'Use same checkpoint', 'Use same sampler', 'Use same scheduler', '', '', [], 0, 20, 'DPM++ 2M', 'Automatic', False, '', 0.8, -1, False, -1, 0, 0, 0, 'NONE:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\nALL:1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1\nINS:1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0\nIND:1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0\nINALL:1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0\nMIDD:1,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0\nOUTD:1,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0\nOUTS:1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1\nOUTALL:1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1\nALL0.5:0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5', True, 0, 'values', '0,0.25,0.5,0.75,1', 'Block ID', 'IN05-OUT05', 'none', '', '0.5,1', 'BASE,IN00,IN01,IN02,IN03,IN04,IN05,IN06,IN07,IN08,IN09,IN10,IN11,M00,OUT00,OUT01,OUT02,OUT03,OUT04,OUT05,OUT06,OUT07,OUT08,OUT09,OUT10,OUT11', 1.0, 'black', '20', False, 'ATTNDEEPON:IN05-OUT05:attn:1\n\nATTNDEEPOFF:IN05-OUT05:attn:0\n\nPROJDEEPOFF:IN05-OUT05:proj:0\n\nXYZ:::1', False, False, False, False, 'positive', 'comma', 0, False, False, 'start', '', 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {} Traceback (most recent call last): File "/home/penny/stable-diffusion-webui/modules/call_queue.py", line 74, in f res = list(func(*args, **kwargs)) File "/home/penny/stable-diffusion-webui/modules/call_queue.py", line 53, in f res = func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/modules/call_queue.py", line 37, in f res = func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/modules/txt2img.py", line 109, in txt2img processed = processing.process_images(p) File "/home/penny/stable-diffusion-webui/modules/processing.py", line 847, in process_images res = process_images_inner(p) File "/home/penny/stable-diffusion-webui/modules/processing.py", line 1002, in process_images_inner x_samples_ddim = decode_latent_batch(p.sd_model, samples_ddim, target_device=devices.cpu, check_for_nans=True) File "/home/penny/stable-diffusion-webui/modules/processing.py", line 632, in decode_latent_batch sample = decode_first_stage(model, batch[i:i + 1])[0] File "/home/penny/stable-diffusion-webui/modules/sd_samplers_common.py", line 76, in decode_first_stage return samples_to_images_tensor(x, approx_index, model) File "/home/penny/stable-diffusion-webui/modules/sd_samplers_common.py", line 58, in samples_to_images_tensor x_sample = model.decode_first_stage(sample.to(model.first_stage_model.dtype)) File "/home/penny/stable-diffusion-webui/modules/sd_hijack_utils.py", line 22, in <lambda> setattr(resolved_obj, func_path[-1], lambda *args, **kwargs: self(*args, **kwargs)) File "/home/penny/stable-diffusion-webui/modules/sd_hijack_utils.py", line 36, in __call__ return self.__orig_func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/diffusion/ddpm.py", line 826, in decode_first_stage return self.first_stage_model.decode(z) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/models/autoencoder.py", line 90, in decode dec = self.decoder(z) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl return forward_call(*args, **kwargs) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/model.py", line 631, in forward h = self.mid.attn_1(h) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, **kwargs) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl return forward_call(*args, **kwargs) File "/home/penny/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/modules/diffusionmodules/model.py", line 258, in forward out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=None, op=self.attention_op) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/__init__.py", line 301, in memory_efficient_attention return _memory_efficient_attention( File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/__init__.py", line 462, in _memory_efficient_attention return _memory_efficient_attention_forward( File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/__init__.py", line 481, in _memory_efficient_attention_forward op = _dispatch_fw(inp, False) File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/dispatch.py", line 135, in _dispatch_fw return _run_priority_list( File "/home/penny/stable-diffusion-webui/venv/lib/python3.10/site-packages/xformers/ops/fmha/dispatch.py", line 76, in _run_priority_list raise NotImplementedError(msg) NotImplementedError: No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 `ckF` is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see `python -m xformers.info` for more info --- WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" 100%|███████████████████████████████████████████| 20/20 [00:00<00:00, 20.09it/s] ERROR:sd:SD-System-Info benchmark error: 1 No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 `ckF` is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see `python -m xformers.info` for more info WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" 100%|███████████████████████████████████████████| 20/20 [00:00<00:00, 20.30it/s] ERROR:sd:SD-System-Info benchmark error: 1 No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 `ckF` is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see `python -m xformers.info` for more info WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" 100%|███████████████████████████████████████████| 20/20 [00:01<00:00, 11.12it/s] ERROR:sd:SD-System-Info benchmark error: 2 No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 `ckF` is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see `python -m xformers.info` for more info WARNING:root:Sampler Scheduler autocorrection: "Euler a" -> "Euler a", "None" -> "Automatic" 100%|███████████████████████████████████████████| 20/20 [00:03<00:00, 5.71it/s] ERROR:sd:SD-System-Info benchmark error: 4 No operator found for `memory_efficient_attention_forward` with inputs: query : shape=(1, 4096, 1, 512) (torch.float16) key : shape=(1, 4096, 1, 512) (torch.float16) value : shape=(1, 4096, 1, 512) (torch.float16) attn_bias : <class 'NoneType'> p : 0.0 `ckF` is not supported because: max(query.shape[-1], value.shape[-1]) > 256 operator wasn't built - see `python -m xformers.info` for more info ``` ### Additional information Radeon RX 7900XTX ROCm6.1
bug-report
low
Critical
2,528,344,096
deno
Implement Happy Eyeballs for TCP connections
Right now we generally prefer IPv6 to IPv4 addresses when connecting to services. This unfortunately causes users to run into "connection failed" errors when their service does not actually listen on IPv6 (even though the DNS resolves to an IPv6 address). [Happy Eyeballs](https://en.wikipedia.org/wiki/Happy_Eyeballs) fixes this. It establishes connections to multiple addresses in parallel and uses the first one that connects.
feat,ext/net
low
Critical
2,528,354,868
tauri
[bug] [LINUX] Cursor theme in GTK is reset to adwaita when running AppImage built on GitHub Actions
### Describe the bug Cursor theme in GTK is reset to adwaita when running AppImage built on GitHub Actions. For app built natively, this issue doesn't occurs downstream issue: vrc-get/vrc-get#1532 ### Reproduction 1. change the cursor theme with GTK config (I don't know much) 2. run tauri app built on GitHub Actions ### Expected behavior cursor should be user customized one ### Full `tauri info` output ```text [✔] Environment - OS: Mac OS 14.4.1 arm64 (X64) ✔ Xcode Command Line Tools: installed ✔ rustc: 1.81.0-beta.7 (4a765c0b8 2024-08-28) ✔ cargo: 1.81.0-beta.7 (2dbb1af80 2024-08-20) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: beta-aarch64-apple-darwin (default) - node: 22.6.0 - pnpm: 8.15.4 - npm: 10.8.2 [-] Packages - tauri 🦀: 2.0.0-rc.8 - tauri-build 🦀: 2.0.0-rc.7 - wry 🦀: 0.42.0 - tao 🦀: 0.29.1 - tauri-cli 🦀: 2.0.0-rc.3 - @tauri-apps/api : 2.0.0-rc.4 - @tauri-apps/cli : 2.0.0-rc.10 [-] Plugins - tauri-plugin-single-instance 🦀: 2.0.0-rc.1 - @tauri-apps/plugin-single-instance : not installed! - tauri-plugin-dialog 🦀: 2.0.0-rc.3 - @tauri-apps/plugin-dialog : not installed! - tauri-plugin-updater 🦀: 2.0.0-rc.2 - @tauri-apps/plugin-updater : not installed! - tauri-plugin-fs 🦀: 2.0.0-rc.1 - @tauri-apps/plugin-fs : not installed! [-] App - build-type: bundle - CSP: unset - frontendDist: out - devUrl: http://localhost:3030/ - framework: React (Next.js) - bundler: Webpack ``` ### Stack trace _No response_ ### Additional context _No response_
type: bug,status: upstream,platform: Linux,status: needs triage
low
Critical
2,528,361,371
PowerToys
无界鼠标没有网络
### Microsoft PowerToys version 0.84.1 ### Installation method Microsoft Store ### Running as admin Yes ### Area(s) with issue? Mouse Without Borders ### Steps to reproduce ![屏幕截图 2024-09-16 203705](https://github.com/user-attachments/assets/2af94491-c38f-4ff6-a575-43f0ca671b1d) ### ✔️ Expected Behavior 可以使用进行控制多台电脑 ### ❌ Actual Behavior 经常中断,查不到原因,而且中间那个粘贴文件也不好用 ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,528,403,765
electron
[Bug]: Ozone-wayland window decorations (CSD) does not follow button spacing of the applied GTK style
### Preflight Checklist - [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project. - [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to. - [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success. ### Electron Version 31 ### What operating system(s) are you using? Other Linux ### Operating System Version Arch Linux ### What arch are you using? x64 ### Last Known Working Electron version - ### Expected Behavior Under GNOME wayland and weston, Electron will utilize GTK to draw decorations, since the Desktop does not draw decorations for Electron. However it appears that spacing between buttons does not conform to the applied GTK style: ![gambar](https://cdn.discordapp.com/attachments/232742985882796032/1285216462981697628/image.png?ex=66e9769a&is=66e8251a&hm=b53f6571a9c342acb8401a60ecf9ab27adb253dcc3930c71e37723b8cc8974c3&) the image above from top-to-bottom shows CSD decorations from - electron - GTK headerbar - GTK titlebar - Qadwaitadecorations ### Actual Behavior For button spacing to match the GTK style ### Testcase Gist URL _No response_ ### Additional Information ### Steps to Reproduce 1. Run Linux 2. Run GNOME wayland or weston 3. enable minimize and maximize buttons 4. run an electron app with --ozone-platform-hint=auto 5. Run a GTK app (non-gnome, i.e inkscape) 6. change gtk themes in gnome-tweaks 7. See that no matter what theme, electron will always be different Please don't tell me to use electron fiddle, this should suffice
platform/linux,bug :beetle:,stale,31-x-y
low
Critical
2,528,419,723
ollama
Massive performance regression on 0.1.32 -> GGML_CUDA_FORCE_MMQ: (SET TO NO, after 0.1.31)
### What is the issue? For reference: https://github.com/ollama/ollama/issues/3938 The issue might be actually result of disabling the following mode: Older versions: 0.1.31 ggml_cuda_init: GGML_CUDA_FORCE_MMQ: YES New versions (After 0.1.31) ggml_cuda_init: GGML_CUDA_FORCE_MMQ: no I tried to force this via env variables, but it did not help. Is there way to configure this via OLLAMA ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.31 -> 0.3.10
bug,performance,nvidia,needs more info
low
Major
2,528,453,625
vscode
[106eb] potential listener LEAK detected, having 187 listeners already. MOST frequent listener (13):
```javascript Error at u.create in src/vs/base/common/event.ts:933:15 at V.q [as onMouseDown] in src/vs/base/common/event.ts:1140:34 at new f in src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.ts:150:34 at <anonymous> in src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.ts:235:8 at computeFn in src/vs/base/common/observableInternal/derived.ts:122:11 at u.t in src/vs/base/common/observableInternal/derived.ts:284:22 at u.get in src/vs/base/common/observableInternal/derived.ts:261:10 at u.reportChanges in src/vs/base/common/observableInternal/base.ts:189:8 at u.get in src/vs/base/common/observableInternal/derived.ts:246:9 at u.reportChanges in src/vs/base/common/observableInternal/base.ts:189:8 at b.endUpdate in src/vs/base/common/observableInternal/autorun.ts:229:9 at u.endUpdate in src/vs/base/common/observableInternal/derived.ts:341:7 at u.endUpdate in src/vs/base/common/observableInternal/derived.ts:341:7 at u.endUpdate in src/vs/base/common/observableInternal/derived.ts:341:7 at c.finish in src/vs/base/common/observableInternal/base.ts:372:13 at b in src/vs/base/common/observableInternal/base.ts:306:6 at $6d in src/vs/base/common/observableInternal/base.ts:342:3 at d.r [as value] in out/vs/workbench/workbench.desktop.main.js:100:13201 at l.B in src/vs/base/common/event.ts:1242:13 at l.C in src/vs/base/common/event.ts:1253:9 at l.fire in src/vs/base/common/event.ts:1277:9 at l.J in src/vs/editor/common/model/tokenizationTextModelPart.ts:163:28 at d.value in src/vs/editor/common/model/tokenizationTextModelPart.ts:91:9 at l.B in src/vs/base/common/event.ts:1242:13 at l.fire in src/vs/base/common/event.ts:1273:9 at y.F in src/vs/editor/common/model/tokenizationTextModelPart.ts:563:28 at Object.setTokens in src/vs/editor/common/model/tokenizationTextModelPart.ts:480:11 at f.setTokensAndStates in src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.ts:217:37 at Object.$setTokensAndStates in src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.ts:155:17 at r.h in src/vs/base/common/worker/simpleWorker.ts:404:52 at Object.handleMessage in src/vs/base/common/worker/simpleWorker.ts:361:17 at n.k in src/vs/base/common/worker/simpleWorker.ts:245:32 at n.h in src/vs/base/common/worker/simpleWorker.ts:209:17 at n.handleMessage in src/vs/base/common/worker/simpleWorker.ts:178:8 at <anonymous> in src/vs/base/common/worker/simpleWorker.ts:347:20 at onMessageCallback in src/vs/base/browser/defaultWorkerFactory.ts:153:5 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40&bH=b08e9970-c631-cf6b-81bc-a82853f03746)
error-telemetry
low
Critical
2,528,455,255
vscode
[106f1] potential listener LEAK detected, having 194 listeners already. MOST frequent listener (20):
```javascript Error at u.create in src/vs/base/common/event.ts:933:15 at V.q [as onMouseMove] in src/vs/base/common/event.ts:1140:34 at new f in src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.ts:141:34 at <anonymous> in src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.ts:235:8 at computeFn in src/vs/base/common/observableInternal/derived.ts:122:11 at u.t in src/vs/base/common/observableInternal/derived.ts:284:22 at u.get in src/vs/base/common/observableInternal/derived.ts:261:10 at u.reportChanges in src/vs/base/common/observableInternal/base.ts:189:8 at u.get in src/vs/base/common/observableInternal/derived.ts:246:9 at u.reportChanges in src/vs/base/common/observableInternal/base.ts:189:8 at b.endUpdate in src/vs/base/common/observableInternal/autorun.ts:229:9 at u.endUpdate in src/vs/base/common/observableInternal/derived.ts:341:7 at u.endUpdate in src/vs/base/common/observableInternal/derived.ts:341:7 at u.endUpdate in src/vs/base/common/observableInternal/derived.ts:341:7 at c.finish in src/vs/base/common/observableInternal/base.ts:372:13 at b in src/vs/base/common/observableInternal/base.ts:306:6 at $6d in src/vs/base/common/observableInternal/base.ts:342:3 at d.r [as value] in out/vs/workbench/workbench.desktop.main.js:100:13201 at l.B in src/vs/base/common/event.ts:1242:13 at l.C in src/vs/base/common/event.ts:1253:9 at l.fire in src/vs/base/common/event.ts:1277:9 at l.J in src/vs/editor/common/model/tokenizationTextModelPart.ts:163:28 at d.value in src/vs/editor/common/model/tokenizationTextModelPart.ts:91:9 at l.B in src/vs/base/common/event.ts:1242:13 at l.fire in src/vs/base/common/event.ts:1273:9 at y.F in src/vs/editor/common/model/tokenizationTextModelPart.ts:563:28 at Object.setTokens in src/vs/editor/common/model/tokenizationTextModelPart.ts:480:11 at f.setTokensAndStates in src/vs/workbench/services/textMate/browser/backgroundTokenization/textMateWorkerTokenizerController.ts:217:37 at Object.$setTokensAndStates in src/vs/workbench/services/textMate/browser/backgroundTokenization/threadedBackgroundTokenizerFactory.ts:155:17 at r.h in src/vs/base/common/worker/simpleWorker.ts:404:52 at Object.handleMessage in src/vs/base/common/worker/simpleWorker.ts:361:17 at n.k in src/vs/base/common/worker/simpleWorker.ts:245:32 at n.h in src/vs/base/common/worker/simpleWorker.ts:209:17 at n.handleMessage in src/vs/base/common/worker/simpleWorker.ts:178:8 at <anonymous> in src/vs/base/common/worker/simpleWorker.ts:347:20 at onMessageCallback in src/vs/base/browser/defaultWorkerFactory.ts:153:5 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40&bH=befbdad9-d06b-0469-b4e7-9b61582b1f7b)
error-telemetry,diff-editor
low
Critical
2,528,472,322
vscode
There are no commenting ranges at the current position (with range).
```javascript Error: There are no commenting ranges at the current position (with range). at q.addCommentAtLine in out/vs/workbench/workbench.desktop.main.js:2358:2651 at q.addOrToggleCommentAtLine in out/vs/workbench/workbench.desktop.main.js:2358:2181 at q.cb in out/vs/workbench/workbench.desktop.main.js:2358:1884 at u.value in out/vs/workbench/workbench.desktop.main.js:2357:21899 at ae.B in out-vscode/vs/workbench/vs/base/common/marked/marked.js:1873:1 at text in out-vscode/vs/workbench/vs/base/common/marked/marked.js:1880:1 at ae.fire in out/vs/workbench/workbench.desktop.main.js:93:1018 at ae.fire in out/vs/workbench/workbench.desktop.main.js:771:22609 at $e.onMouseUp in out/vs/workbench/workbench.desktop.main.js:771:20448 at C.emitMouseUp in out/vs/workbench/workbench.desktop.main.js:220:22500 at L.emitMouseUp in out/vs/workbench/workbench.desktop.main.js:699:46620 at i.M in out/vs/workbench/workbench.desktop.main.js:745:15967 at <anonymous> in out/vs/workbench/workbench.desktop.main.js:745:13080 at HTMLDivElement.<anonymous> in out/vs/workbench/workbench.desktop.main.js:740:34053 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=4849ca9bdf9666755eb463db297b69e5385090e3&bH=6e758ea5-4524-62fe-a2ec-e014cd6e5f7f)
error-telemetry
low
Critical
2,528,476,848
vscode
[1c0] potential listener LEAK detected, having 175 listeners already. MOST frequent listener (1):
```javascript Error at u.create in src/vs/base/common/event.ts:933:15 at S.q [as onDidChange] in src/vs/base/common/event.ts:1140:34 at new d in src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.ts:170:33 at I in src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.ts:42:43 at register in src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.ts:69:5 at l.B in src/vs/base/common/event.ts:1242:13 at l.C in src/vs/base/common/event.ts:1253:9 at l.fire in src/vs/base/common/event.ts:1277:9 at w.createModel in src/vs/editor/common/services/modelService.ts:453:22 at le.provideTextContent in src/vs/workbench/contrib/chat/browser/codeBlockPart.ts:457:29 at a.u in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:187:33 at a.r in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:78:15 at a.b in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:38:15 at a.acquire in src/vs/base/common/lifecycle.ts:650:43 at I.acquire in src/vs/base/common/lifecycle.ts:680:40 at c.createModelReference in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:238:42 at f.getOrCreate in src/vs/workbench/contrib/chat/common/codeBlockModelCollection.ts:60:37 at f.update in src/vs/workbench/contrib/chat/common/codeBlockModelCollection.ts:90:22 at ye.<anonymous> in src/vs/workbench/contrib/chat/common/chatViewModel.ts:315:35 at ye.walkTokens in out-vscode/vs/workbench/vs/base/common/marked/marked.js:2143:1 at Te.walkTokens in out-vscode/vs/workbench/vs/base/common/marked/marked.js:2466:1 at u.updateCodeBlockTextModels in src/vs/workbench/contrib/chat/common/chatViewModel.ts:311:10 at u.m in src/vs/workbench/contrib/chat/common/chatViewModel.ts:288:8 at <anonymous> in src/vs/workbench/contrib/chat/common/chatViewModel.ts:240:10 at Array.forEach (<anonymous>) at new u in src/vs/workbench/contrib/chat/common/chatViewModel.ts:234:24 at f.o in src/vs/platform/instantiation/common/instantiationService.ts:162:18 at f.createInstance in src/vs/platform/instantiation/common/instantiationService.ts:128:18 at z.setModel in src/vs/workbench/contrib/chat/browser/chatWidget.ts:677:46 at m.s in src/vs/workbench/contrib/chat/browser/chatViewPane.ts:113:16 at m.W in src/vs/workbench/contrib/chat/browser/chatViewPane.ts:172:9 at m.render in src/vs/base/browser/ui/splitview/paneview.ts:285:9 at m.render in src/vs/workbench/browser/parts/views/viewPane.ts:436:9 at z.tb in src/vs/workbench/browser/parts/views/viewPaneContainer.ts:796:9 at z.create in src/vs/workbench/browser/parts/views/viewPaneContainer.ts:538:9 at z.create in src/vs/workbench/browser/panecomposite.ts:48:26 at T.Eb in src/vs/workbench/browser/parts/compositePart.ts:235:14 at T.Eb in src/vs/workbench/browser/parts/paneCompositePart.ts:230:9 at T.Cb in src/vs/workbench/browser/parts/compositePart.ts:158:8 at T.Bb in src/vs/workbench/browser/parts/compositePart.ts:122:15 at T.Bc in src/vs/workbench/browser/parts/paneCompositePart.ts:483:15 at T.openPaneComposite in src/vs/workbench/browser/parts/paneCompositePart.ts:457:16 at m.run in src/vs/workbench/browser/parts/paneCompositeBar.ts:772:32 at k.u in src/vs/base/common/actions.ts:194:16 at k.run in src/vs/base/common/actions.ts:185:15 at T.onClick in src/vs/base/browser/ui/actionbar/actionViewItems.ts:173:21 at HTMLLIElement.<anonymous> in src/vs/base/browser/ui/actionbar/actionViewItems.ts:153:10 ``` [Go to Errors Site](https://errors.code.visualstudio.com/card?ch=4849ca9bdf9666755eb463db297b69e5385090e3&bH=b5b9dfcc-086e-50f5-473a-6c295248b3a0)
bug,error-telemetry,freeze-slow-crash-leak,panel-chat
low
Critical
2,528,497,454
realworld
[Bug]: while doing sign up , It also accepting Invalid Emails
### Relevant scope Frontend specs ### Description While Doing Sign Up ,It is also accepting Invalid Email like without @gmail.com ![image](https://github.com/user-attachments/assets/5da5c9f8-14a7-478d-974a-7051d1420423)
bug
low
Critical
2,528,541,755
pytorch
MultiLabelMarginLoss with customized margin.
### 🚀 The feature, motivation and pitch I'm working on MultiLabelMarginLoss and would like customized margin to be possible. ### Alternatives _No response_ ### Additional context _No response_ cc @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: nn,module: loss,triaged,function request
low
Minor
2,528,559,302
godot
Theme types cannot have characters such as . or /
### Tested versions Godot v4.4.dev unknown - Windows 10.0.19045 - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4050 Laptop GPU (NVIDIA; 32.0.15.6070) - 13th Gen Intel(R) Core(TM) i5-13500HX (20 Threads) ### System information Godot v4.4.dev unknown - Windows 10.0.19045 - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 4050 Laptop GPU (NVIDIA; 32.0.15.6070) - 13th Gen Intel(R) Core(TM) i5-13500HX (20 Threads) ### Issue description Theme types cannot contain characters such as periods (.) or slashes (/) I couldn't find information about this on the documentation but I could just be blind. I think it would be cleaner if you could use names with periods as if they were sub-classes of the main type. ### Steps to reproduce 1. Create a theme 2. Set a name such as Button.Test 3. See it does not add ### Minimal reproduction project (MRP) N/A
enhancement,topic:editor,documentation,topic:gui
low
Major