Vuze Forums

Full Version: Crash (within swt?)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ubuntu 14.04

About Box:
Java 1.8.0_20
 Oracle Corporation
SWT v4403, gtk
Linux v3.13.0-36-generic, amd64
V5.4.0.0/4 az3


Ubuntu says about the crash:
The crashed program seems to use third-party or local libraries:

/home/dxx/.swt/lib/linux/x86_64/libswt-gtk-4403.so
/home/dxx/.swt/lib/linux/x86_64/libswt-pi-gtk-4403.so
/home/dxx/.swt/lib/linux/x86_64/libswt-atk-gtk-4403.so
/home/dxx/.swt/lib/linux/x86_64/libswt-cairo-gtk-4403.so

It is highly recommended to check if the problem persists without those first.

Do you want to continue the report process anyway?


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fed87d30fe0, pid=28031, tid=140659990279936
#
# JRE version: Java™ SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot™ 64-Bit Server VM (25.20-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libglib-2.0.so.0+0x38fe0]  g_str_hash+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/dia/Downloads/vuze/hs_err_pid28031.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

btw.: the vuze "get started" does not show anything (which may point to a problem for SWT?)

 
why do i have swt libraries in my home directory, does vuze really use this as ubuntu says?

 
The SWT graphics library that Vuze uses extracts the native libraries at runtime into that folder. 

You could try downloading the most recent from 

http://download.eclipse.org/eclipse/down...x86_64.zip

Extract the 'swt.jar' from the zip and replace the one in the Vuze installation directory. Tell me if things improve!
You'll need to force GTK2 though as GTK3 borks the sidebar big time

To do this 

export SWT_GTK3=0

before running Vuze

 
(09-30-2014, 04:19 PM)'parg' Wrote: [ -> ]You'll need to force GTK2 though as GTK3 borks the sidebar big time

To do this 

export SWT_GTK3=0

before running Vuze

 


 


It is strange.
I am getting the "vuze->getting start" to work:
Replace the vuze/swt/swt32,jar and the vuze/swt/swt64.jar with the swt.jar
Do not replace the vuzw/swt.jar (if i do, the vuze->getting start does not work)
(using export SWT_GTK3=0)




Whatever i do, i can not "repair" the core dump. What i simple do is:
Start
Click with the mouse to the View (Menu bar) (all the others works!)
And crash.....




 

 
You need to replace the vuze/swt.jar - this is the one that is used. 

However, if the crash is just in the 'getting started' page (or the 'vuze hd network' page, or search/subscription results) then you are having problems with the browser integration (an embeded webpage is used for these views) - this is generally an area of borkage on Linux :(
(10-01-2014, 11:31 AM)'parg' Wrote: [ -> ]You need to replace the vuze/swt.jar - this is the one that is used. 

However, if the crash is just in the 'getting started' page (or the 'vuze hd network' page, or search/subscription results) then you are having problems with the browser integration (an embeded webpage is used for these views) - this is generally an area of borkage on Linux :(


 

I think you misunderstood me.

1."getting started" is not really interesting for me)
2. Vuze crashs, with a hs_err_pid.log, if i click at the menu "view".

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f55d7adffe0, pid=28241, tid=140006883219200
#
# JRE version: Java™ SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot™ 64-Bit Server VM (25.20-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libglib-2.0.so.0+0x38fe0]  g_str_hash+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /media/giant/vuze/hs_err_pid28241.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./vuze: line 204: 28241 Aborted                 (core dumped) ${JAVA_PROGRAM_DIR}java "${JAVA_ARGS}" -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" -Dazureus.script="$0" $JAVA_PROPS $START_CLASS "$@"
Exit from Azureus complete
No shutdown tasks to do
Azureus TERMINATED.

The begin of hs_err_pid28241.log
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ffd4aeadfe0, pid=29475, tid=140726008551168
#
# JRE version: Java™ SE Runtime Environment (8.0_20-b26) (build 1.8.0_20-b26)
# Java VM: Java HotSpot™ 64-Bit Server VM (25.20-b23 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libglib-2.0.so.0+0x38fe0]  g_str_hash+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007ffd6811a800):  JavaThread "SWT Thread" [_thread_in_native, id=29490, stack(0x00007ffd53b01000,0x00007ffd53c02000)]

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000

Registers:
RAX=0x00007ffd14024920, RBX=0x00007ffd14024920, RCX=0x0000000000000000, RDX=0x00007ffd14024920
RSP=0x00007ffd53bfd938, RBP=0x00007ffd14024860, RSI=0x0000000000000000, RDI=0x0000000000000000
R8 =0x00007ffd14795a10, R9 =0x00007ffd14323c02, R10=0x0000000000000002, R11=0xaaaaaaaaaaaaaaab
R12=0x00007ffd1480a600, R13=0x00007ffd1480a600, R14=0x0000000000000000, R15=0x0000000000000000
RIP=0x00007ffd4aeadfe0, EFLAGS=0x0000000000010206, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007ffd53bfd938)
0x00007ffd53bfd938:   00007ffd4aead040 00007ffd14aac080
0x00007ffd53bfd948:   0000000000000000 00007ffd14024920
0x00007ffd53bfd958:   0000000014aac300 0000000000000000
0x00007ffd53bfd968:   00007ffd14024920 00007ffd1444ae70
0x00007ffd53bfd978:   00007ffd1480a600 00007ffd1480a600
0x00007ffd53bfd988:   0000000000000000 0000000000000000
0x00007ffd53bfd998:   00007ffce2d6d162 00007ffd147ee320
0x00007ffd53bfd9a8:   0000000000000008 00007ffd145fa6f0
0x00007ffd53bfd9b8:   00007ffd4aed7178 0000000000000000
0x00007ffd53bfd9c8:   00007ffd147a2c00 00007ffd14024920
0x00007ffd53bfd9d8:   00007ffd147ee320 0000000000000008
0x00007ffd53bfd9e8:   00007ffd145fa6f0 00007ffd140ead90
0x00007ffd53bfd9f8:   00007ffce2d668e2 0000000000000002
0x00007ffd53bfda08:   0000000000000008 00007ffd53bfdc20