| Summary: | net-p2p/vuze segfaults when adding torrents | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | PM <mitaspiotr> |
| Component: | Current packages | Assignee: | Java team <java> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | bobbykent32, fordfrog, g_naray, mdoko, nebojsa, O01eg, rhill |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=407077 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | full vuze output | ||
|
Description
PM
2014-02-06 22:30:01 UTC
Created attachment 369734 [details]
full vuze output
I'm not sure if the warnings are related to the crash. I get them here as well but have no problems. But if they are then this is a swt bug. That's what I thought, my original title was "net-p2p/vuze-4.8.1.2-r1 crashes with SIGSEGV in libgobject-2.0.so", then sometime changed it. Give 5.3.0.0 a try. No improvement. Had what seems to be the same thing with vuze 4.5.1.0-r1, 4.8.1.2-r1 and 5.3.0.0. Found https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776 which suggests adding -Dorg.eclipse.swt.browser.DefaultType=mozilla to the command line. Added the option by seeting JAVA_OPTIONS="-Dorg.eclipse.swt.browser.DefaultType=mozilla" in ~/.azureus/gentoo.config and can add new torrents to vuze again. Apparently the bug got fixed otherwise, I can no longer get vuze to crash this way. (5.3.0) Scratch that, it crashed seconds after I submitted previous comment. Seems like it crashes less often though. Ryan's workaround doesn't help. Seems the issue is back for me, not sure what triggered it, though I do have another workaround. I use KDE for my WM and for a GTK2 Theme I had oxygen-gtk, changing this to Rayleigh allows me to download new torrents with Vuze. Not exactly happy with this, though I seems to work. I wondered if it was something to do with oxygen-gtk-1.4.5 so masked that and installed 1.3.5, unfortunately I'm no longer able to select oxygen-gtk as a GTK2 Theme with this config (perhaps I need to re-emerge a couple of other things). It was comments here http://code.google.com/p/android/issues/detail?id=66748 that gave me the idea to try a change of GTK2 Theme. (In reply to BobbyK from comment #6) > Had what seems to be the same thing with vuze 4.5.1.0-r1, 4.8.1.2-r1 and > 5.3.0.0. Found https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776 which > suggests adding -Dorg.eclipse.swt.browser.DefaultType=mozilla to the command > line. Added the option by seeting > JAVA_OPTIONS="-Dorg.eclipse.swt.browser.DefaultType=mozilla" > in ~/.azureus/gentoo.config and can add new torrents to vuze again. This solution works on my gentoo, with vuze 4.8.1.2-r1. Thanks! (In reply to BobbyK from comment #9) > Seems the issue is back for me, not sure what triggered it, though I do have > another workaround. I use KDE for my WM and for a GTK2 Theme I had > oxygen-gtk, changing this to Rayleigh allows me to download new torrents > with Vuze. Not exactly happy with this, though I seems to work. I wondered > if it was something to do with oxygen-gtk-1.4.5 so masked that and installed > 1.3.5, unfortunately I'm no longer able to select oxygen-gtk as a GTK2 Theme > with this config (perhaps I need to re-emerge a couple of other things). It > was comments here http://code.google.com/p/android/issues/detail?id=66748 > that gave me the idea to try a change of GTK2 Theme. This works for me too. It is an ugly workaround, but what can you do. I hope this gets resolved in future oxygen-gtk versions. I think I've seen the same elsewhere. I'll add it to 5400 and we'll get that stabilized quick. Seems the donations window also triggers the crash regardless of the workarounds :(. Seems that on my desktop vuze will crash when oxygen-gtk is used as the GTK2 theme only if "Show icons in GTK menus" is checked. Patch from https://bugs.eclipse.org/bugs/attachment.cgi?id=229268 fixed problem for me. Running net-p2p/vuze-5.3.0 with dev-java/swt-3.8.2 on dev-java/icedtea-7.2.5.3 By the way, adding -Dorg.eclipse.swt.browser.DefaultType=mozilla effectivly disables html widget (it then depends on xulrunnerm which is no longer available) which is causing the problem, but functionality suffers. I pushed this patch to swt-3.8.2-r1. Let me know if you still have problems. Vuze still crashes on adding a new torrent from KDE desktop with new version of swt. I have the html web ui, and can add new torrents via that (which is better than crashing, though not quite as useful as directly from the client). I was afraid of that. Looking at the upstream bugtracker it seems that other people are still hitting this as well. Is your swt built with USE=webkit? Does the mozilla thing still work and can you tell what functionality it disables? I use the classic interface so I wouldn't know if something is missing. swt has webkit USE enabled. The mozilla workaround from last year no longer works for me. The selection of gtk2 theme in kde system settings seems to have an effect, issue reproduces with oxygen-gtk, and QTCurve, does not reproduce with Raleigh and Ana. Ana is not quite as ugly as Raleigh, so I'll live with it for a while. I think I also use the classic interface. After upgrading to 5.7.2.0 found that classic crashed on adding a torrent, so switched back to Vuze UI and so far so good (though not tried oxygen-gtk yet). Investigating the crash in classic eventually took me to https://bugs.eclipse.org/bugs/show_bug.cgi?id=372560, which looks like it might be a good fit for the original issue in this bug. If true, it may mean this is a dupe of https://bugs.gentoo.org/show_bug.cgi?id=521308... Switching of oxygen-gtk resurrected the crash, replacing /usr/share/swt-3.8/lib/swt.jar with org.eclipse.swt.gtk.linux.x86_64_3.105.0.v20160603-0902.jar (from eclipse-sdk-bin-4.6) resolved it (though appears to have broken the system tray menu). I have seen this for myself in the past so I'll try to bump swt when I can. A little more testing; took the patches attached to https://bugs.gentoo.org/show_bug.cgi?id=521308 and added a swt-3.8.2-r2.ebuild to my local overlay to apply them. Using KDE with oxygen-gtk and Vuze UI - no crashes on adding a torrent (the system tray context menu also works). Also removed: JAVA_OPTIONS="-Dorg.eclipse.swt.browser.DefaultType=mozilla" from ~/.azureus/gentoo.config. |