JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 02.04.2022, 10:00
redfanglicker redfanglicker is offline
Registered / Inactive
 
Join Date: Jul 2018
Posts: 6
Default Arch(only?) Linux issues, JDownloader fails to update with errors

org.tukaani.xz.CorruptedInputException: XZ Index is corrupt
at org.tukaani.xz.index.IndexHash.validate(Unknown Source)
at org.tukaani.xz.SingleXZInputStream.read(Unknown Source)
at org.tukaani.xz.XZInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at org.appwork.utils.net.CountingInputStream.read(CountingInputStream.java:62)
at org.appwork.utils.net.LimitedInputStream.read(LimitedInputStream.java:70)
at org.appwork.utils.awfc.AWFCInputStream$2.read(AWFCInputStream.java:138)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at org.appwork.utils.awfc.AWFCInputStream.read(AWFCInputStream.java:206)
at org.appwork.updatesys.client.UpdateClient$16$1.read(UpdateClient.java:2719)
at org.appwork.utils.crypto.AWSign.verify(AWSign.java:452)
at org.appwork.updatesys.transport.exchange.UpdateSignature.verify(UpdateSignature.java:163)
at org.appwork.updatesys.client.UpdateClient.verifyFileSignature(UpdateClient.java:2746)
at org.appwork.updatesys.client.UpdateClient.writeFile(UpdateClient.java:2775)
at org.appwork.updatesys.client.UpdateClient.installFile(UpdateClient.java:2828)
at org.jdownloader.update.SelfUpdateClient.installFile(SelfUpdateClient.java:198)
at org.appwork.updatesys.client.UpdateClient.installPackage(UpdateClient.java:3068)
at org.appwork.updatesys.client.UpdateClient.runPackageInstallation(UpdateClient.java:4365)
at org.jdownloader.update.SelfUpdateClient.runPackageInstallation(SelfUpdateClient.java:531)
at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1337)
at org.jdownloader.update.UpdateManager$8.run(UpdateManager.java:411)
at java.lang.Thread.run(Thread.java:748)


Running archlinux kernel 5.17.0-1-mainline. Not sure what to do, it was working fine until this update pop up notification.

Last edited by Jiaz; 11.04.2022 at 17:14.
Reply With Quote
  #2  
Old 02.04.2022, 10:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@redfanglicker: the file is corrupted, see here how to fix your installation
https://support.jdownloader.org/Know...r-installation
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 07.04.2022, 11:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@redfanglicker: In case you still have this issue, I would like to do a teamviewer session with you.
maybe contact us via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 10.04.2022, 12:33
mezzocorso mezzocorso is offline
Registered / Inactive
 
Join Date: Apr 2022
Posts: 1
Default

I have the same issue. Any news plase?
Reply With Quote
  #5  
Old 11.04.2022, 09:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@mezzocorso:
Please check your disk (smartdata,filesystem) and your memory(memtest86)
I got hands on logs that shows that hash is correct on download but later on reading it's defect.
Have you tried https://support.jdownloader.org/Know...r-installation
I can also offer you live help via teamviewer if you want, just contact us via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 11.04.2022, 14:21
elguaxo elguaxo is offline
Registered / Inactive
 
Join Date: Apr 2022
Posts: 4
Default

Quote:
Originally Posted by Jiaz View Post
Hi! I'm having the same problem. I followed the steps in the "How to fix a broken JDownloader installation" guide, but the error remains if I try to update.

This is the exact error I'm getting:
Code:
org.tukaani.xz.CorruptedInputException: XZ Index is corrupt
	at org.tukaani.xz.index.IndexHash.validate(Unknown Source)
	at org.tukaani.xz.SingleXZInputStream.read(Unknown Source)
	at org.tukaani.xz.XZInputStream.read(Unknown Source)
	at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
	at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
	at java.base/java.io.FilterInputStream.read(FilterInputStream.java:132)
	at org.appwork.utils.net.CountingInputStream.read(CountingInputStream.java:62)
	at org.appwork.utils.net.LimitedInputStream.read(LimitedInputStream.java:70)
	at org.appwork.utils.awfc.AWFCInputStream$2.read(AWFCInputStream.java:138)
	at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106)
	at org.appwork.utils.awfc.AWFCInputStream.read(AWFCInputStream.java:206)
	at org.appwork.updatesys.client.UpdateClient$16$1.read(UpdateClient.java:2719)
	at org.appwork.utils.crypto.AWSign.verify(AWSign.java:452)
	at org.appwork.updatesys.transport.exchange.UpdateSignature.verify(UpdateSignature.java:163)
	at org.appwork.updatesys.client.UpdateClient.verifyFileSignature(UpdateClient.java:2746)
	at org.appwork.updatesys.client.UpdateClient.writeFile(UpdateClient.java:2775)
	at org.appwork.updatesys.client.UpdateClient.installFile(UpdateClient.java:2828)
	at org.jdownloader.update.SelfUpdateClient.installFile(SelfUpdateClient.java:198)
	at org.appwork.updatesys.client.UpdateClient.installPackage(UpdateClient.java:3068)
	at org.appwork.updatesys.client.UpdateClient.runPackageInstallation(UpdateClient.java:4365)
	at org.jdownloader.update.SelfUpdateClient.runPackageInstallation(SelfUpdateClient.java:531)
	at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1337)
	at org.jdownloader.update.UpdateManager$8.run(UpdateManager.java:411)
	at java.base/java.lang.Thread.run(Thread.java:833)
Thanks in advance!

edit: I'm using:
Code:
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 17.0.3+3
java.version = 17.0.3
java.vm.version = 17.0.3+3
os.name = Linux
os.version = 5.10.105-1-MANJARO

Last edited by elguaxo; 11.04.2022 at 14:38.
Reply With Quote
  #7  
Old 11.04.2022, 14:41
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@elguaxo: can we do a teamviewer session about this? contact us via support@jdownloader.org
have you checked your memory and (sd-card?)disk?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 11.04.2022, 14:48
elguaxo elguaxo is offline
Registered / Inactive
 
Join Date: Apr 2022
Posts: 4
Default

Quote:
Originally Posted by Jiaz View Post
@elguaxo: can we do a teamviewer session about this? contact us via support@jdownloader.org
have you checked your memory and (sd-card?)disk?
Memory and SSD are fine.
Reply With Quote
  #9  
Old 11.04.2022, 15:06
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

In that case I would like to do a teamviewer session as I cannot reproduce the issue,
contact me via support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 11.04.2022, 16:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@elguaxo: can we do another Teamviewer Session?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 11.04.2022, 17:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@elguaxo: Thanks for Teamviewer! It looks like System/Kernel issues as a simple opening of JarFile also files (outside of JDownloader), tested with different java version.

see
bbs.archlinux.org/viewtopic.php?id=275421
stackoverflow.com/questions/71757009/strange-java-behaviour-with-zip-files-including-jars

I think it might have to do with zlib (dynamic library dependency of java). maybe arch updated to incompatible version

@elguaxo: can you check what zlib version you have installed in system? I think this is regression from zlib 1.2.12. other major distros just backported the fixes while arch might just have jumped to 1.2.12 ?

Okay, most likely it's caused by this missing change in upstream java, github.com/madler/zlib/issues/426
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 11.04.2022 at 17:17.
Reply With Quote
  #12  
Old 11.04.2022, 17:19
elguaxo elguaxo is offline
Registered / Inactive
 
Join Date: Apr 2022
Posts: 4
Default

The last installed or upgraded since April:

grep -iE 'installed|upgraded' /var/log/pacman.log
Code:
[2022-04-02T08:18:31-0300] [ALPM] upgraded chromium (100.0.4896.60-1 -> 100.0.4896.60-2)
[2022-04-04T07:21:29-0300] [ALPM] upgraded teamviewer (15.27.3-1 -> 15.28.7-1)
[2022-04-05T18:03:25-0300] [ALPM] upgraded chromium (100.0.4896.60-2 -> 100.0.4896.75-1)
[2022-04-05T18:03:25-0300] [ALPM] installed iperf3 (3.11-1)
[2022-04-05T19:04:04-0300] [ALPM] upgraded sublime-text-dev (4.4129-1 -> 4.4131-1)
[2022-04-06T16:59:54-0300] [ALPM] upgraded zlib (1:1.2.11-5 -> 1:1.2.12-1)
[2022-04-08T18:23:18-0300] [ALPM] upgraded inxi (3.3.14.1-1 -> 3.3.15.1-1)
[2022-04-09T19:17:49-0300] [ALPM] installed tree (2.0.2-1)
[2022-04-10T14:35:00-0300] [ALPM] upgraded nerd-fonts-noto-sans-mono (2.0.0-1 -> 2.1.0-1)
zlib was updated a few days ago. I'll try a previous version and report back!

Last edited by elguaxo; 11.04.2022 at 17:38.
Reply With Quote
  #13  
Old 11.04.2022, 17:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@elguaxo: yes, please try zlib 1.2.12 and report back, I will update my git comment then
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 11.04.2022, 17:34
elguaxo elguaxo is offline
Registered / Inactive
 
Join Date: Apr 2022
Posts: 4
Default

My latest zlib upgrade was from 1.2.11-5 to 1.2.12-1. And it seems that I got the JDownloader update errors right after that. So I just downgraded zlib back to 1.2.11-5 and the problem was solved!

Thanks a lot @Jiaz for your help.
Reply With Quote
  #15  
Old 11.04.2022, 17:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,001
Default

@elguaxo: Thanks for the feedback. I just updated my issue on github and also reported to zlib by mail.
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 11.04.2022 at 17:51.
Reply With Quote
  #16  
Old 11.03.2023, 16:01
Garfield Garfield is offline
Registered / Inactive
 
Join Date: Jun 2018
Posts: 19
Default [Jdownloader Flatpak BUG] after update or newly installed

Hi I wanted to report this error that has been happening for about 20 days with **External links are only visible to Support Staff**jdowloader flatpak version and bash script version, I even uninstalled jdownloader and removed all data and reinstalled as new but it happens on debian 11, ubuntu 20.04 and fedora silverblue.

An unexpected IO error occurred during the update. Please try again or contact our support.

Error Details
Code:
org.tukaani.xz.CorruptedInputException: XZ Index is corrupt
	at org.tukaani.xz.index.IndexHash.validate(Unknown Source)
	at org.tukaani.xz.SingleXZInputStream.read(Unknown Source)
	at org.tukaani.xz.XZInputStream.read(Unknown Source)
	at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:244)
	at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
	at java.base/java.io.FilterInputStream.read(FilterInputStream.java:132)
	at org.appwork.utils.net.CountingInputStream.read(CountingInputStream.java:62)
	at org.appwork.utils.net.LimitedInputStream.read(LimitedInputStream.java:70)
	at org.appwork.utils.awfc.AWFCInputStream$2.read(AWFCInputStream.java:144)
	at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106)
	at org.appwork.utils.awfc.AWFCInputStream.read(AWFCInputStream.java:212)
	at org.appwork.updatesys.client.UpdateClient$15$1.read(UpdateClient.java:3113)
	at org.appwork.utils.crypto.AWSign.verify(AWSign.java:453)
	at org.appwork.updatesys.transport.exchange.UpdateSignature.verify(UpdateSignature.java:163)
	at org.appwork.updatesys.client.UpdateClient.verifyFileSignature(UpdateClient.java:3140)
	at org.appwork.updatesys.client.UpdateClient.writeFile(UpdateClient.java:3169)
	at org.appwork.updatesys.client.UpdateClient.installFile(UpdateClient.java:3223)
	at org.jdownloader.update.SelfUpdateClient.installFile(SelfUpdateClient.java:198)
	at org.appwork.updatesys.client.UpdateClient.installPackage(UpdateClient.java:3468)
	at org.appwork.updatesys.client.UpdateClient.runPackageInstallation(UpdateClient.java:4768)
	at org.jdownloader.update.SelfUpdateClient.runPackageInstallation(SelfUpdateClient.java:531)
	at org.jdownloader.update.UpdateManager.runUpdateLoop(UpdateManager.java:1343)
	at org.jdownloader.update.PendingUpdate.run(PendingUpdate.java:19)
	at org.jdownloader.update.UpdateManager$23.run(UpdateManager.java:1692)
	at java.base/java.lang.Thread.run(Thread.java:833)

Last edited by Garfield; 13.03.2023 at 11:31.
Reply With Quote
  #17  
Old 12.03.2023, 06:07
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,668
Default

I don't believe that Appwork maintains flatpak installer, must be a community driven effort.

putting that aside, it seems to just execute a bash script installer, probably ours.

what java does your system have out of interest?
java -version
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #18  
Old 13.03.2023, 11:37
Garfield Garfield is offline
Registered / Inactive
 
Join Date: Jun 2018
Posts: 19
Default java -version output

I tried the bash script version downloaded from the official site and it has the same problem.

Ubuntu 20.04.5:
Code:
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Ubuntu-0ubuntu120.04.1)
OpenJDK 64-Bit Server VM (build 11.0.18+10-post-Ubuntu-0ubuntu120.04.1, mixed mode, sharing)
Debian 11:
Code:
openjdk 11.0.18 2023-01-17
OpenJDK Runtime Environment (build 11.0.18+10-post-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 11.0.18+10-post-Debian-1deb11u1, mixed mode, sharing)
Reply With Quote
  #19  
Old 14.03.2023, 18:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 72,935
Default

Merged zlib issues related threads.
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 20:21.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.