Locking assertion failure on linux

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Locking assertion failure on linux

Ivan Mincik
Hi,
there is "Locking assertion failure" when trying to start application
on Debian Lenny Linux (KDE 3.5). The same problem is rising with Java
bundled to Kosmo and also with my system Java. However version 1.2 is
running fine on same computer.


Traceback:

Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb4cd6851]
#2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb4d2cc44]
#3 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so [0xb4e3a64e]
#4 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so [0xb4e18f97]
#5 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so [0xb4e19248]
#6 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
[0xb4e1954f]
#7 [0xb5ca768e]
#8 [0xb5c9fedd]
#9 [0xb5c9fedd]
#10 [0xb5c9d243]
#11 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so [0x620bc6d]
#12 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so [0x630a828]
#13 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so [0x620bb00]
#14 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
[0x62619bb]
#15 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
[0xb7cb896d]
#16 [0xb5ca768e]
#17 [0xb5c9fd77]
#18 [0xb5c9d243]
#19 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so [0x620bc6d]
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb4cd692e]
#2 /usr/lib/libX11.so.6 [0xb4d2bde9]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb4d22156]
#4 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so [0xb4e18249]
#5 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so [0xb4e18495]
#6 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so [0xb4e192f9]
#7 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
[0xb4e1954f]
#8 [0xb5ca768e]
#9 [0xb5c9fedd]
#10 [0xb5c9fedd]
#11 [0xb5c9d243]
#12 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so [0x620bc6d]
#13 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so [0x630a828]
#14 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so [0x620bb00]
#15 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
[0x62619bb]
#16 /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
[0xb7cb896d]
#17 [0xb5ca768e]
#18 [0xb5c9fd77]
#19 [0xb5c9d243]


Kosmo log:
08/11/2009 10:37:38  INFO JUMPWorkbench:371 - Starting application
Kosmo - Open Geographical Information System 2.0 RC1 (20091029) - Nov
8, 2009 10:37:38 AM
08/11/2009 10:37:38  INFO JUMPWorkbench:377 - Java Version : 1.6.0_03
08/11/2009 10:37:38  INFO JUMPWorkbench:379 - OS : Linux (2.6.26-2-686)
08/11/2009 10:37:38  INFO JUMPWorkbench:564 - Using Look and Feel
javax.swing.plaf.metal.MetalLookAndFeel
08/11/2009 10:37:38  INFO JUMPWorkbench:466 - Setting the log level to INFO
08/11/2009 10:37:38  INFO JUMPWorkbench:268 - Loading Spatial
Reference Systems libraries...
08/11/2009 10:37:39 ERROR root:197 - Exception in thread "main"
08/11/2009 10:37:39 ERROR root:197 - java.lang.UnsatisfiedLinkError:
no jgdal in java.library.path
08/11/2009 10:37:39 ERROR root:197 -    at
java.lang.ClassLoader.loadLibrary(Unknown Source)
08/11/2009 10:37:39 ERROR root:197 -    at
java.lang.Runtime.loadLibrary0(Unknown Source)
08/11/2009 10:37:39 ERROR root:197 -    at
java.lang.System.loadLibrary(Unknown Source)
08/11/2009 10:37:39 ERROR root:197 -    at
org.gvsig.crs.ogr.JNIBase.<clinit>(JNIBase.java:81)
08/11/2009 10:37:39 ERROR root:197 -    at
org.gvsig.crs.Crs.<init>(Crs.java:208)
08/11/2009 10:37:39 ERROR root:197 -    at
org.gvsig.crs.repository.EpsgRepository.getCrs(EpsgRepository.java:144)
08/11/2009 10:37:39 ERROR root:197 -    at
org.gvsig.crs.CrsFactory.getCRS(CrsFactory.java:92)
08/11/2009 10:37:39 ERROR root:197 -    at
org.saig.core.util.CrsManager.getCRS(CrsManager.java:90)
08/11/2009 10:37:39 ERROR root:197 -    at
com.vividsolutions.jump.workbench.JUMPWorkbench.<init>(JUMPWorkbench.java:270)
08/11/2009 10:37:39 ERROR root:197 -    at
com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:427)
_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int
Reply | Threaded
Open this post in threaded view
|

R: Locking assertion failure on linux

Giuseppe Aruta
Hi Ivan,
did you execute the bin \ libs \ links.sh script before launching Kosmo?

Giuseppe

--- Dom 8/11/09, Ivan Mincik <[hidden email]> ha scritto:

> Da: Ivan Mincik <[hidden email]>
> Oggetto: [Kosmo_int] Locking assertion failure on linux
> A: [hidden email]
> Data: Domenica 8 novembre 2009, 10:49
> Hi,
> there is "Locking assertion failure" when trying to start
> application
> on Debian Lenny Linux (KDE 3.5). The same problem is rising
> with Java
> bundled to Kosmo and also with my system Java. However
> version 1.2 is
> running fine on same computer.
>
>
> Traceback:
>
> Locking assertion failure.  Backtrace:
> #0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
> #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31)
> [0xb4cd6851]
> #2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb4d2cc44]
> #3
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
> [0xb4e3a64e]
> #4
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
> [0xb4e18f97]
> #5
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
> [0xb4e19248]
> #6
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
> [0xb4e1954f]
> #7 [0xb5ca768e]
> #8 [0xb5c9fedd]
> #9 [0xb5c9fedd]
> #10 [0xb5c9d243]
> #11
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
> [0x620bc6d]
> #12
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
> [0x630a828]
> #13
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
> [0x620bb00]
> #14
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
> [0x62619bb]
> #15
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
> [0xb7cb896d]
> #16 [0xb5ca768e]
> #17 [0xb5c9fd77]
> #18 [0xb5c9d243]
> #19
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
> [0x620bc6d]
> Locking assertion failure.  Backtrace:
> #0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
> #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e)
> [0xb4cd692e]
> #2 /usr/lib/libX11.so.6 [0xb4d2bde9]
> #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb4d22156]
> #4
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
> [0xb4e18249]
> #5
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
> [0xb4e18495]
> #6
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
> [0xb4e192f9]
> #7
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
> [0xb4e1954f]
> #8 [0xb5ca768e]
> #9 [0xb5c9fedd]
> #10 [0xb5c9fedd]
> #11 [0xb5c9d243]
> #12
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
> [0x620bc6d]
> #13
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
> [0x630a828]
> #14
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
> [0x620bb00]
> #15
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
> [0x62619bb]
> #16
> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
> [0xb7cb896d]
> #17 [0xb5ca768e]
> #18 [0xb5c9fd77]
> #19 [0xb5c9d243]
>
>
> Kosmo log:
> 08/11/2009 10:37:38  INFO JUMPWorkbench:371 - Starting
> application
> Kosmo - Open Geographical Information System 2.0 RC1
> (20091029) - Nov
> 8, 2009 10:37:38 AM
> 08/11/2009 10:37:38  INFO JUMPWorkbench:377 - Java
> Version : 1.6.0_03
> 08/11/2009 10:37:38  INFO JUMPWorkbench:379 - OS :
> Linux (2.6.26-2-686)
> 08/11/2009 10:37:38  INFO JUMPWorkbench:564 - Using
> Look and Feel
> javax.swing.plaf.metal.MetalLookAndFeel
> 08/11/2009 10:37:38  INFO JUMPWorkbench:466 - Setting
> the log level to INFO
> 08/11/2009 10:37:38  INFO JUMPWorkbench:268 - Loading
> Spatial
> Reference Systems libraries...
> 08/11/2009 10:37:39 ERROR root:197 - Exception in thread
> "main"
> 08/11/2009 10:37:39 ERROR root:197 -
> java.lang.UnsatisfiedLinkError:
> no jgdal in java.library.path
> 08/11/2009 10:37:39 ERROR root:197 -    at
> java.lang.ClassLoader.loadLibrary(Unknown Source)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> java.lang.Runtime.loadLibrary0(Unknown Source)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> java.lang.System.loadLibrary(Unknown Source)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> org.gvsig.crs.ogr.JNIBase.<clinit>(JNIBase.java:81)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> org.gvsig.crs.Crs.<init>(Crs.java:208)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> org.gvsig.crs.repository.EpsgRepository.getCrs(EpsgRepository.java:144)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> org.gvsig.crs.CrsFactory.getCRS(CrsFactory.java:92)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> org.saig.core.util.CrsManager.getCRS(CrsManager.java:90)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> com.vividsolutions.jump.workbench.JUMPWorkbench.<init>(JUMPWorkbench.java:270)
> 08/11/2009 10:37:39 ERROR root:197 -    at
> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:427)
> _______________________________________________
> Kosmo_int mailing list
> [hidden email]
> http://lists.saig.es/mailman/listinfo/kosmo_int
>



_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int
Reply | Threaded
Open this post in threaded view
|

Re: R: Locking assertion failure on linux

Ivan Mincik
On Sun, Nov 8, 2009 at 12:35 PM, Giuseppe Aruta <[hidden email]> wrote:
> Hi Ivan,
> did you execute the bin \ libs \ links.sh script before launching Kosmo?

Yes I executed  links.sh script. I have posted incorrect part of Kosmo
error log, sorry.

'Locking assertion' has to do something with using Java Swing/AWT  and
Linux X server. There are quite few hits and workarounds in Google,
but I have never understood what is really going on.

BTW: links.sh script is located in  libs\links.sh not in bin\libs\links.sh.

Thanks
Ivan

>
> Giuseppe
>
> --- Dom 8/11/09, Ivan Mincik <[hidden email]> ha scritto:
>
>> Da: Ivan Mincik <[hidden email]>
>> Oggetto: [Kosmo_int] Locking assertion failure on linux
>> A: [hidden email]
>> Data: Domenica 8 novembre 2009, 10:49
>> Hi,
>> there is "Locking assertion failure" when trying to start
>> application
>> on Debian Lenny Linux (KDE 3.5). The same problem is rising
>> with Java
>> bundled to Kosmo and also with my system Java. However
>> version 1.2 is
>> running fine on same computer.
>>
>>
>> Traceback:
>>
>> Locking assertion failure.  Backtrace:
>> #0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
>> #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31)
>> [0xb4cd6851]
>> #2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb4d2cc44]
>> #3
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>> [0xb4e3a64e]
>> #4
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>> [0xb4e18f97]
>> #5
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>> [0xb4e19248]
>> #6
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
>> [0xb4e1954f]
>> #7 [0xb5ca768e]
>> #8 [0xb5c9fedd]
>> #9 [0xb5c9fedd]
>> #10 [0xb5c9d243]
>> #11
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>> [0x620bc6d]
>> #12
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>> [0x630a828]
>> #13
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>> [0x620bb00]
>> #14
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
>> [0x62619bb]
>> #15
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
>> [0xb7cb896d]
>> #16 [0xb5ca768e]
>> #17 [0xb5c9fd77]
>> #18 [0xb5c9d243]
>> #19
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>> [0x620bc6d]
>> Locking assertion failure.  Backtrace:
>> #0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
>> #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e)
>> [0xb4cd692e]
>> #2 /usr/lib/libX11.so.6 [0xb4d2bde9]
>> #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb4d22156]
>> #4
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>> [0xb4e18249]
>> #5
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>> [0xb4e18495]
>> #6
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>> [0xb4e192f9]
>> #7
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
>> [0xb4e1954f]
>> #8 [0xb5ca768e]
>> #9 [0xb5c9fedd]
>> #10 [0xb5c9fedd]
>> #11 [0xb5c9d243]
>> #12
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>> [0x620bc6d]
>> #13
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>> [0x630a828]
>> #14
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>> [0x620bb00]
>> #15
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
>> [0x62619bb]
>> #16
>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
>> [0xb7cb896d]
>> #17 [0xb5ca768e]
>> #18 [0xb5c9fd77]
>> #19 [0xb5c9d243]
>>
>>
>> Kosmo log:
>> 08/11/2009 10:37:38  INFO JUMPWorkbench:371 - Starting
>> application
>> Kosmo - Open Geographical Information System 2.0 RC1
>> (20091029) - Nov
>> 8, 2009 10:37:38 AM
>> 08/11/2009 10:37:38  INFO JUMPWorkbench:377 - Java
>> Version : 1.6.0_03
>> 08/11/2009 10:37:38  INFO JUMPWorkbench:379 - OS :
>> Linux (2.6.26-2-686)
>> 08/11/2009 10:37:38  INFO JUMPWorkbench:564 - Using
>> Look and Feel
>> javax.swing.plaf.metal.MetalLookAndFeel
>> 08/11/2009 10:37:38  INFO JUMPWorkbench:466 - Setting
>> the log level to INFO
>> 08/11/2009 10:37:38  INFO JUMPWorkbench:268 - Loading
>> Spatial
>> Reference Systems libraries...
>> 08/11/2009 10:37:39 ERROR root:197 - Exception in thread
>> "main"
>> 08/11/2009 10:37:39 ERROR root:197 -
>> java.lang.UnsatisfiedLinkError:
>> no jgdal in java.library.path
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> java.lang.ClassLoader.loadLibrary(Unknown Source)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> java.lang.Runtime.loadLibrary0(Unknown Source)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> java.lang.System.loadLibrary(Unknown Source)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> org.gvsig.crs.ogr.JNIBase.<clinit>(JNIBase.java:81)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> org.gvsig.crs.Crs.<init>(Crs.java:208)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> org.gvsig.crs.repository.EpsgRepository.getCrs(EpsgRepository.java:144)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> org.gvsig.crs.CrsFactory.getCRS(CrsFactory.java:92)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> org.saig.core.util.CrsManager.getCRS(CrsManager.java:90)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> com.vividsolutions.jump.workbench.JUMPWorkbench.<init>(JUMPWorkbench.java:270)
>> 08/11/2009 10:37:39 ERROR root:197 -    at
>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:427)
>> _______________________________________________
>> Kosmo_int mailing list
>> [hidden email]
>> http://lists.saig.es/mailman/listinfo/kosmo_int
>>
>
>
>
> _______________________________________________
> Kosmo_int mailing list
> [hidden email]
> http://lists.saig.es/mailman/listinfo/kosmo_int
>
_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int
Reply | Threaded
Open this post in threaded view
|

Re: R: Locking assertion failure on linux

Sergio Baños Calvo
Good afternoon, Ivan.

We'll check it and see what's happening. May be it has some conflicts
with any of the new libraries for the 2.0 version.

I'll keep you informed.

Thank you very much for the report.

Regards,

Ivan Mincik escribió:

> On Sun, Nov 8, 2009 at 12:35 PM, Giuseppe Aruta <[hidden email]> wrote:
>  
>> Hi Ivan,
>> did you execute the bin \ libs \ links.sh script before launching Kosmo?
>>    
>
> Yes I executed  links.sh script. I have posted incorrect part of Kosmo
> error log, sorry.
>
> 'Locking assertion' has to do something with using Java Swing/AWT  and
> Linux X server. There are quite few hits and workarounds in Google,
> but I have never understood what is really going on.
>
> BTW: links.sh script is located in  libs\links.sh not in bin\libs\links.sh.
>
> Thanks
> Ivan
>
>  
>> Giuseppe
>>
>> --- Dom 8/11/09, Ivan Mincik <[hidden email]> ha scritto:
>>
>>    
>>> Da: Ivan Mincik <[hidden email]>
>>> Oggetto: [Kosmo_int] Locking assertion failure on linux
>>> A: [hidden email]
>>> Data: Domenica 8 novembre 2009, 10:49
>>> Hi,
>>> there is "Locking assertion failure" when trying to start
>>> application
>>> on Debian Lenny Linux (KDE 3.5). The same problem is rising
>>> with Java
>>> bundled to Kosmo and also with my system Java. However
>>> version 1.2 is
>>> running fine on same computer.
>>>
>>>
>>> Traceback:
>>>
>>> Locking assertion failure.  Backtrace:
>>> #0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
>>> #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31)
>>> [0xb4cd6851]
>>> #2 /usr/lib/libX11.so.6(_XReply+0x254) [0xb4d2cc44]
>>> #3
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>>> [0xb4e3a64e]
>>> #4
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>>> [0xb4e18f97]
>>> #5
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>>> [0xb4e19248]
>>> #6
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
>>> [0xb4e1954f]
>>> #7 [0xb5ca768e]
>>> #8 [0xb5c9fedd]
>>> #9 [0xb5c9fedd]
>>> #10 [0xb5c9d243]
>>> #11
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>>> [0x620bc6d]
>>> #12
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>>> [0x630a828]
>>> #13
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>>> [0x620bb00]
>>> #14
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
>>> [0x62619bb]
>>> #15
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
>>> [0xb7cb896d]
>>> #16 [0xb5ca768e]
>>> #17 [0xb5c9fd77]
>>> #18 [0xb5c9d243]
>>> #19
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>>> [0x620bc6d]
>>> Locking assertion failure.  Backtrace:
>>> #0 /usr/lib/libxcb-xlib.so.0 [0xb4cd6787]
>>> #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e)
>>> [0xb4cd692e]
>>> #2 /usr/lib/libX11.so.6 [0xb4d2bde9]
>>> #3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0xb4d22156]
>>> #4
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>>> [0xb4e18249]
>>> #5
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>>> [0xb4e18495]
>>> #6
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so
>>> [0xb4e192f9]
>>> #7
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f)
>>> [0xb4e1954f]
>>> #8 [0xb5ca768e]
>>> #9 [0xb5c9fedd]
>>> #10 [0xb5c9fedd]
>>> #11 [0xb5c9d243]
>>> #12
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>>> [0x620bc6d]
>>> #13
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>>> [0x630a828]
>>> #14
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so
>>> [0x620bb00]
>>> #15
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b)
>>> [0x62619bb]
>>> #16
>>> /home/ivo/apps/kosmo_2.0_RC1/bin/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d)
>>> [0xb7cb896d]
>>> #17 [0xb5ca768e]
>>> #18 [0xb5c9fd77]
>>> #19 [0xb5c9d243]
>>>
>>>
>>> Kosmo log:
>>> 08/11/2009 10:37:38  INFO JUMPWorkbench:371 - Starting
>>> application
>>> Kosmo - Open Geographical Information System 2.0 RC1
>>> (20091029) - Nov
>>> 8, 2009 10:37:38 AM
>>> 08/11/2009 10:37:38  INFO JUMPWorkbench:377 - Java
>>> Version : 1.6.0_03
>>> 08/11/2009 10:37:38  INFO JUMPWorkbench:379 - OS :
>>> Linux (2.6.26-2-686)
>>> 08/11/2009 10:37:38  INFO JUMPWorkbench:564 - Using
>>> Look and Feel
>>> javax.swing.plaf.metal.MetalLookAndFeel
>>> 08/11/2009 10:37:38  INFO JUMPWorkbench:466 - Setting
>>> the log level to INFO
>>> 08/11/2009 10:37:38  INFO JUMPWorkbench:268 - Loading
>>> Spatial
>>> Reference Systems libraries...
>>> 08/11/2009 10:37:39 ERROR root:197 - Exception in thread
>>> "main"
>>> 08/11/2009 10:37:39 ERROR root:197 -
>>> java.lang.UnsatisfiedLinkError:
>>> no jgdal in java.library.path
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> java.lang.ClassLoader.loadLibrary(Unknown Source)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> java.lang.Runtime.loadLibrary0(Unknown Source)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> java.lang.System.loadLibrary(Unknown Source)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> org.gvsig.crs.ogr.JNIBase.<clinit>(JNIBase.java:81)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> org.gvsig.crs.Crs.<init>(Crs.java:208)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> org.gvsig.crs.repository.EpsgRepository.getCrs(EpsgRepository.java:144)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> org.gvsig.crs.CrsFactory.getCRS(CrsFactory.java:92)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> org.saig.core.util.CrsManager.getCRS(CrsManager.java:90)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> com.vividsolutions.jump.workbench.JUMPWorkbench.<init>(JUMPWorkbench.java:270)
>>> 08/11/2009 10:37:39 ERROR root:197 -    at
>>> com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:427)
>>> _______________________________________________
>>> Kosmo_int mailing list
>>> [hidden email]
>>> http://lists.saig.es/mailman/listinfo/kosmo_int
>>>
>>>      
>>
>> _______________________________________________
>> Kosmo_int mailing list
>> [hidden email]
>> http://lists.saig.es/mailman/listinfo/kosmo_int
>>
>>    
> _______________________________________________
> Kosmo_int mailing list
> [hidden email]
> http://lists.saig.es/mailman/listinfo/kosmo_int
>
>  

--

Sergio Baños Calvo

Jefe de desarrollos
Sistemas Abiertos de Información Geográfica, S.L. (SAIG S.L.)
Tlfno. móvil: 685005960
Tlfno. fijo: (+34) 954788876

E-mail: [hidden email]

_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int