WIFI Disconnect with Reason 34 ?! (IDFGH-4410)

I am on ESP-IDF release 3.3 with arduino-esp32 master branch
I have a sketch that receives about 60 UDP packages per seconds, with a data size of up to 1024 bytes per packet.
At the same time its streaming DTLS data (UDP) with about 25 packets per second with about 70 bytes erach packet.
I have more than enough memory free:
Free: 141KB
Heap: 182KB
At a random point WIFI becomes unstable, it disconnects with reason 34 which I can not find any documentation on!

%debug: 1:4803491: wpsWiFiEvent:Disconnected: Disconnected from station reason: 34 (other reason), reconnect handling...

The Wifi error codes go from 0 to 24 and from 200 to 205 as described here:
https://github.com/espressif/esp-idf/blob/0b71a0a46d67cce681ec55973b020d950d8596bd/docs/en/api-guides/wifi.rst#wi-fi-reason-code
So what does this error code mean?
This is my reconnect handling after the disconnect
WiFi.disconnect(true);
WiFi.mode(WIFI_OFF);
WiFi.mode(WIFI_MODE_STA);
WiFi.begin();

After the problem has happened, this repeats every few seconds until I reset:

%debug: 0:4803874: esp32debug: I (4805664) wifi:
%debug: 0:4803874: esp32debug: new:<13,2>, old:<13,0>, ap:<255,255>, sta:<13,2>, prof:1
%debug: 0:4803878: esp32debug: I (4805668) wifi:
%debug: 0:4803882: esp32debug: state: init -> auth (b0)
%debug: 0:4803895: esp32debug: I (4805684) wifi:
%debug: 0:4803895: esp32debug: state: auth -> assoc (0)
%debug: 0:4803907: esp32debug: I (4805697) wifi:
%debug: 0:4803907: esp32debug: state: assoc -> run (10)
%debug: 0:4803952: esp32debug: I (4805742) wifi:
%debug: 0:4803953: esp32debug: connected with wifi, aid = 5, channel 13, 40D, bssid = dc:39:6f:51:74:e4
%debug: 0:4803958: esp32debug: I (4805748) wifi:
%debug: 0:4803963: esp32debug: security type: 3, phy: bgn, rssi: -66
%debug: 0:4804038: esp32debug: I (4805828) wifi:
%debug: 0:4804039: esp32debug: pm start, type: 0
%debug: 0:4804039: esp32debug: I (4805829) wifi:
%debug: 0:4804043: esp32debug: AP's beacon interval = 102400 us, DTIM period = 1
%debug: 1:4804055: wpsWiFiEvent: STA Connected to: wifi

Another step further, debugging lwip shows me where the mem alloc fails

lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
lwip_getsockopt(57, SOL_SOCKET, SO_ERROR) = 12
ssl_client_udp error: send_ssl_data failed with res 0XFFFFFFB2, errno 12, retry after vTaskDelay!
lwip_send(57, data=0x3ffec5f4, size=71, flags=0x0)
lwip_sendto(57, data=0x3ffec5f4, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
ssl_client_udp error: send_ssl_data failed with res 0XFFFFFFB2, errno 12, tear down session!
lwip_close(57)
lwip_close: is_tcp=0

I even enabled LWIP_STATS and this is the stats display after it happens first time:

LINK
xmit: 3
recv: 3
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ETHARP
xmit: 20
recv: 321
fw: 0
drop: 540
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 540
opterr: 0
err: 0
cachehit: 20117
IP_FRAG
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IPv6 FRAG
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IP
xmit: 21094
recv: 26002
fw: 0
drop: 1196
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ND
xmit: 3
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IPv6
xmit: 3
recv: 606
fw: 0
drop: 3
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IGMP
xmit: 0
recv: 6
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
proterr: 0
rx_v1: 0
rx_group: 0
rx_general: 6
rx_report: 0
tx_join: 0
tx_leave: 0
tx_report: 0
MLDv1
xmit: 0
recv: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
proterr: 0
rx_v1: 0
rx_group: 0
rx_general: 0
rx_report: 0
tx_join: 0
tx_leave: 0
tx_report: 0
ICMP
xmit: 423
recv: 407
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ICMPv6
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
UDP
xmit: 20629
recv: 24352
fw: 0
drop: 16
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 16
opterr: 0
err: 0
cachehit: 7
TCP
xmit: 25
recv: 42
fw: 0
drop: 1
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 1
opterr: 0
err: 0
cachehit: 37
SYS
sem.used:  0
sem.max:   0
sem.err:   0
mutex.used: 0
mutex.max:  0
mutex.err:  0
mbox.used:  0
mbox.max:   0
mbox.err:   0

Even with LWIP Stats enable an pbub debug enabled, nothing which explains the ERR_MEM:

lwip_send(52, data=0x3ffee904, size=71, flags=0x0)
lwip_sendto(52, data=0x3ffee904, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
pbuf_alloc(length=71)
pbuf_alloc(length=71) == 0x3ffd6e0c
netconn_send: sending 71 bytes
pbuf_header: old 0x3ffd6e70 new 0x3ffd6e68 (8)
pbuf_header: old 0x3ffd6e68 new 0x3ffd6e54 (20)
pbuf_header: old 0x3ffd6e54 new 0x3ffd6e46 (14)
pbuf_free(0x3ffd6e0c)
pbuf_free: deallocating 0x3ffd6e0c
lwip_send(52, data=0x3ffee904, size=71, flags=0x0)
lwip_sendto(52, data=0x3ffee904, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
pbuf_alloc(length=71)
pbuf_alloc(length=71) == 0x3ffd6e0c
netconn_send: sending 71 bytes
pbuf_header: old 0x3ffd6e70 new 0x3ffd6e68 (8)
pbuf_header: old 0x3ffd6e68 new 0x3ffd6e54 (20)
pbuf_header: old 0x3ffd6e54 new 0x3ffd6e46 (14)
pbuf_free(0x3ffd6e0c)
pbuf_free: deallocating 0x3ffd6e0c
lwip_send(52, data=0x3ffee904, size=71, flags=0x0)
lwip_sendto(52, data=0x3ffee904, short_size=71, flags=0x0 to=<IP_ADDRESS> port=0
pbuf_alloc(length=71)
pbuf_alloc(length=71) == 0x3ffd6e0c
netconn_send: sending 71 bytes
pbuf_header: old 0x3ffd6e70 new 0x3ffd6e68 (8)
pbuf_header: old 0x3ffd6e68 new 0x3ffd6e54 (20)
pbuf_header: old 0x3ffd6e54 new 0x3ffd6e46 (14)
pbuf_free(0x3ffd6e0c)
pbuf_free: deallocating 0x3ffd6e0c
lwip_getsockopt(52, SOL_SOCKET, SO_ERROR) = 12
LINK
xmit: 3
recv: 3
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ETHARP
xmit: 24
recv: 279
fw: 0
drop: 429
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 429
opterr: 0
err: 0
cachehit: 15310
IP_FRAG
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IPv6 FRAG
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IP
xmit: 15507
recv: 20934
fw: 0
drop: 1009
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ND
xmit: 3
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IPv6
xmit: 3
recv: 524
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
IGMP
xmit: 0
recv: 7
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
proterr: 0
rx_v1: 0
rx_group: 0
rx_general: 7
rx_report: 0
tx_join: 0
tx_leave: 0
tx_report: 0
MLDv1
xmit: 0
recv: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
proterr: 0
rx_v1: 0
rx_group: 0
rx_general: 0
rx_report: 0
tx_join: 0
tx_leave: 0
tx_report: 0
ICMP
xmit: 53
recv: 42
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
ICMPv6
xmit: 0
recv: 0
fw: 0
drop: 0
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 0
opterr: 0
err: 0
cachehit: 0
UDP
xmit: 15316
recv: 19747
fw: 0
drop: 11
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 11
opterr: 0
err: 0
cachehit: 19
TCP
xmit: 87
recv: 130
fw: 0
drop: 1
chkerr: 0
lenerr: 0
memerr: 0
rterr: 0
proterr: 1
opterr: 0
err: 0
cachehit: 112
SYS
sem.used:  0
sem.max:   0
pbuf_alloc(length=102)

It seems to fail at a simple malloc call (traced back to mem_malloc),
could this be heap fragmentation?
https://github.com/espressif/esp-lwip/blob/61d840ff4778f4946c8743f7e412345abcd537f1/src/core/mem.c#L251

@alorbach It's possible, but it is unlikely to happen if your packet size remains the same.
I didn't find reason code 34 in our code, is that a hexadecimal number? If so,  22 is refer to INVALID_RSN_IE_CAP, it may happens with very few ap, dose it happen with other ap?

@YouDONG-ESP Yes it happens with other AP as well, I have three different AP's available for testing.
However I think that the root cause is, that the mem_malloc calls inside LWIP fail at some random point and causing all kinds of network issues afterwards.

I had added heap_caps_print_heap_info before and after the failure,:
BEFORE:

Heap summary for capabilities 0x00000804:
At 0x3ffbdb60 len 84 free 0 allocated 36 min_free 0
largest_free_block 0 alloc_blocks 1 free_blocks 0 total_blocks 1
At 0x3ffc1bb4 len 2408 free 0 allocated 2024 min_free 0
largest_free_block 0 alloc_blocks 22 free_blocks 0 total_blocks 22
At 0x3ffbdb28 len 52 free 0 allocated 4 min_free 0
largest_free_block 0 alloc_blocks 1 free_blocks 0 total_blocks 1
At 0x3ffb8000 len 6688 free 0 allocated 6480 min_free 0
largest_free_block 0 alloc_blocks 11 free_blocks 0 total_blocks 11
At 0x3ffb0000 len 25480 free 0 allocated 24944 min_free 0
largest_free_block 0 alloc_blocks 31 free_blocks 1 total_blocks 32
At 0x3ffae6e0 len 6192 free 0 allocated 5920 min_free 0
largest_free_block 0 alloc_blocks 14 free_blocks 1 total_blocks 15
At 0x3ffaff10 len 240 free 0 allocated 120 min_free 0
largest_free_block 0 alloc_blocks 5 free_blocks 1 total_blocks 6
At 0x3ffb6388 len 7288 free 0 allocated 6920 min_free 0
largest_free_block 0 alloc_blocks 21 free_blocks 0 total_blocks 21
At 0x3ffb9a20 len 16648 free 24 allocated 15476 min_free 8
largest_free_block 0 alloc_blocks 68 free_blocks 4 total_blocks 72
At 0x3ffca158 len 89768 free 11592 allocated 70876 min_free 208
largest_free_block 5184 alloc_blocks 439 free_blocks 58 total_blocks 497
At 0x3ffe0440 len 15072 free 13568 allocated 1436 min_free 16
largest_free_block 10840 alloc_blocks 1 free_blocks 2 total_blocks 3
At 0x3ffe4350 len 113840 free 76204 allocated 37536 min_free 76204
largest_free_block 75560 alloc_blocks 3 free_blocks 2 total_blocks 5
Totals:
free 101388 allocated 171772 min_free 76436 largest_free_block 75560

AFTER FAIL:

heap summary for capabilities 0x00000804:
At 0x3ffbdb60 len 84 free 0 allocated 36 min_free 0
largest_free_block 0 alloc_blocks 1 free_blocks 0 total_blocks 1
At 0x3ffc1bb4 len 2408 free 0 allocated 2024 min_free 0
largest_free_block 0 alloc_blocks 22 free_blocks 0 total_blocks 22
At 0x3ffbdb28 len 52 free 0 allocated 4 min_free 0
largest_free_block 0 alloc_blocks 1 free_blocks 0 total_blocks 1
At 0x3ffb8000 len 6688 free 0 allocated 6480 min_free 0
largest_free_block 0 alloc_blocks 11 free_blocks 0 total_blocks 11
At 0x3ffb0000 len 25480 free 0 allocated 24944 min_free 0
largest_free_block 0 alloc_blocks 31 free_blocks 1 total_blocks 32
At 0x3ffae6e0 len 6192 free 0 allocated 5920 min_free 0
largest_free_block 0 alloc_blocks 14 free_blocks 1 total_blocks 15
At 0x3ffaff10 len 240 free 0 allocated 120 min_free 0
largest_free_block 0 alloc_blocks 5 free_blocks 1 total_blocks 6
At 0x3ffb6388 len 7288 free 0 allocated 6920 min_free 0
largest_free_block 0 alloc_blocks 21 free_blocks 0 total_blocks 21
At 0x3ffb9a20 len 16648 free 24 allocated 15476 min_free 8
largest_free_block 0 alloc_blocks 68 free_blocks 4 total_blocks 72
At 0x3ffca158 len 89768 free 12016 allocated 70468 min_free 208
largest_free_block 4332 alloc_blocks 438 free_blocks 58 total_blocks 496
At 0x3ffe0440 len 15072 free 11280 allocated 3708 min_free 16
largest_free_block 10840 alloc_blocks 2 free_blocks 2 total_blocks 4
At 0x3ffe4350 len 113840 free 76204 allocated 37536 min_free 76204
largest_free_block 75560 alloc_blocks 3 free_blocks 2 total_blocks 5
Totals:
free 99524 allocated 173636 min_free 76436 largest_free_block 75560

@alorbach It's possible, but it is unlikely to happen if your packet size remains the same.
I didn't find reason code 34 in our code, is that a hexadecimal number? If so, 22 is refer to INVALID_RSN_IE_CAP, it may happens with very few ap, dose it happen with other ap?

The main UDP buffers used are the same, about 500 bytes for incoming (RAW Data) and about 70 bytes for outgoing (DTLS)

Could you provide a code to reproduce this issue?

Well you will need a DTLS receiving Server.
I am currently testing a few things and I plan to build against esp-idf 4.2 today to check if the problem happens there as well.
If I am not able to reproduce the issue, I will try to greate a minimal sketch that reproduces  the issue somehow.

@YouDONG-ESP:
Interesting development! The problem has not totally gone but somehow it is better now - meaning Wifi (LWIP) is not becoming unstable anymore after the first ERR_MEM occurred.
So I have a Class that does thwe DTLS UDP Streaming which uses HTTPClient from arduino-esp32, and I was creating / deleting HTTPClient objects dynamically after the ERR_MEM occurred.
I remembered that I had trouble (strange exceptions) when deleting dynamic HTTPClient objects before in my OTA Updatecode. So as a workaround, I made the HTTPClient Object static in my OTA update code which was a sufficient at this time for me.
Now I did the same to my Class that does the DTLS Streaming, I made the HTTPClient object static at the top of the Class code like this:
HTTPClient mHttp;
And it appears to have fixed the problem mostly - I am running DTLS Streaming now since about 30 minutes without any ERR_MEM till yet.
So I think HTTPClient is messing something badly up in the destructor.

Please give a minimal example that shows the problem.

we have a customer with an esp32 based product of ours and the esp32 is not able to connect to his network, but works literally everywhere else. I get the error 34 (not in hex, but decimal), maybe this is the same issue here? #7593
I cant reproduce it in our office and the customer says he has a devolo "mesh network setup", where only the access points talk mesh to each other and send out a access point (then usable by the customer). But I dont get the whole mesh thematic here :)

@0xFEEDC0DE64 I have got the problem more or less under control, it happens very very seldom.
What I can tell you is, if you have any invalid memory access somewhere like even writting 1 byte to much into a char array, this error will happen sooner than earlier.
I believe this is a following error of issues like this, and the hardest error's to find btw.

FWIW, I can repro WIFI disconnect with reason 34 with a lot of pings to the IP address, and it appears that reason 34 is documented in the 802.11 standard as: "Disassociated because excessive number of frames need to be acknowledged, but are not acknowledged due to AP transmissions and/or poor channel conditions".
Searching for "WLAN_STATUS_DENIED_POOR_CHANNEL_CONDITIONS" will bring up plenty of references.
Asking for a reconnect (assuming the poor channel conditions have recovered) works fine for me.

hi @alorbach  this issue may have fixed at new version, please checked with the newest esp-idf master.

Thanks for reporting, feel free to reopen.


css: Allow actions_hover icon to have a focus outline.

discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/no.20blue.20box.20on.20message.20menu

Merged; the CI failures are clearly infrastructure flakes.


workflows: add placeholder workflows to be able to require status checks

This adds no-op workflows for the most important verification flows. By adding this we can mark these status checks as required in GitHub, and use auto-merge in a safer way.
The no-op flows use path filters that are the inverse of the actual workflow, which we need to keep in sync manually ._.
This is far from optimal ofc, but haven't found any other way to do this for now and would really like to make these status checks required.

Will wait a couple of days before adding the workflow requirements, to avoid impacting existing PRs


Add BZEdge (BZE)

Currency name: BZEdge
Symbol: BZE
Website: https://getbze.com/
Theme color: #00aeef
Logo (SVG):  BZEdge-logo.zip

Done.


Artisan console commands

I've created some artisan commands that permit to manage the roles and permissions, adding, deleting and attaching/detaching it from the command line.
In my project I don't wont to create an "admin" interface for the permission & role, and I simply wanna insert/delete the entry, without directly inserting it in the database (and doing a minimum data validation)
I've created a command for every basic action in this package, like the creation/elimination of role/permission, or the attach/detach of role/permission from user/role.
This should also be useful for example for api/restful project that doesn't have an admin interface, but wanna use the roles function.

I'm trying to make this package as simple as possible. Good idea, but this is probably too much.

Uhm ok
So it's better if I create a new separate package with only the commands (and this package as dependency)?

You can do that.


Minimal example for reading audio samples off ADAU1761

Can you provide a minimal example of how to setup/configure the minimal set of drivers required to read audio samples off the ADAU1761 codec? Thank you. Looking at the SAM-AUDIO-STARTER project that's a very large project and it's hard to dissect and extract the bare minimum required to read audio samples.

@ggeerling  @kfurge-egi Can you provide any guidance?


Using django-ckeditor with dynamically added forms outside admin (formsets )

I am able to create forms dynamically outside the admin. But only the first form is clickable.
I learnt this has to do some ckeditor initialisation, but I am not sure how to solve it.
I found this code, but I'm not sure how to use it in solving the problem
 function initialiseCKEditorInInlinedForms() {
   if (typeof django === 'object' && django.jQuery) {
     django.jQuery(document).on('formset:added', initialiseCKEditor);
   }
 }

formset:added is specific to Django's admin interface.
You shouldn't blindly add CKEditor to all textareas (especially not to the hidden initial or empty formset) but only initialize CKEditor on the textarea after inserting the copied fieldset.
CKEditor really really doesn't like if it is copied.

Alright, thanks. I just didn't know how to initialise the ckeditor on a field.
But I managed to solve it with my team.
For someone who might experience this later.. Here's my code -- this solved it for me.
   {% block content%}

            <form id='form-container' method="post" action="{% url 'content_editor' %}" enctype="multipart/form-data">
                    {% csrf_token %}

                    {{ formset.management_form }}
                    {% for fm in formset %}

                        {{ fm.media }}
                        {{ fm|crispy }}

                    <button  id="add-form" type="button">Add New Section</button>

                    {% endfor %}

                    <button type="submit" id="submit" class="btn btn-block btn-primary">Submit</button>

                </form>

{% endblock %}

{% block javascript %}


Use cancel workflow action to reduce CPU time of our actions

https://github.com/marketplace/actions/cancel-workflow-action

Hi!
So you want to add cancel action to all github actions excalidraw has?


How get this in offline?

I have downloaded zip file, i am not getting how to configure it online. kindly help in this. I need this feature.

Do you want an ofline documentation? Actualy it is not in zip ball.
If you can pull the Git repository you will see it in gh-pages or in dev branch.

I am not sure if I understand you. Can you explain it better?

Sure, I want this


reuse video player

Hi Aidan
I wonder if there is a way to reuse the video preview / player activity to play videos not as part of the video recording process ?
Thanks

The video player is a Fragment, not an Activity. It'd be easier to use ExoMedia directly in your app.


Unnecessary backslashes

Looks like there are unnecessary backslashes for this command "symchk /v c:\sym\MyApp.exe /s c:\sym**".  Other sample commands on the page only have single backslashes

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ac689426-48f2-94f4-b2f1-d4936f162db0
Version Independent ID: 6e2ca765-d0a2-1a69-a183-e43c6c3f85f4
Content: Using SymChk - Windows drivers
Content Source: windows-driver-docs-pr/debugger/using-symchk.md
Product: windows-hardware
Technology: debugger
GitHub Login: @DOMARS
Microsoft Alias: domars

Hey @matwilli, appreciate your sharp eye here.  I just removed the unnecessary backslashes from two code snippets on this page.  The changes should appear on the live site within 5-10 min.
Thanks for bringing this to our attention.


browser navigation doesn't reload page contents

only in firefox apparently.
18:32:00.917 Will-change memory consumption is too high. Budget limit is the document surface area multiplied by 3 (962560 px). Occurrences of will-change over the budget will be ignored. bookshelf.press


[FLINK-33028][table] Make expanding behavior of virtual metadata columns configurable

What is the purpose of the change
This introduces a new table.column-expansion-strategy option according to FLIP-348. It updates all code locations in SQL and Table API where column expansion takes place. In other words: where * is a valid column selector.
For SQL this includes SELECT *. For Table API, includes $(*), withColumns and withoutColumns.
Brief change log
Updated the resolution logic in SQL validator and Table API resolution rules.
Verifying this change
This change added tests and can be verified as follows: ColumnExpansionTest
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs

One inconsistency I noticed between table and sql (probably minor):
e.g. there is a table with columns a, b, c
SELECT *, * FROM my_table;

results to
a          b          c          a0          b0         c0
-------    --------   --------   ---------   ---------  --------

in case of table api
...
tableEnv.from("my_table").select(withAllColumns(), withAllColumns())
...

it just fails like
org.apache.flink.table.api.ValidationException: Ambiguous column name: a

	at org.apache.flink.table.operations.utils.ProjectionOperationFactory.lambda$validateAndGetUniqueNames$4(ProjectionOperationFactory.java:109)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:485)
	at org.apache.flink.table.operations.utils.ProjectionOperationFactory.validateAndGetUniqueNames(ProjectionOperationFactory.java:106)
	at org.apache.flink.table.operations.utils.ProjectionOperationFactory.create(ProjectionOperationFactory.java:74)
	at org.apache.flink.table.operations.utils.OperationTreeBuilder.projectInternal(OperationTreeBuilder.java:200)
	at org.apache.flink.table.operations.utils.OperationTreeBuilder.project(OperationTreeBuilder.java:174)

Thanks for taking a look @snuyanzin. There are more inconsistencies in Table API but those are not related to this PR. Also selecting columns from a join will create the ambiguous column exception.

Thanks for explanation, I also think it is not related to the PR
just wanted to note this


Resize the textarea

How can I enable the option to resize the textarea like in GitHub ?
Add in the bottom right corner somethind to give this option to my visitor :

Thanks again !

Please upgrade to 1.2.0. Then set the resizable option to true at options.


Displaying the captured image.

So I'm to clear as to how we go about displaying the captured image from memory or from disk? Could give an example?

To display the base64 image (i.e. target: Camera.constants.CaptureTarget.memory) the code is roughly
<Image
  source={{
      isStatic: true,
      uri: 'data:image/jpeg;base64,'+base64image,
    }}
  style={{height: 100, width:100}}
/>

where base64image is the string returned by the capture method.
To display the target: disk image, the code is roughly
<Image
  source={{uri: imageURI, isStatic:true}}
  style={{width: 100, height: 100}}
        />

where imageURI is the string returned by the capture method.
You will probably need to play with the width/height, and resizeMode prop to get everything the way you want it.

That very helpful, thanks.

Hi there,
This does not seem to work any longer on React Native 0.44 for Android. How can I achieve this (displaying a temp, or disk, image)?

@Mayzie - what doesn't work?  do you have an error or a stack trace from logcat?

Can confirm this no longer works. No problems on a simulator, but does not work on a real device

No nevermind, after reinstalling it works as expected

brilliant - thanks very much @rt2zz  - saved me some head scratching..


Models galore

Hello,
The current example for guided backpropogation only supports Alexnet which is a quite old. I've added an example to allow loading any supported model from the pytorch zoo and visualizing the output of guided backpropagation on it. Please review and merge it.
Specific enhancements:

The visualize method assumes normalization parameters of imagenet & doesn't support changing this. Edited the class interface to allow these to be specified. However it defaults to imagenet values so it does not affect past behavior.
The examples queries the tochvision.models module for supported models and allows user to visualize backdrop output on the pre-trained models from pytorch repo.

enjoy,
nav

Hello @MisaOgura - Do check out and comment on this PR.
It adds the ability to load and visualize guided backprop output on any network in the pytorch zoo.

Hi @MisaOgura ,
I did both steps 1 & 2 you mention above i.e.

Remove examples/visualize_saliency_with_backprop.py from the PR
Pull the latest changes from the master, merge to your branch and push again so the tests run on the PR

Please check this commit. https://github.com/MisaOgura/flashtorch/compare/master...navneeth:master
Do I need to submit a new PR or this suffices ?


Training AMI diarization model oncustom dataset

Hello, I am training a own dataset without overlapping. I have prepared rttm files of train, dev, test and csv myself. Because there is no speaker overlapping part in my dataset, I have not generated rttm and csv files of subsegment (does this have any impact? or whether there is something wrong with the data information I provided?）.Then I trained, but I reported the following mistakes. I hope you can give me an answer. Thank you.

Looks like the problem is in the embedding extraction stage. Can you please check if your embeddings are generated properly?

Is there any update on this issue?

I have solved it, please close it, thank you!


Browse file from browser

Hi, all the experts here. I would like to know the proper way to read the images file that I had stored in the s3 local (serverless-s3-local) ?
I had installed serverless offline + serverless-s3-local inside a node docker container.
I had expose 8080 for  serverless offline & 2222 for serverless-s3-local.
But the url always failed to reach,
Here are the response after uploaded success
{     "image_path": {         "ETag": "\"e6f51292d46d1f791f0abdfb1185a97c\"",         "Location": "http://localhost:2222/local-bucket/assets/images/2021-08-07/12-33-20.png",         "key": "assets/images/2021-08-07/12-33-20.png",         "Key": "assets/images/2021-08-07/12-33-20.png",         "Bucket": "local-bucket"     } }
Here is the screenshot from browser

Hi @LTFENG
As long as I know, s3rver which is the backend of serverless-s3-local doesn't support HTTP protocol. So please use aws cli tools.

It works for me


Create project and feed refactor

 Issue by evansiroky
Wednesday Oct 11, 2017 at 05:24 GMT
Originally opened as https://github.com/catalogueglobal/datatools-ui/pull/41

Refactor the creation of projects and feed sources to occur on separate pages.

Created new routes for creation pages
Refactor create project and feed actions
New containers/components: CreateProject and CreateFeedSource
Refactor GeneralSettings component to be used by both Create Project and ProjectViewer
Tidy up and reuse code in various places

evansiroky included the following code: https://github.com/catalogueglobal/datatools-ui/pull/41/commits

 Comment by codecov-io
Monday Oct 16, 2017 at 22:50 GMT

Codecov Report

Merging #41 into dev will increase coverage by 0.35%.
The diff coverage is 1.55%.

@@           Coverage Diff            @@
##             dev     #41      +/-   ##
========================================
+ Coverage   4.62%   4.98%   +0.35%
========================================
  Files        325     328       +3
  Lines      12092   15419    +3327
  Branches    4333    4654     +321
========================================
+ Hits         559     768     +209
- Misses      9424   12488    +3064
- Partials    2109    2163      +54

Impacted Files
Coverage Δ

lib/manager/containers/ActiveProjectViewer.js
0% <ø> (ø)
:arrow_up:

lib/editor/components/FareRulesForm.js
0% <ø> (ø)
:arrow_up:

lib/editor/components/EditorHelpModal.js
0% <ø> (ø)
:arrow_up:

lib/editor/components/VirtualizedEntitySelect.js
0% <ø> (ø)
:arrow_up:

lib/main.js
0% <ø> (ø)
:arrow_up:

lib/editor/components/MinuteSecondInput.js
0% <ø> (ø)
:arrow_up:

lib/types/index.js
0% <ø> (ø)
:arrow_up:

lib/public/components/FeedsMap.js
0% <ø> (ø)
:arrow_up:

lib/admin/components/UserSettings.js
0% <ø> (ø)
:arrow_up:

lib/editor/components/timetable/HeaderCell.js
0% <ø> (ø)
:arrow_up:

... and 343 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 66fb3bc...229262e. Read the comment docs.

 Comment by landonreed
Tuesday Oct 17, 2017 at 13:55 GMT

@evansiroky here's a mockup of where CreateFeedSource might work better (i.e., replacing the FeedSourceTable in ProjectViewer).

 Comment by evansiroky
Tuesday Oct 17, 2017 at 18:53 GMT

I'll refactor the CreateFeedSource containers and components so that it'll replace the FeedSourceTable.

 Comment by evansiroky
Monday Jul 30, 2018 at 21:12 GMT

@landonreed did we still want to include this?

 Comment by landonreed
Tuesday Jul 31, 2018 at 16:18 GMT

@evansiroky, I think we should include it still, but I must admit I'm a bit afraid of what the merge conflicts will reveal.

 Comment by evansiroky
Saturday Oct 20, 2018 at 03:59 GMT

No more merge conflicts.  Should be ready to go.

 Comment by landonreed
Tuesday Nov 06, 2018 at 22:54 GMT

I think I just discovered another larger issue, @evansiroky. It appears that the when updating a project, ProjectSettingsForm writes the entire project object (with nested feed sources and any other object that has been added within the store) to the controller. This is not desired because we'll end up with a list of feed sources in mongo for a given project document that should only actually exist in the feed sources collection.
Can you confirm that this is the case?

 Comment by evansiroky
Thursday Nov 08, 2018 at 21:05 GMT

I think I just discovered another larger issue, @evansiroky. It appears that the when updating a project, ProjectSettingsForm writes the entire project object (with nested feed sources and any other object that has been added within the store) to the controller. This is not desired because we'll end up with a list of feed sources in mongo for a given project document that should only actually exist in the feed sources collection.
Can you confirm that this is the case?

Confirmed and fixed.  PR should be ready to be merged.

 Comment by landonreed
Monday Nov 12, 2018 at 19:17 GMT

@evansiroky, some further changes are needed:

defaultLanguage field should be removed from the UI form (and flow type def)
when I update settings for a project that has feed sources and then go back to the Feed Sources tab, the feed sources are missing

 Comment by evansiroky
Tuesday Nov 13, 2018 at 06:35 GMT

@evansiroky, some further changes are needed:

defaultLanguage field should be removed from the UI form (and flow type def)
when I update settings for a project that has feed sources and then go back to the Feed Sources tab, the feed sources are missing

These items should be addressed in the latest changes.  Lmk if anything else needs fixing.

 Comment by landonreed
Thursday Nov 15, 2018 at 18:51 GMT

Thanks @evansiroky, that looks good. I had a few other changes in mind that I've put in #255. Feel free to review that and merge into this branch if they look good to you. After that, I think this is good to merge.

 Comment by evansiroky
Tuesday Nov 20, 2018 at 06:10 GMT

Reassigning to Landon as #255 has some requested changes.  Also, need the requesting changes review status to change to approved.  :)

 Comment by landonreed
Monday Dec 03, 2018 at 21:49 GMT

@evansiroky, could you fix up those conflicts so that I can merge?

:tada: This issue has been resolved in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to install pyrfa in Anaconda?

I tried to install pyrfa Anaconda. Close, but no cigar.
I'm afraid it is necessary to have whl file for installation.

from Anaconda Prompt
conda install -c conda-forge pyrfa

Great. Thanks for sharing.


cpu,arch: Add IsInvalid flag to Unknown insts

The IsInvalid flag indicates that the static instruction is not part of the executing ISA and not part of m5's pseudo-instructions. This flag provides a way to recognize an illegal instruction at the decode stage.

Hi Giacomo, I haven't figured out how to update the flag for Unknown/Unknown64 instructions in the Arm ISA yet.
If you don't mind, can you suggest a way to change the IsInvalid flag for the instructions?

Hi Giacomo, I haven't figured out how to update the flag for Unknown/Unknown64 instructions in the Arm ISA yet. If you don't mind, can you suggest a way to change the IsInvalid flag for the instructions?

Hi @hnpl , you just need to add the flag after the unknownCode for Unknown64 (and do something similar for the 32bit version)

@giactra Thanks for the suggestion. I think the problem is that, for the flag to be available to the decoder, the flag must be set in the StaticInst constructor. Since Unknown64 and Unknown are using BasicConstructor64 and BasicConstructor, there's currently no way to inject the flag-related code to the constructors.
In terms of solution, I can modify the BasicConstructor64 and BasicConstructor templates; however, I think it would be a scope-creep change to those template. I think a better way would be defining separate templates for Unknown64's and Unknown's constructors.

@giactra You are correct that we can pass the flag to the ArmInstObjParams. I modified the code as you suggested.

@giactra Those are good points. I have a specific use case when you can speculatively decode a whole cache block without knowing the start of 1 instruction within the block. In the RISC-V case, it is a mixture of 16-bit and 32-bit instructions and this flag allows you to halt the speculative decoding when you encounter an instruction that is not in the instruction set. I believe you can do similar things in ARM too with the presence of Thumb instructions.
My definition of the Invalid flag is that, a static instruction is invalid if it is not specified by the instruction set. In gem5 case, an instruction is illegal if it is not in the target ISA and not one of the m5 pseudo-instructions.
In the point two you mention, it is an instruction that is not supported by the microarchitecture but is specified by the ISA; so the instruction in point two does not fall within the definition of an invalid instruction. I believe it should trigger an Illegal instruction fault.


Update the source

TailwindCSS had a recent update to v3.2.
The completion source needs to be updated accordingly.

any upgrade?

Sorry for the delay. I'll make sure everything is up to date by next week.

Thank you


Code for clustering

Great project! Thanks for the release.
In your paper you mentioned to employ T5 model to extract language embedding for K-means clustering. I noticed this repo seems not to contain the code of this part. Could you please release the code to benefit future research?
Thanks in advance.

Thanks for your interest! I'm sorting out the code, but it may take some time due to my busy schedule. In the meantime, you can check xlang-ai/instructor-embedding and the kmeans++ in sklearn. Thanks for your patience!

@eternaldolphin I used the k-means algorithm to cluster the text embedding generated by clip, and found that the effect of CLIP was very good, which was the same as the clustering effect of using visual concept & T5 in the paper.May I ask what clustering algorithm you used to produce the results in the paper?
Thanks in advance.


W2grid select of records isn't working with Shift from 1-st record

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
This isn't working in popup with grid. I'm loading array in popup and grid and then I want to select some records for other manipulations.

first step - check first record , ok;
second step - check the 4 or 9 record holding "Shift" key - no any reaction ...;

If it try from 2-nd record to other - it's working, but isn't working from 1-st record ...
I debugged and found that the reason is in w2grid from 3384 row :
           for (var i = start; i <= end; i++) {
                if (this.searchData.length > 0 && !url && $.inArray(i, this.last.searchIds) == -1) continue;
                if (this.selectType == 'row') {
                    sel_add.push(this.records[i].recid);
                } else {
                    for (var sc = 0; sc < selectColumns.length; sc++) {
                        sel_add.push({ recid: this.records[i].recid, column: selectColumns[sc] });
                    }
                }
                //sel.push(this.records[i].recid);
            }
            this.select.apply(this, sel_add);

the problem - selectColumns array is empty.
At this time I added some rows higher :
            if ( selectColumns.length == 0 && this.selectType == 'cell' )
               for (var c = 0; c < obj.columns.length; c++) selectColumns.push(c);

Can't understand why this selectColumns became empty if it try to check from first record ...
My grid is cell selectType, multiselect, with selectColumn.
About 2 weeks ago it was working until I renewed from github ...
With best regards !

Cannot reproduce.
I tried with this fiddle: http://jsfiddle.net/fnzxu962/
grid: {
        name: 'grid',
        selectType: 'cell',
        multiSelect : true,
        show: {
            footer: true,
            lineNumbers: true,
            selectColumn    : true,
        },
        .....

Maybe it has already been fixed?
Please create a fiddle to demonstrate your problem or close this issue if the problem no longer exists.

Hi!
This problem exist then exist hidden columns ...
I found that and forgot to write here. Excuse.
So then in the grid to hide one or some columns, then selection with Shift isn't working. After showing all columns - all is working ...

Here's the same fiddle, with every second column (B, D, ...) hidden: http://jsfiddle.net/jon0utkh/
I still cannot reproduce the problem.
Please modify the fiddle as you see fit to reproduce the issue and then post the link here.

Sorry, Mike,
I can't reproduce simple sample of this product. I can to repeat, that with hidden columns w2grid in popup - isn't working shift key for selection . I debugged with w2grid.js source and found, maybe, that maybe problem is here ...
Not hidding columns it's working...
Thanks for your efforts. Good luck ..


FEATURE: Edit website it hosts

Bug description
be able to edit the page and add/remove buttons that you don't need
Steps to reproduce
Add html editing
Environment Information
PC
Screenshots
No response
Relevant log output
No response
Confirmations

[X] I'm running the latest version of the main branch.
[X] I checked existing issues to see if this has already been described.

@codeman3000 see the suggestion above


Exclude only TLS provider version 4.0.0

what && why

In #158 we disallowed all TLS provider version >= 4.0.0 due to https://github.com/hashicorp/terraform-provider-tls/issues/244 . In this release we exclude only 4.0.0 exactly because the bug was fixed in 4.0.1.
Upgrade go test dependencies to current to pick up bug and security fixes.

references

#158
https://github.com/hashicorp/terraform-provider-tls/issues/244

/test all


calendar widget only shows 29 days

When setting a custom date range, the calendar doesn't show the full month.

Confirmed bug.  Will get this triaged.  Thanks!

Have this fixed in DEV.  We'll be deploying in the next few days.

Fixed in v1.40.0


Installation instructions do not seem to work

This
https://github.com/lino-levan/pyro/blob/d47b22153caff78ca1cb6532fb716666d9f56e30/www/pages/index.md?plain=1#L27
Issues an error:
error: Could not find the config file: /home/jmerelo/Code/js/saco-js/https://deno.land/x/pyro/deno.jsonc

At least in Linux

I will take a look


Added FilehandleResolver for classpaths

Case: The resolver will be useful for libraries that use Libgdx as a backend and have default assets packed in the library in case a desired asset can't be found to draw/play/etc.
The InternalFileHandleResolver does not suffice, as it prioritizes looking in the internal storage first. From the documentation: "If a file can't be found on the internal storage, the file module falls back to searching the file on the classpath". In my case ClasspathFileHandleResolver will be used because we do not want to potentially use assets with the same name that the user has placed in the assets folder.
Example: Have a "Missing texture" texture drawn when developer using my library want to draw a texture from a filehandle that does not exist. The "Missing texture" could in this case be located at MissingTexture.png in the classpath. If the developer using the library already has a MissingTexture.png file in internal storage, that one would be used instead if we resolve the file using InternalFileHandleResolver. We don't want the developer using my library have to know by heart file names that have to be avoided.

Yup! Could you squash these commits into one, then we can merge.

Done, there should be only one commit now.

Thanks!


Global control (+ button) display weird on Mac OS X

On Mac OS X, I used both Chrome and Safari, (+) button or global control not display correctly for online version https://testnet-wallet.kyber.network/. On Windows it's displayed normally.
I tried to run a local version, it's run fine. You can see results in the attached image.

Thanks Whyka.
@tranvictor Consider branch fix_layout.


Characters are encoded as HTML entities

Characters such as < and " are encoded as HTML character entities. This behavior can be reproduced by following the docusaurus-preset-shiki-twoslash's setup guide on a plain docusaurus template. Weirdly > is not replaced with >.

This is likely from a bad deploy of the docusaurus plugin (.e.g the JS isn't prepared for this but the CSS should be fine )

Closing this as it is fixed.