tasks icon indicating copy to clipboard operation
tasks copied to clipboard

Tab crashing when moving task

Open baldrianbandit opened this issue 1 year ago • 16 comments

Steps to reproduce

  1. Create two tasks
  2. Create a subtask within one of them
  3. Move that subtask to the other task

Expected behavior

Subtask moved

Actual behaviour

Chrome tab crashing: Error code: RESULT_CODE_KILLED_BAD_MESSAGE

Tasks app version

0.16.1

CalDAV-clients used

No response

Browser

Chromium 128 Arch Linux / Chrome 128 Windows 10

Client operating system

No response

Server operating system

Arch Linux

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

29.0.5-1

Updated from an older installed version or fresh install

None

List of activated apps

No response

Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

I think this might be a Chrome issue - feel free to close. Other browsers tested and working fine: Firefox, Qutebrowser. Can somebody reproduce?

Might this relate? https://stackoverflow.com/questions/74714574/chrome-tab-breaks-with-result-code-killed-bad-message-when-service-worker-tries

baldrianbandit avatar Aug 29 '24 15:08 baldrianbandit

Getting the same issue here. Works fine on Firefox, crashes on Chrome and Edge.

Chrome log below:

[16832:17604:0905/200830.959:ERROR:validation_errors.cc(117)] Invalid message: VALIDATION_ERROR_DESERIALIZATION_FAILED [16832:17604:0905/200830.959:ERROR:render_process_host_impl.cc(5257)] Terminating render process for bad Mojo message: Received bad user message: Validation failed for blink.mojom.LocalFrameHost.74 [VALIDATION_ERROR_DESERIALIZATION_FAILED] [16832:17604:0905/200830.959:ERROR:bad_message.cc(29)] Terminating renderer for bad IPC message, reason 123 [16832:17604:0905/200831.117:ERROR:interface_endpoint_client.cc(722)] Message 802396188 rejected by interface blink.mojom.LocalFrameHost

will-hut avatar Sep 06 '24 01:09 will-hut

Crashes on brave too (which isn't surprising as it's chromium based)

thiswillbeyourgithub avatar Sep 09 '24 10:09 thiswillbeyourgithub

Crashes on brave too (which isn't surprising as it's chromium based)

can confirm issue on brave

dherzog90 avatar Sep 10 '24 13:09 dherzog90

I can confirm this on brave

sidgames5 avatar Sep 10 '24 15:09 sidgames5

It's unfortunately making the app pretty much useless for me. I'm happy with using planify but there's no webui

thiswillbeyourgithub avatar Sep 10 '24 17:09 thiswillbeyourgithub

Same issue, seems to be a VALIDATION_ERROR_DESERIALIZATION_FAILED error causing the renderer to abort.

[15256:11948:0912/110456.379:ERROR:validation_errors.cc(117)] Invalid message: VALIDATION_ERROR_DESERIALIZATION_FAILED [15256:11948:0912/110456.380:ERROR:render_process_host_impl.cc(5257)] Terminating render process for bad Mojo message: Received bad user message: Validation failed for blink.mojom.LocalFrameHost.74 [VALIDATION_ERROR_DESERIALIZATION_FAILED] [15256:11948:0912/110456.380:ERROR:bad_message.cc(29)] Terminating renderer for bad IPC message, reason 123 [15256:11948:0912/110456.380:ERROR:interface_endpoint_client.cc(722)] Message 1539770478 rejected by interface blink.mojom.LocalFrameHost

JacobSussan avatar Sep 12 '24 15:09 JacobSussan

Can confirm - Works in Firefox - Chrome browsers broken.

frankmcc avatar Sep 18 '24 15:09 frankmcc

Can confim. All above are correct. Trying to drag a task in Chrome, Edge or Vivaldi crashes browser window. Dragging works in Firefox, though. Tried on 3 different Windows computers. Problem exists on both NextCloud 27.1.3 on self-hosted, manually installed Ubuntu 20.04 server and 29.0.7 on an up-to-date Cloudron server. All plugins are updated.

I cleared my browser cache and cookies. Closed everything, restarted my computer. I cleared some disk space on my Cloudron server and increased the memory available to the app. I stopped and restarted the Cloudron container as well as both the servers.

overholted avatar Sep 18 '24 15:09 overholted

i have the same problem with the tasks app on chrome. In the dev tools console of chrome there is an error regarding the css style maybe this is a part of the issue? Just a guess image

Edit: Checked it on Firefox and there is no such error.

suly520 avatar Sep 19 '24 19:09 suly520

like @suly520 I have 404 on 'tasks-Plus.css' and 'tasks-store.css' but not for 'task-main.css'. Besides on the server: ./apps/tasks/css/Plus-CnHTUEFt.chunk.css ./apps/tasks/css/tasks-main.css ./apps/tasks/css/store-BZeWfrS_.chunk.css Maybe a missing connection between the request URLs and those chunk files?

(Fails on Brave, not on Firefox)

wglp avatar Sep 25 '24 21:09 wglp

I can confirm, that Chrome crashes directly after the drag started. I think this is a Chrome issue, as it used to work in the past. I will check how we can work around this.

raimund-schluessler avatar Sep 26 '24 06:09 raimund-schluessler

i have the same problem with the tasks app on chrome. In the dev tools console of chrome there is an error regarding the css style maybe this is a part of the issue?

I think it is unlikely that this causes an issue. However, this problem was fixed in #2667 and will be included in the next release.

raimund-schluessler avatar Sep 26 '24 06:09 raimund-schluessler

I think it is unlikely that this causes an issue. However, this problem was fixed in #2667 and will be included in the next release.

Second that: Issue of crashing tab remains after I applyed those changes to my local copy. Just got rid of the 404 in network console.

wglp avatar Sep 26 '24 10:09 wglp

Did some tests with older versions of Chrome, seems it started to fail with versions > 128.x.x.x. Last version which worked on my machine (macOS Sonoma) was 127.0.6533.100. Also latest version 129.0.6668.71 shows "tasks" to fail.

wglp avatar Sep 29 '24 05:09 wglp

Same with Opera (114.0.5282.21) using Chromium (128.0.6613.162)

Uatschitchun avatar Oct 15 '24 12:10 Uatschitchun

Same with Brave 1.70.126 based on Chromium 129.0.x

oleua avatar Oct 15 '24 19:10 oleua

Confirming the issue on Chrome 131.0.6778.24 (Officiële build) beta (64-bits) Working fine on FF 132.0 (64-bits) Both running on Ubuntu 24.04.1 LTS

bertvorenholt avatar Nov 03 '24 04:11 bertvorenholt

Does this happen to previous version of tasks or nextcloud? I've just noticed this bug today after updating nc from 27.x to 27.1.11. It could have been there already and I did not notice.

DeepReef11 avatar Nov 19 '24 18:11 DeepReef11

Does this happen to previous version of tasks or nextcloud? I've just noticed this bug today after updating nc from 27.x to 27.1.11. It could have been there already and I did not notice.

I use Tasks on murena.io (/e/ cloud) and at the moment they are using nc 28. The problem suddently appeard a while back to me and I didn't look at the version they where using back then.

bertvorenholt avatar Nov 21 '24 11:11 bertvorenholt

Same issue for me... Any information on when it could be fixed?

DimanNe avatar Dec 01 '24 13:12 DimanNe

I can confirm, that Chrome crashes directly after the drag started. I think this is a Chrome issue, as it used to work in the past. I will check how we can work around this.

Again, this bug was introduced by Chromium / Chrome. So the proper place to report it is the Chromium project. I just tried with Chromium 121.0.6111.0 from 6 Nov 2023 where dragging a task works fine. With the a current version Chromium 133.0.6844.0 from 18 Nov 2024 dragging crashes the window. The best we can hope for from our side is that we find a workaround. The only proper solution is a Chromium fix imho.

And regarding the deleted comment from above:

Evidently not. Tasks has been broken for months. Not a good look. I'm reconsidering my recommendation for our company to use NextCloud because of this. If they don't have enough people to maintain the software when things like this happen then it's not enterprise ready.

I second this, but please replace Nextcloud / Tasks with Google / Chrome.

raimund-schluessler avatar Dec 04 '24 07:12 raimund-schluessler

Hey, bug is still present ;) Tested with Edge and Chrome, both crash the sites with: RESULT_CODE_KILLED_BAD_MESSAGE

techteam-pro-discount avatar Jan 06 '25 11:01 techteam-pro-discount

Notably: the drag and drop for lists (on the left sidebar) works perfectly.

thiswillbeyourgithub avatar Jan 07 '25 12:01 thiswillbeyourgithub

I have the same issue with Brave on Windows, but not on Android. Additonally in windows the app is very slow

tmpt2 avatar Jan 28 '25 22:01 tmpt2

Chrome 132.0.6834.196 - crashing. Firefox - working

Tasks version - 0.16.1

Bazis007 avatar Feb 12 '25 07:02 Bazis007

@raimund-schluessler Awesome news; It seems to be fixed! I found out yesterday on my Linux laptop. Today I still had issues on my Windows PC, but after updating to the lastest version the problem is fixed on my PC as well.

Brave Version 1.76.74 Chromium: 134.0.6998.89 (Official Build) (64-bit)

MP-XO avatar Mar 18 '25 17:03 MP-XO

Same it's fixed in Brave 🚀

@raimund-schluessler can be closed IMHO

kub3let avatar Mar 18 '25 18:03 kub3let

Confirm fixed on brave. Soooo happy

thiswillbeyourgithub avatar Mar 18 '25 18:03 thiswillbeyourgithub

Confirm fixed on Chrome 134.0.6998.35 (Officiële build) beta (64-bits) on Ubuntu 24.04.2 LTS

bertvorenholt avatar Mar 18 '25 21:03 bertvorenholt

Also works again with Edge 134.0.3124.72.

raimund-schluessler avatar Mar 23 '25 16:03 raimund-schluessler