https://bugzilla.novell.com/show_bug.cgi?id=468886 Summary: matthewlib-java unix server socket creation crashes due to a linking problem Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i386 OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: famontesi@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 Trying to create a UnixServerSocket using libmatthew fails with the following error: java.lang.UnsatisfiedLinkError: /usr/lib/libunix-java.so: /usr/lib/libunix-java.so: undefined symbol: __stack_chk_fail_local For example, when trying to run the command metaservice localsocket:/tmp/mysocket this is the output I get: Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/libunix-java.so: /usr/lib/libunix-java.so: undefined symbol: __stack_chk_fail_local at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1692) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at cx.ath.matthew.unix.UnixServerSocket.<clinit>(UnixServerSocket.java:29) at jolie.net.LocalSocketListener.<init>(LocalSocketListener.java:55) at jolie.net.LocalSocketListenerFactory.createListener(LocalSocketListenerFactory.java:53) at jolie.net.CommCore.addInputPort(CommCore.java:291) at jolie.OOITBuilder.visit(OOITBuilder.java:341) at jolie.lang.parse.ast.InputPortInfo.accept(InputPortInfo.java:75) at jolie.OOITBuilder.visit(OOITBuilder.java:414) at jolie.OOITBuilder.build(OOITBuilder.java:224) at jolie.Interpreter.buildOOIT(Interpreter.java:626) at jolie.Interpreter.init(Interpreter.java:486) at jolie.Interpreter.run(Interpreter.java:532) at jolie.Jolie.main(Jolie.java:51) It looks like this problem is suffered also by *ubuntu distros (https://bugs.launchpad.net/ubuntu/+source/dbus-java/+bug/218658), where they refer to a problem with the compilation flags of libmatthew (specifically, the problem looks solved by introducing -fno-stack-protector). I have tried installing libmatthew from sources downloaded by http://www.matthew.ath.cx/projects/java/libmatthew-java-0.7.1.tar.gz and the bug disappeared. You can test the bug w.r.t. to MetaService yourself by installing JOLIE and executing the same command I did (metaservice localsocket:/tmp/mysocket). JOLIE can be installed by sources as described in http://www.jolie-lang.org/download.php Reproducible: Always Steps to Reproduce: 1.Install JOLIE from sources as described in http://www.jolie-lang.org/download.php 2.execute in a shell the command "metaservice localsocket:/tmp/mysocket" 3. Actual Results: The program crashes Expected Results: The program should start (no output, it's silent) and you should find /tmp/mysocket in your filesystem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.