Bug 979102 - Help with workaround azureus ><Java-Openjdk
Summary: Help with workaround azureus ><Java-Openjdk
Keywords:
Status: CLOSED DUPLICATE of bug 980260
Alias: None
Product: Fedora
Classification: Fedora
Component: azureus
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Juran
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-27 15:24 UTC by Frank Murphy
Modified: 2014-02-10 15:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-05 21:59:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
openjdk >> abrt screencap (30 min period) (26.17 KB, image/png)
2013-10-09 09:25 UTC, Frank Murphy
no flags Details

Description Frank Murphy 2013-06-27 15:24:20 UTC
Description of problem: Got his bz: (closed wontfix)
https://bugzilla.redhat.com/show_bug.cgi?id=560232

This comment has a workaround\suggestion
https://bugzilla.redhat.com/show_bug.cgi?id=560232#c48

I left a comment:
https://bugzilla.redhat.com/show_bug.cgi?id=560232#c50

Asked come here for how to use it in azureus.
azureus 4.8.1.2.1 (fedora packaged)

Comment 1 David Juran 2013-10-03 19:41:33 UTC
My apology, I really should get better at looking after Bugzillas )-:

So first off, is this still a problem?

To answer your question for implementing Deepak's workaround, add "-Dsun.zip.disableMemoryMapping" towards the end of the long last line of /usr/bin/azureus. So for azureus-5.0.0.0-1.fc19, the line would look like

JAVA_HOME=/usr/lib/jvm/java-openjdk LD_LIBRARY_PATH=$LIBDIR/eclipse/plugins/:$LIBDIR/eclipse/:$LIBDIR CLASSPATH=$SWT:`build-classpath bcprov apache-commons-cli log4j`:/usr/share/azureus/Azureus2.jar java -Dazureus.install.path=$APPDIR -Dazureus.script.version=$SCRIPT_VERSION -Dazureus.script=$0 -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dsun.zip.disableMemoryMapping org.gudy.azureus2.ui.swt.Main "$@"

But next question is, why are you receiving jar:s/zips that are changing, it sounds kind of weird... Could you please send me the full crash report from when this problem is happening?

Comment 2 Frank Murphy 2013-10-03 21:43:43 UTC
(In reply to David Juran from comment #1)
> My apology, I really should get better at looking after Bugzillas )-:
> 
> So first off, is this still a problem?

Honestly don't know if still a problem, 


> 
> To answer your question for implementing Deepak's workaround, add
> "-Dsun.zip.disableMemoryMapping" towards the end of the long last line of
> /usr/bin/azureus. So for azureus-5.0.0.0-1.fc19, the line would look like
> 
> JAVA_HOME=/usr/lib/jvm/java-openjdk
> LD_LIBRARY_PATH=$LIBDIR/eclipse/plugins/:$LIBDIR/eclipse/:$LIBDIR
> CLASSPATH=$SWT:`build-classpath bcprov apache-commons-cli
> log4j`:/usr/share/azureus/Azureus2.jar java -Dazureus.install.path=$APPDIR
> -Dazureus.script.version=$SCRIPT_VERSION -Dazureus.script=$0
> -Dorg.eclipse.swt.browser.UseWebKitGTK=true -Dsun.zip.disableMemoryMapping
> org.gudy.azureus2.ui.swt.Main "$@"
> 
ok, will do that (script v2)

> But next question is, why are you receiving jar:s/zips that are changing, it
> sounds kind of weird... Could you please send me the full crash report from
> when this problem is happening?

The only time, that would happen (I guess ) is if I forget to disable check for updates, in the options, and it goes through the motions , but don't know enough about it (I got to primitives, that was all).

Comment 3 Frank Murphy 2013-10-04 05:12:27 UTC
This may have fixed something as running solid overnight (10:30am -6:00am)
or maybe the new swt.jar from @eclipse.org bz: #980260.

Comment 4 David Juran 2013-10-04 11:50:18 UTC
Did you mean that -Dsun.zip.disableMemoryMapping helped? 
Yes, according to Deepak Bhole, it's supposed to help, at the cost of performance, so I'm a bit hesitant to put it into the script for everybody.

What I'm a bit curious about is why the (update?) jar which is being downloaded changes in mid-transfer. Or why I'm not seeing this issue myself...

So if you have the possibility and would like to further debug this issue, could you try removing the -Dsun.zip.disableMemoryMapping from the startup script and then, when azureus crashes, submit the full crash log. If you enable abrt, it will make it easier for you to collect the core.

Comment 5 Frank Murphy 2013-10-04 12:30:58 UTC
(In reply to David Juran from comment #4)
> Did you mean that -Dsun.zip.disableMemoryMapping helped? 
> Yes, according to Deepak Bhole, it's supposed to help, at the cost of
> performance, so I'm a bit hesitant to put it into the script for everybody.

either that or the updated swt.jar, which was listed as part of the problem with the other apps on Deepak Bhole comments

> 
> What I'm a bit curious about is why the (update?) jar which is being
> downloaded changes in mid-transfer. Or why I'm not seeing this issue
> myself...

It could be that if azureus\openjdk crash out, I would the test upstream version,
to see if it breaks something, it may overwrite "check update" bits in ~/.azureus

> 
> So if you have the possibility and would like to further debug this issue,
> could you try removing the -Dsun.zip.disableMemoryMapping from the startup
> script and then, when azureus crashes, submit the full crash log. If you
> enable abrt, it will make it easier for you to collect the core.

Will give it a shot, now there is a newer OpenJdk* and eclipse-swt (sept 30) in F19-updates-testing, should I test those as part, or leave it as current.

Comment 6 Frank Murphy 2013-10-04 14:36:51 UTC
lmk if I didn't get enough:
ftp://ftp.frankly3d.eu/azureus.bz2

Comment 7 David Juran 2013-10-07 11:17:05 UTC
Is that a crash dump in #6? The ftp site requires a login...

Comment 8 Frank Murphy 2013-10-07 11:23:59 UTC
(In reply to David Juran from comment #7)
> Is that a crash dump in #6? The ftp site requires a login...

Apologies, meant to give you the http://frankly3d.eu/fedora/azureus.bz2

Comment 9 Frank Murphy 2013-10-09 09:24:22 UTC
More testing, maybe it's openjdk to blame for all things azureus\vuze?

Downloaded upstream vuze (iirc 4.9.0.0)
updated to 5.1.0.0 using inbuilt function.
Separated .azureus from fedora ~/.azureus using:

-Dazureus.config.path="${PROGRAM_DIR}"/.azureus \ # where appropriate
(I cheated by copying original backup over, to avoid re-entering torrents)
rm ~/.azureus to prove new path works.

openjkd still doing it's drunken dance, numer of times over 30m
vuze still open and running

Will attach sceen cap of abrt@java

Comment 10 Frank Murphy 2013-10-09 09:25:23 UTC
Created attachment 809813 [details]
openjdk >> abrt screencap (30 min period)

Comment 11 Frank Murphy 2013-10-12 13:26:36 UTC
More testing stated from terminal : /usr/bin/azureus

https://bugzilla.redhat.com/show_bug.cgi?id=1016085#c21 + 22
hs*.log
and massive core file

Comment 12 Fedora End Of Life 2013-12-21 14:10:37 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Fedora End Of Life 2014-02-05 21:59:45 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 14 Sergio Basto 2014-02-06 03:16:30 UTC
(In reply to David Juran from comment #4)
> Did you mean that -Dsun.zip.disableMemoryMapping helped? 

I tried -Dsun.zip.disableMemoryMapping and seems doesn't help , seems more to me this is a dup of bug #980260 ,  which is SWT fault.

Comment 15 Sergio Basto 2014-02-10 15:40:55 UTC

*** This bug has been marked as a duplicate of bug 980260 ***


Note You need to log in before you can comment on or make changes to this bug.