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,807,101,272
flutter
[flutter_markdown] For multi-line text with an image at the end - the image is always on a new line
### What package does this bug report belong to? flutter_markdown ### What target platforms are you seeing this bug on? iOS ### 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: "0b2f2bd91ba804e53a61d757b986f89f1f9eaed5b11e4b2f5a2468d86d6c9fc7" url: "https://pub.dev" source: hosted version: "67.0.0" analyzer: dependency: transitive description: name: analyzer sha256: "37577842a27e4338429a1cbc32679d508836510b056f1eedf0c8d20e39c1383d" url: "https://pub.dev" source: hosted version: "6.4.1" app_settings: dependency: "direct main" description: name: app_settings sha256: "09bc7fe0313a507087bec1a3baf555f0576e816a760cbb31813a88890a09d9e5" url: "https://pub.dev" source: hosted version: "5.1.1" archive: dependency: transitive description: name: archive sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d url: "https://pub.dev" source: hosted version: "3.6.1" args: dependency: transitive description: name: args sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted version: "2.6.0" async: dependency: transitive description: name: async sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" url: "https://pub.dev" source: hosted version: "2.11.0" audio_session: dependency: transitive description: name: audio_session sha256: "343e83bc7809fbda2591a49e525d6b63213ade10c76f15813be9aed6657b3261" url: "https://pub.dev" source: hosted version: "0.1.21" barcode: dependency: transitive description: name: barcode sha256: ab180ce22c6555d77d45f0178a523669db67f95856e3378259ef2ffeb43e6003 url: "https://pub.dev" source: hosted version: "2.2.8" barcode_widget: dependency: "direct main" description: name: barcode_widget sha256: "6f2c5b08659b1a5f4d88d183e6007133ea2f96e50e7b8bb628f03266c3931427" url: "https://pub.dev" source: hosted version: "2.0.4" 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" 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: "28a712df2576b63c6c005c465989a348604960c0958d28be5303ba9baa841ac2" url: "https://pub.dev" source: hosted version: "8.9.3" cached_network_image: dependency: transitive description: name: cached_network_image sha256: "4a5d8d2c728b0f3d0245f69f921d7be90cae4c2fd5288f773088672c0893f819" url: "https://pub.dev" source: hosted version: "3.4.0" cached_network_image_platform_interface: dependency: transitive description: name: cached_network_image_platform_interface sha256: "35814b016e37fbdc91f7ae18c8caf49ba5c88501813f73ce8a07027a395e2829" url: "https://pub.dev" source: hosted version: "4.1.1" cached_network_image_web: dependency: transitive description: name: cached_network_image_web sha256: "6322dde7a5ad92202e64df659241104a43db20ed594c41ca18de1014598d7996" url: "https://pub.dev" source: hosted version: "1.3.0" camera: dependency: "direct main" description: name: camera sha256: dfa8fc5a1adaeb95e7a54d86a5bd56f4bb0e035515354c8ac6d262e35cec2ec8 url: "https://pub.dev" source: hosted version: "0.10.6" camera_android: dependency: "direct overridden" description: path: "." ref: master resolved-ref: dcf4e658f6dc1f7c28be438dbfd8db25af1fe157 url: "[email protected]:flutter/plugins/camera_android.git" source: git version: "0.10.9+2" camera_avfoundation: dependency: transitive description: name: camera_avfoundation sha256: "2e4c568f70e406ccb87376bc06b53d2f5bebaab71e2fbcc1a950e31449381bcf" url: "https://pub.dev" source: hosted version: "0.9.17+5" 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: transitive description: name: camera_web sha256: "595f28c89d1fb62d77c73c633193755b781c6d2e0ebcd8dc25b763b514e6ba8f" url: "https://pub.dev" source: hosted 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" chewie: dependency: "direct main" description: name: chewie sha256: "335df378c025588aef400c704bd71f0daea479d4cd57c471c88c056c1144e7cd" url: "https://pub.dev" source: hosted version: "1.8.5" 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: "direct main" description: name: collection sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted version: "1.18.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: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab url: "https://pub.dev" source: hosted version: "3.0.3" csslib: dependency: transitive description: name: csslib sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" url: "https://pub.dev" source: hosted version: "1.0.2" cupertino_icons: dependency: transitive description: name: cupertino_icons sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6 url: "https://pub.dev" source: hosted version: "1.0.8" dart_style: dependency: transitive description: name: dart_style sha256: "99e066ce75c89d6b29903d788a7bb9369cf754f7b24bf70bf4b6d6d6b26853b9" url: "https://pub.dev" source: hosted version: "2.3.6" dbus: dependency: transitive description: name: dbus sha256: "365c771ac3b0e58845f39ec6deebc76e3276aa9922b0cc60840712094d9047ac" url: "https://pub.dev" source: hosted version: "0.7.10" dependency_validator: dependency: "direct dev" description: name: dependency_validator sha256: f727a5627aa405965fab4aef4f468e50a9b632ba0737fd2f98c932fec6d712b9 url: "https://pub.dev" source: hosted version: "3.2.3" device_info_plus: dependency: "direct main" description: name: device_info_plus sha256: "77f757b789ff68e4eaf9c56d1752309bd9f7ad557cb105b938a7f8eb89e59110" url: "https://pub.dev" source: hosted version: "9.1.2" device_info_plus_platform_interface: dependency: transitive description: name: device_info_plus_platform_interface sha256: "0b04e02b30791224b31969eb1b50d723498f402971bff3630bca2ba839bd1ed2" url: "https://pub.dev" source: hosted version: "7.0.2" dropdown_button2: dependency: "direct main" description: path: "." ref: master resolved-ref: bd00970f533b23b519ba4446665ac77544a85b75 url: "[email protected]:flutter/plugins/flutter_dropdown_button.git" source: git version: "2.3.9" 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: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 url: "https://pub.dev" source: hosted version: "7.0.1" file_picker: dependency: "direct main" description: name: file_picker sha256: "1bbf65dd997458a08b531042ec3794112a6c39c07c37ff22113d2e7e4f81d4e4" url: "https://pub.dev" source: hosted version: "6.2.1" file_selector_linux: dependency: transitive description: name: file_selector_linux sha256: "54cbbd957e1156d29548c7d9b9ec0c0ebb6de0a90452198683a7d23aed617a33" url: "https://pub.dev" source: hosted version: "0.9.3+2" file_selector_macos: dependency: transitive description: name: file_selector_macos sha256: "271ab9986df0c135d45c3cdb6bd0faa5db6f4976d3e4b437cf7d0f258d941bfc" url: "https://pub.dev" source: hosted version: "0.9.4+2" file_selector_platform_interface: dependency: transitive description: name: file_selector_platform_interface sha256: a3994c26f10378a039faa11de174d7b78eb8f79e4dd0af2a451410c1a5c3f66b url: "https://pub.dev" source: hosted version: "2.6.2" file_selector_windows: dependency: transitive description: name: file_selector_windows sha256: "8f5d2f6590d51ecd9179ba39c64f722edc15226cc93dcc8698466ad36a4a85a4" url: "https://pub.dev" source: hosted version: "0.9.3+3" fixnum: dependency: transitive description: name: fixnum sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be url: "https://pub.dev" source: hosted version: "1.1.1" flutter: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_cache_manager: dependency: transitive description: name: flutter_cache_manager sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386" url: "https://pub.dev" source: hosted version: "3.4.1" flutter_colorpicker: dependency: "direct main" description: name: flutter_colorpicker sha256: "969de5f6f9e2a570ac660fb7b501551451ea2a1ab9e2097e89475f60e07816ea" url: "https://pub.dev" source: hosted version: "1.1.0" flutter_date_pickers: dependency: "direct main" description: path: "." ref: "2.2.6" resolved-ref: f83076003e34ba6a4e1306efa5816d1f25872d7e url: "[email protected]:flutter/flutter_date_pickers.git" source: git version: "1.1.0" flutter_localizations: dependency: "direct main" description: flutter source: sdk version: "0.0.0" flutter_markdown: dependency: "direct main" description: name: flutter_markdown sha256: "255b00afa1a7bad19727da6a7780cf3db6c3c12e68d302d85e0ff1fdf173db9e" url: "https://pub.dev" source: hosted version: "0.7.4+3" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle sha256: "8cf40eebf5dec866a6d1956ad7b4f7016e6c0cc69847ab946833b7d43743809f" url: "https://pub.dev" source: hosted version: "2.0.19" flutter_svg: dependency: "direct main" description: name: flutter_svg sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2" url: "https://pub.dev" source: hosted version: "2.0.10+1" flutter_swiper_null_safety_flutter3: dependency: "direct main" description: name: flutter_swiper_null_safety_flutter3 sha256: f312cf1394036b3b6ad4d8b2fffef15bb664252f910e5d9841e2b7dfc255cf8c url: "https://pub.dev" source: hosted version: "4.0.3" 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" flutter_widget_from_html: dependency: "direct main" description: name: flutter_widget_from_html sha256: f3967a5b42896662efdd420b5adaf8a7d3692b0f44462a07c80e3b4c173b1a02 url: "https://pub.dev" source: hosted version: "0.15.3" flutter_widget_from_html_core: dependency: transitive description: name: flutter_widget_from_html_core sha256: b1048fd119a14762e2361bd057da608148a895477846d6149109b2151d2f7abf url: "https://pub.dev" source: hosted version: "0.15.2" fwfh_cached_network_image: dependency: transitive description: name: fwfh_cached_network_image sha256: "8e44226801bfba27930673953afce8af44da7e92573be93f60385d9865a089dd" url: "https://pub.dev" source: hosted version: "0.14.3" fwfh_chewie: dependency: transitive description: name: fwfh_chewie sha256: "37bde9cedfb6dc5546176f7f0c56af1e814966cb33ec58f16c9565ed93ccb704" url: "https://pub.dev" source: hosted version: "0.14.8" fwfh_just_audio: dependency: transitive description: name: fwfh_just_audio sha256: "38dc2c55803bd3cef33042c473e0c40b891ad4548078424641a32032f6a1245f" url: "https://pub.dev" source: hosted version: "0.15.2" fwfh_svg: dependency: transitive description: name: fwfh_svg sha256: "550b1014d12b5528d8bdb6e3b44b58721f3fb1f65d7a852d1623a817008bdfc4" url: "https://pub.dev" source: hosted version: "0.8.3" fwfh_url_launcher: dependency: transitive description: name: fwfh_url_launcher sha256: b9f5d55a5ae2c2c07243ba33f7ba49ac9544bdb2f4c16d8139df9ccbebe3449c url: "https://pub.dev" source: hosted version: "0.9.1" fwfh_webview: dependency: transitive description: name: fwfh_webview sha256: c0a8b664b642f40f4c252a0ab4e72c22dcd97c7fb3a7e50a6b4bdb6f63afca19 url: "https://pub.dev" source: hosted version: "0.15.3" glob: dependency: transitive description: name: glob sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" url: "https://pub.dev" source: hosted version: "2.1.2" html: dependency: transitive description: name: html sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" url: "https://pub.dev" source: hosted version: "0.15.5" html_unescape: dependency: transitive description: name: html_unescape sha256: "15362d7a18f19d7b742ef8dcb811f5fd2a2df98db9f80ea393c075189e0b61e3" url: "https://pub.dev" source: hosted version: "2.0.0" http: dependency: "direct main" description: name: http sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 url: "https://pub.dev" source: hosted version: "1.2.2" http_parser: dependency: transitive description: name: http_parser sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" url: "https://pub.dev" source: hosted version: "4.0.2" image: dependency: "direct main" description: name: image sha256: f31d52537dc417fdcde36088fdf11d191026fd5e4fae742491ebd40e5a8bea7d url: "https://pub.dev" source: hosted version: "4.3.0" image_picker: dependency: "direct main" description: name: image_picker sha256: "021834d9c0c3de46bf0fe40341fa07168407f694d9b2bb18d532dc1261867f7a" url: "https://pub.dev" source: hosted version: "1.1.2" image_picker_android: dependency: transitive description: name: image_picker_android sha256: "0f57fee1e8bfadf8cc41818bbcd7f72e53bb768a54d9496355d5e8a5681a19f1" url: "https://pub.dev" source: hosted version: "0.8.12+1" image_picker_for_web: dependency: transitive description: name: image_picker_for_web sha256: "65d94623e15372c5c51bebbcb820848d7bcb323836e12dfdba60b5d3a8b39e50" url: "https://pub.dev" source: hosted version: "3.0.5" image_picker_ios: dependency: transitive description: name: image_picker_ios sha256: "4f0568120c6fcc0aaa04511cb9f9f4d29fc3d0139884b1d06be88dcec7641d6b" url: "https://pub.dev" source: hosted version: "0.8.12+1" image_picker_linux: dependency: transitive description: name: image_picker_linux sha256: "4ed1d9bb36f7cd60aa6e6cd479779cc56a4cb4e4de8f49d487b1aaad831300fa" url: "https://pub.dev" source: hosted version: "0.2.1+1" image_picker_macos: dependency: transitive description: name: image_picker_macos sha256: "3f5ad1e8112a9a6111c46d0b57a7be2286a9a07fc6e1976fdf5be2bd31d4ff62" url: "https://pub.dev" source: hosted version: "0.2.1+1" image_picker_platform_interface: dependency: transitive description: name: image_picker_platform_interface sha256: "9ec26d410ff46f483c5519c29c02ef0e02e13a543f882b152d4bfd2f06802f80" url: "https://pub.dev" source: hosted version: "2.10.0" image_picker_windows: dependency: transitive description: name: image_picker_windows sha256: "6ad07afc4eb1bc25f3a01084d28520496c4a3bb0cb13685435838167c9dcedeb" url: "https://pub.dev" source: hosted version: "0.2.1+1" intl: dependency: transitive description: name: intl sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" url: "https://pub.dev" source: hosted version: "0.18.1" intl_utils: dependency: "direct dev" description: name: intl_utils sha256: "35f9a55004871f241e24b07465cf402914992d8549a60205ee0816576a8ddee7" url: "https://pub.dev" source: hosted version: "2.8.8" io: dependency: transitive description: name: io sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" url: "https://pub.dev" source: hosted version: "1.0.4" json_annotation: dependency: transitive description: name: json_annotation sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1" url: "https://pub.dev" source: hosted version: "4.9.0" just_audio: dependency: transitive description: name: just_audio sha256: a49e7120b95600bd357f37a2bb04cd1e88252f7cdea8f3368803779b925b1049 url: "https://pub.dev" source: hosted version: "0.9.42" just_audio_platform_interface: dependency: transitive description: name: just_audio_platform_interface sha256: "0243828cce503c8366cc2090cefb2b3c871aa8ed2f520670d76fd47aa1ab2790" url: "https://pub.dev" source: hosted version: "4.3.0" just_audio_web: dependency: transitive description: name: just_audio_web sha256: "9a98035b8b24b40749507687520ec5ab404e291d2b0937823ff45d92cb18d448" url: "https://pub.dev" source: hosted version: "0.4.13" leak_tracker: dependency: transitive description: name: leak_tracker sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" url: "https://pub.dev" source: hosted version: "10.0.0" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 url: "https://pub.dev" source: hosted version: "2.0.1" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 url: "https://pub.dev" source: hosted version: "2.0.1" linkify: dependency: "direct main" description: name: linkify sha256: "4139ea77f4651ab9c315b577da2dd108d9aa0bd84b5d03d33323f1970c645832" url: "https://pub.dev" source: hosted version: "5.0.0" logging: dependency: transitive description: name: logging sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.dev" source: hosted version: "1.2.0" lottie: dependency: "direct main" description: name: lottie sha256: "7afc60865a2429d994144f7d66ced2ae4305fe35d82890b8766e3359872d872c" url: "https://pub.dev" source: hosted version: "3.1.3" markdown: dependency: "direct main" description: name: markdown sha256: ef2a1298144e3f985cc736b22e0ccdaf188b5b3970648f2d9dc13efd1d9df051 url: "https://pub.dev" source: hosted version: "7.2.2" 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: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" url: "https://pub.dev" source: hosted version: "0.8.0" meta: dependency: transitive description: name: meta sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 url: "https://pub.dev" source: hosted version: "1.11.0" mime: dependency: "direct main" description: name: mime sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a" url: "https://pub.dev" source: hosted version: "1.0.6" mockito: dependency: "direct dev" description: name: mockito sha256: "6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917" url: "https://pub.dev" source: hosted version: "5.4.4" modal_bottom_sheet: dependency: "direct main" description: name: modal_bottom_sheet sha256: "3bba63c62d35c931bce7f8ae23a47f9a05836d8cb3c11122ada64e0b2f3d718f" url: "https://pub.dev" source: hosted version: "3.0.0-pre" native_contact_picker: dependency: "direct main" description: path: "." ref: "2.0.3" resolved-ref: "2c4b26c450d76ea8447d3998693d32a7624cdc56" url: "[email protected]:flutter/native_contact_picker.git" source: git version: "0.0.0" nested: dependency: transitive description: name: nested sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20" url: "https://pub.dev" source: hosted version: "1.0.0" ntp: dependency: "direct main" description: name: ntp sha256: "198db73e5059b334b50dbe8c626011c26576778ee9fc53f4c55c1d89d08ed2d2" url: "https://pub.dev" source: hosted version: "2.0.0" octo_image: dependency: transitive description: name: octo_image sha256: "34faa6639a78c7e3cbe79be6f9f96535867e879748ade7d17c9b1ae7536293bd" url: "https://pub.dev" source: hosted version: "2.1.0" overlay_support: dependency: "direct main" description: name: overlay_support sha256: fc39389bfd94e6985e1e13b2a88a125fc4027608485d2d4e2847afe1b2bb339c url: "https://pub.dev" source: hosted version: "2.1.0" package_config: dependency: transitive description: name: package_config sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" url: "https://pub.dev" source: hosted version: "2.1.0" package_info_plus: dependency: transitive description: name: package_info_plus sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918 url: "https://pub.dev" source: hosted version: "8.0.2" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface sha256: a5ef9986efc7bf772f2696183a3992615baa76c1ffb1189318dd8803778fb05b url: "https://pub.dev" source: hosted version: "3.0.2" palette_generator: dependency: "direct main" description: name: palette_generator sha256: "0b20245c451f14a5ca0818ab7a377765162389f8e8f0db361cceabf0fed9d1ea" url: "https://pub.dev" source: hosted version: "0.3.3+5" path: dependency: transitive description: name: path sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af" url: "https://pub.dev" source: hosted version: "1.9.0" path_parsing: dependency: transitive description: name: path_parsing sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" url: "https://pub.dev" source: hosted version: "1.1.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: a248d8146ee5983446bf03ed5ea8f6533129a12b11f12057ad1b4a67a2b3b41d url: "https://pub.dev" source: hosted version: "2.2.4" path_provider_foundation: dependency: transitive description: name: path_provider_foundation sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942" url: "https://pub.dev" source: hosted version: "2.4.1" 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" permission_handler: dependency: "direct main" description: name: permission_handler sha256: "18bf33f7fefbd812f37e72091a15575e72d5318854877e0e4035a24ac1113ecb" url: "https://pub.dev" source: hosted version: "11.3.1" permission_handler_android: dependency: transitive description: name: permission_handler_android sha256: "71bbecfee799e65aff7c744761a57e817e73b738fedf62ab7afd5593da21f9f1" url: "https://pub.dev" source: hosted version: "12.0.13" permission_handler_apple: dependency: transitive description: name: permission_handler_apple sha256: e6f6d73b12438ef13e648c4ae56bd106ec60d17e90a59c4545db6781229082a0 url: "https://pub.dev" source: hosted version: "9.4.5" permission_handler_html: dependency: transitive description: name: permission_handler_html sha256: "38f000e83355abb3392140f6bc3030660cfaef189e1f87824facb76300b4ff24" url: "https://pub.dev" source: hosted version: "0.1.3+5" permission_handler_platform_interface: dependency: transitive description: name: permission_handler_platform_interface sha256: e9c8eadee926c4532d0305dff94b85bf961f16759c3af791486613152af4b4f9 url: "https://pub.dev" source: hosted version: "4.2.3" permission_handler_windows: dependency: transitive description: name: permission_handler_windows sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e" url: "https://pub.dev" source: hosted version: "0.2.1" petitparser: dependency: transitive description: name: petitparser sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 url: "https://pub.dev" source: hosted version: "6.0.2" platform: dependency: transitive description: name: platform sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" url: "https://pub.dev" source: hosted version: "3.1.6" plugin_platform_interface: dependency: transitive description: name: plugin_platform_interface sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02" url: "https://pub.dev" source: hosted version: "2.1.8" provider: dependency: transitive description: name: provider sha256: c8a055ee5ce3fd98d6fc872478b03823ffdb448699c6ebdbbc71d59b596fd48c url: "https://pub.dev" source: hosted version: "6.1.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: "81876843eb50dc2e1e5b151792c9a985c5ed2536914115ed04e9c8528f6647b0" url: "https://pub.dev" source: hosted version: "1.4.0" qr: dependency: transitive description: name: qr sha256: "64957a3930367bf97cc211a5af99551d630f2f4625e38af10edd6b19131b64b3" url: "https://pub.dev" source: hosted version: "3.0.1" rxdart: dependency: "direct main" description: name: rxdart sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" url: "https://pub.dev" source: hosted version: "0.27.7" screen_brightness: dependency: "direct main" description: name: screen_brightness sha256: "7d4ac84ae26b37c01d6f5db7123a72db7933e1f2a2a8c369a51e08f81b3178d8" url: "https://pub.dev" source: hosted version: "1.0.1" screen_brightness_android: dependency: transitive description: name: screen_brightness_android sha256: "8c69d3ac475e4d625e7fa682a3a51a69ff59abe5b4a9e57f6ec7d830a6c69bd6" url: "https://pub.dev" source: hosted version: "1.0.1" screen_brightness_ios: dependency: transitive description: name: screen_brightness_ios sha256: f08f70ca1ac3e30719764b5cfb8b3fe1e28163065018a41b3e6f243ab146c2f1 url: "https://pub.dev" source: hosted version: "1.0.1" screen_brightness_macos: dependency: transitive description: name: screen_brightness_macos sha256: "70c2efa4534e22b927e82693488f127dd4a0f008469fccf4f0eefe9061bbdd6a" url: "https://pub.dev" source: hosted version: "1.0.1" screen_brightness_platform_interface: dependency: transitive description: name: screen_brightness_platform_interface sha256: "9f3ebf7f22d5487e7676fe9ddaf3fc55b6ff8057707cf6dc0121c7dfda346a16" url: "https://pub.dev" source: hosted version: "1.0.1" screen_brightness_windows: dependency: transitive description: name: screen_brightness_windows sha256: c8e12a91cf6dd912a48bd41fcf749282a51afa17f536c3460d8d05702fb89ffa url: "https://pub.dev" source: hosted version: "1.0.1" share_plus: dependency: "direct main" description: name: share_plus sha256: f74fc3f1cbd99f39760182e176802f693fa0ec9625c045561cfad54681ea93dd url: "https://pub.dev" source: hosted version: "7.2.1" share_plus_platform_interface: dependency: transitive description: name: share_plus_platform_interface sha256: "251eb156a8b5fa9ce033747d73535bf53911071f8d3b6f4f0b578505ce0d4496" url: "https://pub.dev" source: hosted version: "3.4.0" simple_html_css: dependency: "direct main" description: name: simple_html_css sha256: af730b15c0b37c97a14b6aeceabe68128855c4630dc500030f3c3e176e8fc57f url: "https://pub.dev" source: hosted version: "4.0.0" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" smooth_page_indicator: dependency: "direct main" description: name: smooth_page_indicator sha256: "3b28b0c545fa67ed9e5997d9f9720d486f54c0c607e056a1094544e36934dff3" url: "https://pub.dev" source: hosted version: "1.2.0+3" source_gen: dependency: transitive description: name: source_gen sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" url: "https://pub.dev" source: hosted version: "1.5.0" source_span: dependency: transitive description: name: source_span sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" url: "https://pub.dev" source: hosted version: "1.10.0" sprintf: dependency: transitive description: name: sprintf sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" url: "https://pub.dev" source: hosted version: "7.0.0" sqflite: dependency: transitive description: name: sqflite sha256: a43e5a27235518c03ca238e7b4732cf35eabe863a369ceba6cbefa537a66f16d url: "https://pub.dev" source: hosted version: "2.3.3+1" sqflite_common: dependency: transitive description: name: sqflite_common sha256: "3da423ce7baf868be70e2c0976c28a1bb2f73644268b7ffa7d2e08eab71f16a4" url: "https://pub.dev" source: hosted version: "2.5.4" 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: ad47125e588cfd37a9a7f86c7d6356dde8dfe89d071d293f80ca9e9273a33871 url: "https://pub.dev" source: hosted version: "2.1.1" string_scanner: dependency: transitive description: name: string_scanner sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted version: "1.2.0" synchronized: dependency: transitive description: name: synchronized sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" url: "https://pub.dev" source: hosted version: "3.1.0+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: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" url: "https://pub.dev" source: hosted version: "0.6.1" typed_data: dependency: transitive description: name: typed_data sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted version: "1.3.2" url_launcher: dependency: "direct main" description: name: url_launcher sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603" url: "https://pub.dev" source: hosted version: "6.3.1" url_launcher_android: dependency: transitive description: name: url_launcher_android sha256: "17cd5e205ea615e2c6ea7a77323a11712dffa0720a8a90540db57a01347f9ad9" url: "https://pub.dev" source: hosted version: "6.3.2" url_launcher_ios: dependency: transitive description: name: url_launcher_ios sha256: "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626" url: "https://pub.dev" source: hosted version: "6.3.2" url_launcher_linux: dependency: transitive description: name: url_launcher_linux sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" url: "https://pub.dev" source: hosted version: "3.2.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos sha256: "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2" url: "https://pub.dev" source: hosted version: "3.2.2" url_launcher_platform_interface: dependency: transitive description: name: url_launcher_platform_interface sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029" url: "https://pub.dev" source: hosted version: "2.3.2" url_launcher_web: dependency: transitive description: name: url_launcher_web sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e" url: "https://pub.dev" source: hosted version: "2.3.3" url_launcher_windows: dependency: transitive description: name: url_launcher_windows sha256: "44cf3aabcedde30f2dba119a9dea3b0f2672fbe6fa96e85536251d678216b3c4" url: "https://pub.dev" source: hosted version: "3.1.3" uuid: dependency: transitive description: name: uuid sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted version: "4.5.1" vector_graphics: dependency: "direct main" description: name: vector_graphics sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3" url: "https://pub.dev" source: hosted version: "1.1.11+1" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da url: "https://pub.dev" source: hosted version: "1.1.11+1" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81" url: "https://pub.dev" source: hosted version: "1.1.11+1" 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: "4a8c3492d734f7c39c2588a3206707a05ee80cef52e8c7f3b2078d430c84bc17" url: "https://pub.dev" source: hosted version: "2.9.2" video_player_android: dependency: transitive description: name: video_player_android sha256: "134e1ad410d67e18a19486ed9512c72dfc6d8ffb284d0e8f2e99e903d1ba8fa3" url: "https://pub.dev" source: hosted version: "2.4.14" video_player_avfoundation: dependency: transitive description: name: video_player_avfoundation sha256: "33224c19775fd244be2d6e3dbd8e1826ab162877bd61123bf71890772119a2b7" url: "https://pub.dev" source: hosted version: "2.6.5" video_player_platform_interface: dependency: transitive description: name: video_player_platform_interface sha256: "229d7642ccd9f3dc4aba169609dd6b5f3f443bb4cc15b82f7785fcada5af9bbb" url: "https://pub.dev" source: hosted version: "6.2.3" video_player_web: dependency: transitive description: name: video_player_web sha256: "6dcdd298136523eaf7dfc31abaf0dfba9aa8a8dbc96670e87e9d42b6f2caf774" url: "https://pub.dev" source: hosted version: "2.3.2" video_thumbnail: dependency: "direct main" description: name: video_thumbnail sha256: "3455c189d3f0bb4e3fc2236475aa84fe598b9b2d0e08f43b9761f5bc44210016" url: "https://pub.dev" source: hosted version: "0.5.3" visibility_detector: dependency: "direct main" description: name: visibility_detector sha256: dd5cc11e13494f432d15939c3aa8ae76844c42b723398643ce9addb88a5ed420 url: "https://pub.dev" source: hosted version: "0.4.0+2" vm_service: dependency: transitive description: name: vm_service sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 url: "https://pub.dev" source: hosted version: "13.0.0" wakelock_plus: dependency: transitive description: name: wakelock_plus sha256: bf4ee6f17a2fa373ed3753ad0e602b7603f8c75af006d5b9bdade263928c0484 url: "https://pub.dev" source: hosted version: "1.2.8" wakelock_plus_platform_interface: dependency: transitive description: name: wakelock_plus_platform_interface sha256: "70e780bc99796e1db82fe764b1e7dcb89a86f1e5b3afb1db354de50f2e41eb7a" url: "https://pub.dev" source: hosted version: "1.2.2" watcher: dependency: transitive description: name: watcher sha256: "69da27e49efa56a15f8afe8f4438c4ec02eff0a117df1b22ea4aad194fe1c104" url: "https://pub.dev" source: hosted version: "1.1.1" web: dependency: transitive description: name: web sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" url: "https://pub.dev" source: hosted version: "0.5.1" webview_flutter: dependency: transitive description: name: webview_flutter sha256: "6869c8786d179f929144b4a1f86e09ac0eddfe475984951ea6c634774c16b522" url: "https://pub.dev" source: hosted version: "4.8.0" webview_flutter_android: dependency: transitive description: name: webview_flutter_android sha256: "0d21cfc3bfdd2e30ab2ebeced66512b91134b39e72e97b43db2d47dda1c4e53a" url: "https://pub.dev" source: hosted version: "3.16.3" webview_flutter_platform_interface: dependency: transitive description: name: webview_flutter_platform_interface sha256: d937581d6e558908d7ae3dc1989c4f87b786891ab47bb9df7de548a151779d8d url: "https://pub.dev" source: hosted version: "2.10.0" webview_flutter_wkwebview: dependency: transitive description: name: webview_flutter_wkwebview sha256: "9c62cc46fa4f2d41e10ab81014c1de470a6c6f26051a2de32111b2ee55287feb" url: "https://pub.dev" source: hosted version: "3.14.0" win32: dependency: transitive description: name: win32 sha256: "0eaf06e3446824099858367950a813472af675116bf63f008a4c2a75ae13e9cb" url: "https://pub.dev" source: hosted version: "5.5.0" win32_registry: dependency: transitive description: name: win32_registry sha256: "10589e0d7f4e053f2c61023a31c9ce01146656a70b7b7f0828c0b46d7da2a9bb" url: "https://pub.dev" source: hosted version: "1.1.3" xdg_directories: dependency: transitive description: name: xdg_directories sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" url: "https://pub.dev" source: hosted version: "1.1.0" xml: dependency: transitive description: name: xml sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226 url: "https://pub.dev" source: hosted version: "6.5.0" yaml: dependency: transitive description: name: yaml sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.dev" source: hosted version: "3.1.2" sdks: dart: ">=3.3.0 <4.0.0" flutter: ">=3.19.2" ``` </details> ### Steps to reproduce 1. Add text that is multiple lines long 2. add an icon at the end of the text ### Expected results ![Image](https://github.com/user-attachments/assets/7b6aae37-d208-4a33-a42a-e39ba32dbcd6) [https://markdownlivepreview.com/](https://markdownlivepreview.com) ### Actual results The icon should be level with the last line, but it is moved to a new line, even if there is free space: ![Image](https://github.com/user-attachments/assets/eeab96c4-6426-424c-842d-5bafd68e2790) ### Code sample <details open><summary>Code sample</summary> ```dart `MarkdownBody(data: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod ![logo](https://picsum.photos/30)");` ``` </details> ### Screenshots or Videos ### Logs ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.19.6, on macOS 15.1 24B83 darwin-arm64, locale en-UA) • Flutter version 3.19.6 on channel stable at /Users/123/Documents/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 54e66469a9 (9 months ago), 2024-04-17 13:08:03 -0700 • Engine revision c4cd48e186 • Dart version 3.3.4 • DevTools version 2.31.1 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/123/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/123/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.15.2 [✓] Android Studio (version 2023.2) • 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.9+0-17.0.9b1087.7-11185874) [✓] VS Code (version 1.96.4) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.103.20241202 [✓] Connected device (2 available) • iPhone 16 (mobile) • 5629CF95-B4B5-48A3-89F8-646AC701D230 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-2 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 15.1 24B83 darwin-arm64 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
platform-ios,package,team-ecosystem,has reproducible steps,P2,p: flutter_markdown,triaged-ecosystem,found in release: 3.27,found in release: 3.28
low
Critical
2,807,137,285
rust
-Z meta-stats + RUSTC_LOG=info ICEs on next build
1. run `cargo new --bin meta` to prepare. main.rs: ```rust fn main() { println!("Hello, world!"); } ``` 2. first run `RUSTC_LOG=info RUSTFLAGS=-Zmeta-stats cargo b` 3. next run `cargo b`, which ICEs. ### 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.86.0-nightly (649b995a9 2025-01-22) binary: rustc commit-hash: 649b995a9febd658b2570160703dff6fdc038ab2 commit-date: 2025-01-22 host: x86_64-pc-windows-msvc release: 1.86.0-nightly LLVM version: 19.1.7 ``` <!-- 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>Backtrace</strong></summary> <p> ``` thread 'rustc' panicked at compiler\rustc_errors\src\lib.rs:645:17: `trimmed_def_paths` called, diagnostics were expected but none were emitted. Use `with_no_trimmed_paths` for debugging. Backtraces are currently disabled: set `RUST_BACKTRACE=1` and re-run to see where it happened. stack backtrace: 0: 0x7ffc38211473 - std::backtrace_rs::backtrace::dbghelp64::trace at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91 1: 0x7ffc38211473 - std::backtrace_rs::backtrace::trace_unsynchronized at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66 2: 0x7ffc38211473 - std::backtrace::Backtrace::create at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\backtrace.rs:331 3: 0x7ffc382113ba - std::backtrace::Backtrace::force_capture at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\backtrace.rs:312 4: 0x7ffc3983d05b - core[991f9e90141a1bf]::slice::sort::unstable::heapsort::heapsort::<((rustc_lint_defs[bb1ce1a6c5adb18f]::Level, &str), usize), <((rustc_lint_defs[bb1ce1a6c5adb18f]::Level, &str), usize) as core[991f9e90141a1bf]::cmp::PartialOrd>::lt> 5: 0x7ffc3822d61e - alloc::boxed::impl$30::call at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2027 6: 0x7ffc3822d61e - std::panicking::rust_panic_with_hook at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\panicking.rs:839 7: 0x7ffc3822d379 - std::panicking::begin_panic_handler::closure$0 at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\panicking.rs:704 8: 0x7ffc3822a77f - std::sys::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure_env$0,never$> at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\sys\backtrace.rs:168 9: 0x7ffc3822cf7e - std::panicking::begin_panic_handler at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\panicking.rs:695 10: 0x7ffc3b0fed41 - core::panicking::panic_fmt at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\core\src\panicking.rs:75 11: 0x7ffc38199a51 - <rustc_errors[42171fc74e8af5b8]::DiagCtxtInner as core[991f9e90141a1bf]::ops::drop::Drop>::drop 12: 0x7ffc35215040 - _rust_alloc_error_handler 13: 0x7ffc3523956d - _rust_alloc_error_handler 14: 0x7ffc35236ca6 - _rust_alloc_error_handler 15: 0x7ffc35247492 - RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCNCINvMNtB6_6threadNtB1h_7Builder16spawn_unchecked_INtNtCs3tVoUkX7Cwz_5alloc5boxed3BoxDINtNtNtCsOWpfTZVyMJ_4core3ops8function6FnOnceuEp6OutputuNtNtB2G_6marker4SendEL_EuEs_000uECslzhJ 16: 0x7ffc35240259 - RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCINvNtCs3zgY6wvIJ9S_15rustc_interface4util26run_in_thread_with_globalsNCINvB1e_31run_in_thread_pool_with_globalsNCINvNtB1g_9interface12run_compileruNCNvCslzhJIxFyRmJ_17rustc_driver_i 17: 0x7ffc35253583 - RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCNCINvMNtB6_6threadNtB1h_7Builder16spawn_unchecked_INtNtCs3tVoUkX7Cwz_5alloc5boxed3BoxDINtNtNtCsOWpfTZVyMJ_4core3ops8function6FnOnceuEp6OutputuNtNtB2G_6marker4SendEL_EuEs_000uECslzhJ 18: 0x7ffc3823f6ad - alloc::boxed::impl$28::call_once at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2013 19: 0x7ffc3823f6ad - alloc::boxed::impl$28::call_once at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2013 20: 0x7ffc3823f6ad - std::sys::pal::windows::thread::impl$0::new::thread_start at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\sys\pal\windows\thread.rs:56 21: 0x7ffc97117374 - BaseThreadInitThunk 22: 0x7ffc9725cc91 - RtlUserThreadStart rustc version: 1.86.0-nightly (649b995a9 2025-01-22) platform: x86_64-pc-windows-msvc ``` </p> </details> <details><summary><strong>Backtrace with RUST_BACKTRACE=1 </strong></summary> <p> ``` thread 'rustc' panicked at compiler\rustc_errors\src\lib.rs:645:17: `trimmed_def_paths` called, diagnostics were expected but none were emitted. Use `with_no_trimmed_paths` for debugging. This happened in the following `must_produce_diag` call's backtrace: 0: std::backtrace_rs::backtrace::dbghelp64::trace at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91 1: std::backtrace_rs::backtrace::trace_unsynchronized at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66 2: std::backtrace::Backtrace::create at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\backtrace.rs:331 3: std::backtrace::Backtrace::capture at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\backtrace.rs:296 4: <rustc_errors::DiagCtxtHandle>::set_must_produce_diag 5: <rustc_session::session::Session>::record_trimmed_def_paths 6: rustc_middle::ty::print::pretty::trimmed_def_paths 7: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::depth_limit_error 8: RINvNtNtCsapybXMd6BZ5_18rustc_query_system5query8plumbing17try_execute_queryINtCscpBx8nL7yzV_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCs3PZcMoxADy4_12rustc_middle5query5erase6ErasedAhj8_EEKb0_KB3s_KB3s_ENtNtB1f_8plumbing9QueryCtx 9: <alloc::raw_vec::RawVec<(rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex, rustc_middle::query::on_disk_cache::AbsoluteBytePos)>>::grow_one 10: <rustc_query_system::query::plumbing::JobOwner<()> as core::ops::drop::Drop>::drop 11: RINvMs6_NtCs9qXCY6i3qbL_9hashbrown3rawINtB6_8RawTableTTNtNtNtCs3PZcMoxADy4_12rustc_middle2ty8instance8InstanceNtNtNtBX_3mir4mono14CollectionModeETINtNtNtBX_5query5erase6ErasedAhj20_ENtNtNtCsapybXMd6BZ5_18rustc_query_system9dep_graph5graph12DepNodeIndexEEE1 12: RINvMs6_NtCs9qXCY6i3qbL_9hashbrown3rawINtB6_8RawTableTTNtNtNtCs3PZcMoxADy4_12rustc_middle2ty8instance8InstanceNtNtNtBX_3mir4mono14CollectionModeETINtNtNtBX_5query5erase6ErasedAhj20_ENtNtNtCsapybXMd6BZ5_18rustc_query_system9dep_graph5graph12DepNodeIndexEEE1 13: RINvMs6_NtCs9qXCY6i3qbL_9hashbrown3rawINtB6_8RawTableTTNtNtNtCs3PZcMoxADy4_12rustc_middle2ty8instance8InstanceNtNtNtBX_3mir4mono14CollectionModeETINtNtNtBX_5query5erase6ErasedAhj20_ENtNtNtCsapybXMd6BZ5_18rustc_query_system9dep_graph5graph12DepNodeIndexEEE1 14: RINvNtNtCsapybXMd6BZ5_18rustc_query_system5query8plumbing15ensure_must_runINtCscpBx8nL7yzV_16rustc_query_impl13DynamicConfigINtNtCshneqGBW248W_21rustc_data_structures9vec_cache8VecCacheNtNtCsc129ZB59tsZ_10rustc_span6def_id10LocalDefIdINtNtNtCs3PZcMoxADy4_1 15: rustc_query_impl::query_system 16: rustc_interface::passes::resolver_for_lowering_raw 17: rustc_interface::passes::analysis 18: <alloc::raw_vec::RawVec<(rustc_query_system::dep_graph::serialized::SerializedDepNodeIndex, rustc_middle::query::on_disk_cache::AbsoluteBytePos)>>::grow_one 19: RINvNtNtCsapybXMd6BZ5_18rustc_query_system5query8plumbing17try_execute_queryINtCscpBx8nL7yzV_16rustc_query_impl13DynamicConfigINtNtB4_6caches11SingleCacheINtNtNtCs3PZcMoxADy4_12rustc_middle5query5erase6ErasedAhj0_EEKb0_KB3s_KB3s_ENtNtB1f_8plumbing9QueryCtx 20: rustc_query_impl::query_system 21: RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCNCINvMNtB6_6threadNtB1h_7Builder16spawn_unchecked_INtNtCs3tVoUkX7Cwz_5alloc5boxed3BoxDINtNtNtCsOWpfTZVyMJ_4core3ops8function6FnOnceuEp6OutputuNtNtB2G_6marker4SendEL_EuEs_000uECslzhJ 22: RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCNCINvMNtB6_6threadNtB1h_7Builder16spawn_unchecked_INtNtCs3tVoUkX7Cwz_5alloc5boxed3BoxDINtNtNtCsOWpfTZVyMJ_4core3ops8function6FnOnceuEp6OutputuNtNtB2G_6marker4SendEL_EuEs_000uECslzhJ 23: RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCINvNtCs3zgY6wvIJ9S_15rustc_interface4util26run_in_thread_with_globalsNCINvB1e_31run_in_thread_pool_with_globalsNCINvNtB1g_9interface12run_compileruNCNvCslzhJIxFyRmJ_17rustc_driver_i 24: RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCNCINvMNtB6_6threadNtB1h_7Builder16spawn_unchecked_INtNtCs3tVoUkX7Cwz_5alloc5boxed3BoxDINtNtNtCsOWpfTZVyMJ_4core3ops8function6FnOnceuEp6OutputuNtNtB2G_6marker4SendEL_EuEs_000uECslzhJ 25: alloc::boxed::impl$28::call_once at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2013 26: alloc::boxed::impl$28::call_once at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2013 27: std::sys::pal::windows::thread::impl$0::new::thread_start at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\sys\pal\windows\thread.rs:56 28: BaseThreadInitThunk 29: RtlUserThreadStart stack backtrace: 0: 0x7ffc38211473 - std::backtrace_rs::backtrace::dbghelp64::trace at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\..\..\backtrace\src\backtrace\dbghelp64.rs:91 1: 0x7ffc38211473 - std::backtrace_rs::backtrace::trace_unsynchronized at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66 2: 0x7ffc38211473 - std::backtrace::Backtrace::create at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\backtrace.rs:331 3: 0x7ffc382113ba - std::backtrace::Backtrace::force_capture at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\backtrace.rs:312 4: 0x7ffc3983d05b - core[991f9e90141a1bf]::slice::sort::unstable::heapsort::heapsort::<((rustc_lint_defs[bb1ce1a6c5adb18f]::Level, &str), usize), <((rustc_lint_defs[bb1ce1a6c5adb18f]::Level, &str), usize) as core[991f9e90141a1bf]::cmp::PartialOrd>::lt> 5: 0x7ffc3822d61e - alloc::boxed::impl$30::call at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2027 6: 0x7ffc3822d61e - std::panicking::rust_panic_with_hook at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\panicking.rs:839 7: 0x7ffc3822d379 - std::panicking::begin_panic_handler::closure$0 at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\panicking.rs:704 8: 0x7ffc3822a77f - std::sys::backtrace::__rust_end_short_backtrace<std::panicking::begin_panic_handler::closure_env$0,never$> at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\sys\backtrace.rs:168 9: 0x7ffc3822cf7e - std::panicking::begin_panic_handler at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\panicking.rs:695 10: 0x7ffc3b0fed41 - core::panicking::panic_fmt at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\core\src\panicking.rs:75 11: 0x7ffc38199a51 - <rustc_errors[42171fc74e8af5b8]::DiagCtxtInner as core[991f9e90141a1bf]::ops::drop::Drop>::drop 12: 0x7ffc35215040 - _rust_alloc_error_handler 13: 0x7ffc3523956d - _rust_alloc_error_handler 14: 0x7ffc35236ca6 - _rust_alloc_error_handler 15: 0x7ffc35247492 - RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCNCINvMNtB6_6threadNtB1h_7Builder16spawn_unchecked_INtNtCs3tVoUkX7Cwz_5alloc5boxed3BoxDINtNtNtCsOWpfTZVyMJ_4core3ops8function6FnOnceuEp6OutputuNtNtB2G_6marker4SendEL_EuEs_000uECslzhJ 16: 0x7ffc35240259 - RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCINvNtCs3zgY6wvIJ9S_15rustc_interface4util26run_in_thread_with_globalsNCINvB1e_31run_in_thread_pool_with_globalsNCINvNtB1g_9interface12run_compileruNCNvCslzhJIxFyRmJ_17rustc_driver_i 17: 0x7ffc35253583 - RINvNtNtCsdilRq3JDxER_3std3sys9backtrace28___rust_begin_short_backtraceNCNCNCINvMNtB6_6threadNtB1h_7Builder16spawn_unchecked_INtNtCs3tVoUkX7Cwz_5alloc5boxed3BoxDINtNtNtCsOWpfTZVyMJ_4core3ops8function6FnOnceuEp6OutputuNtNtB2G_6marker4SendEL_EuEs_000uECslzhJ 18: 0x7ffc3823f6ad - alloc::boxed::impl$28::call_once at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2013 19: 0x7ffc3823f6ad - alloc::boxed::impl$28::call_once at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\alloc\src\boxed.rs:2013 20: 0x7ffc3823f6ad - std::sys::pal::windows::thread::impl$0::new::thread_start at /rustc/649b995a9febd658b2570160703dff6fdc038ab2/library\std\src\sys\pal\windows\thread.rs:56 21: 0x7ffc97117374 - BaseThreadInitThunk 22: 0x7ffc9725cc91 - RtlUserThreadStart rustc version: 1.86.0-nightly (649b995a9 2025-01-22) platform: x86_64-pc-windows-msvc ``` </p> </details>
A-diagnostics,I-ICE,T-compiler,C-bug,requires-nightly,S-has-bisection
low
Critical
2,807,138,095
ollama
error: unsupported op 'CPY'
### What is the issue? I keep getting crashes on various vision models. This one is from the MiniCPM-V 2.6 straight off ollama ``` time=2025-01-23T07:51:20.484-07:00 level=WARN source=runner.go:129 msg="truncating input prompt" limit=2048 prompt=3390 keep=4 new=2048 time=2025-01-23T07:51:20.484-07:00 level=DEBUG source=cache.go:104 msg="loading cache slot" id=0 cache=0 prompt=2048 used=0 remaining=2048 time=2025-01-23T07:51:29.549-07:00 level=DEBUG source=cache.go:231 msg="context limit hit - shifting" id=0 limit=2048 input=2048 keep=4 discard=1022 ggml_metal_encode_node: error: unsupported op 'CPY' ggml-metal_darwin_arm64.m:1292: unsupported op SIGABRT: abort PC=0x19b6eb720 m=5 sigcode=0 signal arrived during cgo execution ``` Seems to do thesame thing on Llama 3.2 Vision as well, but then it says the unsupported op is ROPE when crashing in the same place. ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.5.7
bug
low
Critical
2,807,149,351
flutter
MissingPluginException no longer works with additional ViewControllers
### Steps to reproduce 1. adding watchKit with this tutorial: https://github.com/theamorn/flutter-apple-watch/tree/main 2. adding additional SplashController with this tutorial: https://medium.com/@turkergurel19/native-animated-splash-screen-with-lottie-in-flutter-21761532813b 3. try to work with MethodChannel ### Expected results I try to implement watchkit to my app with this tutorial: https://github.com/theamorn/flutter-apple-watch/tree/main It is working perfectly. WCSession is working and invokeMethod as well. But since I want to have an animated LaunchScreen, I have built a SplashController according to this tutorial and then change the rootViewController within the SplashController: https://medium.com/@turkergurel19/native-animated-splash-screen-with-lottie-in-flutter-21761532813b `appDelegate.window?.rootViewController = flutterViewController` ### Actual results After adding the LaunchScreen, the invokeMethod function no longer works and the sending between watch and iPhone as well. I get the following error: ``` [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: MissingPluginException(No implementation found for method forwardToAppleWatch on channel com.XXX.app.watchkitapp) #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7) <asynchronous suspension> ``` ### Code sample <details open><summary>Code sample</summary> I have the following AppDelegate in Xcode: ```dart import UIKit import Flutter import WatchConnectivity @main @objc class AppDelegate: FlutterAppDelegate { let flutterEngine = FlutterEngine(name: "XXX") private var session: WCSession? private var channel: FlutterMethodChannel? override func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { // Runs the default Dart entrypoint with a default Flutter route. flutterEngine.run() // Watch initWatchConnectivity() initFlutterChannel() // Used to connect plugins (only if you have plugins with iOS platform code). GeneratedPluginRegistrant.register(with: self.flutterEngine) // GeneratedPluginRegistrant.register(with: self) if #available(iOS 10.0, *) { UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate } return super.application(application, didFinishLaunchingWithOptions: launchOptions) } private func initWatchConnectivity() { guard WCSession.isSupported() else { return } session = WCSession.default session?.delegate = self session?.activate() } private func initFlutterChannel() { DispatchQueue.main.async { guard let controller = self.window?.rootViewController as? FlutterViewController else { return } let channel = FlutterMethodChannel(name: "com.XXX.app.watchkitapp", binaryMessenger: controller.binaryMessenger) channel.setMethodCallHandler { [weak self] call, result in let method = call.method let args = call.arguments guard method == "forwardToAppleWatch" else { return } guard let watchSession = self?.session, watchSession.isPaired, let messageData = args as? [String: Any] else { print("watch not paired") return } guard watchSession.isReachable else { print("watch not reachable") return } watchSession.sendMessage(messageData, replyHandler: nil, errorHandler: nil) } self.channel = channel } } } extension AppDelegate: WCSessionDelegate { func sessionDidBecomeInactive(_ session: WCSession) { } func sessionDidDeactivate(_ session: WCSession) { } func session(_ session: WCSession, activationDidCompleteWith activationState: WCSessionActivationState, error: Error?) { } func session(_ session: WCSession, didReceiveMessage message: [String : Any]) { guard let methodName = message["method"] as? String else { return } let data: [String: Any]? = message["data"] as? [String: Any] channel?.invokeMethod(methodName, arguments: data) } } ``` </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 stable, 3.27.2, on macOS 14.7.1 23H222 darwin-arm64, locale de-DE) • Flutter version 3.27.2 on channel stable at /Users/XXX/development/tools/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 68415ad1d9 (vor 10 Tagen), 2025-01-13 10:22:03 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/XXX/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = /Users/XXX/Library/Android/sdk • ANDROID_SDK_ROOT = /Users/XXX/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.3) • 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 • android-studio-dir = /Applications/Android Studio.app • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231) [✓] VS Code (version 1.96.4) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (5 available) • iPhone (mobile) • 00008130-000A49440230001C • ios • iOS 18.2 22C152 • iPhone 15 Pro with Watch (mobile) • CF5C8BA0-032C-426B-959D-14E6BF521C7F • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-2 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 14.7.1 23H222 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.7.1 23H222 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.110 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
in triage
low
Critical
2,807,166,566
ui
[bug]: pnpm dlx tailwindcss init -p doesn't work anymore
### Describe the bug `pnpm dlx tailwindcss init -p` doesn't work anymore it was what we had to do in tailwind v3 https://v3.tailwindcss.com/docs/installation tailwind v4 doesn't require it anymore https://tailwindcss.com/docs/installation/using-vite I believe you guys should update the doc ### Affected component/components All ### How to reproduce in the installation guide (https://ui.shadcn.com/docs/installation/vite#add-tailwind-and-its-configuration), at step 2: `pnpm dlx tailwindcss init -p` ### Codesandbox/StackBlitz link _No response_ ### Logs ```bash ``` ### System Info ```bash Windows 11 x64 Node 22.11 ``` ### Before submitting - [x] I've made research efforts and searched the documentation - [ ] I've searched for existing issues
bug,tailwind
low
Critical
2,807,211,868
go
x/tools/gopls: codeAction/resolve can result in applied edits
<!-- For asking questions, see: - [Stack Overflow](https://stackoverflow.com/questions/tagged/go+visual-studio-code) - [GitHub Discussions (Help)](https://github.com/golang/vscode-go/discussions/categories/help) - [`#vscode` channel in Gophers Slack](https://invite.slack.golangbridge.org/messages/vscode) Before filing an issue, please review our troubleshooting guides * [Troubleshooting problems with debugging](https://github.com/golang/vscode-go/wiki/debugging#troubleshooting) * [Troubleshooting other problems](https://github.com/golang/vscode-go/wiki/troubleshooting) Please answer these questions before submitting your issue. Thanks! --> ### What version of Go, VS Code & VS Code Go extension are you using? <details><summary>Version Information</summary><br> * Run `go version` to get version of Go from _the VS Code integrated terminal_. - go version go1.23.4 darwin/arm64 * Run `gopls -v version` to get version of Gopls from _the VS Code integrated terminal_. - gopls(v0.17.1/go1.23.4) * Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders. - 1.96.3 91fbdddc47bc9c09064bf7acf133d22631cbf083 arm64 * Check your installed extensions to get the version of the VS Code Go extension - 0.44.0 * Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > `Go: Locate Configured Go Tools` command. - # Tools Configuration ## Environment GOBIN: undefined toolsGopath: gopath: /Users/kristopherjohnson/go GOROOT: /opt/homebrew/Cellar/go/1.23.4/libexec PATH: /opt/homebrew/bin:/opt/homebrew/sbin:/Users/kristopherjohnson/.vscode-dotnet-sdk/.dotnet:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands ## Tools go: /opt/homebrew/bin/go: go version go1.23.4 darwin/arm64 gopls: /Users/kristopherjohnson/go/bin/gopls (version: v0.17.1 built with go: go1.23.4) gotests: /Users/kristopherjohnson/go/bin/gotests (version: v1.6.0 built with go: go1.23.4) gomodifytags: /Users/kristopherjohnson/go/bin/gomodifytags (version: v1.17.0 built with go: go1.23.4) impl: /Users/kristopherjohnson/go/bin/impl (version: v1.4.0 built with go: go1.23.4) goplay: /Users/kristopherjohnson/go/bin/goplay (version: v1.0.0 built with go: go1.23.4) dlv: /Users/kristopherjohnson/go/bin/dlv (version: v1.24.0 built with go: go1.23.4) staticcheck: /Users/kristopherjohnson/go/bin/staticcheck (version: v0.5.1 built with go: go1.23.4) ## Go env Workspace Folder (no folder): undefined GO111MODULE='' GOARCH='arm64' GOBIN='' GOCACHE='/Users/kristopherjohnson/Library/Caches/go-build' GOENV='/Users/kristopherjohnson/Library/Application Support/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='arm64' GOHOSTOS='darwin' GOINSECURE='' GOMODCACHE='/Users/kristopherjohnson/go/pkg/mod' GONOPROXY='github.com/Think-Org/*' GONOSUMDB='github.com/Think-Org/*' GOOS='darwin' GOPATH='/Users/kristopherjohnson/go' GOPRIVATE='github.com/Think-Org/*' GOPROXY='https://proxy.golang.org,direct' GOROOT='/opt/homebrew/Cellar/go/1.23.4/libexec' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='local' GOTOOLDIR='/opt/homebrew/Cellar/go/1.23.4/libexec/pkg/tool/darwin_arm64' GOVCS='' GOVERSION='go1.23.4' GODEBUG='' GOTELEMETRY='local' GOTELEMETRYDIR='/Users/kristopherjohnson/Library/Application Support/go/telemetry' GCCGO='gccgo' GOARM64='v8.0' AR='ar' CC='cc' CXX='c++' CGO_ENABLED='1' GOMOD='/dev/null' 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/1x/yh177xs1437bszk53phkfbdm0000gn/T/go-build1293292670=/tmp/go-build -gno-record-gcc-switches -fno-common' </details> ### Share the Go related settings you have added/edited Run `Preferences: Open Settings (JSON)` command to open your settings.json file. Share all the settings with the `go.` or `["go"]` or `gopls` prefixes. ```json "go.toolsManagement.autoUpdate": true, "gopls": { "ui.semanticTokens": true }, "[go]": { "editor.insertSpaces": false, "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.organizeImports": "always", } } ``` ### Describe the bug A clear and concise description of what the bug: - When participating in a liveshare session: - when clicking on a function (but sometimes anywhere in a file or just the file itself), a test file is generated with tests for the function/file clicked - when clicking on a function, the function is extracted to a separate file A clear and concise description of what you expected to happen: - Test generation and function extraction should only occur when selected from the context menu/command palate ### Steps to reproduce the behavior: Scenario 1 1. Go to file in a liveshare session 2. Click on a existing function in the file 3. See that the the function is extracted to a separate file Scenario 2 1. Go to file in a liveshare session 2. Click on an existing file in the file explorer 3. See that a file is created with unit tests for all the functions in the file selected ### Screenshots or recordings If applicable, add screenshots or recordings to help explain your problem. https://github.com/user-attachments/assets/4d168273-cd4b-416d-8196-35bcc9a6beea
gopls,Tools
medium
Critical
2,807,212,999
godot
AnimationPlayer scaling issue
### Tested versions - Reproducible in: 4.4.beta1 and latest master [376b1c9]. - Not reproducible in: 4.4.dev7 and earlier. ### System information Godot v4.4.beta1 - Windows 11 (build 26100) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce GTX 1050 Ti (NVIDIA; 32.0.15.6636) - 12th Gen Intel(R) Core(TM) i3-12100F (8 threads) ### Issue description I have a scene with the root node being `Control`. This node has a child, which is an instance of a `CanvasLayer` scene (it **doesn't have to be `CanvasLayer`**, it can be a `Control` node too, haven't tested anything else), which has two children: a `Panel` node and an `AnimationPlayer` node. The former can also be any other `Control` node, like a `Label` or a `TextureRect`​. **First scene:** ![Image](https://github.com/user-attachments/assets/cb1139a1-0d8c-47c7-8831-3381ee82bca3) **Second scene:** ![Image](https://github.com/user-attachments/assets/bc44518f-85aa-44a3-be62-1a18bf5e5f80) The `AnimationPlayer` node has a RESET animation with a `size` property of the `Panel` node with a value identical to its actual size. Now, if I select the `CanvasLayer` scene in the editor and run the project (the default scene is the `Control` one), it will display properly, as it should. However, if I select the `Control` scene (or any other scene if the project had one), the `Panel` node's size will get messed up. Specifically, its `size.x` will be two times larger. After this, if I come back to the second scene in the editor while changing absolutely nothing, the `Panel`'s `size.x` will be twice as big, just like it was when I ran the project. **So, simply running the project changed the `size` property of the `Panel`​, which should not happen and is a bug.** ### That probably wasn't clear (I'm sorry), so here's a video showcasing the issue: https://github.com/user-attachments/assets/03326f08-4a84-42aa-8fe7-03eafd4d27d6 ### Steps to reproduce 1. Open my MRP. 2. Open both scenes (`canvas_layer.tscn` and `control.tscn`). 3. Switch to the `canvas_layer` scene and run the project. **It will look normal.** 4. Stop the project and switch to the `control` scene, run the project again. **This time, the `Label` node will extend past the right side of the screen.** 5. Stop the project, switch back to `canvas_layer` and observe that the `Label` node is now twice as wide than it was before. ### Minimal reproduction project (MRP) [mrp_2025-01-23_17-45-05.zip](https://github.com/user-attachments/files/18522166/mrp_2025-01-23_17-45-05.zip)
bug,confirmed,regression,topic:gui,topic:animation
low
Critical
2,807,214,283
svelte
Using expression containing Math.random() more than once wrongly assumes all instances should have same result
### Describe the bug An expression is used here twice, but because it contains Math.random() it shouldn't be assumed that the same result will occur every time it is used. ### Reproduction v5.19.0 (Desired outcome) https://svelte.dev/playground/hello-world?version=5.19.0#H4sIAAAAAAAACo3PvW7DIBQF4FdBVFFwFNnJ0IW4kbJUXfoEdQdirgMqBgQ3PxbyuxeiVF06dP107jmQqBUjUE7fwBhHri4YSRhIjSAruqaDNhAp_0gUJ19yBbI_rg7e1_ECBosdRYS_vHcWwWKuoekJRK_IIQQxse1mU82d7bCV-kIiTgZelug8T-xdoKqDsNKNrCIrUqI1uld9A8m21bzYGRjwP8Hlvm1y_b6zqSnbZdC297FsZTiVJ3gXNWpnORnK6a7YUfRfp-DOVnISHnbVEhUn9XOA8Q4K9Enhr-T-tvmpz59HuCHlGM4wf87fUt4xEm4BAAA= v5.19.1+ (Undesired outcome) https://svelte.dev/playground/hello-world?version=5.19.1#H4sIAAAAAAAACo3PvW7DIBQF4FdBVFFwFNnJ0IW4kbJUXfoEdQdirgMqBgQ3PxbyuxeiVF06dP107jmQqBUjUE7fwBhHri4YSRhIjSAruqaDNhAp_0gUJ19yBbI_rg7e1_ECBosdRYS_vHcWwWKuoekJRK_IIQQxse1mU82d7bCV-kIiTgZelug8T-xdoKqDsNKNrCIrUqI1uld9A8m21bzYGRjwP8Hlvm1y_b6zqSnbZdC297FsZTiVJ3gXNWpnORnK6a7YUfRfp-DOVnISHnbVEhUn9XOA8Q4K9Enhr-T-tvmpz59HuCHlGM4wf87fUt4xEm4BAAA= ### Logs ```shell ``` ### System Info ```shell System: OS: Windows 10 10.0.19045 CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz Memory: 1.40 GB / 7.73 GB Binaries: Node: 20.11.1 - C:\Program Files\nodejs\node.EXE pnpm: 8.9.0 - ~\AppData\Local\pnpm\pnpm.EXE Browsers: Edge: Chromium (127.0.2651.74) ``` ### Severity annoyance
bug,needs discussion
low
Critical
2,807,226,677
go
x/tools/internal/inline: remove dependency on the Go command
The x/tools source code inliner invokes the Go command indirectly, when it runs goimports logic to compute import edits: https://cs.opensource.google/go/x/tools/+/master:internal/refactor/inline/inline.go;l=403;drc=39017333097c18f58aa50f00bcd4ce01983ea305 Since the inliner is used in the analysis framework, this is really a violation of boundaries, and causes practical problems when analysis drivers do not have access to the go command for the current environment. There's also no good reason for this dependency, except that the way goimports is currently factored couples the resolution of imports with the computation of fixes. CC @pjweinb who has also run into this problem while wiring in the modcache index to goimports. In the short term, we need to remove this dependency from the inliner--even if it means duplicating some logic from goimports. CC @adonovan @lfolger
Tools
low
Minor
2,807,236,406
ui
[bug]: Duplicate code in the toaster component
### Describe the bug For manual installation, the `toast.tsx`, `toaster.tsx` and the `use-toast.tsx` have the same code ### Affected component/components Toast ### How to reproduce 1. Go the shadcn components page 2. Select the toast component 3. Navigate to manual installation 4. Expand the codes to check. ### Codesandbox/StackBlitz link _No response_ ### Logs ```bash ``` ### System Info ```bash Arc and Safari ``` ### Before submitting - [x] I've made research efforts and searched the documentation - [x] I've searched for existing issues
bug
low
Critical
2,807,256,201
pytorch
Cannot print symbolic tensors from C++
### 🐛 Describe the bug Steps to reproduce: ``` std::cerr << tensor; ``` where tensor is a Tensor with symbolic sizes (e.g., a fake tensor with a ShapeEnv and symbolic shapes). It fails with: ``` RuntimeError: Cannot call numel() on tensor with symbolic sizes/strides Exception raised from throw_cannot_call_with_symbolic at /data/users/ezyang/a/pytorch/c10/core/TensorImpl.cpp:291 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) + 0x98 (0x7f 43c298b6a8 in /data/users/ezyang/a/pytorch/torch/lib/libc10.so) frame #1: c10::TensorImpl::throw_cannot_call_with_symbolic(char const*) const + 0x8d (0x7f43c291f651 in /data/users/ezyang/a/pytorch/torch/lib /libc10.so) frame #2: <unknown function> + 0x7253f (0x7f43c296453f in /data/users/ezyang/a/pytorch/torch/lib/libc10.so) frame #3: at::print(std::ostream&, at::Tensor const&, long) + 0x16c0 (0x7f43b15c7ad0 in /data/users/ezyang/a/pytorch/torch/lib/libtorch_cpu.so ) frame #4: <unknown function> + 0x1a1fbd0 (0x7f43b1a1fbd0 in /data/users/ezyang/a/pytorch/torch/lib/libtorch_cpu.so) frame #5: <unknown function> + 0x1a25b55 (0x7f43b1a25b55 in /data/users/ezyang/a/pytorch/torch/lib/libtorch_cpu.so) frame #6: at::native::fft_hfftn_symint_out(at::Tensor const&, c10::OptionalArrayRef<c10::SymInt>, c10::OptionalArrayRef<long>, std::optional<s td::basic_string_view<char, std::char_traits<char> > >, at::Tensor const&) + 0x44 (0x7f43b1 ``` ### Versions main cc @jbschlosser @chauhang @penguinwu @bobrenjc93
module: cpp,triaged,oncall: pt2,module: dynamic shapes
low
Critical
2,807,259,684
kubernetes
Compressed pod log files default to 644 permissions
### What happened? When the pod logs rotate and get compressed, the gzipped file defaults to the permissions of 644. With the directories set to 755 this allows the logs to be world readable at that point. This appears to be where this issue is happening at - https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/logs/container_log_manager.go#L422 ### What did you expect to happen? For the compressed logs to either inherit the original log file permissions (600) or for this file permission to be configurable in the kubelet configuration ### How can we reproduce it (as minimally and precisely as possible)? Generate logs & wait until they compress - https://kubernetes.io/docs/concepts/cluster-administration/logging/#basic-logging-in-kubernetes ### Anything else we need to know? _No response_ ### Kubernetes version <details> ```console $ kubectl version Client Version: v1.30.9 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.30.2 ``` </details> ### Cloud provider <details> </details> ### OS version <details> ```console # On Linux: $ cat /etc/os-release Rocky Linux 9.5 Version = 9.20250121.0.5 (Blue Onyx) $ uname -a 5.14.0-503.21.1.el9_5.x86_64 # 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/node,needs-triage
low
Minor
2,807,269,874
langchain
ChatOllama in "astream_events" is switching from "on_chat_model_stream" to "on_llm_stream"
### 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 This is my astream_events code: ``` # The Async Chain loaded with a LLM from the GROQ API async def langgraph_agentic_pipeline(question: str, collection_name: str, streamlit_username: str,chat_with_doc_use_case: bool = False): """ This function represents the Langgraph RAG pipeline with Chat Model, in this case from the Groq-API. First the retriever is initialized. Afterwards the response is streamed async, based on the question. With Chat Models, events are called: "on_chat_model_end" or "on_chat_model_stream". params: question (str): The question of a user collection_name (str): The collection name of the vectordatabase of the confluence export chat_with_doc_use_case (bool): If set to True, the retriever will be loaded for the Chat-with-your-document Use Case with lower thresholds than defined in the config. """ if chat_with_doc_use_case == False: retriever = load_retriever( collection_name=collection_name, embeddings=embeddings, reranking_model=reranking_model, CONNECTION_STRING=CONNECTION_STRING ) chain = create_workflow_app(retriever=retriever, model=llm) else: print("Loading Retriever for 'Chat-with-your-document' use case'") retriever = load_retriever( collection_name=collection_name, embeddings=embeddings, reranking_model=reranking_model, reranking_top_k=10, threshold_after_colbert_reranking=8, threshold_after_cross_encoder_reranking=0.3, CONNECTION_STRING=CONNECTION_STRING ) chain = create_workflow_app(retriever=retriever, model=llm, langgraph_mode="basic_agentic_workflow") thread_id = streamlit_username # E.g. if thread_id changes from id_1 to id_2, the message history will be empty input_message = HumanMessage(content=question) config = { "configurable": {"thread_id": thread_id}, #for every user, a different thread_id should be selected 'callbacks': [langfuse_handler] #if you are not using Langfuse, use 'ConsoleCallbackHandler' for 'callbacks' } if chain_states.get(thread_id) and bool(chain_states[thread_id]): chain.update_state( config, chain_states[thread_id] ) try: async for event in chain.astream_events( {"messages": [input_message]}, version="v1", config=config ): print(event) if event["event"] == f"on_{model_type_for_astream_event}_start" and event.get("metadata", {}).get("langgraph_node") == "generate": print("Stream started...") if model_type_for_astream_event == "llm": prompt_length = len(event["data"]["input"]["prompts"][0]) else: prompt_length= len(event["data"]["input"]["messages"][0][0].content) yield f'data: {json.dumps({"type": "prompt_length_characters", "content": prompt_length})}\n\n' yield f'data: {json.dumps({"type": "prompt_length_tokens", "content": prompt_length / 4})}\n\n' if event["event"] == f"on_{model_type_for_astream_event}_stream" and event.get("metadata", {}).get("langgraph_node") == "generate": if model_type_for_astream_event == "llm": chunks = event["data"]['chunk'] else: chunks = event["data"]['chunk'].content # Serialize the chunk to JSON-safe format yield f'data: {json.dumps({"type": "chunk", "content": chunks})}\n\n' await asyncio.sleep(0.1) elif event["event"] == "on_chain_end" and event.get("metadata", {}).get("langgraph_node") == "format_docs" and event["name"] == "format_docs": retrieved_docs = event["data"]["input"]["raw_docs"] serialized_docs = serialize_documents(retrieved_docs) yield f'data: {{"type": "docs", "content": {serialized_docs}}}\n\n' finally: states = chain.get_state(config).values #print(states) chain_states[thread_id] = states ``` ### Error Message and Stack Trace (if applicable) _No response_ ### Description Hi, I am using ChatOllama and astream_events to stream my responses. I see a weird behaviour when using the astream_events function. When I call my LLM for the first time in a session, streaming works as expected and the event type is "'event': 'on_chat_model_stream'" as expected. However when I run the same question again the event type switches to "on_llm_stream". With this bug my code is not fetching the new event and the streaming does not work. I see there is a field "Is_model_type: chat" which might be another way to debug this, however I wanted to report this weird behaviour. First question: `'data': {'chunk': AIMessageChunk(content='-Le', id='run-80026f5b-cc9b-443a-a9f2-3f14188d25a6')}, 'parent_ids': []} ungs{'event': 'on_chat_model_stream', 'name': 'ChatOllama', 'run_id': '80026f5b-cc9b-443a-a9f2-3f14188d25a6', 'tags': ['seq:step:1'], 'metadata': {'thread_id': 'maxiw', 'langgraph_step': 3, 'langgraph_node': 'generate', 'langgraph_triggers': ['format_docs'], 'langgraph_task_idx': 0, 'thread_ts': '1efd9a0b-1fca-6892-8002-4d1eb12a4ad1', 'ls_provider': 'ollama', 'ls_model_name': 'maxiweissenbacher/sauerkrautlm-nistral-nemo-12b-instruct:fp16', 'ls_model_type': 'chat', 'ls_temperature': 0.1}, 'data':` Second question: ` 'data': {'chunk': AIMessageChunk(content=' Antwort', id='run-f16ce854-ba43-4225-8418-fbe5c1a3a6da')}, 'parent_ids': []} lie{'event': 'on_llm_stream', 'name': 'ChatOllama', 'run_id': 'f16ce854-ba43-4225-8418-fbe5c1a3a6da', 'tags': ['seq:step:1'], 'metadata': {'thread_id': 'maxiw', 'langgraph_step': 5, 'langgraph_node': 'generate', 'langgraph_triggers': ['no_docs_found_question'], 'langgraph_task_idx': 0, 'thread_ts': '1efd9a10-83d9-69dc-8004-84ec81d877c6', 'ls_provider': 'ollama', 'ls_model_name': 'maxiweissenbacher/sauerkrautlm-nistral-nemo-12b-instruct:fp16', 'ls_model_type': 'chat', 'ls_temperature': 0.1}, 'data'` ### System Info ollama 0.4.7 langchain 0.2.7 langchain-community 0.2.7 langchain-core 0.2.43 langchain-experimental 0.0.63 langchain-groq 0.1.5 langchain-huggingface 0.0.3 langchain-ollama 0.1.1 langchain-openai 0.1.20 langchain-postgres 0.0.12
🤖:bug
low
Critical
2,807,274,368
vscode
White window flashes (quickly) when Dark Mode is on
Type: <b>Bug</b> When I open the aplication from the task bar, VS Code flashes a white screen. I have removed all theme extensions and this is still hapenning. Checking November 2024 (version 1.96) Release Notes this issue was not addressed yet. GIF recorded to show the issue. Some times it didn't caught the problem because of the quality of the recorder. And you can see it happening at least one time in this GIF. ![Image](https://github.com/user-attachments/assets/869b5fc0-fe0d-4c5b-8f7f-77c53594ec39) VS Code version: Code 1.96.3 (91fbdddc47bc9c09064bf7acf133d22631cbf083, 2025-01-09T18:14:09.060Z) OS version: Windows_NT x64 10.0.26100 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 2803)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<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>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|15.79GB (4.30GB free)| |Process Argv|--crash-reporter-id 0b380004-7e16-458e-96cd-c793662b03a9| |Screen Reader|no| |VM|0%| </details><details><summary>Extensions (6)</summary> Extension|Author (truncated)|Version ---|---|--- auto-close-tag|for|0.5.15 auto-rename-tag|for|0.1.10 LiveServer|rit|5.7.9 vscode-icons|vsc|12.10.0 vscode-preview-server|yui|1.3.0 markdown-all-in-one|yzh|3.6.2 </details><details> <summary>A/B Experiments</summary> ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 vscaac:30438847 c4g48928:30535728 azure-dev_surveyone:30548225 vscrp:30673768 962ge761:30959799 pythonnoceb:30805159 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 nativerepl1:31139838 pythonrstrctxt:31112756 nativeloc1:31192215 cf971741:31144450 iacca1:31171482 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 stablechunks:31184530 6074i472:31201624 dwoutputs:31217127 9064b325:31222308 copilot_t_ci:31222730 ``` </details> <!-- generated by issue reporter -->
triage-needed
low
Critical
2,807,318,099
vscode
This.C.HAS is not a function when arrowing in keyboard preferences list with a screen reader
Type: <b>Bug</b> Pressing CTRL+K plus CTRL+S and then arrowing up and down on the edit field before or after typing something yeilds an error as noted in the title of the bug. I have tried starting the editor with all extensions disabled. I renamed the romaing\code folder, renamed the extensions folder in .vscode and no local\code folder existed. I went ahead and wiped out VSCode completely, r emoving all custom folders and re-installed. The issue persists. No logs are showing actionable data. My guess is that some function is hooked on the arrow keys and is not clearly working in places t hat are not intended. Does anyone have a clue as to what may be causing this issue? While not a show stopper it does add ambiguity to the user experience for screen reader users. I am sorry to even be bringing this up... VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z) OS version: Windows_NT x64 10.0.26100 Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|13th Gen Intel(R) Core(TM) i5-1340P (16 x 2189)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<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>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|15.69GB (4.13GB free)| |Process Argv|| |Screen Reader|yes| |VM|0%| </details><details><summary>Extensions (24)</summary> Extension|Author (truncated)|Version ---|---|--- Bookmarks|ale|13.5.0 npm-intellisense|chr|1.4.5 vscode-markdownlint|Dav|0.58.2 vscode-eslint|dba|3.0.10 prettier-vscode|esb|11.0.0 copilot|Git|1.258.0 copilot-chat|Git|0.23.2 vscode-pull-request-github|Git|0.102.0 vscode-htmlhint|HTM|1.0.5 file-history|Jef|1.0.0 markdown-shortcuts|mdi|0.12.0 vscode-edge-devtools|ms-|2.1.6 black-formatter|ms-|2024.4.0 debugpy|ms-|2024.14.0 python|ms-|2024.22.2 vscode-pylance|ms-|2024.12.1 live-server|ms-|0.4.15 vscode-copilot-vision|ms-|0.1.1 vscode-speech|ms-|0.12.1 vsliveshare|ms-|1.0.5948 LiveServer|rit|5.7.9 markdown-preview-enhanced|shd|0.8.15 code-spell-checker|str|4.0.34 markdown-all-in-one|yzh|3.6.2 </details> <!-- generated by issue reporter -->
info-needed
low
Critical
2,807,331,172
pytorch
Add a lint rule to avoid the word `interface` in C++
This is a reserved word in some msvc implementations internally cc @jbschlosser
module: cpp,module: lint,triaged
low
Minor
2,807,378,039
yt-dlp
KeyError ('idetails') Raised on Cineverse
### 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) - [x] 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 USA ### Provide a description that is worded well enough to be understood I have never tried this particular video before, but I do not remember getting this 'idetails' error before. I have successfully used yt-dlp on cineverse before. ### 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', '--cookies-from-browser', 'firefox', 'https://www.cineverse.com/watch/DMR00020275/The-Lickerish-Quartet'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out cp1252 (No VT), error cp1252 (No VT), screen cp1252 (No VT) [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [c8541f8b1] (win_exe) [debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1t 7 Feb 2023) [debug] exe versions: ffmpeg 2023-02-27-git-891ed24f77-essentials_build-www.gyan.dev (setts), ffprobe 2023-02-27-git-891ed24f77-essentials_build-www.gyan.dev [debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.3.0, websockets-14.1 [debug] Proxy map: {} Extracting cookies from firefox [debug] Extracting cookies from: "C:\Users\Jim\AppData\Roaming\Mozilla\Firefox\Profiles\lh6l2r4l.default-1592844604092\cookies.sqlite" Extracted 386 cookies from firefox [debug] Request Handlers: urllib, requests, websockets, curl_cffi [debug] Loaded 1837 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: [email protected] from yt-dlp/yt-dlp yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp) [Cineverse] Extracting URL: https://www.cineverse.com/watch/DMR00020275/The-Lickerish-Quartet [Cineverse] DMR00020275: Downloading webpage ERROR: DMR00020275: An extractor error has occurred. (caused by KeyError('idetails')); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U File "yt_dlp\extractor\common.py", line 742, in extract File "yt_dlp\extractor\cineverse.py", line 69, in _real_extract KeyError: 'idetails' ```
site-bug,triage
low
Critical
2,807,400,874
next.js
SRI integrity attribute for JS chunks missing with pages router
### Link to the code that reproduces this issue https://codesandbox.io/p/devbox/jovial-firefly-wx97gr?workspaceId=ws_3ZtafuUfP1tYxS9a7x5wHu ### To Reproduce Clone canary version Enable SRI experimental feature within next.config as per https://github.com/vercel/next.js/pull/73891 Create new page within the pages router Build and run application Check source code for integrity attribute ### Current vs. Expected behavior **Current** integrity attribute is missing from JS chunks script tags **Expected:** Script tags that import JS chunks to have integrity attribute present ### Provide environment information ```bash Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4102 Available CPU cores: 2 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 15.2.0-canary.22 // Latest available version is detected (15.2.0-canary.22). eslint-config-next: N/A react: 19.0.0 react-dom: 19.0.0 typescript: 5.1.3 Next.js Config: output: N/A ``` ### Which area(s) are affected? (Select all that apply) Pages Router ### Which stage(s) are affected? (Select all that apply) next start (local), Other (Deployed) ### Additional context _No response_
Pages Router
low
Minor
2,807,460,897
pytorch
Unexpected behavior of `torch.nn.init.trunc_normal` with bf16 tensors
### 🐛 Describe the bug Hi, I found that `torch.nn.init.trunc_normal` produces unexpected output for bf16 tensors due to the precision issue. When running the following code, ```python import torch fp32_tensor = torch.empty(100000) bf16_tensor = torch.empty(100000).bfloat16() torch.nn.init.trunc_normal_(fp32_tensor, std=0.01) torch.nn.init.trunc_normal_(bf16_tensor, std=0.01) casted_bf16_tensor = fp32_tensor.bfloat16() print("# mean=0, std=0.01, a=-2, b=2") print("fp32") print(fp32_tensor.mean()) print(fp32_tensor.std()) print("bf16") print(bf16_tensor.mean()) print(bf16_tensor.std()) print("casted bf16") print(casted_bf16_tensor.mean()) print(casted_bf16_tensor.std()) ``` it prints as follows. ``` # mean=0, std=0.01, a=-2, b=2 fp32 tensor(-6.6384e-07) tensor(0.0100) bf16 tensor(-0.0081, dtype=torch.bfloat16) tensor(0.1270, dtype=torch.bfloat16) casted bf16 tensor(-6.8918e-07, dtype=torch.bfloat16) tensor(0.0100, dtype=torch.bfloat16) ``` https://github.com/pytorch/pytorch/blob/bf4f8919df8ee88e356b407bb84ed818ebfb407b/torch/nn/init.py#L38-L59 I found that this issue originates from the bf16 uniform sampling. For sufficiently small stds (which is typical for recent large models), `l` and `u` become 0 and 1. In this case, `trunc_normal_` draws bf16 numbers from a uniform distribution (0, 1). However, because bf16 has only 7 mantissa bits, a nontrivial portion of them becomes zero, produces -inf after `erfinv` and leading to truncation to `a`, which shifts the distribution. You can confirm this through the following code. When using a large negative `a`, the shift becomes significantly problematic. ```python import torch fp32_tensor = torch.empty(100000) bf16_tensor = torch.empty(100000).bfloat16() torch.nn.init.trunc_normal_(fp32_tensor, std=0.01, a=-100, b=100) torch.nn.init.trunc_normal_(bf16_tensor, std=0.01, a=-100, b=100) casted_bf16_tensor = fp32_tensor.bfloat16() print("# mean=0, std=0.01, a=-100, b=100") print("fp32") print(fp32_tensor.mean()) print(fp32_tensor.std()) print("bf16") print(bf16_tensor.mean()) print(bf16_tensor.std()) print("casted bf16") print(casted_bf16_tensor.mean()) print(casted_bf16_tensor.std()) torch.nn.init.uniform_(bf16_tensor) print("\n# ratio of zeros for bf16 tensor w/ uniform sampling") print(bf16_tensor.eq(0).sum() / bf16_tensor.numel()) ``` ``` # mean=0, std=0.01, a=-100, b=100 fp32 tensor(7.5750e-05) tensor(0.0100) bf16 tensor(-0.3789, dtype=torch.bfloat16) tensor(6.1250, dtype=torch.bfloat16) casted bf16 tensor(7.5817e-05, dtype=torch.bfloat16) tensor(0.0100, dtype=torch.bfloat16) # ratio of zeros for bf16 tensor w/ uniform sampling tensor(0.0040) ``` Note that CUDA implementation of bf16 `erfinv` is removed in https://github.com/pytorch/pytorch/issues/57707 due to precision issue. See also https://github.com/jax-ml/jax/discussions/13798. ### Versions PyTorch version: 2.4.1+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.5 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: Could not collect CMake version: Could not collect Libc version: glibc-2.35 Python version: 3.11.10 (main, Sep 7 2024, 18:35:41) [GCC 11.4.0] (64-bit runtime) Python platform: Linux-6.8.0-49-generic-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: 12.4.131 CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4090 Nvidia driver version: 565.57.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 Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Vendor ID: AuthenticAMD Model name: AMD Ryzen 9 7950X 16-Core Processor CPU family: 25 Model: 97 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 1 Stepping: 2 CPU max MHz: 5881.0000 CPU min MHz: 400.0000 BogoMIPS: 8982.90 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca fsrm flush_l1d Virtualization: AMD-V L1d cache: 512 KiB (16 instances) L1i cache: 512 KiB (16 instances) L2 cache: 16 MiB (16 instances) L3 cache: 64 MiB (2 instances) NUMA node(s): 1 NUMA node0 CPU(s): 0-31 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Mitigation; Safe RET Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==1.26.3 [pip3] nvidia-cublas-cu12==12.4.2.65 [pip3] nvidia-cuda-cupti-cu12==12.4.99 [pip3] nvidia-cuda-nvrtc-cu12==12.4.99 [pip3] nvidia-cuda-runtime-cu12==12.4.99 [pip3] nvidia-cudnn-cu12==9.1.0.70 [pip3] nvidia-cufft-cu12==11.2.0.44 [pip3] nvidia-curand-cu12==10.3.5.119 [pip3] nvidia-cusolver-cu12==11.6.0.99 [pip3] nvidia-cusparse-cu12==12.3.0.142 [pip3] nvidia-nccl-cu12==2.20.5 [pip3] nvidia-nvjitlink-cu12==12.4.99 [pip3] nvidia-nvtx-cu12==12.4.99 [pip3] torch==2.4.1+cu124 [pip3] torchaudio==2.4.1+cu124 [pip3] torchvision==0.19.1+cu124 [pip3] triton==3.0.0 [conda] Could not collect cc @fritzo @neerajprad @alicanb @nikitaved @albanD @mruberry @jbschlosser @walterddr @mikaylagawarecki
module: distributions,module: nn,triaged
low
Critical
2,807,466,379
yt-dlp
Condé Nast: `AttributeError: 'NoneType' object has no attribute 'items'`
### 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) - [x] 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 yt-dlp worked for all other videos in the [series](https://www.bonappetit.com/video/series/handcrafted), but [this specific video](https://www.bonappetit.com/video/watch/handcrafted-how-to-make-japanese-candy-8-types-of-wagashi) crashes with `AttributeError: 'NoneType' object has no attribute 'items'`. ### 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://www.bonappetit.com/video/watch/handcrafted-how-to-make-japanese-candy-8-types-of-wagashi'] [debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [c8541f8b1] (pip) [debug] Python 3.13.1 (CPython x86_64 64bit) - macOS-15.2-x86_64-64bit-Mach-O (OpenSSL 3.4.0 22 Oct 2024) [debug] exe versions: ffmpeg 7.1 (setts), ffprobe 7.1, rtmpdump 2.4 [debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, mutagen-1.47.0, requests-2.32.3, sqlite3-3.48.0, urllib3-2.3.0, websockets-14.1 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests, websockets [debug] Loaded 1837 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: [email protected] from yt-dlp/yt-dlp yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp) [CondeNast] Extracting URL: https://www.bonappetit.com/video/watch/handcrafted-how-to-make-japanese-candy-8-types-of-wagashi [CondeNast] watch: Downloading webpage [CondeNast] 62cf10482e21da1f6aa6b76c: Downloading embed info [CondeNast] 62cf10482e21da1f6aa6b76c: Downloading m3u8 information ERROR: 'NoneType' object has no attribute 'items' Traceback (most recent call last): File "/usr/local/Cellar/yt-dlp/2025.1.15/libexec/lib/python3.13/site-packages/yt_dlp/YoutubeDL.py", line 1637, in wrapper return func(self, *args, **kwargs) File "/usr/local/Cellar/yt-dlp/2025.1.15/libexec/lib/python3.13/site-packages/yt_dlp/YoutubeDL.py", line 1772, in __extract_info ie_result = ie.extract(url) File "/usr/local/Cellar/yt-dlp/2025.1.15/libexec/lib/python3.13/site-packages/yt_dlp/extractor/common.py", line 742, in extract ie_result = self._real_extract(url) File "/usr/local/Cellar/yt-dlp/2025.1.15/libexec/lib/python3.13/site-packages/yt_dlp/extractor/condenast.py", line 246, in _real_extract info.update(self._extract_video(params)) ~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/local/Cellar/yt-dlp/2025.1.15/libexec/lib/python3.13/site-packages/yt_dlp/extractor/condenast.py", line 199, in _extract_video for t, caption in video_info.get('captions', {}).items(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'items' ```
site-bug,patch-available
low
Critical
2,807,494,193
tauri
[bug] use register_listener instead of registerListener.
### Describe the bug When using addPluginListener, I found that registerListener is not allowed. Upon further investigation, I discovered that addPluginListener internally uses registerListener. I believe this does not conform to Rust's naming conventions, and it should be corrected to the previous register_listener. ### Reproduction https://github.com/tauri-apps/tauri/blob/f5a59b93bfefb43ff131a7870b3c5d5e48c1ca1e/packages/api/src/core.ts#L165 ### Expected behavior use register_listener instead of registerListener. ### Full `tauri info` output ```text [✔] Environment - OS: Mac OS 15.1.1 arm64 (X64) ✔ Xcode Command Line Tools: installed ✔ rustc: 1.83.0 (90b35a623 2024-11-26) (Homebrew) ✔ cargo: 1.83.0 ✔ rustup: 1.27.1 (2024-04-24) ✔ Rust toolchain: - node: 18.20.2 - pnpm: 9.10.0 - npm: 10.5.0 [-] Packages - tauri 🦀: 2.1.1 - tauri-build 🦀: 2.0.3 - wry 🦀: 0.47.2 - tao 🦀: 0.30.8 - @tauri-apps/api : 2.0.0 (outdated, latest: 2.2.0) - @tauri-apps/cli : 2.0.3 (outdated, latest: 2.2.5) [-] Plugins - tauri-plugin-shell 🦀: 2.0.2 - @tauri-apps/plugin-shell : 2.0.0 (outdated, latest: 2.2.0) - tauri-plugin-http 🦀: 2.0.3 - @tauri-apps/plugin-http : 2.0.0 (outdated, latest: 2.2.0) - tauri-plugin-os 🦀: 2.0.1 - @tauri-apps/plugin-os : 2.0.0 (outdated, latest: 2.2.0) - tauri-plugin-fs 🦀: 2.0.3 - @tauri-apps/plugin-fs : not installed! [-] App - build-type: bundle - CSP: xxxx - frontendDist: ../dist - devUrl: http://localhost:1420/ - framework: Vue.js - bundler: Vite ``` ### Stack trace ```text ``` ### Additional context I am not clear about the rationale behind this change. I would appreciate it if I could receive a response explaining the reasoning.
type: bug,status: needs triage
low
Critical
2,807,503,343
pytorch
`torch._inductor.aoti_compile_and_package` fails when using dynamic shapes (PyTorch 2.6.0 RC)
### 🐛 Describe the bug When I try to aot compile a simple example with dynamic shapes, it fails due to invalid generated C++ code. Example: ```python import torch class Model(torch.nn.Module): def forward(self, x): return x + 1 model = Model().eval() input = torch.randn(10) dim = torch.export.Dim("dim_0") dim_even = 2 * dim exported_program = torch.export.export( model, args=(input,), dynamic_shapes=({0: dim_even},), ) torch._inductor.aoti_compile_and_package(exported_program) ``` Error message: ``` /tmp/torchinductor_danielthul/ctokdncd3lqh3uklcegfj2fanld6jbwqtpmk7s2lpcf74fkadoy4/c3tltwsgny45t3ykmpa6l7hab3gk6ekgaylyxcimtihuvyuynwut.cpp: In member function ‘void torch::aot_inductor::AOTInductorModel::run_impl(AtenTensorOpaque**, AtenTensorOpaque**, torch::aot_inductor::DeviceStreamType, AOTIProxyExecutorHandle)’: /tmp/torchinductor_danielthul/ctokdncd3lqh3uklcegfj2fanld6jbwqtpmk7s2lpcf74fkadoy4/c3tltwsgny45t3ykmpa6l7hab3gk6ekgaylyxcimtihuvyuynwut.cpp:470:39: error: ‘s1’ was not declared in this scope; did you mean ‘y1’? 470 | const int64_t int_array_0[] = {2L*s1, }; | ^~ | y1 [...] torch._inductor.exc.CppCompileError: C++ compile error Command: g++ /tmp/torchinductor_danielthul/ctokdncd3lqh3uklcegfj2fanld6jbwqtpmk7s2lpcf74fkadoy4/c3tltwsgny45t3ykmpa6l7hab3gk6ekgaylyxcimtihuvyuynwut.cpp -D TORCH_INDUCTOR_CPP_WRAPPER -D STANDALONE_TORCH_HEADER -D C10_USING_CUSTOM_GENERATED_MACROS -D CPU_CAPABILITY_AVX2 -fPIC -O3 -DNDEBUG -fno-trapping-math -funsafe-math-optimizations -ffinite-math-only -fno-signed-zeros -fno-math-errno -fexcess-precision=fast -fno-finite-math-only -fno-unsafe-math-optimizations -ffp-contract=off -fno-tree-loop-vectorize -march=native -Wall -std=c++17 -Wno-unused-variable -Wno-unknown-pragmas -fopenmp -I/home/danielthul/.local/share/uv/python/cpython-3.11.10-linux-x86_64-gnu/include/python3.11 -I/home/danielthul/dev/example-project/.venv/lib/python3.11/site-packages/torch/include -I/home/danielthul/dev/example-project/.venv/lib/python3.11/site-packages/torch/include/torch/csrc/api/include -I/home/danielthul/dev/example-project/.venv/lib/python3.11/site-packages/torch/include/TH -I/home/danielthul/dev/example-project/.venv/lib/python3.11/site-packages/torch/include/THC -mavx2 -mfma -mf16c -D_GLIBCXX_USE_CXX11_ABI=0 -c -o /tmp/torchinductor_danielthul/ctokdncd3lqh3uklcegfj2fanld6jbwqtpmk7s2lpcf74fkadoy4/c3tltwsgny45t3ykmpa6l7hab3gk6ekgaylyxcimtihuvyuynwut.o ``` This is the auto-generated C++ function that fails to compile: ```c++ void AOTInductorModel::run_impl( AtenTensorHandle* input_handles, // array of input AtenTensorHandle; handles // are stolen; the array itself is borrowed AtenTensorHandle* output_handles, // array for writing output AtenTensorHandle; handles // will be stolen by the caller; the array itself is // borrowed DeviceStreamType stream, AOTIProxyExecutorHandle proxy_executor ) { auto inputs = steal_from_raw_handles_to_raii_handles(input_handles, 1); auto arg0_1 = std::move(inputs[0]); inputs.clear(); auto& kernels = static_cast<AOTInductorModelKernels&>(*this->kernels_.get()); const int64_t int_array_0[] = {2L*s1, }; static constexpr int64_t int_array_1[] = {1L, }; AtenTensorHandle buf0_handle; AOTI_TORCH_ERROR_CODE_CHECK(aoti_torch_empty_strided(1, int_array_0, int_array_1, cached_torch_dtype_float32, cached_torch_device_type_cpu, this->device_idx_, &buf0_handle)); RAIIAtenTensorHandle buf0(buf0_handle); cpp_fused_add_0((const float*)(arg0_1.data_ptr()), (float*)(buf0.data_ptr()), s1); arg0_1.reset(); output_handles[0] = buf0.release(); } // AOTInductorModel::run_impl ``` It tries to use the dynamic shape `s1` (which corresponds to `dim` from the Python code), but `s1` is never declared in the C++ code. I'm using the latest build of PyTorch 2.6 (installed using `uv pip install torch==2.6.0+cu124 --index-url https://download.pytorch.org/whl/test`) Update: also fails on PyTorch 2.7.0.dev20250123+cu124 ### Versions Collecting environment information... PyTorch version: 2.6.0+cu124 Is debug build: False CUDA used to build PyTorch: 12.4 ROCM used to build PyTorch: N/A OS: Ubuntu 22.04.5 LTS (x86_64) GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang version: Could not collect CMake version: version 3.22.1 Libc version: glibc-2.35 Python version: 3.11.10 (main, Oct 16 2024, 04:38:48) [Clang 18.1.8 ] (64-bit runtime) Python platform: Linux-6.5.0-1024-aws-x86_64-with-glibc2.35 Is CUDA available: True CUDA runtime version: Could not collect CUDA_MODULE_LOADING set to: LAZY GPU models and configuration: GPU 0: NVIDIA L40S Nvidia driver version: 550.90.07 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 Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 16 On-line CPU(s) list: 0-15 Vendor ID: AuthenticAMD Model name: AMD EPYC 7R13 Processor CPU family: 25 Model: 1 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 1 Stepping: 1 BogoMIPS: 5299.99 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch topoext invpcid_single ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr rdpru wbnoinvd arat npt nrip_save vaes vpclmulqdq rdpid Hypervisor vendor: KVM Virtualization type: full L1d cache: 256 KiB (8 instances) L1i cache: 256 KiB (8 instances) L2 cache: 4 MiB (8 instances) L3 cache: 32 MiB (1 instance) NUMA node(s): 1 NUMA node0 CPU(s): 0-15 Vulnerability Gather data sampling: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Vulnerable: Safe RET, no microcode Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected Vulnerability Srbds: Not affected Vulnerability Tsx async abort: Not affected Versions of relevant libraries: [pip3] numpy==1.26.4 [pip3] nvidia-cublas-cu12==12.4.5.8 [pip3] nvidia-cuda-cupti-cu12==12.4.127 [pip3] nvidia-cuda-nvrtc-cu12==12.4.127 [pip3] nvidia-cuda-runtime-cu12==12.4.127 [pip3] nvidia-cudnn-cu12==9.1.0.70 [pip3] nvidia-cufft-cu12==11.2.1.3 [pip3] nvidia-curand-cu12==10.3.5.147 [pip3] nvidia-cusolver-cu12==11.6.1.9 [pip3] nvidia-cusparse-cu12==12.3.1.170 [pip3] nvidia-cusparselt-cu12==0.6.2 [pip3] nvidia-nccl-cu12==2.21.5 [pip3] nvidia-nvjitlink-cu12==12.4.127 [pip3] nvidia-nvtx-cu12==12.4.127 [pip3] torch==2.6.0+cu124 [pip3] torch-tb-profiler==0.4.3 [pip3] torchaudio==2.5.1 [pip3] torchvision==0.21.0+cu124 [pip3] triton==3.2.0 [conda] Could not collect cc @ezyang @gchanan @zou3519 @kadeng @msaroufim @chauhang @penguinwu @bobrenjc93 @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4 @desertfire @chenyang78
high priority,triaged,oncall: pt2,module: dynamic shapes,oncall: export,module: aotinductor
low
Critical
2,807,510,578
flutter
`flutter drive` Impeller startup crashes appear as VM HTTP exceptions
Reproduction: 1. Start an Android 34 emulator 2. Use the following `AndroidManifest.xml` to force `vulkan` (i.e. no fallback logic), though other crashes might also cause this 3. Try running the app with `flutter drive lib/main.dart` You'll get something like: ```sh $ flutter drive lib/main.dart It is taking an unusually long time to connect to the VM... Oops; flutter has exited unexpectedly: "HttpException: Connection closed before full header was received ``` There are two bugs: 1. We are missing information on why we can't connect (more on that in a second) 2. The crash has nothing to do with the VM service or HTTP If you `flutter run lib/main.dart` (i.e. the same code, just with `flutter run`): ```sh $ flutter run lib/main.dart E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/capabilities_vk.cc(285)] Break on 'ImpellerValidationBreak' to inspect point of failure: Device does not support required Android extension: VK_KHR_external_semaphore_fd E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/capabilities_vk.cc(310)] Break on 'ImpellerValidationBreak' to inspect point of failure: Device not suitable since required extensions are not supported. E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/capabilities_vk.cc(393)] Break on 'ImpellerValidationBreak' to inspect point of failure: Device doesn't support the required queues. E/flutter ( 5377): [ERROR:flutter/impeller/renderer/backend/vulkan/context_vk.cc(278)] Break on 'ImpellerValidationBreak' to inspect point of failure: No valid Vulkan device found. I/flutter ( 5377): [IMPORTANT:flutter/shell/platform/android/android_context_vk_impeller.cc(60)] Using the Impeller rendering backend (Vulkan). F/flutter ( 5377): [FATAL:flutter/shell/platform/android/platform_view_android.cc(127)] Check failed: android_context_->IsValid(). Could not create surface from invalid Android context. Error connecting to the service protocol: failed to connect to http://127.0.0.1:58976/_qg3X7xW8FA=/ DartDevelopmentServiceException: WebSocketChannelException: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:58976/_qg3X7xW8FA=/ws ``` Better, at least we get the error messages (I'd expect to see these in `flutter drive`, but do not).
platform-android,t: flutter driver,f: integration_test,P2,blocked,fyi-android,team-tool
low
Critical
2,807,510,935
rust
ICE: rmeta/decoder.rs:967:9: missing `def_span` for DefId(117:0 ~ test[50b7])
I just encountered an ICE in CI during `cargo test` with Rust 1.8.4 stable on a Linux ARM GitHub Actions runner, after merging a PR to main. (CI passed on the PR but failed on the `main` run post-merge.) ### Code The failure was on this commit: https://github.com/heroku/buildpacks-python/tree/aef5e6931d049d27a5c52437ecb1dfa6f9ff2f41 ### Meta `rustc --version --verbose`: ``` rustc 1.84.0 (9fc6b4312 2025-01-07) binary: rustc commit-hash: 9fc6b43126469e3858e2fe86cafb4f0fd5068869 commit-date: 2025-01-07 host: aarch64-unknown-linux-gnu release: 1.84.0 LLVM version: 19.1.5 ``` ### Error output The full CI run can be seen here: https://github.com/heroku/buildpacks-python/actions/runs/12934086542/job/36074243839#step:10:13 The GitHub Actions workflow is defined here: https://github.com/heroku/buildpacks-python/blob/aef5e6931d049d27a5c52437ecb1dfa6f9ff2f41/.github/workflows/ci.yml#L43-L86 ``` $ cargo test --locked -- --ignored --test-threads $(($(nproc)+1)) Updating crates.io index Compiling python-buildpack v0.0.0 (/home/runner/work/buildpacks-python/buildpacks-python) error: internal compiler error: compiler/rustc_metadata/src/rmeta/decoder.rs:967:9: missing `def_span` for DefId(117:0 ~ test[50b7]) thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/decoder.rs:967:9: Box<dyn Any> stack backtrace: 0: 0xffae6a41186c - std::backtrace_rs::backtrace::libunwind::trace::h41252309c76992b5 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 1: 0xffae6a41186c - std::backtrace_rs::backtrace::trace_unsynchronized::hf225d125cca37a81 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0xffae6a41186c - std::sys::backtrace::_print_fmt::hf329c51b3772454a at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:66:9 3: 0xffae6a41186c - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h00b09a4bf39b2d85 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:39:26 4: 0xffae6a45e62c - core::fmt::rt::Argument::fmt::heddda1cce7046e46 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/fmt/rt.rs:177:76 5: 0xffae6a45e62c - core::fmt::write::h7ceb4b8480f8c249 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/fmt/mod.rs:1189:21 6: 0xffae6a4058e0 - std::io::Write::write_fmt::h85dd460e8a217df7 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/io/mod.rs:1884:15 7: 0xffae6a411720 - std::sys::backtrace::BacktraceLock::print::h9a7ef9a5429d1e7e at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:42:9 8: 0xffae6a413a60 - std::panicking::default_hook::{{closure}}::h0c27709af3f8d4c6 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:268:22 9: 0xffae6a4138a8 - std::panicking::default_hook::h896b14ac97871c98 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:295:9 10: 0xffae64235e7c - <alloc[b23c587ff69f26b0]::boxed::Box<rustc_driver_impl[233ea3aee64cd688]::install_ice_hook::{closure#0}> as core[2b1f2bbd3b605c]::ops::function::Fn<(&dyn for<'a, 'b> core[2b1f2bbd3b605c]::ops::function::Fn<(&'a std[a32bae77f370052a]::panic::PanicHookInfo<'b>,), Output = ()> + core[2b1f2bbd3b605c]::marker::Sync + core[2b1f2bbd3b605c]::marker::Send, &std[a32bae77f370052a]::panic::PanicHookInfo)>>::call 11: 0xffae6a4141d0 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he48809e66f217622 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1986:9 12: 0xffae6a4141d0 - std::panicking::rust_panic_with_hook::h660add0bcc8a80ea at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:809:13 13: 0xffae6a099ad4 - std[a32bae77f370052a]::panicking::begin_panic::<rustc_errors[cc4532cbff5f0758]::ExplicitBug>::{closure#0} 14: 0xffae6a0965b8 - std[a32bae77f370052a]::sys::backtrace::__rust_end_short_backtrace::<std[a32bae77f370052a]::panicking::begin_panic<rustc_errors[cc4532cbff5f0758]::ExplicitBug>::{closure#0}, !> 15: 0xffae640ce358 - std[a32bae77f370052a]::panicking::begin_panic::<rustc_errors[cc4532cbff5f0758]::ExplicitBug> 16: 0xffae6a086468 - <rustc_errors[cc4532cbff5f0758]::diagnostic::BugAbort as rustc_errors[cc4532cbff5f0758]::diagnostic::EmissionGuarantee>::emit_producing_guarantee 17: 0xffae69d8f1a0 - rustc_middle[2c6500b4474def4b]::util::bug::opt_span_bug_fmt::<rustc_span[d6938c8799c78ecd]::span_encoding::Span>::{closure#0} 18: 0xffae69d8dcc8 - rustc_middle[2c6500b4474def4b]::ty::context::tls::with_opt::<rustc_middle[2c6500b4474def4b]::util::bug::opt_span_bug_fmt<rustc_span[d6938c8799c78ecd]::span_encoding::Span>::{closure#0}, !>::{closure#0} 19: 0xffae69d8dc98 - rustc_middle[2c6500b4474def4b]::ty::context::tls::with_context_opt::<rustc_middle[2c6500b4474def4b]::ty::context::tls::with_opt<rustc_middle[2c6500b4474def4b]::util::bug::opt_span_bug_fmt<rustc_span[d6938c8799c78ecd]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> 20: 0xffae640b47f8 - rustc_middle[2c6500b4474def4b]::util::bug::bug_fmt 21: 0xffae6983a8e4 - <rustc_metadata[bc7dd363cf28a80b]::creader::CrateMetadataRef>::missing 22: 0xffae6983ae00 - <rustc_metadata[bc7dd363cf28a80b]::creader::CrateMetadataRef>::get_span 23: 0xffae689aebe0 - <rustc_resolve[803f36c130519f4a]::Resolver>::def_span 24: 0xffae6897a2e8 - <rustc_resolve[803f36c130519f4a]::Resolver>::get_module 25: 0xffae6897a034 - <rustc_resolve[803f36c130519f4a]::Resolver>::expect_module 26: 0xffae68a3712c - <rustc_resolve[803f36c130519f4a]::build_reduced_graph::BuildReducedGraphVisitor as rustc_ast[ba5aba888c7ba019]::visit::Visitor>::visit_item 27: 0xffae689e99cc - <rustc_expand[448f8608944c7a44]::expand::AstFragment>::visit_with::<rustc_resolve[803f36c130519f4a]::build_reduced_graph::BuildReducedGraphVisitor> 28: 0xffae6899cd74 - <rustc_resolve[803f36c130519f4a]::Resolver as rustc_expand[448f8608944c7a44]::base::ResolverExpand>::visit_ast_fragment_with_placeholders 29: 0xffae69907048 - <rustc_expand[448f8608944c7a44]::expand::MacroExpander>::collect_invocations 30: 0xffae69905330 - <rustc_expand[448f8608944c7a44]::expand::MacroExpander>::fully_expand_fragment 31: 0xffae6990298c - <rustc_expand[448f8608944c7a44]::expand::MacroExpander>::expand_crate 32: 0xffae643bf2c8 - <rustc_session[8fe50856523cfc81]::session::Session>::time::<rustc_ast[ba5aba888c7ba019]::ast::Crate, rustc_interface[45f6ee680972b70c]::passes::configure_and_expand::{closure#1}> 33: 0xffae6442d8cc - rustc_interface[45f6ee680972b70c]::passes::resolver_for_lowering_raw 34: 0xffae68d0086c - rustc_query_impl[b3a5340e321ea8a9]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[b3a5340e321ea8a9]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2}::{closure#0}, rustc_middle[2c6500b4474def4b]::query::erase::Erased<[u8; 16usize]>> 35: 0xffae68d53d70 - <rustc_query_impl[b3a5340e321ea8a9]::query_impl::resolver_for_lowering_raw::dynamic_query::{closure#2} as core[2b1f2bbd3b605c]::ops::function::FnOnce<(rustc_middle[2c6500b4474def4b]::ty::context::TyCtxt, ())>>::call_once 36: 0xffae68f782c4 - rustc_query_system[4379a6dd4de40329]::query::plumbing::try_execute_query::<rustc_query_impl[b3a5340e321ea8a9]::DynamicConfig<rustc_query_system[4379a6dd4de40329]::query::caches::SingleCache<rustc_middle[2c6500b4474def4b]::query::erase::Erased<[u8; 16usize]>>, false, false, false>, rustc_query_impl[b3a5340e321ea8a9]::plumbing::QueryCtxt, false> 37: 0xffae68dffd58 - rustc_query_impl[b3a5340e321ea8a9]::query_impl::resolver_for_lowering_raw::get_query_non_incr::__rust_end_short_backtrace 38: 0xffae69d42454 - <rustc_middle[2c6500b4474def4b]::ty::context::TyCtxt>::resolver_for_lowering 39: 0xffae641ebd7c - <rustc_middle[2c6500b4474def4b]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[233ea3aee64cd688]::run_compiler::{closure#0}::{closure#1}::{closure#3}, &rustc_data_structures[c3ef3f3d456babe4]::steal::Steal<(rustc_middle[2c6500b4474def4b]::ty::ResolverAstLowering, alloc[b23c587ff69f26b0]::sync::Arc<rustc_ast[ba5aba888c7ba019]::ast::Crate>)>> 40: 0xffae641c3840 - <rustc_interface[45f6ee680972b70c]::interface::Compiler>::enter::<rustc_driver_impl[233ea3aee64cd688]::run_compiler::{closure#0}::{closure#1}, core[2b1f2bbd3b605c]::result::Result<core[2b1f2bbd3b605c]::option::Option<rustc_interface[45f6ee680972b70c]::queries::Linker>, rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>> 41: 0xffae64229100 - rustc_span[d6938c8799c78ecd]::create_session_globals_then::<core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>, rustc_interface[45f6ee680972b70c]::util::run_in_thread_with_globals<rustc_interface[45f6ee680972b70c]::util::run_in_thread_pool_with_globals<rustc_interface[45f6ee680972b70c]::interface::run_compiler<core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>, rustc_driver_impl[233ea3aee64cd688]::run_compiler::{closure#0}>::{closure#1}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>>::{closure#0}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>>::{closure#0}::{closure#0}::{closure#0}> 42: 0xffae64223c04 - std[a32bae77f370052a]::sys::backtrace::__rust_begin_short_backtrace::<rustc_interface[45f6ee680972b70c]::util::run_in_thread_with_globals<rustc_interface[45f6ee680972b70c]::util::run_in_thread_pool_with_globals<rustc_interface[45f6ee680972b70c]::interface::run_compiler<core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>, rustc_driver_impl[233ea3aee64cd688]::run_compiler::{closure#0}>::{closure#1}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>>::{closure#0}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>> 43: 0xffae642264bc - <<std[a32bae77f370052a]::thread::Builder>::spawn_unchecked_<rustc_interface[45f6ee680972b70c]::util::run_in_thread_with_globals<rustc_interface[45f6ee680972b70c]::util::run_in_thread_pool_with_globals<rustc_interface[45f6ee680972b70c]::interface::run_compiler<core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>, rustc_driver_impl[233ea3aee64cd688]::run_compiler::{closure#0}>::{closure#1}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>>::{closure#0}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[2b1f2bbd3b605c]::result::Result<(), rustc_span[d6938c8799c78ecd]::ErrorGuaranteed>>::{closure#1} as core[2b1f2bbd3b605c]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 44: 0xffae6a41d94c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h8f59f5b3c43759d1 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1972:9 45: 0xffae6a41d94c - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7541037a2f8924a1 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1972:9 46: 0xffae6a41d94c - std::sys::pal::unix::thread::Thread::new::thread_start::hd1bb28d1647e61f1 at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/pal/unix/thread.rs:105:17 47: 0xffae6d4d597c - <unknown> 48: 0xffae6d53ba4c - <unknown> 49: 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: rustc 1.84.0 (9fc6b4312 2025-01-07) running on aarch64-unknown-linux-gnu note: compiler flags: -C embed-bitcode=no -C debuginfo=2 note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [resolver_for_lowering_raw] getting the resolver for lowering end of query stack error: could not compile `python-buildpack` (bin "python-buildpack" test) Caused by: process didn't exit successfully: `/home/runner/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/rustc --crate-name python_buildpack --edition=2021 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 '--warn=clippy::pedantic' '--warn=clippy::unwrap_used' --warn=unused_crate_dependencies --warn=unsafe_code --warn=unreachable_pub '--allow=clippy::result_large_err' '--warn=clippy::panic_in_result_fn' '--allow=clippy::large_enum_variant' --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=7e31f0a805c98a00 -C extra-filename=-7e31f0a805c98a00 --out-dir /home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps -L dependency=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps --extern indoc=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/libindoc-730e18d3d79a7d4d.so --extern libcnb=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/liblibcnb-b2d41c17f48f3632.rlib --extern libcnb_test=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/liblibcnb_test-b23ea7d64a222cfc.rlib --extern libherokubuildpack=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/liblibherokubuildpack-ffceaeb7b1357dfa.rlib --extern serde=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/libserde-2f687dfd07f05e19.rlib --extern tar=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/libtar-72685db7610ce40c.rlib --extern ureq=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/libureq-91e39a6a9e4b9d2c.rlib --extern zstd=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/deps/libzstd-1bd9d6aaaf25af48.rlib -L native=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/build/ring-08ca213cbd59f37d/out -L native=/home/runner/work/buildpacks-python/buildpacks-python/target/debug/build/zstd-sys-93d8c14fdcde7b64/out` (exit status: 101) Error: Process completed with exit code 101. ```
I-ICE,T-compiler,C-bug,needs-triage
low
Critical
2,807,520,186
pytorch
pip failure when trying to download nightly whl from pytorch.download.org : ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE
### 🐛 Describe the bug This is the failure on Jan 23, 2025: https://github.com/pytorch/pytorch/actions/runs/12926060185/job/36048291540#step:4:124 Log: ``` Downloading https://download.pytorch.org/whl/nightly/cpu/torch-2.7.0.dev20250123%2Bcpu-cp39-cp39-manylinux_2_28_x86_64.whl (176.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 176.2/176.2 MB 206.5 MB/s eta 0:00:00 ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them. unknown package: Expected sha256 2c2c2e6fcafccf6ff8bf91da2508be85dc35102eabbff47f03c1932f37a2c8d4 Got 70186982b4dce3957a6a40ef722ba86[122](https://github.com/pytorch/pytorch/actions/runs/12926060185/job/36048291540#step:4:123)0996e37a63d4b11511549b09228ba7 ``` Looks like its caused by conflict of sha256 value that we publish in index : ``` <a href="/whl/nightly/cpu/torch-2.7.0.dev20250123%2Bcpu-cp39-cp39-manylinux_2_28_x86_64.whl#sha256=2c2c2e6fcafccf6ff8bf91da2508be85dc35102eabbff47f03c1932f37a2c8d4" data-dist-info-metadata="sha256=072835b8d02e10e4e450c524497d0217711bc0880c33343c0f2779204cf4da8b" data-core-metadata="sha256=072835b8d02e10e4e450c524497d0217711bc0880c33343c0f2779204cf4da8b">torch-2.7.0.dev20250123+cpu-cp39-cp39-manylinux_2_28_x86_64.whl</a> ``` Looks like real file sha256 is 70186982b4dce3957a6a40ef722ba86 however sha256 included by our index is: 2c2c2e6fcafccf6ff8bf91da2508be85dc35102eabbff47f03c1932f37a2c8d4 This was mitigated by reverting https://github.com/pytorch/pytorch/pull/144887 and https://github.com/pytorch/test-infra/pull/6172 Landing PR to exclude sha256 from nightly index: https://github.com/pytorch/test-infra/pull/6213 Following additional test are required before we reland this change and before release 2.6: 1. Followup and make sure we can reintroduce sha256 index calculation correctly 2. Test current configuration production before release 2.6 and make sure we don't introduce breakage (since sha256 information is included in the production) ### Versions 2.7.0 cc @seemethere @malfet @osalpekar
module: binaries,triaged
low
Critical
2,807,559,872
vscode
Support abandonment of recent folders with unsaved changes
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> I'm trying to clean up my list of recent folders. And yet, if I had any unsaved changes (including from any temporary "notebook" windows), I get: ![Image](https://github.com/user-attachments/assets/aa5f83bd-e24a-4ddb-95d6-59dc18665a23) The original source is gone. I no longer want whatever files they may have been. Many of these were devcontainers, that have been removed from docker via `docker system prune -af --volumes` - I'd have to re-clone the repo and rebuild the container to even look at them (however long that takes). Or in other situations the target system may simply be permanently gone for whatever reason (ie, were attached to a remote device that got sent back to a factory). Can we please get some sort of `Abandon` button here, to account for that?
feature-request,workbench-hot-exit
low
Major
2,807,571,781
vscode
Image Copy-Paste Issue in Jupyter Notebook
When pasting an image into a markdown cell, cutting or copying it to this notebook or another notebook results in the image not displaying. I tested this on a Python Jupyter Notebook web server, and these issues do not occur there. Since it's often necessary to reuse cells in notebooks, could this functionality be improved as a priority?
feature-request,notebook-markdown
low
Minor
2,807,578,538
PowerToys
FanzyZones editor scaling depends on display scaling
### Microsoft PowerToys version 0.86 ### Installation method Microsoft Store ### Running as admin None ### Area(s) with issue? FancyZones Editor ### Steps to reproduce (from Feedback Hub) The fancyzones editor can only be used when my display scaling is set to 100%. When set to 150%, the zones are also zoomed. work around: If I set the display scaling to 100%, use the editor, select that editor to use for that monitor, then set it back to 150%, then the zones are correct, even though the editor would display them wrong. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_ ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,807,579,253
rust
Robustify the `TyKind` ambig/unambig layout compatibility tests
> I think we probably should track some follow-up work with fleshing out the type layout test to make sure we don't accidentally start fucking up the transmute between `Unambig = ()` and `Unambig = !`, though I also expect that that would end up causing segfaults in the compiler immediately. I'll file something for that. _Originally posted by @compiler-errors in https://github.com/rust-lang/rust/issues/135272#issuecomment-2610594323_ #135272 introduced a very interesting trick where we transmute between two variants of `hir::TyKind<U>` -- namely `hir::TyKind<()>` and `hir::TyKind<!>` -- to represent the presence or not of a variant of `TyKind::Infer` which is *superseded* in certain contexts by a more general infer kind that is shared between consts and types. As of that PR landing, there's a test (`compiler/rustc_hir/src/lib.rs`) that exercises the layout compatibility between these `TyKind`s, but it could be fleshed out some more.
C-enhancement,T-compiler
low
Critical
2,807,579,990
vscode
Allow dragging the VSCode window using the inactive parts of left side bar
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Currently it's possible to drag the VSCode window by using the inactive parts of the window's upper border. I propose to allow dragging the window by using the inactive parts of the left side bar. Image annexed. <img width="511" alt="Image" src="https://github.com/user-attachments/assets/16f57833-4f19-461c-ab93-b30b2c3131e9" />
triage-needed
low
Minor
2,807,591,342
vscode
Add Tooltip Feature to Jupyter Outline Items for Better Content Preview
Currently, when hovering the mouse over an outline item, a tooltip showing the full name of the item is not generated. This is inconvenient, especially for content peeking. I tested this with a markdown file in VSCode, and its outline item shows a tooltip. I really hope this feature can be implemented in Jupyter. Thanks!
feature-request,notebook-toc-outline
low
Minor
2,807,592,330
godot
MeshTexture on a button does not update till another property on the button is changed.
### Tested versions Reproducible in 4.4 beta 1, 4.3 stable, 4.2 stable, 4.1.4 stable, 4.1.1 stable , not sure when it last worked but I suppose somewhere during 4.1.1 ### System information Godot v4.4.beta1.mono - Pop!_OS 22.04 LTS on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4060 Laptop GPU - 12th Gen Intel(R) Core(TM) i7-12650H (16 threads) ### Issue description Apparent regression of https://github.com/godotengine/godot/issues/63801 - testing https://github.com/godotengine/godot/issues/63801. The MeshTexture doesn't update when it should ( when its changed ) ### Steps to reproduce Add a mesh texture to a button, add a mesh and add a texture to it, appreciate how nothing happens ### Minimal reproduction project (MRP) [meshtest.zip](https://github.com/user-attachments/files/18524862/meshtest.zip)
bug,regression,topic:gui
low
Minor
2,807,601,816
ui
[feat]: Make a mention of `size of slider is not equal to the size of the element` in `Carousel`
### Feature description It may be obvious to some that if you use `pl-[value]`, you need to factor that indentation into the slider size as well, i.e. `item size + indentation = slider size`. Because basically inside the `CarouselItem` element is some other element, like a product card etc. But it's just not always obvious. Because of different settings, for example `containScroll`, `align`, sometimes it is not clear where and how something should be placed. It makes my head swell if I try to combine it with classes like `container` from tailwindcss. For example, I don't know `embla-carousel` and it's the first time I use it in `shadcnui`, so this strange behavior was a discovery for me. ![Image](https://github.com/user-attachments/assets/bc7e9309-07d9-4308-b990-d21d25b75654) `--slide-size` not equal `element size inside the slide`. ### Affected component/components https://codesandbox.io/p/sandbox/embla-carousel-default-react-forked-snjtld ### 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,807,633,842
vscode
Please allow a feature to highlight in a different color the lines of code added into a script, when the chatbot outputs an entire script
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. -->
info-needed,triage-needed
medium
Minor
2,807,640,602
flutter
Flutter Web: Radio button components must be contained in or owned by an element with role="radiogroup" (Accessibility)
### Use case All radio button components (`role="radio"`) must be contained in or owned by an element with `role="radiogroup"`. This role is currently missing from the list of available semantics roles in existing widget libraries. ### Proposal Add the ability to add WAI-ARIA `role="radiogroup"` to radio button container/parent elements.
c: new feature,framework,f: material design,a: accessibility,platform-web,c: proposal,customer: castaway,team-accessibility
low
Minor
2,807,646,776
pytorch
Activation Checkpointing composability with split backward computation
Activation checkpointing avoids saving intermediate tensors in order to save memory. It does so by recomputing the forward pass on demand to obtain the intermediate values required for gradient computation during backward. For pipelining, we are splitting up the backward computation into `stage_backward_input` and `stage_backward_weight` (https://github.com/pytorch/pytorch/blob/main/torch/distributed/pipelining/_backward.py) which represent the derivative with respect to input and the derivative with respect to weights, respectively. This is mentioned in more detail in the [ZeroBubble paper](https://arxiv.org/pdf/2401.10241). We are computing backwards for each parameter group which leads to repeated forward computation that is impacting performance. ## Minimal example ```python import torch from torch.utils.checkpoint import checkpoint a = torch.tensor(1., requires_grad=True) b = torch.tensor(1., requires_grad=True) def fn(x, z): print("computing forward") y = x.sin().exp() * z return y, y.sin().exp() # compute forward under AC y, out = checkpoint(fn, a, b, use_reentrant=False) # 1. compute wrt y and x da, dy = torch.autograd.grad(out, inputs=(a, y), retain_graph=True) # 2. compute wrt z using y's grad db = torch.autograd.grad((y,), inputs=(b,), grad_outputs=(dy,)) ``` Output: ``` computing forward computing forward computing forward ``` ## torch.distributed.pipelining minimal example ```python import torch from torch.distributed.pipelining._backward import stage_backward_input, stage_backward_weight import torch.nn as nn from torch.distributed.algorithms._checkpoint.checkpoint_wrapper import checkpoint_wrapper def example(checkpoint): torch.manual_seed(0) x = torch.tensor((1.,), requires_grad=True) class SimpleModel(nn.Module): def __init__(self, num_layers=5): super().__init__() self.layers = nn.Sequential(*[nn.Linear(1, 1) for _ in range(num_layers)]) def forward(self, x): print("computing forward") return self.layers(x) model = SimpleModel() if checkpoint: model = checkpoint_wrapper(model) y = model(x) loss = y.mean() dx, param_groups = stage_backward_input([loss], output_grads=None, input_values=[x], weights=model.parameters()) print(f"{len(param_groups)=}") stage_backward_weight(model.parameters(), param_groups=param_groups) print("without AC:", "=" * 25) example(checkpoint=False) print("with AC:", "=" * 25) example(checkpoint=True) ``` Output: ``` without AC: ========================= computing forward len(param_groups)=5 with AC: ========================= computing forward computing forward len(param_groups)=5 computing forward computing forward computing forward computing forward computing forward ``` ## Potential solution @soulitzer mentioned potentially adding a flag to AC to cache the recomputed intermediates. Still need discussion on how the API would look like for that and how we could explictly free the intermediates when we decide we are done. For pipelining, saving the intermediates would increase the lifespan in memory for the time between `backward_input` and `backward_weight`, but this should still help peak memory. Ideally we could have a situation where forward only needs to be called once for `backward_input` and once for `backward_weight`. cc @awgu @kwen2501 @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @c-p-i-o
oncall: distributed,triaged,activation-checkpointing
low
Major
2,807,651,637
PowerToys
Mouse Without Borders doesn't forward horizontal scroll
### Microsoft PowerToys version 0.87.1 ### Installation method GitHub ### Running as admin Yes ### Area(s) with issue? Mouse Without Borders ### Steps to reproduce 1. Enable Mouse Without Borders on two devices 1. The primary device with a mouse connected should have a horizontal scroll wheel (like the Logi MX Master 3) 2. Move mouse from primary device to secondary device 3. Try to scroll horizontal content 4. See that nothing happens 1. Shift + Scroll still does horizontal scrolling ### ✔️ Expected Behavior Horizontal scroll wheels should work on secondary device ### ❌ Actual Behavior Horizontal scroll wheels don't work on secondary device ### Other Software _No response_
Issue-Bug,Needs-Triage
low
Minor
2,807,654,229
vscode
Dragging and dropping cells in Python REPL does not work.
Testing microsoft/vscode-python#23484 Using the hand drag icon which appears when hovering next to cells to drag and re-order cells does not work. Consider turning them off for the cells
bug,interactive-window
low
Minor
2,807,668,789
pytorch
Can't properly implement backward method for custom op in C++ when the op takes List of tensors as argument
### 🐛 Describe the bug We have to define our custom ops in C++ because I need to run them in C++ (see https://github.com/pytorch/pytorch/issues/143773). I was able to port most of our custom ops from Python to C++ successfully, except for one case when operation takes inputs as a list of tensors. Below is a short repro illustrating the problem. It crashes with: terminate called after throwing an instance of 'c10::Error' what(): element 0 of tensors does not require grad and does not have a grad_fn Is there a way around it in C++ or do I have to change my custom op to take unrolled list as args ? The list have an optional entry, too. I was following Perplexity advice that the nested gradient list should be returned as unrolled in this case (it also wrote me the code below). But, it looks like we do not even get to backward being called in the first place (no printout for needs_grad). Is there another way to do that? @zou3519 @xmfan @yushangdi @desertfire Same operation defined in Python, works fine with backward returning nested list of gradients: ``` #include <torch/torch.h> #include <vector> #include <iostream> class CustomFunction : public torch::autograd::Function<CustomFunction> { public: // Forward pass static torch::Tensor forward(torch::autograd::AutogradContext *ctx, const std::vector<torch::Tensor>& inputs) { // Save input tensors for backward computation ctx->save_for_backward(inputs); // Example operation: sum all tensors in the list torch::Tensor output = torch::zeros_like(inputs[0]); for (const auto& tensor : inputs) { output += tensor; } return output; } // Backward pass static torch::autograd::variable_list backward(torch::autograd::AutogradContext *ctx, torch::autograd::variable_list grad_outputs) { // Retrieve saved tensors auto saved_inputs = ctx->get_saved_variables(); std::cerr<<"Needs grad: "<<ctx->needs_input_grad(0)<<", "<<ctx->needs_input_grad(1)<<std::endl; // Compute gradients for each input tensor torch::Tensor grad_output = grad_outputs[0]; torch::autograd::variable_list grad_inputs; for (const auto& tensor : saved_inputs) { grad_inputs.push_back(grad_output.clone()); } return grad_inputs; // Return as a flat variable_list } }; int main() { // Create input tensors auto t1 = torch::tensor({1.0}, torch::requires_grad()); auto t2 = torch::tensor({2.0}, torch::requires_grad()); std::vector<torch::Tensor> inputs = {t1, t2}; // Forward pass auto output = CustomFunction::apply(inputs); // Backward pass output.backward(); // Print gradients for (size_t i = 0; i < inputs.size(); ++i) { std::cout << "Gradient for input " << i << ": " << inputs[i].grad() << std::endl; } return 0; } ### Versions Pytorch nightly. cc @jbschlosser @zou3519 @bdhirsh @penguinwu @yf225 @chauhang
module: cpp,triaged,module: custom-operators
low
Critical
2,807,678,438
godot
`print_verbose` makes build fail when `scu_build=yes`
### Tested versions - 4.4.beta ### System information Windows 11 ### Issue description The `print_verbose` macro is causing one of the CI jobs that uses `scu_build=yes` to fail in my PR although I didn't modify the file calling it. https://github.com/godotengine/godot/actions/runs/12934119444/job/36074414239 My local build also fails when I use `scu_build=yes` but works fine otherwise. ```sh [100%] godot\core/debugger/remote_debugger_peer.cpp(172): error C3861: 'print_verbose': identifier not found ``` By the way, it works if I replace it with `WARN_VERBOSE`. ### Steps to reproduce - Checkout https://github.com/godotengine/godot/pull/100516 - I changed calls to `print_verbose` in `core/debugger/remote_debugger_peer.cpp` to `WARN_VERBOSE` to fix CI. Change it back to `print_verbose`. - Build it with `scons scu_build=yes`. ### Minimal reproduction project (MRP) N/A
topic:buildsystem,needs testing
low
Critical
2,807,696,537
flutter
Flutter Web: aria-labelledby must be an available property on all component types (Accessibility)
### Use case The WAI-ARIA property `aria-labelledby` must be available on all Flutter component types/widgets to reference other elements on the page to define an accessible name. ### Proposal Add the WAI-ARIA property `aria-labelledby` to the list of semantics flags on all Flutter component types/widgets. Its value must only be the ID of another text string element on the page (text strings are not a valid value for `aria-labelledby`). Multiple ID's can be listed (each separated by a single space) in order to form a single accessible name. Examples: - `aria-labelledby="text1"` - `aria-labelledby="text1 text2 text3"`
c: new feature,framework,a: accessibility,platform-web,c: proposal,customer: castaway,team-accessibility
low
Minor
2,807,712,717
neovim
`SignChanged` event
### Problem Currently there is no way of acting after sign is added/changed/removed. For example, this is helpful for caching sign data in a particular format to be then efficiently used inside 'statuscolumn'. It is relevant as statuscolumn is evaluated very frequently and doing get-filter-format steps for every drawn line on every redraw seems a bit wasteful (even if getting signs with `vim.api.nvim_buf_get_extmarks()`). ### Expected behavior Add `SignChanged` event. This is similar to `DiagnosticChanged` event and would serve more or less the same purpose. Although this event can in theory be done first in Vim, there is less motivation for it there as 'statuscolumn' is a Neovim-only thing.
column,events
low
Major
2,807,725,961
pytorch
Make debugging flaky tests easier by having relevant logs in one place
## Problem @mikaylagawarecki and I were looking into https://github.com/pytorch/pytorch/issues/81732, a test that has been flaky for a while. Following the "recent examples" of the issue body leads us to https://hud.pytorch.org/flakytest?name=test_non_contiguous_tensors_nn_ConvTranspose1d_cuda_complex32&suite=TestModuleCUDA&file=test_modules.py where thankfully there are many examples of the test being flaky. The intuitive next step is to search for the test failure in the logs, so I search for the test name, to get this awful loop of this test name ~50 times in one line: <img width="1701" alt="Image" src="https://github.com/user-attachments/assets/cc12052b-c8f1-45ab-a6dd-8d539cc9da6a" /> Where are the logs? Where are the failures? I ask @clee2000 who tells me that I have to look into the artifacts, which requires the following steps: 1. Scrolling above that line to see what the artifact name was: <img width="1621" alt="Image" src="https://github.com/user-attachments/assets/d030d47e-4165-4039-91bc-3197b27d7848" /> 2. Remember that somewhere. Now click on the "Commit" link under the workflow to get to the commit page, which has the artifacts. <img width="181" alt="Image" src="https://github.com/user-attachments/assets/28dddb6c-57f2-4836-a24a-8d216de283a6" /> 3. Oh shoot did you forget to remember what job the artifacts was saved under? Go back to that tab and remember the job name: `linux-focal-cuda11.8-py3.10-gcc9-debug / test (default, 5, 7, linux.4xlarge.nvidia.gpu, oncall:debug-build, rerun_disabled_tests)`. Then I searched for that on the commit page. <img width="539" alt="Image" src="https://github.com/user-attachments/assets/781cd7b5-b408-4369-afb9-817946abed77" /> 4. Conveniently, I already knew about the "Show artifacts" button which revealed the above artifacts, of which I download the logs, as those were what we wanted. 5. Open the logfile name from earlier and then start reading the logs. ## Solution: How come the original logviewer had no logs for the failures and reruns like other jobs normally would have? If the logs were in the logviewer on the flaky test page, steps 1-5 above would not be necessary. cc @ZainRizvi @kit1980 @huydhn @clee2000
triaged,module: devx
low
Critical
2,807,726,620
ollama
When LLM generates empty string response, `eval_duration` is missing.
### What is the issue? I noticed that ollama sometimes produces responses where `eval_duration` is missing. I've seen it happen with the response is simply an empty string -- just the stop message for a streaming response. To reproduce: ```bash curl http://localhost:11434/api/chat -d \ '{"model":"llama3.2:3b","options":{"temperature":0},"messages":[ {"content":"If the user asks you to say nothing, simply respond with an empty string.","role":"system"}, {"content":"say nothing","role":"user"} ]}' ``` This is the response I get: ```json {"model":"llama3.2:3b","created_at":"2025-01-23T19:17:22.121346Z","message":{"role":"assistant","content":""},"done_reason":"stop","done":true,"total_duration":141674875,"load_duration":13300000,"prompt_eval_count":43,"prompt_eval_duration":127000000,"eval_count":1} ``` Notice that `eval_duration` is missing. This causes problems with some code that we're using which expects that field to be present. ### OS macOS ### GPU Apple ### CPU Apple ### Ollama version 0.5.7
bug
low
Minor
2,807,733,549
bitcoin
Bug: Non-Ranged Descriptors with Range [0,0] Trigger Unexpected Wallet Errors in `AddWalletDescriptor`
**Summary:** When attempting to add a **non-ranged** descriptor with a start/end range of `[0,0]` via `AddWalletDescriptor`, an error may appear: ``` UpdateWalletDescriptor: new range must include current range = [0,0]. ``` This is unexpected for a non-ranged descriptor, as `[0,0]` should effectively mean “no range.” In some cases, changing the end to `1` (i.e. `[0,1]`) circumvents the issue, but that implies a single-index range rather than a truly non-ranged descriptor. Further debugging revealed this seems tied to: 1. **Multiple calls** to `AddWalletDescriptor` for the same descriptor. 2. **Internal handling of descriptor ranges** (the wallet expects a valid range for ranged descriptors, but still enforces checks on `start/end` even if the descriptor is meant to be non-ranged). 3. A possible **bug in `UpdateWalletDescriptor`** when it encounters repeated or zero-width ranges. **What was expected:** - Specifying `[0,0]` for a non-ranged descriptor (or not specifying a range at all) should *not* fail. - A truly non-ranged descriptor should not require these range checks. - `AddWalletDescriptor` should be idempotent **What actually happens:** - Repeatedly adding a descriptor (or calling it in a way that triggers `UpdateWalletDescriptor`) with `[0,0]` can cause the wallet to complain that the “new range must include current range = [0,0]”. **Why this matters:** - Non-ranged descriptor workflows should be consistent and should not require a dummy range. - The wallet code should either cleanly ignore range parameters for non-ranged descriptors or handle a `[0,0]` range gracefully. **Proposed fix or investigation:** - Review `AddWalletDescriptor` and `UpdateWalletDescriptor` logic to ensure zero-width (`[0,0]`) or absent ranges are handled properly for non-ranged descriptors. - Confirm if the internal code should treat `[0,0]` as a valid non-ranged descriptor or if that scenario should simply be disallowed/ignored in favor of no range parameters at all. - Add tests to cover repeatedly adding the same descriptor and verifying correct behavior for non-ranged descriptors. - Change the wallet::WalletDescriptor to have `std::optional<std::pair<start,end>>` to differentiate unranged v.s. empty ranged descriptors. This appears to be a minor bug, but it can lead to confusion and error messages when using or experimenting with non-ranged descriptors in custom wallet workflows.
Wallet
low
Critical
2,807,739,027
flutter
Install > Linux > Download & install requires git clone
### Steps to reproduce @ArrODevv created a doc ticket for this issue, but it looks like there might be an issue with the contents of the file that was downloaded. Here is his original bug report: https://docs.flutter.dev/get-started/install/linux/android#download-then-install-flutter On the page listed above, there is a download link for a .tar.xz and every time (2 times to be precise) I install flutter from this file, flutter doctor complains that the directory should be a git clone of [flutter/flutter](https://github.com/flutter/flutter). After cloning said repo it immediately worked. It's not a fatal issue, but it does decrease user comfort. More details here: https://github.com/flutter/website/issues/11498 ### Expected results After Flutter SDK downloaded, using the `.tar.xz` link, flutter doctor should not flag the project because it's not a clone of flutter/flutter. ### Actual results After Flutter SDK downloaded, using the `.tar.xz` link, no errors with flutter doctor. ### Code sample n/a (download issue) ### Screenshots or Video _No response_ ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output n/a (reporting for another developer)
waiting for customer response,in triage
low
Critical
2,807,741,707
vscode
Windows Jump List Customizations
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> When using VSCode in windows with it pinned to the taskbar, you can right click it for a jump list. But this jump list can be really confusing. For example I often have cross platform solutions that build on windows and linux. I have it checked out to the same Dev Drive (the windows dev drive feature) and that same dev drive is available in WSL2 under /mnt/driveHere. So I will work on the same git code in two separate visual studio code instances (one opened directly on windows off the dev drive) and the other opened from WSL2 Extension directly off the same dev drive and same code files. However the jump list will show "foldernamehere" for both of them, so if the folder is called "vise" I will just see two "vise" entries, one from windows and one from wsl2. I have to hover over them to see if its "vscode-remote/..ubuntu..." etc to know it's in wsl2. What I would prefer is if in the "settings.json" in the ".vscode" folder I can put an expression to control the title of jump list entries. So I could make it do "${workspaceFolder} - ${envName}" or something like that. But I would settle for icons "foldernamehere - windows icon" or "foldernamehere - wsl2 icon" etc. But this problem also occurs with git worktrees. If I have the same project checked out in 5 different git worktrees each on a different branch, they all show up in jump list as "projectfolderhere". So i.e I might see 5 "Thing.WebSite" entries... So the ability to use expressions in vscode settings would be nice and if I could have expressions for git like "${rootWorkspaceFolder} - ${envName} | ${gitBranchName}" I really enjoy the windows 11 taskbar, pinning things, and the jump lists, it's really handy and time saving for opening things, but it would be a lot better if I could put more details in the jump lists. This could be a windows limitation that isn't controllable by VSCode, but thought I'd inquire. Looking into the windows api a little I think this would involve disabling the recently added jump list and creating custom entries with IShellLink etc.
feature-request,windows,workbench-history
low
Minor
2,807,741,863
ollama
JSON With Ollama Library Contents
Would it be possible to add a JSON object that reflects all models contained in the library? I would prefer not to scrape against /search. It could have info from the model card in the search, and the more specific info about it contained found on library/model_name. It would be nice for many reasons - UI Ollama Model Manager, matching model names with size modifiers {model_name}:{size}, which could then be supplemented by external information about the models w RAG and scraping, user testimonials, and parsed/organized by an LLM for guided iteration.
feature request
low
Minor
2,807,758,046
flutter
TabBar broken animation
### Steps to reproduce TabBar indicator animation is broken. ### Expected results Tab bar indicator should animate without jumping out of selected tab ### Actual results Tab bar indicator is jumping out of selected tab ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const TabBarDemo()); } class TabBarDemo extends StatelessWidget { const TabBarDemo({super.key}); @override Widget build(BuildContext context) { return MaterialApp( home: DefaultTabController( length: 5, child: Scaffold( appBar: AppBar( bottom: const TabBar( isScrollable: true, indicatorAnimation: TabIndicatorAnimation.linear, tabs: [ Tab(icon: Icon(Icons.directions_car)), Tab(icon: Icon(Icons.directions_transit)), Tab(icon: Icon(Icons.directions_bike)), Tab(icon: Icon(Icons.directions_boat)), Tab(icon: Icon(Icons.directions_off)), ], ), title: const Text('Tabs Demo'), ), body: const TabBarView( children: [ Icon(Icons.directions_car), Icon(Icons.directions_transit), Icon(Icons.directions_bike), Icon(Icons.directions_boat), Icon(Icons.directions_off), ], ), ), ), ); } } ``` </details> ### Screenshots or Video <details open> <summary>Screenshots / Video demonstration</summary> [[Upload media here]](https://github.com/user-attachments/assets/f89226e6-d63e-482a-8115-48bd4a130713) </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 stable, 3.27.3, on macOS 15.1.1 24B91 darwin-arm64) • Flutter version 3.27.3 on channel stable at /Users/igos/fvm/versions/3.27.3 • Upstream repository https://github.com/flutter/flutter.git • Framework revision c519ee916e (2 days ago), 2025-01-21 10:32:23 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/igos/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • ANDROID_HOME = /Users/igos/Library/Java/JavaVirtualMachines/temurin-17.0.10/Contents/Home/bin:/opt/homebrew/Cellar/ruby/3.3.5/bin:/opt/homebrew/sbin:/opt/homebrew/bin:/opt/local/bin:/opt/local/s bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.securit y.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/igos/.orbstack/bin:/Users /igos/fvm/versions/3.27.3/bin:/Users/igos/Library/Android/sdk/platform-tools/:/Users/igos/Downloads/firebase_tools:/Users/igos/.npm-global/bin:/Users/igos/.pub-cache/bin:/Users/ig os/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.4+-12422083-b607.1) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.2) • 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 21.0.4+-12422083-b607.1) [✓] IntelliJ IDEA Ultimate Edition (version 2024.3.2) • IntelliJ at /Applications/IntelliJ IDEA.app • Flutter plugin version 83.0.4 • Dart plugin version 243.23654.44 [✓] Connected device (4 available) • iPhone 15 Plus (mobile) • 7A74CCA9-9E4F-40AE-84E2-448EFABF3C0B • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 15.1.1 24B91 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.1.1 24B91 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.265 ! Error: Browsing on the local area network for Dev’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
c: regression,framework,f: material design,team-design
low
Critical
2,807,789,501
vscode
process.report.getReport is very slow when called in Extension Host, blocks most functionality
<!-- ⚠️⚠️ 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/No <!-- 🪓 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. --> Version: 1.97.0-insider (user setup) Commit: cc14c75c962284dfd2e2493dd487e3b81fb15d23 Date: 2025-01-23T10:37:55.126Z Electron: 32.2.7 ElectronBuildId: 10660205 Chromium: 128.0.6613.186 Node.js: 20.18.1 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.26100 Steps to Reproduce: 1. Clone https://github.com/jakebailey/vscode-getreport-issue 2. Run the extension 3. Run the "Hello World" command 4. Attempt to do anything with the editor ![Image](https://github.com/user-attachments/assets/8204f381-14e1-4088-bb33-74208c27ee9f) I discovered this as part of https://github.com/dprint/dprint-vscode/pull/99; for months my editor has been unresponsive at startup, unable to hover or even copy and paste now that there are paste providers, and this particular call is the culprit. If I run Node directly, or call VS Code "as node", it does not exhibit these problems. My impression is that this has to do with VS Code patching all of the networking calls, since unfortunately `getReport` calls to the network (even though effectively all users use it to check if libc is musl or not). Related: https://github.com/nodejs/node/issues/55576
bug,upstream,freeze-slow-crash-leak,linux,windows,extension-host,nodejs,confirmed,upstream-issue-linked
low
Critical
2,807,791,784
flutter
[flutter_svg] Rendering issues with shields.io badges
### Steps to reproduce 1. Load a shields.io badge using `flutter_svg` 2. See the text/logo image are gigantic or not properly visible ### Expected results The badge displays the same as when rendered outside of Flutter ![](https://img.shields.io/pub/dm/puby?logo=dart) ### Actual results The badge background renders fine, but the text is gigantic and the logo is not visible I tried playing with the `width`, `height`, and `theme` attributes to no avail. I got close when directly modifying the SVG string to have a smaller text size, but it still doesn't look quite right, and I could never get the logo to show. <img width="1312" alt="Image" src="https://github.com/user-attachments/assets/8069d8ab-cfde-418b-bbac-328918c3253e" /> ### Code sample <details open><summary>Code sample</summary> ```dart SvgPicture.network('https://img.shields.io/pub/dm/puby?logo=dart') ``` </details> ### Screenshots or Video _No response_ ### Logs _No response_ ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel beta, 3.28.0-0.1.pre, on macOS 15.3 24D60 darwin-arm64, locale en-US) • Flutter version 3.28.0-0.1.pre on channel beta at /Users/rexios/fvm/versions/beta • Upstream repository https://github.com/flutter/flutter.git • Framework revision 3e493a3e4d (6 weeks ago), 2024-12-12 05:59:24 +0900 • Engine revision 2ba456fd7f • Dart version 3.7.0 (build 3.7.0-209.1.beta) • DevTools version 2.41.0 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/rexios/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Applications/Android Studio Preview.app/Contents/jbr/Contents/Home/bin/java This is the JDK bundled with the latest Android Studio installation on this machine. To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`. • Java version OpenJDK Runtime Environment (build 21.0.5+-12771278-b631.28) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.3.1) • Android Studio at /Applications/Android Studio Preview.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 21.0.5+-12771278-b631.28) [✓] VS Code (version 1.96.4) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.102.0 [✓] Connected device (4 available) • Aaron’s iPhone (mobile) • 00008140-001E59EE3C0B001C • ios • iOS 18.2.1 22C161 • macOS (desktop) • macos • darwin-arm64 • macOS 15.3 24D60 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.3 24D60 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 132.0.6834.110 ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27) [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
package,has reproducible steps,team-engine,found in release: 3.27,p: flutter_svg,found in release: 3.28
low
Critical
2,807,794,876
tauri
[bug] [windows] invoking commands causes crash.
### Describe the bug I have an application that exports many commands with structs as arguments. Unfortunately, on Windows machines, the application crashes after the first execution of the any command with the error: ``` thread 'main' has overflowed its stack error: process didn't exit successfully: `target\debug\tauri-commands-crash.exe` (exit code: 0xc00000fd, STATUS_STACK_OVERFLOW) ``` The same code is working on OSX. I prepared a repository that shows crash: https://github.com/singerxt/tauri-command-crash ### Reproduction 1. On a Windows machine, pull repository https://github.com/singerxt/tauri-command-crash 2. `cd tauri-cmmand-crash && pnpm i` 3. Run application dev mode `pnpm tauri dev` 4. Fill in the visible input for the name and click the button 5. Notice crash. ### Expected behavior The application will not crash. ### Full `tauri info` output ```text [✔] Environment - OS: Windows 10.0.17763 x86_64 (X64) ✔ WebView2: 131.0.2903.146 ✔ MSVC: - Visual Studio Build Tools 2022 - Visual Studio Community 2022 ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04) ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: 1.81-x86_64-pc-windows-msvc (default) - node: 20.15.1 - pnpm: 9.6.0 - npm: 10.7.0 [-] Packages - tauri �: 2.2.3 - tauri-build �: 2.0.5 - wry �: 0.48.1 - tao �: 0.31.1 - @tauri-apps/api : 2.2.0 - @tauri-apps/cli : 2.2.5 [-] Plugins - tauri-plugin-opener �: 2.2.3 - @tauri-apps/plugin-opener : 2.2.5 [-] App - build-type: bundle - CSP: unset - frontendDist: ../dist - devUrl: http://localhost:1420/ - framework: React - bundler: Vite ``` ### Stack trace ```text Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s Running `target\debug\tauri-commands-crash.exe` thread 'main' has overflowed its stack error: process didn't exit successfully: `target\debug\tauri-commands-crash.exe` (exit code: 0xc00000fd, STATUS_STACK_OVERFLOW)  ELIFECYCLE  Command failed with exit code 3221225725. ``` ### Additional context 1. The issue will not happen if you delete the struct argument from commands. 2. The issue is not happening if you export less then 50 commands (even with struct in argument) 3. The issue is not happening with release builds only debug is affected.
type: bug,priority: 1 high,status: needs triage
low
Critical
2,807,797,776
go
x/pkgsite: package removal request for github.com/idrunk/dce-go
Hello, There is a problem with the planning of my module, please help me delete it. Additionally, after deletion, can I re index it? Thank you!
WaitingForInfo,pkgsite,pkgsite/package-removal
low
Minor
2,807,805,440
PowerToys
Unexpected behaviour - Keyboard Shortcut
### Microsoft PowerToys version 0.87.1 ### Installation method GitHub ### Running as admin No ### Area(s) with issue? Keyboard Manager ### Steps to reproduce Using Spanish language on the PC (ES-mx) Make new keyboard shortcut: [Control (left)] + [. (dot)] ===> ["<" key] Make new keyboard shortcut: [Control (left)] + [, (comma)] ===> [Shift (left)] + ["<" key] ![The shortcuts](https://github.com/user-attachments/assets/8643796a-e685-4eff-bdd6-9597b1a67b20) Go to any text input, inside or outside PowerToys, notepad for example (any text input works) Holding Control, click ",.,.,.,.,.,.,.,.,.," (dot, comma, dot, comma, etc) Fast or slow, both work, as long as you hold Control ### ✔️ Expected Behavior Expected: Actually to write <><><><><><><><><><> instead of <><.,.,.,.,.,., ### ❌ Actual Behavior It writes "<><,.,.,.,." Note that after three "<" or so, it stops working and starts writing dots and commas instead of the shortcut i set. ### Other Software Any text input on any software. Tested on: Windows Notepad 11.2410.21.0 Firefox 134.0.2 (64-bit)
Issue-Bug,Needs-Triage
low
Major
2,807,806,578
flutter
[FGP Kotlin conversion] Convert `dependency_version_checker.gradle.kts`
Convert `packages/flutter_tools/gradle/src/main/kotlin_scripts/dependency_version_checker.gradle.kts` from Kotlin script to Kotlin source, including renaming and moving to `packages/flutter_tools/gradle/src/main/kotlin/DependencyVersionChecker.kt`. We do some fragile reflection in this script that will likely need to be removed as part of the conversion, because it depends on using Groovy's dynamic dispatch. From a brief look, it should now be possible to do something like ``` import com.android.build.api.AndroidPluginVersion ... AndroidPluginVersion.getCurrent() // The AGP version com.android.build.gradle.internal.utils.getKotlinAndroidPluginVersion(project) // The Kotlin version project.gradle.gradleVersion // The Gradle version JavaVersion.current() // The Java version ``` Though pointing at a method that has "internal" as part of its class path is suspicious! Weird that it is possible! Then modify it's usage in `flutter.groovy` to no longer be applied as a script, just used as a class.
P1,team-android,triaged-android
medium
Minor
2,807,806,820
vscode
File level Diagnostic reporting
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> I would like to supply file level diagnostics, eg ```typescript const diagnosticsCollection = languages.createDiagnosticCollection("Datapath Lint"); // Applies to entire file, no line number/range is applicable diagnosticCollection.set(uri, new Diagnostic( message, DiagnosticSeverity.Error, )); ``` Instead of ```typescript const diagnosticsCollection = languages.createDiagnosticCollection("Datapath Lint"); diagnosticCollection.set(uri, new Diagnostic( range, message, DiagnosticSeverity.Error, )); ``` Currently, the workaround I am using is ```typescript const diagnosticsCollection = languages.createDiagnosticCollection("Datapath Lint"); diagnosticCollection.set(uri, new Diagnostic( new Range(0, 0, 0, 0), message, DiagnosticSeverity.Error, )); ``` This enables the issue to show up in the Problems tab, but does not look very sophisticated in the file itself. The issue is the underlying linter I am using to generate the diagnostics does not support reporting the line numbers generating the errors. Thank you, Patrick
feature-request,languages-diagnostics
low
Critical
2,807,819,754
flutter
☂️ [FGP Kotlin conversion] Umbrella bug to track conversion progress
### Core FGP classes - [ ] `Deeplink` and `IntentFilterCheck` - https://github.com/flutter/flutter/pull/161835 - [ ] `FlutterExtension` - https://github.com/flutter/flutter/issues/162105 - [ ] `AppLinkSettings` - https://github.com/flutter/flutter/issues/162107 - [ ] `BaseFlutterTask` - https://github.com/flutter/flutter/issues/162111 - [ ] `FlutterTask` - https://github.com/flutter/flutter/issues/162112 - [ ] `FlutterPlugin` - https://github.com/flutter/flutter/issues/162109 ### Scripts - [x] `BaseApplicationNameHandler` (formerly `packages/flutter_tools/gradle/src/main/kotlin/flutter.gradle.kts`) - https://github.com/flutter/flutter/pull/155963 - [ ] `dependency_version_checker.gradle.kts` - https://github.com/flutter/flutter/issues/162102 - [ ] `app_plugin_loader.groovy` and `native_plugin_loader.groovy` - https://github.com/flutter/flutter/pull/161352/ Notes: - Groovy code may depend on Kotlin code, but not vice versa (the current situation is supported only by making our Groovy compilation [depend on our Kotlin compilation in the task order](https://github.com/flutter/flutter/pull/155963/files#diff-ae92bcaacb0ebf4ee1c5342fe779be86c33a783cc386bb8d6d0d38bbcc96707dR23). This means that our order of conversion is strictly determined by our order of dependency: if `ClassA` depends on `ClassB` depends on `ClassC`, we must convert exactly in the order `ClassC`, `ClassB`, `ClassA`. - `FlutterExtension` and `AppLinkSettings` should both be pretty straightforward, may be worth picking up together.
P1,team-android,triaged-android
medium
Critical
2,807,819,918
rust
Large const allocations no longer lead to graceful errors on aarch64
I just spun up an aarch64 (c6g.metal) instance to look at codegen, and I noticed that two of our UI tests do not pass: ``` [ui] tests/ui/consts/large_const_alloc.rs [ui] tests/ui/consts/promoted_running_out_of_memory_issue-130687.rs ``` I can reduce one of the failing tests to this: ```rust #![crate_type = "lib"] pub const FOO: &[u8] = &[0_u8; (1 << 47) - 1]; ``` If I am on an x86_64 host targeting aarch64-unknown-linux-gnu, using stable or nightly, this will immediately fail to compile with: ``` error[E0080]: evaluation of constant value failed --> demo.rs:2:25 | 2 | pub const FOO: &[u8] = &[0_u8; (1 << 47) - 1]; | ^^^^^^^^^^^^^^^^^^^^^ tried to allocate more memory than available to compiler error: aborting due to 1 previous error ``` If my host is aarch64-unknown-linux-gnu using stable, I also get that diagnostic. But nightly toolchains on an aarch64 host allocate more and more memory, eventually dying with SIGKILL. Bisection points to https://github.com/rust-lang/rust/pull/135262 as the cause, which suggests that this is a miscompile. searched nightlies: from nightly-2024-01-01 to nightly-2025-01-23 regressed nightly: nightly-2025-01-13 searched commit range: https://github.com/rust-lang/rust/compare/eb54a50837ad4bcc9842924f27e7287ca66e294c...48a426eca9df23b24b3559e545cf88dee61d4de9 regressed commit: https://github.com/rust-lang/rust/commit/c0f6a1ce3f89a3240efe5c83839675e20f84e001 <details> <summary>bisected with <a href='https://github.com/rust-lang/cargo-bisect-rustc'>cargo-bisect-rustc</a> v0.6.9</summary> Host triple: aarch64-unknown-linux-gnu Reproduce with: ```bash cargo bisect-rustc --script script.sh --start 2024-01-01 ``` </details> This is worth further investigation. Of course it is plausible that a change to the CI configuration would alter the build artifacts from CI, but bisecting a test failure from a stage1 and stage2 toolchain to a CI change is odd.
regression-from-stable-to-nightly,T-compiler,C-bug,I-prioritize
low
Critical
2,807,832,281
flutter
[FGP Kotlin conversion] Convert `FlutterExtension`
Pull `FlutterExtension` out of `src/main/groovy/flutter.groovy` and into its own class (`src/main/Kotlin/FlutterExtension.kt`)
P1,team-android,triaged-android
medium
Minor
2,807,833,101
godot
ResourceSaver.save() not working when the resource has custom class properties
### Tested versions Godot v4.3.stable - Arch Linux ### System information Godot v4.3.stable - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Sat, 18 Jan 2025 02:26:52 +0000 - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 7700 XT (RADV NAVI32) - AMD Ryzen 7 5700X 8-Core Processor (16 Threads) ### Issue description If a resource that has export variables with custom class types those properties are not loaded properly with load() (Previously saved with ResourceSaver). Seems to be related to https://github.com/godotengine/godot/issues/32856 ### Steps to reproduce - Make 2 custom resources - Have one of them have a variable with the other one as its type - Save the first resource - Load it back - See that the custom class property didn't load correctly ### Minimal reproduction project (MRP) [resourcesaverbugreproduction.zip](https://github.com/user-attachments/files/18526534/resourcesaverbugreproduction.zip)
bug,topic:core
low
Critical
2,807,837,355
excalidraw
Weird canvas blinking behaviour when changing from light to dark mode
Here's a video of the issue: ![Image](https://github.com/user-attachments/assets/7a2d1f04-ee9e-4da8-9ae2-0a46e2ee2dae) This issue consistently occurs when I switch from light mode to dark mode (or vice versa) and then move around any shape or group of shapes. Refreshing the browser seems to fix it. I tested this on both Brave and Chrome on excalidraw.com, and the problem is present in both browsers. This seems like a niche bug, but I thought it was worth reporting anyway.
bug,dark-theme
low
Critical
2,807,839,143
flutter
[FGP Kotlin conversion] Convert `AppLinkSettings`
Pull `AppLinkSettings` out of `src/main/groovy/flutter.groovy` and into its own class (`src/main/Kotlin/AppLinkSettings.kt`)
P1,team-android,triaged-android
medium
Minor
2,807,847,987
vscode
Paste no longer works with Electron >= 32.3.0
Type: <b>Bug</b> Neither right-click:paste or ctrl-v:paste work anymore for text copying. All other actions seem to work fine including copy. It is to note that right-click:paste works within the terminal window but nowhere else. I uninstalled VScode and removed all preferences/settings yet the problem persists on a fresh build. My only workaround so far is by using the clipboard-master extension and binding the default ctrl-v key. However, while this allows me to paste inside my files, it does not work anywhere else within VScode. VS Code version: Code - OSS 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-17T08:53:36.849Z) OS version: Linux x64 6.12.10-zen1-1-zen Modes: <details> <summary>System Info</summary> |Item|Value| |---|---| |CPUs|AMD Ryzen 7 5700X 8-Core Processor (16 x 4648)| |GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<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: disabled_software<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off<br>webnn: disabled_off| |Load (avg)|1, 0, 0| |Memory (System)|31.27GB (28.44GB free)| |Process Argv|| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|xfce| |XDG_CURRENT_DESKTOP|XFCE| |XDG_SESSION_DESKTOP|xfce| |XDG_SESSION_TYPE|x11| </details> <!-- generated by issue reporter -->
bug,upstream,electron,electron-32-update
high
Critical
2,807,848,668
flutter
[FGP Kotlin conversion] Convert `FlutterPlugin`
Pull `FlutterPlugin` out of `src/main/groovy/flutter.groovy` and into its own class (`src/main/Kotlin/FlutterPlugin.kt`). Also, delete `flutter.groovy`, as this will need to be the last class (it depends on all the other classes in `flutter.groovy`, and we can only have Groovy code depend on Kotlin code (not vice versa) because of limitations of Gradle. This will likely be significantly more difficult than other pieces of `flutter.groovy`. We may need to break out functionality into some new utils classes, if it is looking intractable to do it as one conversion.
P1,team-android,triaged-android
medium
Minor
2,807,855,167
pytorch
use_const_ref_for_mutable_tensors doesn't work with out= overloads
### 🐛 Describe the bug Repro: ``` import torch from torch._subclasses.fake_tensor import FakeTensorMode from torch._dispatch.python import enable_python_dispatcher from torch.fx.experimental.symbolic_shapes import ShapeEnv, DimDynamic, SymNode from torch import SymInt import torch._dynamo def f(): shape_env = ShapeEnv() s0 = 5 s1 = 6 s2 = 7 s3 = 3 s4 = 10 s5 = 2 x = torch.randn(s0, s1, s2) out = torch.randn(s0, s3, s4) kwargs = { 's': (s3, s4), 'dim': (1, s5), 'norm': 'ortho', } from torch.fx.experimental.proxy_tensor import make_fx r = torch._C._fft.fft_hfft2(x, **kwargs, out=out) assert r.shape == out.shape, r.shape #print("real") #f() print("fake") with FakeTensorMode(): f() ``` First, we observe that fft_hfft2 uses `use_const_ref_for_mutable_tensors`: ``` - func: fft_hfft2.out(Tensor self, SymInt[1]? s=None, int[1] dim=[-2,-1], str? norm=None, *, Tensor(a!) out) -> Tensor(a!) use_const_ref_for_mutable_tensors: True python_module: fft variants: function dispatch: CompositeImplicitAutograd: fft_hfft2_symint_out ``` This means the signature of fft_hfft2_symint_out is: ``` const Tensor& fft_hfft2_symint_out( const Tensor& self, at::OptionalSymIntArrayRef s, IntArrayRef dim, std::optional<std::string_view> norm, const Tensor& out) { ``` Now, consider how we implement this signature in aten/src/ATen/core/boxing/impl/boxing.h : ``` // 3.5. In-process migration to make in-place ops take and return // const references instead. template <class... OtherArgs> struct BoxedKernelWrapper< const at::Tensor&(const at::Tensor&, OtherArgs...), std::enable_if_t<can_box_all<OtherArgs...>::value, void>> { static const at::Tensor& call( const BoxedKernel& boxed_kernel_func, const OperatorHandle& opHandle, DispatchKeySet dispatchKeySet, const at::Tensor& outArg, OtherArgs... otherArgs) { torch::jit::Stack stack = boxArgs(outArg, otherArgs...); boxed_kernel_func.callBoxed(opHandle, dispatchKeySet, &stack); TORCH_INTERNAL_ASSERT_DEBUG_ONLY( stack.size() == 1, "Boxed kernel was expected to return a single value on the stack, ", "but instead returned ", stack.size(), " values."); return outArg; } }; ``` Our signature will match the boxing rule for inplace arguments, because it returns a const Tensor&, and the first argument is a const Tensor&. This means we will return self, rather than out, as the return argument. I think it is fundamentally impossible to solve this problem as there as an ambiguity as to whether or not the function signature is an out signature or an inplace one, we don't specify this in the function signature. A dedicated "Out" struct that wraps tensor reference could help. But an easy WAR is to stop using the modern const Tensor& style for these out functions. ### Versions main cc @chauhang @penguinwu @zou3519 @bdhirsh @yf225
triaged,module: pt2-dispatcher
low
Critical
2,807,868,061
flutter
[FGP Kotlin conversion] Convert `BaseFlutterTask`
Pull `BaseFlutterTask` out of `src/main/groovy/flutter.groovy` and into its own class (`src/main/Kotlin/BaseFlutterTask.kt`).
P1,team-android,triaged-android
medium
Minor
2,807,872,029
flutter
[FGP Kotlin conversion] Convert `FlutterTask`
Pull `FlutterTask` out of `src/main/groovy/flutter.groovy` and into its own class (`src/main/Kotlin/FlutterTask.kt`). Depends on https://github.com/flutter/flutter/issues/162111.
platform-android,c: proposal,P1,team-android,triaged-android
medium
Minor
2,807,877,150
deno
Deno compile should never include the specified output executable in itself
Run this twice: ``` > deno compile --include . main.js // ...ok... > deno compile --include . main.js Compile file:///V:/scratch/main.js to scratch.exe error: Writing deno compile executable to temporary file 'scratch.exe.tmp-619f5e5217cfea84' Caused by: 0: Including V:\scratch\scratch.exe 1: Reading V:\scratch\scratch.exe 2: The system cannot find the file specified. (os error 2) ``` Version: Deno 2.1.6
compile
low
Critical
2,807,885,788
go
cmd/go: GO111MODULE=off is treated as as GODEBUG=default=go1.20
### Go version go version go1.23.4 linux/amd64 ### Output of `go env` in your module/workspace: ```shell GO111MODULE='' GOARCH='amd64' GOBIN='' GOCACHE='/root/.cache/go-build' GOENV='/root/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/go' GOPRIVATE='' GOPROXY='https://proxy.golang.org,direct' GOROOT='/usr/local/go' GOSUMDB='sum.golang.org' GOTMPDIR='' GOTOOLCHAIN='local' GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.23.4' GODEBUG='' GOTELEMETRY='local' GOTELEMETRYDIR='/root/.config/go/telemetry' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/src/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 -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2806843945=/tmp/go-build -gno-record-gcc-switches' ``` ### What did you do? i am running an application which uses a net/http.ServeMux with pattern features introduced with golang1.22 (e.g. `http.HandleFunc("/{$}" ...` to handle only requests for `GET / HTTP/XXX`) building the application with `GO111MODULE=off` causes the application to respond with `404 page not found` for requests which would otherwise be handled when running the application with `GO111MODULE=on`. i have provided a [simple reproducer](https://go.dev/play/p/BL1AWUIYUYK) ### What did you see happen? > GO111MODULE=off go run . in another terminal > curl -s 'http://localhost:8080/%7B%24%7D' > ok > curl -s 'http://localhost:8080/{$}' > 404 page not found > curl -s http://localhost:8080/ > 404 page not found > GO111MODULE=on go run . in another terminal > curl -s 'http://localhost:8080/%7B%24%7D' > 404 page not found > curl -s 'http://localhost:8080/{$}' > 404 page not found > curl -s http://localhost:8080/ > ok the request against the `/{$}` path is expected to yield a 404; i have included it for the sake of completeness `%7B%24%7D` is the URL encoded notation of `{$}` ### What did you expect to see? i was expecting the golang1.22 net/http changes to be available regardless of the use of `GO111MODULE=off`. AFAIK this environment variable affects the code lookup and the compiler's expectations about the project layout and location. i did not expect it to downgrade/disable any language features.
NeedsInvestigation,BugReport
low
Critical
2,807,888,171
vscode
Code not being read correctly
The terminal keeps returning a result from a code block done previously . It isn't reading the next new code bloc Version: 1.96.3 Commit: 91fbdddc47bc9c09064bf7acf133d22631cbf083 User Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Embedder: codespaces <!-- generated by web issue reporter -->
info-needed,terminal
low
Minor
2,807,890,661
pytorch
Module.to() fail in dynamo when swap_module_params_on_conversion is true
### 🐛 Describe the bug Repro: ``` import torch from torch import nn torch.__future__.set_swap_module_params_on_conversion(True) @torch.compile def use_emb(): emb = nn.Embedding(16, 8) emb.weight.grad = torch.randn_like(emb.weight) emb.to(dtype=torch.bfloat16) # emb.weight.to(dtype=torch.bfloat16) # emb.weight.grad.to(dtype=torch.bfloat16) use_emb() ``` Error messages: ``` (pytorch) [[email protected] ~/ws/pytorch (reset-dynamo-cache)]$ python ~/x.py Compiled module path: /tmp/torchinductor_shunting/23/c23zg53biko6duc2zqhiic2qwydrsnct3cjd6izouxtkfa4xathn.py Traceback (most recent call last): File "/home/shunting/ws/pytorch/torch/nn/modules/module.py", line 958, in _apply torch.utils.swap_tensors(param, param_applied) File "/home/shunting/ws/pytorch/torch/utils/__init__.py", line 51, in swap_tensors raise RuntimeError("Cannot swap t1 because it has weakref associated with it") RuntimeError: Cannot swap t1 because it has weakref associated with it The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/shunting/x.py", line 15, in <module> use_emb() File "/home/shunting/ws/pytorch/torch/_dynamo/eval_frame.py", line 566, in _fn return fn(*args, **kwargs) File "/home/shunting/x.py", line 8, in use_emb emb = nn.Embedding(16, 8) File "/home/shunting/x.py", line 11, in torch_dynamo_resume_in_use_emb_at_8 emb.to(dtype=torch.bfloat16) File "/home/shunting/ws/pytorch/torch/nn/modules/module.py", line 1353, in to return self._apply(convert) File "/home/shunting/ws/pytorch/torch/nn/modules/module.py", line 962, in _apply raise RuntimeError( RuntimeError: _apply(): Couldn't swap Embedding.weight ``` Most test failures exposed by https://github.com/pytorch/pytorch/pull/145306/files should have similar error stack. Here is a even simpler repro without nn.Module: ``` import torch from torch import nn import os x = torch.randn(5, requires_grad=True) if os.environ.get("DBG") == "1": import weakref g_id_x = id(x) orig_ref = weakref.ref class MyRef(orig_ref): def __init__(self, obj, *args, **kwargs): if id(obj) == g_id_x: breakpoint() super().__init__(obj, *args, **kwargs) weakref.ref = MyRef @torch.compile def f(x): y = x.to(dtype=torch.bfloat16) torch.utils.swap_tensors(x, y) f(x) ``` Dynamo would keep weakref to tensors when interpreting byte-code or creating guards. `torch.utils.swap_tensors` will fail if there are weakref's to input tensors. ### Versions . cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @amjames
triaged,oncall: pt2,module: dynamo
low
Critical
2,807,901,628
yt-dlp
[Feature request] knowledgekids.ca support
### 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 a new site support request - [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 none of provided URLs [violate any copyrights](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#is-the-website-primarily-used-for-piracy) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge - [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) - [x] 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 am willing to share it if required ### Region Canada ### Example URLs - Playlist: https://www.knowledgekids.ca/videos/paw-patrol - Single Video: https://www.knowledgekids.ca/videos/paw-patrol/s11/e1/pups-save-teetering-tower-pups-save-spelunkers ### Provide a description that is worded well enough to be understood Canadian Kids TV Network. No account required, geolocked to canada. ### Provide verbose output that clearly demonstrates the problem - [x] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`) - [x] 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://www.knowledgekids.ca/videos/paw-patrol/s11/e1/pups-save-teetering-tower-pups-save-spelunkers'] [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8 [debug] yt-dlp version [email protected] from yt-dlp/yt-dlp [c8541f8b1] (pip) [debug] Python 3.13.1 (CPython AMD64 64bit) - Windows-11-10.0.26100-SP0 (OpenSSL 3.0.15 3 Sep 2024) [debug] exe versions: none [debug] Optional libraries: certifi-2024.12.14, curl_cffi-0.7.4 (unsupported), requests-2.32.3, sqlite3-3.45.3, urllib3-2.3.0 [debug] Proxy map: {} [debug] Request Handlers: urllib, requests [debug] Loaded 1837 extractors [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest Latest version: [email protected] from yt-dlp/yt-dlp yt-dlp is up to date ([email protected] from yt-dlp/yt-dlp) [generic] Extracting URL: https://www.knowledgekids.ca/videos/paw-patrol/s11/e1/pups-save-teetering-tower-pups-save-spelunkers [generic] pups-save-teetering-tower-pups-save-spelunkers: Downloading webpage WARNING: [generic] Falling back on generic information extractor [generic] pups-save-teetering-tower-pups-save-spelunkers: Extracting information [debug] Looking for embeds ERROR: Unsupported URL: https://www.knowledgekids.ca/videos/paw-patrol/s11/e1/pups-save-teetering-tower-pups-save-spelunkers Traceback (most recent call last): File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\yt_dlp\YoutubeDL.py", line 1637, in wrapper return func(self, *args, **kwargs) File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\yt_dlp\YoutubeDL.py", line 1772, in __extract_info ie_result = ie.extract(url) File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\yt_dlp\extractor\common.py", line 742, in extract ie_result = self._real_extract(url) File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\site-packages\yt_dlp\extractor\generic.py", line 2553, in _real_extract raise UnsupportedError(url) yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.knowledgekids.ca/videos/paw-patrol/s11/e1/pups-save-teetering-tower-pups-save-spelunkers ```
site-request,triage
low
Critical
2,807,928,671
langchain
AzureChatOpenAI Assumes a default temperature argument which is incompatible with OpenAI o1 API Call
### 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 Please update this with your OpenAI keys from Azure, and a model version in your own deployment for o1-full, not mini or preview. ```python input = HumanMessage("Hello!") deployment_name = "o1" model = AzureChatOpenAI( api_key=AZURE_OPENAI_API_KEY, openai_api_version=AZURE_OPENAI_API_VERSION, deployment_name=deployment_name, model_version=model_version, streaming=streaming, ) response = await model.ainvoke(input) ``` ### Error Message and Stack Trace (if applicable) python3.11/site-packages/langchain_core/language_models/chat_models.py:307, in BaseChatModel.ainvoke(self, input, config, stop, **kwargs) 298 async def ainvoke( 299 self, 300 input: LanguageModelInput, (...) 304 **kwargs: Any, 305 ) -> BaseMessage: 306 config = ensure_config(config) --> 307 llm_result = await self.agenerate_prompt( 308 [self._convert_input(input)], 309 stop=stop, 310 callbacks=config.get("callbacks"), 311 tags=config.get("tags"), 312 metadata=config.get("metadata"), 313 run_name=config.get("run_name"), 314 run_id=config.pop("run_id", None), 315 **kwargs, 316 ) 317 return cast(ChatGeneration, llm_result.generations[0][0]).message python3.11/site-packages/langchain_core/language_models/chat_models.py:796, in BaseChatModel.agenerate_prompt(self, prompts, stop, callbacks, **kwargs) 788 async def agenerate_prompt( 789 self, 790 prompts: list[PromptValue], (...) 793 **kwargs: Any, 794 ) -> LLMResult: 795 prompt_messages = [p.to_messages() for p in prompts] --> 796 return await self.agenerate( 797 prompt_messages, stop=stop, callbacks=callbacks, **kwargs 798 ) python3.11/site-packages/langchain_core/language_models/chat_models.py:756, in BaseChatModel.agenerate(self, messages, stop, callbacks, tags, metadata, run_name, run_id, **kwargs) 743 if run_managers: 744 await asyncio.gather( 745 *[ 746 run_manager.on_llm_end( (...) 754 ] 755 ) --> 756 raise exceptions[0] 757 flattened_outputs = [ 758 LLMResult(generations=[res.generations], llm_output=res.llm_output) # type: ignore[list-item, union-attr] 759 for res in results 760 ] 761 llm_output = self._combine_llm_outputs([res.llm_output for res in results]) # type: ignore[union-attr] python3.11/site-packages/langchain_core/language_models/chat_models.py:924, in BaseChatModel._agenerate_with_cache(self, messages, stop, run_manager, **kwargs) 922 else: 923 if inspect.signature(self._agenerate).parameters.get("run_manager"): --> 924 result = await self._agenerate( 925 messages, stop=stop, run_manager=run_manager, **kwargs 926 ) 927 else: 928 result = await self._agenerate(messages, stop=stop, **kwargs) python3.11/site-packages/langchain_openai/chat_models/base.py:825, in BaseChatOpenAI._agenerate(self, messages, stop, run_manager, **kwargs) 823 generation_info = {"headers": dict(raw_response.headers)} 824 else: --> 825 response = await self.async_client.create(**payload) 826 return await run_in_executor( 827 None, self._create_chat_result, response, generation_info 828 ) python3.11/site-packages/openai/resources/chat/completions.py:1661, in AsyncCompletions.create(self, messages, model, audio, frequency_penalty, function_call, functions, logit_bias, logprobs, max_completion_tokens, max_tokens, metadata, modalities, n, parallel_tool_calls, prediction, presence_penalty, response_format, seed, service_tier, stop, store, stream, stream_options, temperature, tool_choice, tools, top_logprobs, top_p, user, extra_headers, extra_query, extra_body, timeout) 1620 @required_args(["messages", "model"], ["messages", "model", "stream"]) 1621 async def create( 1622 self, (...) 1658 timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, 1659 ) -> ChatCompletion | AsyncStream[ChatCompletionChunk]: 1660 validate_response_format(response_format) -> 1661 return await self._post( 1662 "/chat/completions", 1663 body=await async_maybe_transform( 1664 { 1665 "messages": messages, 1666 "model": model, 1667 "audio": audio, 1668 "frequency_penalty": frequency_penalty, 1669 "function_call": function_call, 1670 "functions": functions, 1671 "logit_bias": logit_bias, 1672 "logprobs": logprobs, 1673 "max_completion_tokens": max_completion_tokens, 1674 "max_tokens": max_tokens, 1675 "metadata": metadata, 1676 "modalities": modalities, 1677 "n": n, 1678 "parallel_tool_calls": parallel_tool_calls, 1679 "prediction": prediction, 1680 "presence_penalty": presence_penalty, 1681 "response_format": response_format, 1682 "seed": seed, 1683 "service_tier": service_tier, 1684 "stop": stop, 1685 "store": store, 1686 "stream": stream, 1687 "stream_options": stream_options, 1688 "temperature": temperature, 1689 "tool_choice": tool_choice, 1690 "tools": tools, 1691 "top_logprobs": top_logprobs, 1692 "top_p": top_p, 1693 "user": user, 1694 }, 1695 completion_create_params.CompletionCreateParams, 1696 ), 1697 options=make_request_options( 1698 extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout 1699 ), 1700 cast_to=ChatCompletion, 1701 stream=stream or False, 1702 stream_cls=AsyncStream[ChatCompletionChunk], 1703 ) python3.11/site-packages/openai/_base_client.py:1843, in AsyncAPIClient.post(self, path, cast_to, body, files, options, stream, stream_cls) 1829 async def post( 1830 self, 1831 path: str, (...) 1838 stream_cls: type[_AsyncStreamT] | None = None, 1839 ) -> ResponseT | _AsyncStreamT: 1840 opts = FinalRequestOptions.construct( 1841 method="post", url=path, json_data=body, files=await async_to_httpx_files(files), **options 1842 ) -> 1843 return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls) python3.11/site-packages/openai/_base_client.py:1537, in AsyncAPIClient.request(self, cast_to, options, stream, stream_cls, remaining_retries) 1534 else: 1535 retries_taken = 0 -> 1537 return await self._request( 1538 cast_to=cast_to, 1539 options=options, 1540 stream=stream, 1541 stream_cls=stream_cls, 1542 retries_taken=retries_taken, 1543 ) python3.11/site-packages/openai/_base_client.py:1638, in AsyncAPIClient._request(self, cast_to, options, stream, stream_cls, retries_taken) 1635 await err.response.aread() 1637 log.debug("Re-raising status error") -> 1638 raise self._make_status_error_from_response(err.response) from None 1640 return await self._process_response( 1641 cast_to=cast_to, 1642 options=options, (...) 1646 retries_taken=retries_taken, 1647 ) BadRequestError: Error code: 400 - {'error': {'message': "Unsupported parameter: 'temperature' is not supported with this model.", 'type': 'invalid_request_error', 'param': 'temperature', 'code': 'unsupported_parameter'}} ### Description I am trying to use openAI's o1 full model with langchain as an agent on a langgraph I've constructed. However, it looks like the call to BaseChatOpenAI._agenerate includes **kwargs with the temperature key word argument. However, the openai package's AsyncCompletions.create() function doesn't accept temperature as an argument for full o1 (not preview or mini) models. ### System Info System Information ------------------ > OS: Darwin > OS Version: Darwin Kernel Version 24.2.0: Fri Dec 6 19:02:41 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T6030 > Python Version: 3.11.9 (main, Apr 19 2024, 11:43:47) [Clang 14.0.6 ] Package Information ------------------- > langchain_core: 0.3.21 > langchain: 0.3.9 > langchain_community: 0.3.9 > langsmith: 0.1.147 > langchain_openai: 0.2.11 > langchain_text_splitters: 0.3.2 > langgraph_sdk: 0.1.43 Optional packages not installed ------------------------------- > langserve Other Dependencies ------------------ > aiohttp: 3.10.2 > async-timeout: Installed. No version info available. > dataclasses-json: 0.6.7 > httpx: 0.26.0 > httpx-sse: 0.4.0 > jsonpatch: 1.33 > langsmith-pyo3: Installed. No version info available. > numpy: 1.26.4 > openai: 1.60.0 > orjson: 3.10.6 > packaging: 23.2 > pydantic: 2.9.2 > pydantic-settings: 2.6.1 > PyYAML: 6.0.1 > requests: 2.32.3 > requests-toolbelt: 1.0.0 > SQLAlchemy: 2.0.31 > tenacity: 8.5.0 > tiktoken: 0.7.0 > typing-extensions: 4.12.2
🤖:bug,investigate
low
Critical
2,807,953,778
electron
Focus handling tests fail on Windows 32-bit
`focus handling` tests have regressed on Windows 32-bit in the Chromium roll (https://github.com/electron/electron/pull/45172) [133.0.6920.0..134.0.6968.0](https://chromium.googlesource.com/chromium/src/+log/133.0.6920.0..134.0.6968.0?n=10000&pretty=fuller) https://github.com/electron/electron/actions/runs/12932282696/job/36083022633#step:18:2050 ``` not ok 1465 focus handling a TAB press moves focus to the next focusable item focus should've moved to the webview's element-2, it's instead in BUTTON-wv-element-1: expected 'BUTTON-wv-element-1' to equal 'BUTTON-wv-element-2' AssertionError: focus should've moved to the webview's element-2, it's instead in BUTTON-wv-element-1: expected 'BUTTON-wv-element-1' to equal 'BUTTON-wv-element-2' at Context.<anonymous> (electron\spec\chromium-spec.ts:159:35) [1956:0123/195544.605:WARNING:render_input_router.cc(41)] Input request on unbound interface [1956:0123/195615.443:WARNING:render_input_router.cc(41)] Input request on unbound interface [1956:0123/195616.297:WARNING:render_input_router.cc(41)] Input request on unbound interface [1956:0123/195647.125:WARNING:render_input_router.cc(41)] Input request on unbound interface not ok 1466 focus handling a SHIFT + TAB press moves focus to the previous focusable item focus should've moved to the webview's element-1, it's instead in BUTTON-wv-element-2: expected 'BUTTON-wv-element-2' to equal 'BUTTON-wv-element-1' AssertionError: focus should've moved to the webview's element-1, it's instead in BUTTON-wv-element-2: expected 'BUTTON-wv-element-2' to equal 'BUTTON-wv-element-1' at Context.<anonymous> (electron\spec\chromium-spec.ts:194:35) ``` https://github.com/electron/electron/blob/aafb1ba72c6abc66c81bd530658d3642f9a34f71/spec/chromium-spec.ts#L101-L212
component/webcontents,upgrade-follow-up
low
Critical
2,807,959,388
PowerToys
Ability to copy workspaces
### Description of the new feature / enhancement An interaction that would allow me to copy an existing workspace configuration e.g. a "duplicate" button. Alternatively, the ability to "pass through" parameters from the shortcut command line to individual apps with some kind of variable expansion feature. ### Scenario when this would be used? For my use case I have a number of workspaces to create, they are all identical bar the command line parameter sent to one of the applications. ### Supporting information _No response_
Idea-Enhancement,Product-Workspaces
low
Minor
2,807,986,779
vscode
Tooltips cloud layer is under mouse cursor, by this is not visible very good.
Type: <b>Bug</b> Tooltips cloud layer is under mouse cursor, by this is not visible very good. Tooltips should be above cursor indicator. VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z) OS version: Windows_NT x64 10.0.22631 Modes: <!-- generated by issue reporter -->
info-needed
low
Critical
2,808,004,638
tensorflow
TensorFlow warning shows whenever importing it
### Issue type Bug ### Have you reproduced the bug with TensorFlow Nightly? No ### Source source ### TensorFlow version v2.18.0-rc2-4-g6550e4bd802 ### Custom code No ### OS platform and distribution Linux Ubuntu 24.10 x86_64 ### Mobile device _No response_ ### Python version 3.12.8 ### Bazel version _No response_ ### GCC/compiler version _No response_ ### CUDA/cuDNN version CUDA:12.6 ### GPU model and memory _No response_ ### Current behavior? `cuFFT`, `cuDNN` and `cuBLAS` warnings showing after importing `TensorFlow` - OS: Ubuntu 24.10 x86_64 - Host: G5 5590 - Kernel: 6.11.0-13-generic - CPU: Intel i7-9750H (12) @ 4.500GHz - GPU: NVIDIA GeForce GTX 1650 Mobile / Max-Q - GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630] > whenever running the following code it gives that warning also it outputs the predicted output but after the warning: ```python import tensorflow as tf print(tf.config.list_physical_devices('GPU')) ``` > output: ``` 2025-01-23 21:08:06.468437: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered WARNING: All log messages before absl::InitializeLog() is called are written to STDERR E0000 00:00:1737659286.484845 763412 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered E0000 00:00:1737659286.489647 763412 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered 2025-01-23 21:08:06.505984: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. [PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')] ``` > also i know that for that warning (`cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.`) i must rebuild the tensor-flow from binaries enabling the AVX2 and FMA instructions but what about the others? ### Standalone code to reproduce the issue ```shell import tensorflow as tf print(tf.config.list_physical_devices('GPU')) ``` ### Relevant log output ```shell ```
stat:awaiting response,type:bug,2.18.rc
medium
Critical
2,808,020,092
pytorch
[RFC] Cuda support matrix for Release 2.7
Similar to : https://github.com/pytorch/pytorch/issues/138609 Opening this RFC to discuss CUDA version support for future PyTorch release 2.7: Migration to CUDA 12.8 is planned for PyTorch Release 2.7. Option 1 - CUDA 11.8 and CUDA 12.6 and 12.8 CUDA 11.8, CUDNN 9.1.0.70 - Same as Previous Release 2.6. No changes to CUDA 11.8 - Legacy version CUDA 12.6 CUDNN 9.x - Version Released to Pypi - Stable version CUDA 12.8 CUDNN 9.x - New Experimental version Option 2 CUDA 12.6 CUDNN 9.x - Version Released to Pypi - Stable version CUDA 12.8 CUDNN 9.x - New Experimental version cc @ptrblck @msaroufim @malfet @nWEIdia @tinglvv @Skylion007 @albanD @ngimel ### Versions 2.7.0
oncall: releng
low
Major
2,808,057,982
vscode
Wider scope for multipleDeclarations options
<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- Please search existing issues to avoid creating duplicates. --> <!-- Describe the feature you'd like. --> Hello there, I have an extension for Nuxt/vue that enriches nuxt developer experience https://github.com/alimozdemir/vscode-nuxt-dx-tools It perfectly helps developers that looking for components/routes/middlewares/layouts etc. But it's not stable as I want. Nuxt has a feature called auto-import and it generates all the components and related things under *.d.ts files these d.ts files are detected by vscode as a definition, and based on that definition my extension finds the correct path of the file and adds as another definition. (So, it relies on the default definition provider) The extension allows users to set the "goto" option for better UX, but vscode sometimes selects the .d.ts file or the real vue file. To be able to make it right, I need to figure out this in a better way. Can there be a prioritization for real files? e.g. *.d.ts files can be ignored if "goto" option is selected and a vue file is always "goto" file. Please let me know if I can fix this logic by any other approach as well btw, i tried TS language plugin but it's not working as I expected, getDefinitionAndBoundSpan/getDefinitionAtPosition is not called when I try to navigate, I thought I could change the order or intervene in the result
info-needed
low
Minor
2,808,064,875
vscode
Problem with recognition for extensions
Type: <b>Feature Request</b> Due docks can be moved everywhere around GUI exist problem with recognition for extensions (as source of funtions/features : ). To resolve this issue want propose some identification to be sure what is internal module or what is extension as external, eg. by RCM menu (ID) with option to turn of this type position in context menu. In menu can be small icon like `?` to activate `tooltip` with ID as internal module/external adding to more easy reference for some reason. VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z) OS version: Windows_NT x64 10.0.22631 Modes: <!-- generated by issue reporter -->
feature-request
low
Minor
2,808,076,792
next.js
Docs’ recommended modal handling approach interferes with soft navigation 404 behavior
### Link to the code that reproduces this issue https://codesandbox.io/p/devbox/amazing-tharp-23mwdj ### To Reproduce 1. Start app in dev 2. Click go to nonexistent route - notice the page hasn't changed 3. Hit refresh for a hard-navigation - notice 404 gets rendered ### Current vs. Expected behavior ### Current Adding a catch-all route into a slot to handle closing modals (as per the docs) breaks soft navigation to non-existent pages - Next just happily swallows the navigation, and keeps rendering the previous page. NOTE: Hard navigation works as expected - renders a not found page. ### Expected If nothing - consistent behaviour between soft and hard navigation. Ideally - either update docs with the correct approach of closing modals or fix the soft navigation. ### Provide environment information ```bash Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10 Binaries: Node: 18.18.2 npm: 9.8.1 Yarn: 1.22.22 pnpm: 9.9.0 Relevant Packages: next: 15.1.6 // Latest available version is detected (15.1.6). eslint-config-next: 15.1.3 react: 19.0.0 react-dom: 19.0.0 typescript: 5.7.3 Next.js Config: output: standalone ``` ### Which area(s) are affected? (Select all that apply) Parallel & Intercepting Routes ### Which stage(s) are affected? (Select all that apply) next dev (local), next build (local), next start (local), Other (Deployed) ### Additional context _No response_
Parallel & Intercepting Routes
low
Minor
2,808,079,209
flutter
[go_router] Allow nested navigation inside of a Dialog or BottomSheet
### Use case [This issue](https://github.com/flutter/flutter/issues/119619#:~:text=%5Bgo_router%5D%20Allow%20nested,New%20issue) does not appear to be resolved. The request is to allow navigation within a dialog or bottomsheet. Navigation from bottomsheet A to bottomsheet B should look just like regular page navigation, except that the changes are happening within the bottomsheets. Plus, the Navigator object should not be used used. The proposed solution of using ShellRoute does not allow back navigation in iOS. ### Proposal It would be great if we could create nested navigation within a bottomsheet without directly instantiating the Navigator object.
waiting for customer response,in triage
low
Minor
2,808,102,233
vscode
Git - Compare files in different commits (hash)
Type: <b>Feature Request</b> I'm still looking this solution to see ver/id commit in files comparison mode, but appetite is more.. eg. compare different points from commits - I mind different commits as ID hash. https://github.com/microsoft/vscode/issues/227923#issuecomment-2343064010 VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z) OS version: Windows_NT x64 10.0.22631 Modes: <!-- generated by issue reporter -->
feature-request,git
low
Minor
2,808,112,142
pytorch
need to document `FlopCounterMode`
### 📚 The doc issue `FlopCounterMode` as demo'ed here https://gist.github.com/Chillee/07b36672a0ca2d1280e42b8d10f23174 needs to be documented please. And thank you! cc: @Chillee cc @svekars @brycebortree @sekyondaMeta @AlannaBurke
module: docs,triaged
low
Minor
2,808,142,157
flutter
Flutter Web: List containers require role="list", List Items require role="listitem" (Accessibility)
### Use case Any content that consists of an outer container with a list of elements inside require the `list` and `listitem` roles. ### Proposal Add the WAI-ARIA roles `list` and `listitem` to the the available semantics roles in existing list-related widget libraries. Example: ``` <div role="list" aria-label="This is a list"> <div role="listitem">List item 1</div> <div role="listitem">List item 2</div> <div role="listitem">List item 3</div> </div> ```
c: new feature,framework,a: accessibility,platform-web,c: proposal,customer: castaway,team-accessibility
low
Minor
2,808,170,306
vscode
Companion not working in codespaces
Whenever I try to put a companion in a new window it makes it very small and I don't know how to fix it. ![Image](https://github.com/user-attachments/assets/ac60c928-501b-48bc-aafc-ebb744c37ec7) Version: 1.96.3 Commit: 91fbdddc47bc9c09064bf7acf133d22631cbf083 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Embedder: codespaces <!-- generated by web issue reporter -->
info-needed,triage-needed
low
Minor
2,808,176,156
flutter
Flutter Web: Modal dialogs and modal alert dialogs require the aria-modal property (Accessibility)
### Use case The WAI-ARIA property `aria-modal="true"` must be available on all modal dialogs and modal alert dialogs so users cannot interact with content outside an active dialog window. ### Proposal Add the WAI-ARIA property `aria-modal="true"` to the list of semantics flags on the container element for modals and alert modals.
c: new feature,framework,f: material design,a: accessibility,platform-web,c: proposal,customer: castaway,team-accessibility
low
Minor
2,808,188,230
flutter
Flutter Web: aria-controls must be an available property on all component types (Accessibility)
### Use case The WAI-ARIA property aria-controls must be available on all Flutter component types/widgets to identify the element (or elements) whose contents or presence are controlled by the current element. ### Proposal Add the WAI-ARIA property `aria-controls` to the list of semantics flags on all Flutter component types/widgets. Its value must be the ID of the element on the page that it controls. Multiple ID's can be listed (each separated by a single space). Examples: ``` aria-controls="panel1" aria-controls="panel1 panel2 panel3" ```
c: new feature,a: accessibility,platform-web,c: proposal,customer: castaway,fyi-web,team-accessibility
low
Minor
2,808,191,048
pytorch
Error `RuntimeError: CUDA error: no kernel image is available for execution on the device` when doing `!=` operation on Jetson orin agx.
### 🐛 Describe the bug I am using Jetpack 6.2 with cuda12.4 on a Jetson orin agx developer kit. I am able to put tensors to the device, but for some reason I am getting an error when trying to do the `!=` operation. I am using python 3.11 and I installed torch with the following ```bash pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu124 ``` If I run `nvcc --version` I get the following ```bash eisenbnt@ubuntu:~$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2024 NVIDIA Corporation Built on Tue_Feb_27_16:18:46_PST_2024 Cuda compilation tools, release 12.4, V12.4.99 Build cuda_12.4.r12.4/compiler.33961263_0 ``` Here is some python that gives the error. ```python >>> import torch >>> x = torch.tensor([0, 1, 1]).to(0) >>> print(x.device) cuda:0 >>> x != 0 Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. >>> x != torch.tensor(0).to(0) Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. >>> x != torch.tensor([0, 0, 0]).to(0) Traceback (most recent call last): File "<stdin>", line 1, in <module> RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. >>> torch.version.cuda '12.4' >>> torch.cuda.is_available() True ``` cc @ptrblck @msaroufim @eqy
module: cuda,triaged
low
Critical
2,808,192,731
langchain
update tutorials, how-to guides, and high traffic integrations to use init_chat_model
### Privileged issue - [x] I am a LangChain maintainer, or was asked directly by a LangChain maintainer to create an issue here. ### Issue Content These guides (including ones operating off of `ChatModelTabs`) should use `langchain.chat_models.init_chat_model`
documentation,🤖:docs
low
Minor
2,808,199,250
pytorch
Confusing as_storage_and_layout(x, want_contiguous=True) behavior
### 🐛 Describe the bug The following two invocations are not equivalent: ``` x = ExternKernel.require_contiguous(x) storage, old_layout = as_storage_and_layout(x, want_contiguous=True) ``` and ``` x = ExternKernel.realize_input(x) storage, old_layout = as_storage_and_layout(x, want_contiguous=True) ``` This is because `as_storage_and_layout(x, want_contiguous=True)` will not behave well with `ReinterpretView`. See: ``` # making the base of x contiguous or stride_ordered will not necessarily make # the ReinterpretView either, so don't pass along those arguments ``` The comment comes from me (oops). this was two years ago and I forget some of the context but I think we were making unnecessary clones. We should be able to translate what strides the base of `x` would require for the output ReinterpretView to be contiguous and then fix the layout. ### Versions master cc @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov
triaged,oncall: pt2,module: inductor,internal ramp-up task
low
Critical
2,808,208,094
flutter
[iOS] [Impeller] Flutter 3.27 `BoxShadow.spreadRadius` draws black box artefact around widget on physical iOS device, not on simulator
### Steps to reproduce 1. Use Flutter 3.27 (tested on 3.27.2 and 3.27.3) or master 2. Run the code sample on a **physical** iOS device (tested on iOS 18.2.1). I can **not** reproduce this on an iOS simulator running iOS 18.2. 3. Observe the black box artefacts around the image widgets. 5. Commenting out `spreadRadius` removes black box artefacts. 6. Running the same code on Android produces no such artefacts. 7. Running the same code on iOS (physical device and simulator) using `--no-enable-impeller` produces no such artefacts. 8. Running the same code sample on Flutter 3.24.5 produces no such artefacts on iOS (physical device and simulator)### Expected results No black box artefacts around images. ### Actual results Black box artefacts around images. ### Code sample <details open><summary>Code sample</summary> ```dart import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); static const String title = 'BoxShadow Impeller iOS Glitch'; @override Widget build(BuildContext context) { return MaterialApp( title: title, home: const ExamplePage(title: title), ); } } class ExamplePage extends StatelessWidget { const ExamplePage({ super.key, required this.title, }); final String title; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(title), ), body: ListView.separated( padding: const EdgeInsets.all(24), itemCount: 5, separatorBuilder: (_, __) => const SizedBox(height: 16), itemBuilder: (_, int index) => ExampleRow(imageUrl: 'https://picsum.photos/80/60?image=$index'), ), ); } } class ExampleRow extends StatelessWidget { const ExampleRow({ super.key, required this.imageUrl, }); final String imageUrl; @override Widget build(BuildContext context) { return ClipRRect( borderRadius: BorderRadius.circular(4), clipBehavior: Clip.antiAlias, child: Container( padding: const EdgeInsets.all(16), decoration: BoxDecoration( color: const Color.fromRGBO(0, 0, 0, 0.4), ), child: Align( alignment: Alignment.center, child: DecoratedBox( decoration: BoxDecoration( borderRadius: BorderRadius.circular(16), boxShadow: [ BoxShadow( color: Colors.black.withOpacity(0.1), offset: Offset(0, 8), blurRadius: 32, spreadRadius: -40, // Broken in Flutter 3.27 ), BoxShadow( color: Colors.grey.withOpacity(0.1), offset: Offset(0, 2), blurRadius: 8, spreadRadius: -1, // Broken in Flutter 3.27 ), ], ), child: SizedBox( width: 80, height: 60, child: ClipRRect( borderRadius: BorderRadius.circular(4), child: Image.network(imageUrl, fit: BoxFit.cover), ), ), ), ), ), ); } } ``` You can also find an example project exhibiting the bug here https://github.com/techouse/flutter_boxshadow_ios_impeller_glitch_example </details> ### Screenshots or Video | Flutter 3.24.5 ✅ | Flutter 3.27.3 ❌ | Flutter master ❌ | |--|--|--| | ![Image](https://github.com/user-attachments/assets/eb7a8144-0307-4aa9-bb94-787963c66ce9) | ![Image](https://github.com/user-attachments/assets/06d04241-119c-461e-9671-f1c1154cf475) | ![Image](https://github.com/user-attachments/assets/f70f1c85-076d-425d-b9ae-d6818ed4725b) | ### Logs <details open><summary>Logs</summary> ```console [Paste your logs here] ``` </details> ### Flutter Doctor output <details open><summary>Doctor output</summary> ```console [✓] Flutter (Channel stable, 3.27.3, on macOS 15.2 24C101 darwin-arm64, locale en-GB) • Flutter version 3.27.3 on channel stable at /Users/techouse/fvm/versions/3.27.3 • Upstream repository https://github.com/flutter/flutter.git • Framework revision c519ee916e (2 days ago), 2025-01-21 10:32:23 -0800 • Engine revision e672b006cb • Dart version 3.6.1 • DevTools version 2.40.2 [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/techouse/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • ANDROID_HOME = /Users/techouse/Library/Android/sdk • Java binary at: /Users/techouse/Applications/Android Studio Koala Feature Drop 2024.1.2 Patch 1.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 16.2) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16C5032a • CocoaPods version 1.16.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.1) • Android Studio at /Users/techouse/Applications/Android Studio Koala Feature Drop 2024.1.2 Patch 1.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) [✓] Android Studio (version 2024.2) • Android Studio at /Users/techouse/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 21.0.4+-12422083-b607.1) [✓] IntelliJ IDEA Ultimate Edition (version 2024.3.2.1) • IntelliJ at /Users/techouse/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin version 83.0.4 • Dart plugin version 243.23654.44 [✓] Connected device (4 available) • techouse’s iPhone (mobile) • XXXXXXXX-XXXXXXXXXXXXXXXX • ios • iOS 18.2.1 22C161 • macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.267 [✓] Network resources • All expected network resources are available. • No issues found! ``` </details>
c: regression,platform-ios,engine,has reproducible steps,P1,e: impeller,team-engine,triaged-engine,found in release: 3.27,found in release: 3.29
medium
Critical
2,808,208,918
rust
rustc does not recognize Vec<A>::collect from Vec<B> for complex types
Imagine I have two structs which are trivially transmutable: Xc -> X and Yc -> Y. ``` struct X { a: u32, b: u64, } struct Xc { a: u32, b: u64, } impl From<Xc> for X { fn from(value: Xc) -> Self { Self { a: value.a, b: value.b, } } } struct Y { z: [u8; 32], } struct Yc { z: [u8; 32], } impl From<Yc> for Y { fn from(value: Yc) -> Self { Self { z: value.z } } } ``` Then `Vec<Xc> -> Vec<X` is recognized by optimizer: ``` #[no_mangle] fn convert_xs(xs: Vec<Xc>) -> Vec<X> { xs.into_iter().map(Into::into).collect() } $ cargo asm convert_xs .section .text.convert_xs,"ax",@progbits .globl convert_xs .p2align 4, 0x90 .type convert_xs,@function convert_xs: .cfi_startproc mov rax, rdi movups xmm0, xmmword ptr [rsi] mov rcx, qword ptr [rsi + 16] movups xmmword ptr [rdi], xmm0 mov qword ptr [rdi + 16], rcx ret ``` So does `Vec<Yc> -> Vec<Y>`: ``` #[no_mangle] fn convert_ys(ys: Vec<Yc>) -> Vec<Y> { ys.into_iter().map(Into::into).collect() } $ cargo asm convert_ys .section .text.convert_ys,"ax",@progbits .globl convert_ys .p2align 4, 0x90 .type convert_ys,@function convert_ys: .cfi_startproc mov rax, rdi movups xmm0, xmmword ptr [rsi] mov rcx, qword ptr [rsi + 16] movups xmmword ptr [rdi], xmm0 mov qword ptr [rdi + 16], rcx ret ``` But not `Vec<(Xc, Yc)>) -> Vec<(X, Y)>`: ``` #[no_mangle] fn convert_tuple(xy: Vec<(Xc, Yc)>) -> Vec<(X, Y)> { xy.into_iter().map(|(x, y)| (x.into(), y.into())).collect() } $ cargo asm convert_tuple .section .text.convert_tuple,"ax",@progbits .globl convert_tuple .p2align 4, 0x90 .type convert_tuple,@function convert_tuple: .cfi_startproc mov rax, rdi mov rcx, qword ptr [rsi] mov rdx, qword ptr [rsi + 8] mov rdi, qword ptr [rsi + 16] mov rsi, rdx test rdi, rdi je .LBB5_3 lea rsi, [rdi + 2*rdi] shl rsi, 4 add rsi, rdx lea rdi, [rsp - 32] mov r8, rdx .p2align 4, 0x90 .LBB5_2: mov r9, qword ptr [r8] mov r10d, dword ptr [r8 + 8] movups xmm0, xmmword ptr [r8 + 16] mov r11, qword ptr [r8 + 32] mov qword ptr [rdi + 16], r11 mov r11d, dword ptr [r8 + 40] mov dword ptr [rdi + 24], r11d mov r11d, dword ptr [r8 + 44] mov dword ptr [rdi + 28], r11d movups xmmword ptr [rdi], xmm0 mov qword ptr [r8], r9 mov dword ptr [r8 + 8], r10d movups xmm0, xmmword ptr [rsp - 36] movups xmm1, xmmword ptr [rsp - 20] movups xmmword ptr [r8 + 12], xmm0 movups xmmword ptr [r8 + 28], xmm1 mov r9d, dword ptr [rsp - 4] mov dword ptr [r8 + 44], r9d add r8, 48 cmp r8, rsi jne .LBB5_2 .LBB5_3: sub rsi, rdx shr rsi, 4 movabs rdi, -6148914691236517205 imul rdi, rsi mov qword ptr [rax], rcx mov qword ptr [rax + 8], rdx mov qword ptr [rax + 16], rdi ret ``` Why is it? Is there some kind of limitation for this kind of optimization? This is a MRE. Originally I try to cast `Vec<A> -> Vec<B>` where A and B are 336 bytes long.
C-optimization
low
Minor
2,808,241,747
flutter
Flutter Web: Single-line text <input> elements require all options for the type (not just type="text") (Accessibility)
### Use case The following data types are available for single-line text `<input>` elements: - `email` - `password` - `search` - `tel` - `text` (default value) - `url` ### Proposal The following values for the `<input>` type attribute must be available for single-line text components/widgets: - `email` - `password` - `search` - `tel` - `url`
c: new feature,a: accessibility,platform-web,c: proposal,customer: castaway,fyi-web,team-accessibility
low
Minor
2,808,250,448
pytorch
Enable CUDA 12.8.0
### 🚀 The feature, motivation and pitch CUDA 12.8.0 is out, adding to CI/CD. Docker Images & Windows AMI Update - [x] https://github.com/pytorch/pytorch/pull/145567 - [ ] https://github.com/pytorch/pytorch/pull/145789 - [ ] Windows AMI update - [ ] Magma build - https://github.com/pytorch/pytorch/pull/145765 (draft) CD Update - [ ] https://github.com/pytorch/pytorch/pull/145792 ### Alternatives _No response_ ### Additional context _No response_ cc @atalman @malfet @ptrblck @msaroufim @eqy @nWEIdia
module: cuda,triaged
low
Major
2,808,262,045
pytorch
[BE] Automate update stable_cuda version so that we can set it when introducing new cuda version
### 🐛 Describe the bug Currently We pin stable cuda version here : https://github.com/pytorch/pytorch/blob/main/.github/scripts/generate_binary_build_matrix.py#L419 https://github.com/pytorch/pytorch/blob/main/.github/scripts/generate_binary_build_matrix.py#L376 https://github.com/pytorch/pytorch/blob/main/.github/workflows/docker-release.yml#L156 etc... I would like to add CUDA_STABLE variable to https://github.com/pytorch/pytorch/blob/main/.github/scripts/generate_binary_build_matrix.py to be able to set it once during new CUDA version update and reuse it across the project. ### Versions 2.7.0 cc @ptrblck @msaroufim @eqy @seemethere @malfet @pytorch/pytorch-dev-infra
module: cuda,module: ci,triaged,topic: binaries
low
Critical
2,808,264,869
go
proposal: cmd/go: reduce calls to module proxy /list for deprecation checks in run / install
### Proposal Details ### Background We run a fairly large (~16TB/day) go module proxy and have noticed a recent increase in requests to the list endpoint, which is inherently not long-term cacheable. Large public proxies cache responses with a short TTL (e.g. the official proxy.golang.org caches for 60s). For us, using Athens with S3, this traffic increase caused us to hit rate limits of the S3 ListObjectsV2 API, increasing latency, causing timeouts, and failing build steps. The timing of this seemed to correlate with increasing adoption of go1.23. We traced this increase in list API calls to a [new behavior added](https://github.com/golang/go/commit/5e1e3a002528714f7c5954dd13068a89f41f747a) in go run and go install wherein these tools now check if the requested module has been deprecated. You can see this if you install an older version of a deprecated library. For example, `go install -x github.com/golang/protobuf/[email protected]` prints these additional lines when running go1.23: ``` # get https://proxy.golang.org/github.com/golang/protobuf/@v/list # get https://proxy.golang.org/github.com/golang/protobuf/@v/list: 200 OK # get https://proxy.golang.org/github.com/golang/protobuf/@v/v1.5.4.info # get https://proxy.golang.org/github.com/golang/protobuf/@v/v1.5.4.info: 200 OK # get https://proxy.golang.org/github.com/golang/protobuf/@v/v1.5.4.mod # get https://proxy.golang.org/github.com/golang/protobuf/@v/v1.5.4.mod: 200 OK go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead. ``` ### Proposal This is a nice feature, but it would be better if it was one we could opt into or out of. Some unattended workloads install or run specific versions of packages, and the addition of a call to a no-cache or low-TTL go module proxy endpoint has reduced the reliability of the `go install` and `go run` commands in these workloads. We handle deprecated modules using separate tooling, so these deprecation messages are largely ignored. Alternatively, the go module proxy API could be extended to include a version deprecation check endpoint and could maybe fall back to the go 1.23 behavior if that endpoint responds with an error. This would allow for longer-duration caching of deprecation check results without impeding the freshness of the list endpoint. Related, it seems any go commands that fetch modules could benefit from retries with exponential backoff. The deprecation checks in go 1.23 result in more overall requests to the go module proxy and now include a call to the most error-prone endpoint. Especially if the current behavior is preserved, failed requests should be retried, perhaps after trying all subsequent proxies.
Proposal,GoCommand
low
Critical
2,808,286,172
electron
Drag and Drop not showing icon when leaving electron window
### 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 34.0.1 ### What operating system(s) are you using? Windows ### Operating System Version Windows 10 19045.5371 ### What arch are you using? x64 ### Last Known Working Electron version 33.3.0 ### Expected Behavior When using the drag and drop code provided in the example section, the icon is shown when dragging out of the electron window ### Actual Behavior It looks like this ![Image](https://github.com/user-attachments/assets/b293933c-5d5a-4180-879b-792a992ef432) ### Testcase Gist URL https://gist.github.com/IslandRhythms/da503bd1d495f0aa1252e7360b6340f9 ### Additional Information _No response_
platform/windows,bug :beetle:,bug/regression :leftwards_arrow_with_hook:,component/drag-and-drop,has-repro-gist,34-x-y
low
Critical
2,808,286,789
electron
`safeStorage.isEncryptionAvailable()` doesn't respect `app.name` when called before the app is ready on macOS
### 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 34.0.1 ### What operating system(s) are you using? macOS ### Operating System Version Sequoia 15.2 ### What arch are you using? arm64 (including Apple Silicon) ### Last Known Working Electron version _No response_ ### Expected Behavior `safeStorage.isEncryptionAvailable()` should create a Keychain Access entry named `{app.name} Safe Storage`. ### Actual Behavior A Keychain Access entry named `Chromium Safe Storage` is created instead. ### Testcase Gist URL https://gist.github.com/erikian/a8a354ee5cfa6e090653a2bbbfb2adb9 ### Additional Information The main side-effect is a password prompt suggesting that the app is trying to access data from Chromium: ![Image](https://github.com/user-attachments/assets/62691ea4-3a60-45d5-8c53-16f309c9a387) I did some testing and the prompt doesn't seem to be shown for code-signed apps (at least on TestFlight), but the production app still uses `Chromium Safe Storage` and it doesn't sound like a good idea to allow our app's encrypted data to be saved under another app's name (_especially_ Chromium). A bunch of Electron apps like Figma and VS Code have a properly named entry in Keychain Access, so I'd expect to see one with my app's name (or at least `Electron`) when debugging `safeStorage` issues; it should not be possible to have different names depending on what point of the app's lifecycle the entry is created (if I move the `safeStorage.isEncryptionAvailable()` call from the top-level to the `app.whenReady` callback in my demo, the correct name is used). The existing documentation doesn't list any caveats for calling `safeStorage.isEncryptionAvailable()` before the app is ready on macOS, so the docs needs to be updated if the naming issue is not something that can be fixed.
platform/macOS,bug :beetle:,has-repro-gist,component/safestorage,34-x-y
low
Critical
2,808,291,099
pytorch
[compile / strict export] torch._dynamo.exc.Unsupported: CollectiveFunctionRewriteVariable can't support async_op=True for <function all_reduce at 0x7f40be5724d0>
### 🐛 Describe the bug Ran into this problem when trying all reduce with async op ``` import logging import os import torch import torch.distributed as dist import torch.multiprocessing as mp from torch.export import export def run(rank, size): mod = Foo() inps = (torch.randn(4, 4),) mod(*inps) # comment torch.compile to check export torch.compile(mod, fullgraph=True)(*inps) if rank == 0: ep = export(mod, inps) print(ep) def init_process(rank, size, fn, backend="gloo"): """Initialize the distributed environment.""" os.environ["MASTER_ADDR"] = "127.0.0.1" os.environ["MASTER_PORT"] = "29500" torch.cuda.set_device(rank) dist.init_process_group(backend, rank=rank, world_size=size) fn(rank, size) class Foo(torch.nn.Module): def __init__(self): super().__init__() self.linear = torch.nn.Linear(4, 3) def forward(self, x): y = self.linear(x).abs().clamp(max=1.0) * 2 work = dist.all_reduce(y, async_op=True) work.wait() return y def main() -> None: world_size = 2 processes = [] mp.set_start_method("spawn") for rank in range(world_size): p = mp.Process(target=init_process, args=(rank, world_size, run)) p.start() processes.append(p) for p in processes: p.join() if __name__ == "__main__": main() ``` Thanks @pianpwk for his example. ### Versions trunk cc @chauhang @penguinwu @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4
oncall: pt2,export-triaged,oncall: export
low
Critical