Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problema en un soft (no-portage) con Java [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 382

PostPosted: Fri Jun 12, 2015 3:37 pm    Post subject: Problema en un soft (no-portage) con Java [SOLVED] Reply with quote

Hola:
Tengo un problema con un soft que utiliza un GUI hecho en Java. Cuando le doy abrir el programa se cierra y me arroja la siguiente salida:

Code:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000003fdee3180d, pid=27905, tid=140001536784128
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x3180d]  g_type_check_instance_is_fundamentally_a+0xd
#
# 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/natrix/hs_err_pid27905.log
Compiled method (nm)   52586 1141     n       org.eclipse.swt.internal.gtk.OS::_g_object_get_qdata (native)
 total in heap  [0x00007f54a0f8ec90,0x00007f54a0f8f010] = 896
 relocation     [0x00007f54a0f8edb0,0x00007f54a0f8ee10] = 96
 main code      [0x00007f54a0f8ee20,0x00007f54a0f8f010] = 496
#
# 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.
#
/usr/bin/comsol: línea 1571: 27905 Abortado                ${MPICMD} ${FLROOT}/bin/${ARCH}/comsollauncher --launcher.ini ${LAUNCHERINIFILE} ${LAUNCHERARGS} ${MPILAUNCHERARGS}


Buscando por ahí (creo que un foro de opensuse) encontré que el problema está en oxygen-gtk de KDE. Efectivamente, cuando cambio a estilo "Raleigh" el programa anda bien. En otra máquina, antes de abrirlo tengo que darle 'export LC_ALL="C" '.

Alguien sabe como solucionarlo? se trata de un bug?

Gracias!!!


Last edited by natrix on Fri Jul 10, 2015 7:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 382

PostPosted: Wed Jun 17, 2015 5:06 pm    Post subject: Reply with quote

Voy a refomular el hilo:

Es posible personalizar la ejecución de un programa?

Quiero decir, puedo hacer algo para que un soft se ejecute en un ambiente LC_ALL="C" y estilo gtk Raleigh en un KDE con LC_ALL="es_ES-UTF8" y oxygen-gtk?

Gracias
Back to top
View user's profile Send private message
natrix
Guru
Guru


Joined: 23 Aug 2013
Posts: 382

PostPosted: Fri Jul 10, 2015 7:45 pm    Post subject: Reply with quote

Hola gente:

Acá encontré una solución al problema, no es lo ideal pero me sirve. Antes de correr el programa corro la siguiente línea:

"export GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/natrix/.mygtkrc:/home/natrix/.kde4/share/config/gtkrc-2.0"

donde ".mygtkrc" tiene la configuración que quiero.

Espero que a alguien le sirva.

Saludos
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum