[Bug 468886] New: matthewlib-java unix server socket creation crashes due to a linking problem
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.
https://bugzilla.novell.com/show_bug.cgi?id=468886 User famontesi@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=468886#c1 --- Comment #1 from Fabrizio Montesi <famontesi@gmail.com> 2009-01-26 02:16:26 MST --- The upstream maintainer commented this bug on my blog, see the first two comments at: http://fmontesi.blogspot.com/2009/01/major-distribution-bug-in-java-support.... He asks to coordinate with him (his homepage is http://www.matthew.ath.cx/) for the releasing of an upstream patch. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=468886 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=468886#c2 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED CC| |mvyskocil@novell.com --- Comment #2 from Michal Vyskocil <mvyskocil@novell.com> 2009-01-26 03:08:13 MST --- I sent an email to maintainer. The fix will be released together with Debian, so I set the low priority. Thanks for your testing. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=468886 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=468886#c6 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Michal Vyskocil <mvyskocil@novell.com> 2009-02-04 02:16:04 MST --- Submitted fixed package to Factory. For 11.1 please use a abckport from Java:packages [1] in OBS repository [1] http://download.opensuse.org/repositories/openSUSE:/11.1/standard -- 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.
participants (1)
-
bugzilla_noreply@novell.com