Bug ID 937995
Summary Updates to the content of a LogView widget causes segfault
Classification openSUSE
Product openSUSE Factory
Version 201505*
Hardware x86-64
OS openSUSE 13.2
Status NEW
Severity Major
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter hguo@suse.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/44.0.2403.30 Safari/537.36 OPR/31.0.1889.16 (Edition beta)
Build Identifier: 

My YaST module uses two LogViews in one Dialog to display the status of system
daemon. The LogViews are defined as following:

Left(LogView(Id(:daemon_status), "VPN daemon status", 8, 0))
Left(LogView(Id(:conn_status), "All connection status", 8, 0))

Updates to the LogViews are made periodically (every three seconds):
Yast::UI.ChangeWidget(Id(:daemon_status), :Value, sh_daemon_status["stdout"])
Yast::UI.ChangeWidget(Id(:conn_status), :Value, sh_conn_status["stdout"])

where sh_daemon_status is the output of "systemctl status strongswan" and
sh_conn_status is the output of "ipsec statusall"

Several seconds after the dialog is opened, YaST crashes with segmentation
fault, see attachments for y2log and signal log files.

Very occasionally, instead of a crash with segmentation fault, y2base stops and
prints:
*** Error in `/usr/lib/YaST2/bin/y2base': malloc(): smallbin double linked list
corrupted: 0x00007fe36c30bf90 ***

The affected OS is openSUSE Tumbleweed.

Reproducible: Always


You are receiving this mail because: