Give SwiftValue a tailored description property similar to Darwin's

In particular, printing a SwiftValue on Darwin will print the
contained value, not the generic type + address dump that
is implemented by NSObject.
This brings that same behavior to non-Apple platforms.

@swift-ci please test

@tbkka should tests be added?

@swift-ci please test and merge

@swift-ci please test and merge

@swift-ci Please test

@swift-ci Please test macOS

@swift-ci Please test macOS

@tbkka Could you rebase this to remove the merge commit and then it can be merged. Ignore the macOS failures, thats a separate issue.

@spevans -- I rebased this on top of up-to-date master.  It should be a trivial merge now.

@swift-ci Please test and merge

@swift-ci Please test Linux

@spevans -- I don't seem to be able to trigger CI test and merge.  Can you help?

@swift-ci test linux

This testBridgedDescription test fails on macOS - both running against corelibs-foundation and Darwin Foundation.
I have added a PR #2732 to remove the force-unwrap that was crashing the tests but a proper solution will need to be found to make the test pass  - or disabled is its not meant to work with an ObjC runtime present.


Switch to sync2git repository under CentOS org

centos-sync-packages repository now lives under official CentOS organization under name sync2git.
https://github.com/CentOS/sync2git

@bstinsonmhk Please test and merge.


[e-Money] Wrong average block time on e-Money

Average block time on e-Money is now extremely huge as the value is calculated by the difference from current time to genesis  time. We should take the consensus time of block 1 on e-Money instead to give a more reasonable average block time.

Hi @kwunyeung , in Hasura the time of block 1 is the same as the genesis time.
As now we are rendering the time from the table "average_block_time_from_genesis", maybe it would be reasonable to use the time from "average_block_time_per_minute" or from "average_block_time_per_hour" ?

@huichiaotsou ah that sounds suitable for e-money.


DOC: add some hints to build, test

Some things I found helpful when trying this out

document that the tests will run "full" by default, and show how to skip slow tests
document adding CFLAGS for debugging. The meson FAQ seemed to suggest this is best practices, maybe there is a better way?

document adding CFLAGS for debugging. The meson FAQ seemed to suggest this is best practices, maybe there is a better way?

These particular flags are really equivalent to passing the meson_args -Dbuildtype=debug.

Does -Dbuildtype=debug require a debug build of python either on linux or windows?

The first point is connected to #40

Does -Dbuildtype=debug require a debug build of python either on linux or windows?

Definitely not on Linux, since it maps to exactly the combination of -Doptimization=0 -Ddebug=true.
Good point about Windows, since by default the value of b_vscrt is from_buildtype and per the table at https://mesonbuild.com/Builtin-options.html this will map to also setting /MDd.
(I have no idea whether it is compatible with a release build of python itself.)

The problem with /MDd is that it will link to a different runtime library, so it will require a debug build of python for windows. Then this will percolate out to all other c-extension modules, so you must rebuild the entire environment.
I usually set the cflags "/Od /Zi" instead, which is much more like "-O0 -g" for gcc. Well, that is what I tell people I do. In reality, since using a debugger in windows is painful, I first use a lot of debug prints to see if I can avoid using a debugger at all, so then all I care about is having a small failing test and a quick build turn-around.

Thanks for this, Matti!


ESP8266 (Docker): Cannot flash because files cannot be found

It seems that the code will fail if there are spaces in the disk name.
The files are there and Docker is running. If I copy the complete file path in the variables as a string, most of the files are found.

https://github.com/maximkulkin/esp-homekit-demo/issues/288

Just use disk names without spaces.


Add FoldAffineMinInDistributedLoopsPass to CPU pipeline.

Looks like noise because the regression only happens in either pixel-4 or piexl-6. If it's not noise, it should show up on both phones.

As expected, there are no improvements because they are all divisible and constants. This is still a good thing to have, and will be used in padding approach.
x86 performance
Single threaded

Model
Before
After

DeepLabV3
57.9 ms
57.5 ms

MobileBertSquad
193 ms
184 ms

MobileNetV2
17.7 ms
17.0 ms

MobileNetV3Small
6.77 ms
6.04 ms

MobileSSD
55.1 ms
50.6 ms

PoseNet
59.8 ms
60.9 ms

Multi-threaded

Model
Before
After

DeepLabV3
34.6 ms
33.5 ms

MobileBertSquad
65.8 ms
68.3 ms

MobileNetV2
8.62 ms
7.96 ms

MobileNetV3Small
5.17 ms
4.92 ms

MobileSSD
17.2 ms
16.8 ms

PoseNet
26.0 ms
24.9 ms


Adding measurements to dashboard

Once https://github.com/flutter/flutter/pull/3523 lands, we can summarize on our dashboard.
Three items that would be interesting to know:

number of new flutter apps created in the wild (per 7 days)
number of 7DA users
% of crash-free users (the percentage of 7DA users that had a crash-free 7 days)

cc @yjbanov for help triaging this issue

Will be glad to help! What's involved in triaging it? :)

This should be possible today.

This is possible whenever, but I don't think we need a bug to track it. If we want to do it we should just do it.


[multimodal] enable jit.trace and export HF_TEXT model to onnx

Issue #, if available:
Description of changes:
enable jit.trace and export HF_TEXT model to onnx
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is now merged. Thanks @zhiqiangdon @cheungdaven @FANGAreNotGnu for reviewing.


Data imported from .carto (gpkg) includes a fid column

It looks like importing dpkg datasets -- which occurs when importing a .carto file -- is generating a fid column. Not sure if this is a problem in the export (perhaps there's a way to tell the format to use cartodb_id as ID column) or perhaps it's in the import.
Note: This fid column is of course not in the origin table. It gets created during the export/import process.
cc @juanignaciosl FYI, I'll take a look when I can

Yes, it's a column added by GeoPackage format. In fact it's a problem if the user table already has a fid column (this happened once), which could be avoided with a parameter on export (it could be renamed to carto_fid or any other namespaced alternative so it doesn't generate collisions).
Maybe we could drop the column on GeoPackage import, as we know that the fid column is not actually needed. Not sure whether this is needed or even convenient though.

Is the gpkg built directly from the SQL API?

Okay, I found it: https://github.com/CartoDB/CartoDB-SQL-API/blob/master/app/models/formats/ogr/geopackage.js
Wondering if we can add the FID = cartodb_id option there, as in http://www.gdal.org/drv_geopackage.html

I thought about that fid <-> cartodb_id, but felt risky 😅

Corollary: exporting a table with a fid column fails. cc @oriolbx

Does that fid column follow the properties of a primary key? (numeric, unique, not-null)

Yes. Using it for cartodb_id worths a try.

This is happening quite often, I'd suggest to give this a thought and fix it. Map export/import implementation is shared between builder and dataservices team, so I don't know who should add if to the roadmap if you agree (and it's feasible, of course!) cc @rafatower @xavijam

Did a quick check using ogr2ogr manually and adding -lco FID=cartodb_id on the export seems to fix this issue, no changes needed in the importer. It properly keeps the same id's as it uses cartodb_id for a primary key instead of having to invent a new one.

that's very good news, as changing the guessing logic is way trickier than that.

Assigning to @javitonino Get it back to me if you don't agree. Thanks!

Fixed via https://github.com/CartoDB/CartoDB-SQL-API/pull/404


Fix issue with babel blacklist regexes

The babel blacklist regexes were matching anything prefixed with
react. This meant we were unknowingly blacklisting all react components
from getting babelified. This updates the regexes and adds a regression test.

!merge


Mystery release <IP_ADDRESS>

There's a version <IP_ADDRESS> artifact available on bintray - https://bintray.com/beyka/maven/androidtiffbitmapfactory/<IP_ADDRESS> - but I can see no traces of that in this source repository here.
What's up with that?

Bad release. Maybe in this year I will make new release with changes for Android Q

Hi Beyka, any update about a new release with changes for Android Q? I have seen a q_support branch in the repo.


Add support for custom sort order

Overview/Summary
Add option to configure in which order templates will be deployed by adding a conditional step between Diff and Validate/Deploy.
I am a bit uncertain on if the variable AZOPS_CUSTOM_SORT_ORDER should be put into the credentials variable group or if a new group should be created. If a new group should be created, I am uncertain of what to name it.
I have considered the following names:

azops
azopsConfig
config

I do not think it should be named anything related to settings to avoid confusion with settings.json
This PR fixes/adds/changes/removes

Add support for custom sort order of templates

Breaking Changes
For Azure DevOps only: Requires creation of variable group azops as well as granting pipelines access to that group.
Testing Evidence
CustomSorting step sorts files in diff.txt

Deploy step uses parameter -CustomSortOrder and picks up on the order in diff.txt

As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Updated relevant and associated documentation. (https://github.com/Azure/AzOps/pull/660)

Fixes Azure/AzOps#592

I have tested the functionality and it works as expected - awesome job! 😄
Do you think it makes sense to externalize the script as it becomes quite cumbersome to manage 30+ lines of PS directly in the yaml pipeline?

Sure, I can put the code in a scripts folder. How about .pipelines/.script/customSortOrder.ps1?
Or maybe have a generic location for both GitHub and ADO? Maybe .scripts/customSortOrder.ps1?

Sure, I can put the code in a scripts folder. How about .pipelines/.script/customSortOrder.ps1?
Or maybe have a generic location for both GitHub and ADO? Maybe .scripts/customSortOrder.ps1?

Sounds like a good plan to me!

Sorry for the delay, should be working now.


How do I use   return   end, or does not support.

What I want:
import responder

api = responder.API()

@api.route('/')
async def func(req, resp):
    name = req.params.get('name')
    if name:
        return f'hello {name}'
    return 'hello world'

I don't know how to implement it, or don't support it at all.

Nope you can't, in order to return a response you need to assign it to resp.text, resp.media or resp.html.


fix(reactivity): toRaw on object using reactive as prototype (#6268)

fix: https://github.com/vuejs/core/issues/6268

Could you please resolve the conflicts?

@edison1105 I have tried to resolve the conflict, please help me check, thank you.

Thanks for the PR. I made some refactoring to eliminate duplicate code.


Naming of classes line, circle, polygon, etc.

There is some reason for caution when it comes to the classes line, circle, disk, polygon, and ellipse, namely that these are very common and generic names that easily clash with user choices. The options I see are:

Ignore the problem. Except that you really can't with line, because that's a built-in.
Put closedcurve and region classes in the +cmt naming scheme.
Prefix these class names with a "z" (as in complex).

My approach in the early version was to use number 3 with the line class only, and leave the others naked.

I think we should use a combination of 1 and 3. Since line is a not-uncommonly used graphics built-in, sticking with zline make more sense.
On the other hand, given someone is using the toolkit, classes like disk, polygon, and ellipse make sense to have handy. Simpler names are better from a user perspective, and if someone is using this toolkit they either will not have these geometric primitives or if they do will probably have enough knowledge to be able to work around the names without bother.
I think we should leave the cmt namespace for things used mainly internally by the toolkit itself. Again, for user simplicity, common classes should be as exposed as possible. (At least for a matlab implementation. If we were doing this in another language, e.g. Python, my argument would be completely different.)

I don't know...I'm getting less happy as I go. I'm up to zline, zgrid, zrectangle, and zbox so far. Ugly. I suppose there's option
3a. Prefix everything with 'cmt' or just 'cm'.

Ugh, I see, matlab toolbox function name clashes.
I hesitate to use the 'cm' prefix, but I guess it's no worse than 'z'. Other than 'z' indicates a "complex number" version, or something special, but then why not do all of the basic boundary/region classes like this? Having said that, 'cm' also denotes something special, but then its between cmline and zline. How do we feel about the following on the command line:
cmrectangle
cmgrid
cmbox

I could live with these. But then do we also prefix map class names? If not, why would they be special?
But the alternative, putting disk, polygon, ellipse and friends in the cmt namespace seems worse. Because then why don't we put map names in the same namespace? (I have no good solution here yet, just thinking out loud.)

No resolution yet, but the cmt. namespace is probably just too clunky to contemplate.
Here's a kind of logic. Geometric objects, which could be 2D real or complex, will all get the z prefix. Nothing else needs it. (?)

I can buy into that scheme. The consistency it applies to geometric objects makes sense.
Though are we classing only closed curves as 2d objects or do region objets fall into this category as well? We have disk as a region, which would then be zdisk. But we also have circleRegion. Should it then be zCircleRegion?


Python 3.8 install

Matplotlib 3.0.2 was released before matplotlib were packaging Python 3.8 wheels. As a result, it's not trivial to pip install pyam in a Python 3.8 environment. Is it possible to remove this matplotlib pinning and hence support (one-line installs with) Python 3.8?
$ pip install 'pyam-iamc==0.5.0'
Collecting pyam-iamc==0.5.0
  Using cached pyam_iamc-0.5.0-py2.py3-none-any.whl (65 kB)
Collecting seaborn
  Using cached seaborn-0.10.1-py3-none-any.whl (215 kB)
Collecting xlsxwriter
  Using cached XlsxWriter-1.2.8-py2.py3-none-any.whl (141 kB)
Collecting numpy
  Downloading numpy-1.18.4-cp38-cp38-macosx_10_9_x86_64.whl (15.2 MB)
     |████████████████████████████████| 15.2 MB 2.7 MB/s
Collecting requests
  Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
Collecting argparse
  Using cached argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Collecting PyYAML
  Using cached PyYAML-5.3.1.tar.gz (269 kB)
Collecting xlrd
  Using cached xlrd-1.2.0-py2.py3-none-any.whl (103 kB)
Collecting six
  Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
Collecting pandas>=0.25.0
  Downloading pandas-1.0.3-cp38-cp38-macosx_10_9_x86_64.whl (10.2 MB)
     |████████████████████████████████| 10.2 MB 2.0 MB/s
Collecting matplotlib<=3.0.2
  Downloading matplotlib-3.0.2.tar.gz (36.5 MB)
     |████████████████████████████████| 36.5 MB 143 kB/s
    ERROR: Command errored out with exit status 1:
     command: /Users/znicholls/miniconda3/envs/py38/bin/python3.8 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/tw/c4s_0zhd4f99j57w6b9hh9p5bjhl58/T/pip-install-fji9o3fo/matplotlib/setup.py'"'"'; __file__='"'"'/private/var/folders/tw/c4s_0zhd4f99j57w6b9hh9p5bjhl58/T/pip-install-fji9o3fo/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/tw/c4s_0zhd4f99j57w6b9hh9p5bjhl58/T/pip-pip-egg-info-g2fdudps
         cwd: /private/var/folders/tw/c4s_0zhd4f99j57w6b9hh9p5bjhl58/T/pip-install-fji9o3fo/matplotlib/
    Complete output (46 lines):
    IMPORTANT WARNING:
        pkg-config is not installed.
        matplotlib may not be able to find some of its dependencies
    ============================================================================
    Edit setup.cfg to change the build options

    BUILDING MATPLOTLIB
                matplotlib: yes [3.0.2]
                    python: yes [3.8.2 | packaged by conda-forge | (default, Apr
                            24 2020, 07:56:27)  [Clang 9.0.1 ]]
                  platform: yes [darwin]

    REQUIRED DEPENDENCIES AND EXTENSIONS
                     numpy: yes [not found. pip may install it below.]
          install_requires: yes [handled by setuptools]
                    libagg: yes [pkg-config information for 'libagg' could not
                            be found. Using local copy.]
                  freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                            could not be found.  You may need to install the
                            development package.]
                       png: yes [version 1.6.37]
                     qhull: yes [pkg-config information for 'libqhull' could not
                            be found. Using local copy.]

    OPTIONAL SUBPACKAGES
               sample_data: yes [installing]
                  toolkits: yes [installing]
                     tests: no  [skipping due to configuration]
            toolkits_tests: no  [skipping due to configuration]

    OPTIONAL BACKEND EXTENSIONS
                       agg: yes [installing]
                     tkagg: yes [installing; run-time loading from Python Tcl /
                            Tk]
                    macosx: yes [installing, darwin]
                 windowing: no  [Microsoft Windows only]

    OPTIONAL PACKAGE DATA
                      dlls: no  [skipping due to configuration]

    ============================================================================
                            * The following required packages can not be built:
                            * freetype
                            * Try installing freetype with `brew install
                            * freetype` and pkg-config with `brew install pkg-
                            * config`
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@gidden and @danielhuppmann maybe one for you as the plotting/packaging experts?

Unfortunately, some features of the plotting library use matplotlib internals, so just removing the pin won't work, see related issues #266, #281, #296, #327.
@gidden, any chance that you look into this?

I agree with the comments that we should allow builds against the latest
MPL. I can try to get to that, but am not sure exactly when it would
happen.
My suggestion is that we would do the following:

have a CI-environment that is still pinned to the current required MPL
version
test plot tests only in that environment
test all tests except plot tests in a 'standard' environment with latest
MPL

Thoughts?
On Mon, May 11, 2020 at 7:33 AM Daniel Huppmann<EMAIL_ADDRESS>wrote:

Unfortunately, some features of the plotting library use matplotlib
internals, so just removing the pin won't work, see related issues #266
https://github.com/IAMconsortium/pyam/issues/266, #281
https://github.com/IAMconsortium/pyam/issues/281, #296
https://github.com/IAMconsortium/pyam/issues/296, #327
https://github.com/IAMconsortium/pyam/issues/327.
@gidden https://github.com/gidden, any chance that you look into this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IAMconsortium/pyam/issues/374#issuecomment-626479254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKUAEJPSHIWDOLK6HIBWV3RQ6EZHANCNFSM4M5OBVRQ
.

Not sure if I fully get this suggestion - wouldn't that mean that using a "standard-install" to do plots would fail (raise errors)? Don't think that this is a decent user experience...


Updated to new API structure, added Friend Notes, and Public Content

Changes

Updated the API to match the currently used one.
Added endpoints to set notes on friends. The note is sent with the user details.
Added endpoints for getting a user's public avatars, worlds, and props.

Notes
Set a note example: await window.API.setFriendNote('xxxxxxxx-1d3b-4aff-defb-c167ed99b416', 'This is a note');
The notes are obtainable in the get user details endpoint, the property is called note
The note can have a maximum of 512 characters.
The endpoint will throw errors with the following codes:

400 Invalid Request Body
406 Friend Note is longer than Max Characters (512)
412 User must be friended to set a Friend Note

User's public content
Get user's public avatars: await window.API.getUserPublicAvatars('xxxxxxxx-1d3b-4aff-defb-c167ed99b416');
Get user's public worlds: await window.API.getUserPublicAvatars('xxxxxxxx-1d3b-4aff-defb-c167ed99b416');
Get user's public props: await window.API.getUserPublicAvatars('xxxxxxxx-1d3b-4aff-defb-c167ed99b416');
The response should as follow (for all 3 types):
const entries = [{
         id: 'xxxxxxxx-f914-40c2-833b-eb94e7099a97',
         name: "E-Bumpin'",
         imageUrl: 'https://files.abidata.io/user_content/spawnables/xxxxxxxx-f914-40c2-833b-eb94e7099a97/xxxxxxxx-f914-40c2-833b-eb94e7099a97.png',
         imageHash: "6640ace56daa29722f2ac490d4a439f82bd75eeb"
}];

Very kino, very gucci. Thank you.


Fail to stop kata container

Description of problem
When parallel run kata containers more than thousands times, will get some case cannot stop container, error is
124 time="2019-03-13T11:34:04+08:00" level=info msg="{\"execute\":\"quit\"}" arch=amd64 command=kill container=d5f325b8ca2f83dd876aa7061f90f989bb58d221fb79063a610217a674376a7e name=kata-runtime pid=75093 sandbox=d5f325b8ca2f83dd876aa7061f90f989bb58d221fb79063a610217a674376a7e source=virtcontainers subsystem=qmp
125 time="2019-03-13T11:34:04+08:00" level=info msg="{\"timestamp\": {\"seconds\":<PHONE_NUMBER>, \"microseconds\": 291115}, \"event\": \"SHUTDOWN\", \"data\": {\"guest\": true}}" arch=amd64 command=kill container=d5f325b8ca2f83dd876aa7061f90f989bb58d221fb79063a610217a674376a7e name=kata-runtime pid=75093 sandbox=d5f325b8ca2f83dd876aa7061f90f989bb58d221fb79063a610217a674376a7e     source=virtcontainers subsystem=qmp
126 time="2019-03-13T11:34:04+08:00" level=error msg="Fail to execute qmp QUIT" arch=amd64 command=kill container=d5f325b8ca2f83dd876aa7061f90f989bb58d221fb79063a610217a674376a7e error="unable to write command to qmp socket write unix @->/run/vc/vm/d5f325b8ca2f83dd876aa7061f90f989bb58d221fb79063a610217a674376a7e/qmp.sock: write: broken pipe" name=kata-runtime pid=75093 sand    box=d5f325b8ca2f83dd876aa7061f90f989bb58d221fb79063a610217a674376a7e source=virtcontainers subsystem=qemu

I assume if is qemu shutdown first than give response to quit request. (Just guess)
Expected result
(replace this text with an explanation of what you thought would happen)
Actual result
(replace this text with details of what actually happened)

(replace this text with the output of the kata-collect-data.sh script, after
you have reviewed its content to ensure it does not contain any private
information).

The container paths are unique so it seems unlikely this is directly related to running in parallel, but maybe more that you've managed to run a lot of containers and hit some sort of condition not normally seen.
What state is the qemu instance in (if it's still running)? Can you login with a debug console or get a stack trace of the qemu process?
Have you ever seen this behaviour before @markdryan?

Yes, I agree that it is not related with running in parallel, it occurs with a low probability, only run thousands time, and sometimes occurs. Actually when this error occurs, qemu has already shutdown, so it hard to get the stack

@jodh-intel I haven't seen this before but looking at the error message it seems that the VM has already quit.  Could the code be asking the same VM to shut down twice?  What does the shutdown code in kata look like?

@markdryan - Here is where the QMP QUIT gets called:
https://github.com/kata-containers/runtime/blob/master/virtcontainers/qemu.go#L647..L666

@Ace-Tang are you hitting this issue when running with vsock or not? Do you have a kata-proxy or not?

I'm thinking there might be some cases where the agent will terminate, and this would cause the VM to shutdown before the QMP QUIT is being called. If that's the case, this patch from PR https://github.com/kata-containers/agent/pull/415 will fix things for you.
Could you manually modify your kata image to try this out locally?

@sboeuf , I run without vsock, have kata-proxy, I will add the patch for kata-agent, and run test to see if happen again. But I also get another guess that if vm load is high, does this cause qemu shutdown before qmp returns.  BTW, it's so late, I will try tomorrow

@Ace-Tang That's a good point, if the load is high, we might have something failing in the agent because we reach a timeout, and that might cause the VM to shutdown. So this patch should help, but also it would not fix the issue that might be about timeouts.

also get another error , probably one thousandth probability, like error unable to write command to qmp socket write
time="2019-03-14T19:40:25+08:00" level=info msg="{\"execute\":\"quit\"}" arch=amd64 command=kill container=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 name=kata-runtime pid=95781 sandbox=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 source=virtcontainers subsystem=qmp
time="2019-03-14T19:40:25+08:00" level=info msg="{\"timestamp\": {\"seconds\":<PHONE_NUMBER>, \"microseconds\": 861079}, \"event\": \"VSERPORT_CHANGE\", \"data\": {\"open\": false, \"id\": \"channel0\"}}" arch=amd64 command=kill container=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 name=kata-runtime pid=95781 sandbox=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 source=virtcontainers subsystem=qmp
time="2019-03-14T19:40:25+08:00" level=info msg="{\"timestamp\": {\"seconds\":<PHONE_NUMBER>, \"microseconds\": 905028}, \"event\": \"SHUTDOWN\", \"data\": {\"guest\": true}}" arch=amd64 command=kill container=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 name=kata-runtime pid=95781 sandbox=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 source=virtcontainers subsystem=qmp
time="2019-03-14T19:40:26+08:00" level=error msg="Fail to execute qmp QUIT" arch=amd64 command=kill container=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 error="exitting QMP loop, command cancelled" name=kata-runtime pid=95781 sandbox=4eaa9fbfbdc0e79c1a878b970e3fe01cb70369dac27139eab2b0a8fe8d68ec46 source=virtcontainers subsystem=qemu

that also show vm has shutdown, so set all qmp response exitting QMP loop, command cancelled

One other point - you don't appear to have enabled full debug. If you can recreate with that enabled it might give us more of a clue as to what is happening.

exitting QMP loop, command cancelled

You are likely to see this error if you issue a whole pile of commands to the VM, but the VM shuts down before they are all executed.  This error indicates that there's no point in sending the queued command to the VM as it either isn't there any more or its no longer being monitored.

Just a note - if you are enabling full debug and running many containers in parallel, watch out for the journald dropping entries - see https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md#journald-rate-limiting
iirc, I found that whilst running 1000 containers for instance ;-)

Why vm shutdown before qmp response return I still not know, but I wonder if we can monitor the qmp event, and check if we get shutdown but qmp response is false, then we can think the vm is shutdown successful ?


Example testing a macro within a local dbt project

Background
A dbt project can contain macros like custom generic tests and SQL files like custom singular tests. How do you know if they work correctly for the edge cases of possible input?
This branch demonstrates how to use pytest to interrogate that these custom tests behave as expected.
Note
This is only intended to show how to use the testing framework -- it doesn't cover all the test cases you'd want and expect.
Running the tests
# all tests
python3 -m pytest

# example of a generic test (aka "custom data test")
python3 -m pytest tests/functional/example/test_example_failing_test.py::TestGenericTestExample

# example of a singular test (aka "custom schema test")
python3 -m pytest tests/functional/example/test_example_failing_test.py::TestSingularTestExample

# example of a test for the transformation of a single model
python3 -m pytest tests/functional/example/test_example_failing_test.py::TestModelBuildExample

Pull Request closed to prepare for Repository Archival


glusterfs-server_glusterfs-daemon won`t start after host reboot

I have glusterfs cluster on 3 nodes.
When I reboot first node
Then all come up except glusterfs-server_glusterfs-daemon
It keeps restarts
Logs: http://pastebin.com/8KnMHUEX
Even daemon container falis to start, volume automatucully mounts and replication works.

Useful
Info

Versions
Rancher v1.1.0-dev1 Cattle: v0.160.3 UI: v1.0.7

Access
github admin

Route
hosts.index

I was unable to reproduce. I tried rebooting my nodes that were running glusterfs cluster and had no issues of them coming up.

Just deployed glusterfs stack from catalog (on 1.0.2 now) and right after deployment finished tried to upgrade it (point host labels on scheduling) and glusterfs dameon falis to start.
Logs: http://pastebin.com/g5gRAMXd
Different error now, but daemon problem again. And cancelling upgrade not fixes the problem.
Wait 15 minutes please. I'll write another comment with original use-case result...

Hmm... Could not reproduce original problem on 1.0.2

I'll close this as I was unable to reproduce on v1.1.0-dev4-rc1 (latest dev release), please re-open if you have further issues.


fix: Handle floating point greater than 32 bit properly

Describe your changes
Handle floating point greater than 32 bit properly
How best to test these changes
Issue ticket number and link

Codecov Report
Base: 57.24% // Head: 28.39% // Decreases project coverage by -28.85% :warning:

Coverage data is based on head (d63f38c) compared to base (90f8163).
Patch coverage: 16.21% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #842       +/-   ##
===========================================
- Coverage   57.24%   28.39%   -28.85%
===========================================
  Files         175      175
  Lines       19330    19364       +34
===========================================
- Hits        11066     5499     -5567
- Misses       7307    13218     +5911
+ Partials      957      647      -310

Impacted Files
Coverage Δ

api/server/v1/validator.go
22.09% <ø> (-43.03%)
:arrow_down:

server/middleware/measure.go
71.79% <0.00%> (-10.26%)
:arrow_down:

store/search/ts.go
39.83% <0.00%> (-37.45%)
:arrow_down:

value/value.go
12.55% <ø> (-45.61%)
:arrow_down:

server/services/v1/database/errors.go
32.00% <20.00%> (-8.00%)
:arrow_down:

query/filter/selector.go
19.14% <33.33%> (-58.76%)
:arrow_down:

server/services/v1/database/query_runner.go
50.23% <100.00%> (-13.99%)
:arrow_down:

server/search/factory.go
0.00% <0.00%> (-100.00%)
:arrow_down:

lib/container/priority_queue.go
0.00% <0.00%> (-100.00%)
:arrow_down:

server/quota/namespace.go
0.00% <0.00%> (-98.37%)
:arrow_down:

... and 116 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add CONTRIBUTING file

Closes #2

merge when you want, the playground will arrive soon 🙂

But you can wait for #9 if you prefer of course 😇

bors try

bors merge


Surrounds negative numbers with parentheses when necessary

This behavior is consistent with Show instances of integral types in
base and allows the result of show to be parsed as Haskell code.
The added test used to fail and now passes:
    show (Just (-1)):                   FAIL
      test/test.hs:116:
      expected: "Just (-1.0)"
       but got: "Just -1.0"

Can we release <IP_ADDRESS> to hackage with this fix?

This code looks good to me. Any reason for not merging it? Ping @basvandijk

@basvandijk  ping, can we have this merged and release a new version with this fix?


chore: Replace SharpZipLib TarArchive helper class with TarOutputStream

What does this PR do?
Replaces the TarArchive helper class with the TarOutputStream.
Why is it important?
This PR allows us to read the input file before creating the tar entry. In some cases (e.g. the input file is used by another process), we cannot read the file contents. The SharpZipLib's TarArchive.WriteEntry(TarEntry, bool) helper method creates and adds the tar entry before reading the file. In the case mentioned above, this will throw a TarException that hides the underlying exception (issue).
For a better development experience, we replace the helper class / method. In case of an error, developers will get the underlying error.
Related issues

-

Probably we can change the method to public Task<string> Tar().


SECURITY VULNERABILITY - request without token, or empty token is granted access

I've added know to JSONAPI::ResourceControllerMetal and I was surprised that all my controller specs were still working (without any token). Whenever I've pass the wrong token the action was stopped.
Digging dipper give me hint that Knock::AuthToken.new(token: nil) will generate new token and Authentication is executed at all.
This is my first project where I'm using Knock - still it looks for me as serious vulnerability. I know that in User finder method I can raise an exception, still authenticate_user should never pass through request without valid token (in this case without token).
So far I've solved the problem by adding another before_action to my ApplicationController
class ApplicationController < JSONAPI::ResourceControllerMetal
  include Knock::Authenticable

  before_action :ensure_token_is_given
  before_action :authenticate_user

  # it's for knock only, and this is a very naive implementation of head method
  def head(type, options = {})
    render json: {error: type}, status: 401
  end

  def ensure_token_is_given
    head :unauthorized if token.blank?
  end
end

The most reasonable is to add this in token_from_request_headers
I'm willing to prepare pull request, still would like to have any feedback from the previous contributors.

I also wonder why the constructor new in Knock::AuthToken have more then one job.
    def initialize payload: {}, token: nil, verify_options: {}
      if token.present?
        @payload, _ = JWT.decode token, decode_key, true, options.merge(verify_options)
        @token = token
      else
        @payload = claims.merge(payload)
        @token = JWT.encode @payload,
          secret_key,
          Knock.token_signature_algorithm
      end
end

is there a reason why it isn't a two separate factories?

This checks out. I was wondering as well. I am able to make all requests IF i pass no token.

@AldrichMascarenhas , can you show us some examples of requests with no token using for example Postman?

@johnunclesam
Repo : https://github.com/AldrichMascarenhas/Knock-Issue142-Example
Also image : https://github.com/AldrichMascarenhas/Knock-Issue142-Example/blob/master/Screenshot from 2017-02-07 07-54-24.png

I encountered the same vulnerability when testing my application that uses knock. How does the test coverage for this gem look like?

From what I see there is no test case for context: authorization header not provided:
https://github.com/nsarno/knock/blob/master/test/dummy/test/controllers/admin_protected_controller_test.rb#L18
Can anyone confirm?

@cs3b thank you for reporting this.
@AldrichMascarenhas thank you for providing example code.
Knock responsibility is to assert the existence of a correctly signed token. I agree that in the case where a token isn't provided, the execution should be stopped as soon as possible by Knock and it should not try to instantiate a user. This need to be fixed (I'm happy to do it myself or review someone else's PR).
What this issue is not:
I don't believe you can take advantage of this issue to get access to another user's data.
What this issue is:
Knock should not put the developer in a position where they have to find or create a user from an empty payload. Although doing so should not result in a user being granted access as basic validation should be performed on the payload data.
In the case of the example code provided, this would mean actually checking that the sub key is present (using fetch for example) and that the value contained is not nil.
--

I also wonder why the constructor new in Knock::AuthToken have more then one job.

No good reason. It's one of the things I've been willing to refactor but haven't taken the time yet.

From what I see there is no test case for context: authorization header not provided:

Isn't the test at line 20 what you're looking for?
Sorry if the test description isn't explicit. Although I don't believe knock lacks test coverage, they could definitely be improved in term of readability.

#143 should address the issue.
@cs3b (and others) Could you please review it and let me know if I'm missing something?
Ultimately,  I believe a deeper refactoring of the Authenticable module and the AuthToken class would be needed. SRP and readability have been compromised in multiple places which goes against what I think this gem should be.
Thank you everyone for the precious feedback.

@nsarno yes it looks good - thank you 👍


RedHat 7 repo error

After last update of the influx db repo (at 2020-10-09 01:02)
Centor 7 don't are capable of access the influxdb repo

Steps to reproduce:

add yum.repo of influx db
exec some yum command (P.E. yum search some, or yum install influxdb)

Expected behavior:
Influx db repo config sucefull
Actual behavior:
the repo is non accesible
Environment info:

System info:Linux 3.10.0-1127.19.1.el7.x86_64 x86_64
** CentOS Linux release 7.8.2003 (Core)

Logs:
failure: repodata/2cc236e28fae3579aecc943c0249fb16c44e11ad-primary.sqlite.bz2 from influxdb: [Errno 256] No more mirrors to try.
https://repos.influxdata.com/rhel/7/x86_64/stable/repodata/2cc236e28fae3579aecc943c0249fb16c44e11ad-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
# yum search some

Thanks for the report. I can confirm our repo seems to be down right now. Steps to reproduce:

Follow the instruction to add the InfluxDB repo to yum, then run sudo yum install influxdb

...
failure: repodata/repomd.xml from influxdb: [Errno 256] No more mirrors to try.
https://repos.influxdata.com/rhel/2/x86_64/stable/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

We're working on rebuilding the metadata. In the meantime, you can manually change the following line in the /etc/yum.repos.d/influxdb.repo file.
baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
# to...
baseurl = https://repos.influxdata.com/rhel/8/\$basearch/stable

This should be fixed now.


iOS 17.1.1 crash while type some characters and double click in textfield

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

type "hdjdd"
double click textfield
crash

work in iOS 17.0.0 well. While update to 17.1.1 crash.
Expected results
no crash
Actual results
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected a valid text range.'
*** First throw call stack:
(0x1a277c870 0x19aa97c00 0x1a1ce6d18 0x10af72f54 0x1a5560928 0x1a555ec90 0x1a5557724 0x1a55573ec 0x1a55539ac 0x1a54d37e0 0x1a4bc3c2c 0x1a4bc3b10 0x1a551b738 0x1a54d34a0 0x10af71a78 0x10af79d04 0x10b4fe1c8 0x10af6b590 0x10a678f50 0x10a67ab34 0x10a68afec 0x10a68aba0 0x1a26c720c 0x1a26c3f18 0x1a26c3668 0x1e5a8e5ec 0x1a4ae02b4 0x1a4adf8f0 0x104ae49cc 0x1c5116dcc)
Code sample
Code sample

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: const Center(
        child: TextField(),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/113404168/c9f63266-ef88-4abf-aa48-34ca9874656e

Logs
Logs

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected a valid text range.'
*** First throw call stack:
(0x1a277c870 0x19aa97c00 0x1a1ce6d18 0x10af72f54 0x1a5560928 0x1a555ec90 0x1a5557724 0x1a55573ec 0x1a55539ac 0x1a54d37e0 0x1a4bc3c2c 0x1a4bc3b10 0x1a551b738 0x1a54d34a0 0x10af71a78 0x10af79d04 0x10b4fe1c8 0x10af6b590 0x10a678f50 0x10a67ab34 0x10a68afec 0x10a68aba0 0x1a26c720c 0x1a26c3f18 0x1a26c3668 0x1e5a8e5ec 0x1a4ae02b4 0x1a4adf8f0 0x104ae49cc 0x1c5116dcc)

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.9, on macOS 13.5.2 22G91 darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.84.2)
[✓] Connected device (5 available)
[✓] Network resources

Thanks for filing this @randomhuangpl.
I tried the steps you shared on both iOS 17.0 and iOS 17.1.1 and I can't reproduce the crash on either of them (see video on iOS 17.1.1 below).
https://github.com/flutter/flutter/assets/53122008/914631ae-81a5-41cf-8089-0f8420a1117b
Can you please share your device information and the full output of your flutter run -v?
flutter doctor -v

[!] Flutter (Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-arm64, locale
    en-NG)
    • Flutter version 3.13.9 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (3 weeks ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/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.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.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.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/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
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile)        • emulator-5554
      • android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)         • 00008110-001964480AE1801E
      • ios            • iOS 17.1.1 21B91
    • iPad Air (5th generation) (mobile) • B3716F7D-587E-4473-9F87-F1BA94E31B29
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
    • macOS (desktop)                    • macos
      • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)                       • chrome
      • web-javascript • Google Chrome 119.0.6045.159

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

@dam-ease
I reorganized it and found that the issue seems to be like this
For example, input "hdjdd" and then wait for a moment to let the iOS keyboard generate predictive suggestions. At this point, the text inside the textfield will be automatically selected, and the suggestion below is "hdjk". Now, double-click the TextField and click "Select All."
I suspect that because the length of "hdjk" is smaller than "hdjdd," it causes a crash. So, the issue seems to be that when inputting certain characters, if the length of the suggested word is shorter than the original one, it leads to a crash.
type "fggjiy" ，the suggested is "fight"，and it crash

Thanks for your response. I tried these as well but can't reproduce the crash, maybe it could be device-specific, can you also try these steps on an emulator of a different device with the same OS?
Also, kindly help with the full output of your flutter run -v?

I have information from users of my app with the same problem, but I couldn't reproduce it because I don't have a device with iOS 17+, but I have videos recorded by customers and the same thing happens, when interacting with a textField the app freezes for a few moments and closes in followed.

I have information from users of my app with the same problem, but I couldn't reproduce it because I don't have a device with iOS 17+, but I have videos recorded by customers and the same thing happens, when interacting with a textField the app freezes for a few moments and closes in followed.

I managed to minimize the problem by setting the "autocorrect: false" attribute.
Although it's not the best of all worlds, at least the app stopped crashing.

Thanks for responding @AguinaldoAranda.
Can you help with the full output of your flutter run -v?

Thanks for responding @AguinaldoAranda. Can you help with the full output of your flutter run -v?

Hello everything is fine?
The problem was reported by a customer, iPhone 11 with iOS 17.1.2
The problem does not happen in my development environment, with an iPhone 11/14 simulator and iOS 16.2.
And although the problem is related to inputText, in my case, the app closes when the user presses to use a text suggestion.
I noticed that the attr "autocorrect: false," does not disable the suggestions if the attr TextInputType is text, I changed it to TextInputType = name, this way it worked, but very frustrating.
Sorry for English.

Thanks for your response.
I can't seem to reproduce this as well on my end.
I'll keep this open and label for more insights from the team.
Thank you!

instead of throwing it looks like our text(in:) implementation should return nil instead.

Hey I am facing this issue on iOS 17+ device, when AutoCorrect is enabled. And as mention by @AguinaldoAranda the app is freezing and crashing 2 or 3 times initially. I added flags enabledSuggestions and autoCorrect to false but that seems to not working as expected

Hey I am facing this issue on iOS 17+ device, when AutoCorrect is enabled. And as mention by @AguinaldoAranda the app is freezing and crashing 2 or 3 times initially. I added flags enabledSuggestions and autoCorrect to false but that seems to not working as expected

I have had success with autocorrect:false when used in conjunction with attr keyboardType: TextInputType.name

Hey I am facing this issue on iOS 17+ device, when AutoCorrect is enabled. And as mention by @AguinaldoAranda the app is freezing and crashing 2 or 3 times initially. I added flags enabledSuggestions and autoCorrect to false but that seems to not working as expected

I have had success with autocorrect:false when used in conjunction with attr keyboardType: TextInputType.name

@ankittale , did this solve it?

Hey I am facing this issue on iOS 17+ device, when AutoCorrect is enabled. And as mention by @AguinaldoAranda the app is freezing and crashing 2 or 3 times initially. I added flags enabledSuggestions and autoCorrect to false but that seems to not working as expected

I have had success with autocorrect:false when used in conjunction with attr keyboardType: TextInputType.name

@ankittale , did this solve it?

Yes Indeed. Thanks

Here is a symbolicated crash log from my app.
Flutter version: 3.16.7
Crash log:
Full log:
9c1a627eb0a544d5b52420ba6890478f-symbolicated.log
Device: iPhone15,4 (iOS 17.2.1)
NSInternalInconsistencyException: Expected a valid text range.

CoreFoundation 0x1b148a69c __exceptionPreprocess
Flutter 0x10690b7b4 -[FlutterTextInputView textInRange:] (FlutterTextInputPlugin.mm:1238)
UIKitCore 0x1b427a9bc -[UIKBRTIPartner _queryUIKitDocumentRequest:completion:]
Flutter 0x10690a2c4 -[FlutterTextInputView setTextInputState:] (FlutterTextInputPlugin.mm:1001)
Flutter 0x1069128ac -[FlutterTextInputPlugin handleMethodCall:result:] (FlutterTextInputPlugin.mm)
Flutter 0x106ea1a34 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke (FlutterChannels.mm:313)
Flutter 0x106903bfc flutter::PlatformMessageHandlerIos::HandlePlatformMessage (platform_message_handler_ios.mm:73)
libdispatch 0x1b93936a4 _dispatch_call_block_and_release
Runner 0x104320774 main (AppDelegate.swift:9)

Originally posted by @hig-dev in https://github.com/flutter/flutter/issues/100891#issuecomment-1912469518

Here is crash log from our app in production. While using app on iOS, whenever tapped on textfield, app freezes for some time.

Crash log
# Crashlytics - Stack trace
# Application: hmg.mep.pharmacy
# Platform: apple
# Version: 1.29.0 (29)
# Issue: e28b6421c54b9f83bc22ec09f2d32b81
# Session: 72657e9052104cd2b484430250113eb8_DNE_0_v2
# Date: Sun Feb 04 2024 14:29:51 GMT-0700 (Mountain Standard Time)

Fatal Exception: NSInternalInconsistencyException
0  CoreFoundation                 0xec678 (Missing UUID 5a6c1f41bf7032f6a1d65b894dd21362)
1  libobjc.A.dylib                0x2bc80 objc_exception_throw
2  Foundation                     0x6b0d38 (Missing UUID 5623831d571933a99691759f47d714d1)
3  Flutter                        0x4b7b8 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  UIKitCore                      0xcb23b8 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
5  UIKitCore                      0xcb07b0 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
6  UIKitCore                      0xca90b4 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
7  UIKitCore                      0xca8d44 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
8  UIKitCore                      0xca5304 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
9  UIKitCore                      0xc2468c (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
10 UIKitCore                      0x3103e0 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
11 UIKitCore                      0x3102c4 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
12 UIKitCore                      0xc6caa4 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
13 UIKitCore                      0xc2434c (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
14 Flutter                        0x4a2c8 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
15 Flutter                        0x528b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
16 Flutter                        0x5e1a38 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
17 Flutter                        0x43c00 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
18 libdispatch.dylib              0x26a8 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
19 libdispatch.dylib              0x4300 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
20 libdispatch.dylib              0x12998 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
21 libdispatch.dylib              0x125b0 (Missing UUID c49a5fc2c87339139603004f5d0175e7)
22 CoreFoundation                 0x36f9c (Missing UUID 5a6c1f41bf7032f6a1d65b894dd21362)
23 CoreFoundation                 0x33ca8 (Missing UUID 5a6c1f41bf7032f6a1d65b894dd21362)
24 CoreFoundation                 0x333f8 (Missing UUID 5a6c1f41bf7032f6a1d65b894dd21362)
25 GraphicsServices               0x34f8 (Missing UUID ac07ebbed8bc3e55a13a07bb548734d1)
26 UIKitCore                      0x22c8a0 (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
27 UIKitCore                      0x22bedc (Missing UUID 6398ddd4ea3631cdb8492f6217205bed)
28 Runner                         0x99c8 main + 9 (AppDelegate.swift:9)
29 ???                            0x1ca3b6dcc (Missing)

Crashed: com.google.firebase.crashlytics.ios.exception
0  FirebaseCrashlytics            0x214f4 FIRCLSProcessRecordAllThreads + 184
1  FirebaseCrashlytics            0x218d4 FIRCLSProcessRecordAllThreads + 1176
2  FirebaseCrashlytics            0x18a04 FIRCLSHandler + 48
3  FirebaseCrashlytics            0x13728 __FIRCLSExceptionRecord_block_invoke + 92
4  libdispatch.dylib              0x4300 <redacted> + 20
5  libdispatch.dylib              0x136b4 <redacted> + 56
6  FirebaseCrashlytics            0x12734 FIRCLSExceptionRecord + 204
7  FirebaseCrashlytics            0x13248 FIRCLSExceptionRecordNSException + 452
8  FirebaseCrashlytics            0x1238c FIRCLSTerminateHandler() + 404
9  libc++abi.dylib                0x143bc std::__terminate(void (*)()) + 16
10 libc++abi.dylib                0x14360 std::terminate() + 108
11 libobjc.A.dylib                0x3ccd4 objc_terminate + 16
12 libdispatch.dylib              0x4314 <redacted> + 40
13 libdispatch.dylib              0x12998 <redacted> + 984
14 libdispatch.dylib              0x125b0 _dispatch_main_queue_callback_4CF + 44
15 CoreFoundation                 0x36f9c <redacted> + 16
16 CoreFoundation                 0x33ca8 <redacted> + 1996
17 CoreFoundation                 0x333f8 CFRunLoopRunSpecific + 608
18 GraphicsServices               0x34f8 GSEventRunModal + 164
19 UIKitCore                      0x22c8a0 <redacted> + 888
20 UIKitCore                      0x22bedc UIApplicationMain + 340
21 Runner                         0x99c8 main + 9 (AppDelegate.swift:9)
22 ???                            0x1ca3b6dcc (Missing)

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.apple.uikit.eventfetch-thread
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35a9c <redacted> + 160
5  CoreFoundation                 0x33994 <redacted> + 1208
6  CoreFoundation                 0x333f8 CFRunLoopRunSpecific + 608
7  Foundation                     0x2c3ec <redacted> + 212
8  Foundation                     0x596ac <redacted> + 64
9  UIKitCore                      0x18e710 <redacted> + 420
10 Foundation                     0xafd40 <redacted> + 732
11 libsystem_pthread.dylib        0x24d4 _pthread_start + 136
12 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.flutter.1.ui
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35a9c <redacted> + 160
5  CoreFoundation                 0x33994 <redacted> + 1208
6  CoreFoundation                 0x333f8 CFRunLoopRunSpecific + 608
7  Flutter                        0x2e95e8 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
8  Flutter                        0x2e8c5c (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.flutter.1.raster
0  libsystem_kernel.dylib         0x110c semaphore_timedwait_trap + 8
1  libdispatch.dylib              0x4918 <redacted> + 64
2  libdispatch.dylib              0x4f14 <redacted> + 76
3  QuartzCore                     0x110bcc <redacted> + 968
4  QuartzCore                     0x110798 <redacted> + 128
5  Flutter                        0x5ea4e0 InternalFlutterGpuTestClass_Method + 41436
6  Flutter                        0x3ebc30 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
7  Flutter                        0x3ec2c4 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
8  Flutter                        0x2e7734 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
9  Flutter                        0x3eb958 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
10 Flutter                        0x3eccbc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
11 Flutter                        0x3ec4fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
12 Flutter                        0x404838 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
13 Flutter                        0x2e5d68 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
14 Flutter                        0x2e94fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
15 CoreFoundation                 0xad3c8 <redacted> + 32
16 CoreFoundation                 0xad070 <redacted> + 1004
17 CoreFoundation                 0x36c04 <redacted> + 288
18 CoreFoundation                 0x33c1c <redacted> + 1856
19 CoreFoundation                 0x333f8 CFRunLoopRunSpecific + 608
20 Flutter                        0x2e95e8 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
21 Flutter                        0x2e8c5c (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
22 libsystem_pthread.dylib        0x24d4 _pthread_start + 136
23 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.flutter.1.io
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35a9c <redacted> + 160
5  CoreFoundation                 0x33994 <redacted> + 1208
6  CoreFoundation                 0x333f8 CFRunLoopRunSpecific + 608
7  Flutter                        0x2e95e8 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
8  Flutter                        0x2e8c5c (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.1
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.2
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.3
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.4
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.5
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.6
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

dart:io EventHandler
0  libsystem_kernel.dylib         0xef0c kevent + 8
1  Flutter                        0x5a1ed4 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
2  Flutter                        0x5cf9c8 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
4  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.1
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.2
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.3
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

io.worker.4
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0xfd4 <redacted> + 1228
2  Flutter                        0x570fc (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
3  Flutter                        0x2e28b0 (Missing UUID 4c4c44da55553144a1f7c3e66c77eeff)
4  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
5  libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.google.firebase.crashlytics.MachExceptionServer
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  FirebaseCrashlytics            0x1b040 FIRCLSMachExceptionServer + 104
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

com.apple.NSURLConnectionLoader
0  libsystem_kernel.dylib         0x1178 mach_msg2_trap + 8
1  libsystem_kernel.dylib         0xf10 mach_msg2_internal + 80
2  libsystem_kernel.dylib         0xe28 mach_msg_overwrite + 436
3  libsystem_kernel.dylib         0xc68 mach_msg + 24
4  CoreFoundation                 0x35a9c <redacted> + 160
5  CoreFoundation                 0x33994 <redacted> + 1208
6  CoreFoundation                 0x333f8 CFRunLoopRunSpecific + 608
7  CFNetwork                      0x25a050 estimatedPropertyListSize + 38188
8  Foundation                     0xafd40 <redacted> + 732
9  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
10 libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x62eef0 InternalFlutterGpuTestClass_Method + 322540
4  Flutter                        0x6d209c InternalFlutterGpuTestClass_Method + 990616
5  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
6  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
7  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x6d2068 InternalFlutterGpuTestClass_Method + 990564
4  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x6d2068 InternalFlutterGpuTestClass_Method + 990564
4  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x6d2068 InternalFlutterGpuTestClass_Method + 990564
4  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x6d2068 InternalFlutterGpuTestClass_Method + 990564
4  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x6d2068 InternalFlutterGpuTestClass_Method + 990564
4  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x6d2068 InternalFlutterGpuTestClass_Method + 990564
4  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

Thread
0  libsystem_kernel.dylib         0x96d0 __workq_kernreturn + 8
1  libsystem_pthread.dylib        0x19b0 _pthread_wqthread + 364
2  libsystem_pthread.dylib        0x1a04 start_wqthread + 8

Thread
0  libsystem_pthread.dylib        0x19fc _pthread_wqthread + 438

DartWorker
0  libsystem_kernel.dylib         0x1b1c __psynch_cvwait + 8
1  libsystem_pthread.dylib        0x1000 <redacted> + 1272
2  Flutter                        0x697558 InternalFlutterGpuTestClass_Method + 750164
3  Flutter                        0x6d2068 InternalFlutterGpuTestClass_Method + 990564
4  Flutter                        0x696f24 InternalFlutterGpuTestClass_Method + 748576
5  libsystem_pthread.dylib        0x24d4 _pthread_start + 136
6  libsystem_pthread.dylib        0x1a10 thread_start + 8

Facing same issue here is the video recording and logs...
Incident Identifier: A90B007B-8E4C-413B-B287-D51C32B8DD3E
Hardware Model:      iPhone15,3
Process:             Runner [1661]
Path:                /private/var/containers/Bundle/Application/73F511BA-44A5-4607-A14B-11AB3C8CC0F3/Runner.app/Runner
Identifier:          com.*****.***
Version:             1.0.0 (138)
AppStoreTools:       15C5500a
AppVariant:          1:iPhone15,3:17
Beta:                YES
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.*****.*** [717]

Date/Time:           2024-02-23 12:33:14.2173 +0530
Launch Time:         2024-02-23 12:07:10.4756 +0530
OS Version:          iPhone OS 17.3.1 (21D61)
Release Type:        User
Baseband Version:    2.20.06
Report Version:      104

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: SIGNAL 6 Abort trap: 6
Terminating Process: Runner [1661]

Triggered by Thread:  0

Last Exception Backtrace:
0   CoreFoundation                	0x1adc7e678 __exceptionPreprocess + 164 (NSException.m:249)
1   libobjc.A.dylib               	0x1a5f07c80 objc_exception_throw + 60 (objc-exception.mm:356)
2   Foundation                    	0x1ad1dcd38 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 188 (NSException.m:252)
3   Flutter                       	0x10bd1ef54 -[FlutterTextInputView textInRange:] + 628 (FlutterTextInputPlugin.mm:1203)
4   UIKitCore                     	0x1b0a713b8 -[UIKBRTIPartner _queryUIKitDocumentRequest:completion:] + 1996 (UIKBRTIPartner.m:3879)
5   UIKitCore                     	0x1b0a6f7b0 -[UIKBRTIPartner _queryDocumentRequest:completion:] + 120 (UIKBRTIPartner.m:3534)
6   UIKitCore                     	0x1b0a680b4 -[UIKBRTIPartner _updateRTIStateWithCompletion:] + 576 (UIKBRTIPartner.m:1948)
7   UIKitCore                     	0x1b0a67d44 -[UIKBRTIPartner updateStateWithCompletion:updateTraits:] + 144 (UIKBRTIPartner.m:1716)
8   UIKitCore                     	0x1b0a64304 -[UIKBRTIPartner documentStateChanged:] + 176 (UIKBRTIPartner.m:941)
9   UIKitCore                     	0x1b09e368c __37-[UIKeyboardImpl selectionDidChange:]_block_invoke_3 + 52 (UIKeyboardImpl.m:11881)
10  UIKitCore                     	0x1b00cf3e0 -[UIKeyboardTaskEntry execute:] + 208 (UIKeyboardTaskQueue.m:869)
11  UIKitCore                     	0x1b00cf2c4 -[UIKeyboardTaskQueue continueExecutionOnMainThread] + 324 (UIKeyboardTaskQueue.m:447)
12  UIKitCore                     	0x1b0a2baa4 -[UIKeyboardTaskQueue addTask:] + 96 (UIKeyboardTaskQueue.m:572)
13  UIKitCore                     	0x1b09e334c -[UIKeyboardImpl selectionDidChange:] + 728 (UIKeyboardImpl.m:11880)
14  Flutter                       	0x10bd1da78 -[FlutterTextInputView setTextInputState:] + 1236 (FlutterTextInputPlugin.mm:968)
15  Flutter                       	0x10bd25d04 -[FlutterTextInputPlugin handleMethodCall:result:] + 500 (FlutterTextInputPlugin.mm:0)
16  Flutter                       	0x10c2aa1c8 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 172 (FlutterChannels.mm:268)
17  Flutter                       	0x10bd17590 invocation function for block in flutter::PlatformMessageHandlerIos::HandlePlatformMessage(std::_LIBCPP_ABI_NAMESPACE::unique_ptr<flutter::PlatformMessage, std::_LIBCPP_ABI_NAMESPACE::default_delet... + 116 (platform_message_handler_ios.mm:73)
18  libdispatch.dylib             	0x1b5b906a8 _dispatch_call_block_and_release + 32 (init.c:1530)
19  libdispatch.dylib             	0x1b5b92300 _dispatch_client_callout + 20 (object.m:561)
20  libdispatch.dylib             	0x1b5ba0998 _dispatch_main_queue_drain + 984 (queue.c:7813)
21  libdispatch.dylib             	0x1b5ba05b0 _dispatch_main_queue_callback_4CF + 44 (queue.c:7973)
22  CoreFoundation                	0x1adbc8f9c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1780)
23  CoreFoundation                	0x1adbc5ca8 __CFRunLoopRun + 1996 (CFRunLoop.c:3149)
24  CoreFoundation                	0x1adbc53f8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
25  GraphicsServices              	0x1f117b4f8 GSEventRunModal + 164 (GSEvent.c:2196)
26  UIKitCore                     	0x1affeb8a0 -[UIApplication _run] + 888 (UIApplication.m:3685)
27  UIKitCore                     	0x1affeaedc UIApplicationMain + 340 (UIApplication.m:5270)
28  Runner                        	0x102b87e94 main + 64 (AppDelegate.swift:12)
29  dyld                          	0x1d092edcc start + 2240 (dyldMain.cpp:1269)

https://github.com/flutter/flutter/assets/97177197/64354708-1655-4bbb-9787-bd4af6b7e4ff

A similar crash occurred on my side. When I was typing, I clicked on the input box and it flashed back.
[!] Flutter (Channel [user-branch], 3.16.3, on macOS 13.5.1 22G90 darwin-arm64, locale zh-Hans-CN)
! Flutter version 3.16.3 on channel [user-branch] at /Users/wuwenwei/development/flutter
Currently on an unknown channel. Run flutter channel to switch to an official channel.
If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/docs/get-started/install.
! Upstream repository unknown source is not a standard remote.
Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
• Framework revision b0366e0a3f (3 months ago), 2023-12-05 19:46:39 -0800
• Engine revision 54a7145303
• Dart version 3.2.3
• DevTools version 2.28.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
• Android SDK at /Users/wuwenwei/Library/Android/sdk
• Platform android-34, build-tools 32.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A240d
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.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
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.84.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.84.0
[✓] Connected device (4 available)
• iPhone15 (mobile) • 00008130-00114C983620001C • ios            • iOS 17.2 21C5029g

https://github.com/flutter/flutter/assets/52393077/130b72a9-c9d6-4e2f-aa00-73a377d880e4

Has anyone solved this? is exactly the same issue that has been crashing our iOS users in a Chat functionality.
The KeyboardType needs to be multiline I see all the hack solutions saying to change the type of keyboard and then enableSuggestion=false which is not a good experience at all for a chat TextField. Has anyone fix this issue and have a suggestion? Or know how to actually disable the suggestions without changing the keyboard type?
I would appreciate lots anyone help regarding this issue 🙏

Is this fixed on the latest flutter version or still an issue?

Still seeing this on Flutter 3.24.2

Likewise

Flutter 3.24.5
Reproduce on iPhone 12 mini, iOS 17.7.
Not reproduce on iPhone SE (3rd generation), iOS 18.1.

I have got a live crash on iOS 18 for this issue :


Puzzled in pBitmap, hBitmap and BitmapBuffer

what I know is:
use pBitmap: has source from rect of screent, file, clipboard and so on,
use hBitmap : no clear source, create by CreateDIBSection
pBitmap and hBitmap can covert to each other.
I see BitmapBuffer in your code, why use this?
put_window use CreateWindowEx instead of gui.
too much doubt...
BTW, I write a funtion for crop to get new postion by width, fyi ^_^
;v<0          width - abs(v)
;v<1          width * v
;v<width   v
;v≥width   other
forCrop(width, v, other:=0) {
    if (v == 0)
        return v
    if (v < 0) {
        v := width - abs(v)
        if (v < 0)
            v := other
    } else if (v < 1) {
        v := round(width * v)
    } else if (v > width) {
        v := other
    }
    return v
}

Hi, thanks for taking a look though the code.
The main difference is that hBitmap is used by GDI and pBitmap is used by GDI+. However, you do not have access to the pixels with both hBitmap and pBitmap. Therefore, I created BitmapBuffer to help users who want access to pixels.
Initially, I thought that just returning a buffer with the pixel data was good enough. However, I realized that people would have trouble running pixelsearch and imagesearch, so I wrote the machine code to help them.
You should only use BitmapBuffer if you need access to pixels. Otherwise it is much faster to use either hBitmap or pBitmap.


Better integration with maven build

I have modified the pom.xml of the examples module .. to make the maven build more practical and more suitable for working with IDEs

Hi could please explain what are benefits to use the maven processor plugin.
I develop Selma under IntelliJ IDEA and it works like a charm.
I'll merge this pull request, but could you please respect the code format in place. It seems that you are using tabs instead of spaces and if you take a look at the diff, you will see that you broke the code format.
Thanks for contributing to Selma.

I second this pull request, using maven-processor-plugin has better integration into Eclipse.
Without it (i.e. using the usage documented on Selma site):

generated-sources is not automatically added to Eclipse classpath, preventing from running applications or tests from Eclipse
generation does not automatically happen when source files are changed
if forcing JDT APT integration, I even got into some weird JDT bug on enum with fields (https://bugs.eclipse.org/bugs/show_bug.cgi?id=357494)

I'm willing to help reformat the initial pull request to respect the code format in place if necessary.


When can the code be released?

When can the code be released?

Hi Rizhao, I just upload the code.


[RESOLVED] No SNMP data collection

Problem started at 19:46:47 on 2023.04.08
Problem name: No SNMP data collection
Host: HP_iLO
Severity: Warning
Operational data: Current state: not available (0)
Original problem ID: 5482
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23274&eventid=5482

Problem has been resolved in 4m 0s at 19:50:47 on 2023.04.08
Problem name: No SNMP data collection
Host: HP_iLO
Severity: Warning
Original problem ID: 5482


Add Accept-Language parsing and prioritizing

Motivation:
Accept-Language is a client supplied header detailing what locales the
client user prefers and the weight of the preference. It's really
mostly useful to detect the default language of the site.
Modifications:
Added method acceptLanguages() and getLocale(supportedLocales) to
RoutingContext and all it's subclasses.
Add a lazy init property for acceptLanguages() to avoid parsing
unless needed.
Closes #3179

I'm not sure if the getLocale() method is a good idea, as it is not the same as the RFC4647 Lookup. Personally I would like it, because imho it's the most sane/expected version as it is the same as obsoleted RFC2616 Accept-Language (the HTTP/1.1 protocol). It probably needs more documentation, to specify that it uses [RFC4647 Basic Filtering]
Reading the spec RFC7231 Accept-Language
the line Implementations can offer the most appropriate matching scheme for their requirements. seems to allow
picking and choosing your own Locale selection algorithm.
        final HttpHeaders headers = HttpHeaders.of(
                HttpHeaderNames.ACCEPT_LANGUAGE,
                "de-us ;q=0.9, *;q=0.8,en;q=0.95, en-US;q=0.98"
        );
        final List<Locale> supportedLocales = ImmutableList.of(
                Locale.GERMANY,
                Locale.UK
        );
        final List<LanguageRange> acceptLanguages = extractAcceptLanguages(headers);
        assertEquals(
                ImmutableList.of(
                        new LanguageRange("en-US", 0.98),
                        new LanguageRange("en", 0.95),
                        new LanguageRange("de-us", 0.9),
                        new LanguageRange("*", 0.8)
                ),
                acceptLanguages
        );
        // It will fail here with en_GB != null
        assertEquals(Locale.UK, Locale.lookup(acceptLanguages, supportedLocales));

Also, should this be documented somewhere?

Also, should this be documented somewhere? (I mean aside from the javadoc).

I guess the routing API is largely undocumented except some examples, so I guess it's fine as it is for now. 😓

Moved everything around. If you still would like to move the logic to HttpRequest, let me know, but please also tell me where to put the logic, as like I said, there are multiple implementations of that interface, and only a select few extend something that they have in common.
Do you want Locale.ROOT or Optional<>? If so, let me know and I'll fix it. I'm still opposed to Locale.ROOT, but if you want that, I'll return that.

Also, how about adding to AggregatedHttpRequest with uri() and contentType()? so that HttpRequest and AggregatedHttpRequest have the same getters. /cc @trustin and @ikhoon

@tobias- The new version looks better to me. Thanks! Could you address @minwoox's comments before I do another pass?

@tobias- The new version looks better to me. Thanks! Could you address @minwoox's comments before I do another pass?

Already omw. Trying to figure out how to work with DefaultRequestHeadersBuilder and NOT having the implementation in HttpHeadersBase (which is the CONTAINER for DefaultRequestHeadersBuilder).

Already omw. Trying to figure out how to work with DefaultRequestHeadersBuilder and NOT having the implementation in HttpHeadersBase (which is the CONTAINER for DefaultRequestHeadersBuilder).

How about checking how we implemented RequestHeaderGetters.uri()?

Already omw. Trying to figure out how to work with DefaultRequestHeadersBuilder and NOT having the implementation in HttpHeadersBase (which is the CONTAINER for DefaultRequestHeadersBuilder).

How about checking how we implemented RequestHeaderGetters.uri()?

The problem is that that is also implemented in HttpHeadersBase.java, so not exclusively for request. I haven't found anything that is only implemented in the request-parts, but I may just not have looked hard enough.
I've moved everything around now and added it as another commit. It is broken, and includes a test case that proves that. Please squash when merging as the first commit is almost completely replaced by the second, and just kept for record during the PR discussion.

@tobias- The new version looks better to me. Thanks! Could you address @minwoox's comments before I do another pass?

Thanks! @trustin I think I addressed all the comments now.

Sorry for the low quality iteration of the PR. This should be a bit better. @minwoox Thanks for all the comments.

Sorry for the low quality iteration of the PR

No, it's not. 🤣  please don't worry about it. I appreciate your contribution and interest in our framework. 😄

https://ci.appveyor.com/project/line/armeria/builds/36400403/job/htcy74uxw34iv51x#L1356
Oops, the test failed. Could you check it please?

https://ci.appveyor.com/project/line/armeria/builds/36400403/job/htcy74uxw34iv51x#L1356
Oops, the test failed. Could you check it please?

It seems master is unstable as well because of the same test case?

Whoever set up testing for all the different supported JVM's, :heart: to you. Java 8 didn't have LangaugeRange.toString() implemented and that would've been "fun" to try to figure out later.

Also, how about adding to AggregatedHttpRequest with uri() and contentType()? so that HttpRequest and AggregatedHttpRequest have the same getters. /cc @trustin and @ikhoon

@minwoox Was that for me, because I don't understand (and just skipped it when you wrote in on the grounds of the /cc)?

@minwoox Re-requested review, because too much has changed

A big  - Thanks, @tobias-! (Please ignore the build failure. It's unrelated.)

And a thank you to all the reviewers for your patience! :bow:

@tobias- Could you update the PR description to match the current version?

Oh, completely missed that. Will do

@tobias- Could you update the PR description to match the current version?

@trustin Done. Good enough?

@tobias- Looks great. I just replaced getLocale with selectLocale.


⚠ ClamAV has degraded performance

In 34f7d7a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 55 ms

Resolved: ClamAV performance has improved in 229bccf.


dvc run is supper slow for directories

It should be related to one of the recent changes since I haven't observer such issue before.
For an output directory with 25K files, it takes hours to save state. It looks like dvc saves\rewrites state file for each of the output files.

WIll take a look today.

Ah, this is a direct cause of that 'state' bug. Will be fixed with #545 . Already working on debugging that.

Ok, it was actually caused by us updating tinydb database way to often.


Uploading the test results from travis

Every travis build will upload it's test results to gs://hellbender/test/build_reports/
The end of the build log shows the publicly accessible url for the test results.

this is excellent! Please add this info to the Readme (the fact that reports are visible online) and then squash and merge. :+1:


which token needs to be used for using selfcord?

to which token does token = insert token refer to?

This is a selfbot library lol

your discord user token


Could not find JdbcSinkConnector even if it's installed

I have installed JDBC connector running confluent-hub install --no-prompt confluentinc/kafka-connect-jdbc:10.2.5 inside my kafka connect connector, but when I try to implement a new sink using I have the following error : Failed to find any class that implements Connector and which name matches io.confluent.connect.jdbc.JdbcSinkConnector
Sink I'm trying to use
{
    "name": "jdbc-sink-connector",
    "config": {
        "connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector",
        "tasks.max": "1",
        "topics": "my_topic",
        "connection.url": "jdbc:postgresql://<IP_ADDRESS>:5432/postgres",
        "connection.user": "postgres",
        "connection.password": "PASSWORD",
        "auto.create": "true"
    }
}

I'm using confluentinc/cp-kafka-connect:6.1.0 image
If I build an image with confluent-hub install --no-prompt confluentinc/kafka-connect-jdbc:10.2.5 and use this image it works. So looks like we need to restart kafka connect after install ?

Apparently the jvm needs to be restarted to take new connector into account


mWeb- IOU -Focus dismissed in the window "What is it for?"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging.new.expensifail.com
Log in with your account
Click the FAB button again and select Request Money
Input any amount and click Next
Select any user account
Input any text in the field "What's it for?"
Click "Back" button <
Select any user account again
Verify that the cursor is in right

Expected Result:
The cursor is in right place
Actual Result:
Focus dismissed in the window "What is it for?"
Workaround:
unknown
Platform:

Where is this issue occurring?

Mobile Web - Safari

Version Number: 1.2.16-2
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/195987023-22176024-172b-4780-9299-298d43f3251c.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
View all open jobs on GitHub

Is this a regression? If so, when did we add the test that this failed? I'm not sure if this is the correct behavior or not so unsure whether it is valid. Going OOO for a week, but it doesn't seem urgent so I'll triage when I return.

I don't think this is a bug. Not everyone is going to add a "What's it For" comment to an IOU. Closing, but feel free to reopen if you disagree.


Spring Boot 2.1.2 + JUnit 5

Contains PR #183 as well.

@maximAtanasov  one last change (see open comment)