OpenHAB designer causes crash in soup_session_feature_detach
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eclipse |
Fix Released
|
Medium
|
|||
libsoup |
Unknown
|
Medium
|
|||
libsoup2.4 (Debian) |
New
|
Unknown
|
|||
libsoup2.4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Running OpenHAB designer through any Java VM (tried 1.7, 1.8 and Oracle 1.8), causes a crash in libsoup:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb377
#
# JRE version: Java(TM) SE Runtime Environment (8.0_25-b17) (build 1.8.0_25-b17)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libsoup-
#
# 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/marius_
#
# If you would like to submit a bug report, please visit:
# http://
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: libsoup2.4-1 2.46.0-3
ProcVersionSign
Uname: Linux 3.16.0-28-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Jan 1 20:51:53 2015
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
InstallationDate: Installed on 2014-03-12 (295 days ago)
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130203-13:50
SourcePackage: libsoup2.4
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in libsoup2.4 (Debian): | |
status: | Unknown → New |
Changed in eclipse-eclipsers: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
Changed in libsoup: | |
importance: | Unknown → Medium |
Created attachment 229266
Patch for the crash
With recent versions of WebKitGTK+, Eclipse crashes whenever Javadoc hover help is to be displayed in Java editor.
Looks this happens because WebKit doesn't attach a default Authenticate listener and therefore WebKitGTK. soup_session_ get_feature( ) returns 0 in WebKit.create(). See attached patch for fix.
Reproduced with all 3.8, 4.2 and 4.3 versions of SWT.