From owner-freebsd-multimedia@FreeBSD.ORG Wed Oct 1 07:08:05 2014 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD603242 for ; Wed, 1 Oct 2014 07:08:05 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE7C6ED for ; Wed, 1 Oct 2014 07:08:05 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s91785Ta068856 for ; Wed, 1 Oct 2014 07:08:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 194058] New: x11-toolkits/qt4-gui: bus error in qt_memfill32_sse2() on 9.3-STABLE i386 triggered by multimedia/vlc Date: Wed, 01 Oct 2014 07:08:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ardovm@yahoo.it X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 07:08:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194058 Bug ID: 194058 Summary: x11-toolkits/qt4-gui: bus error in qt_memfill32_sse2() on 9.3-STABLE i386 triggered by multimedia/vlc Product: Ports Tree Version: Latest Hardware: i386 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: ardovm@yahoo.it CC: kde@FreeBSD.org, multimedia@FreeBSD.org CC: kde@FreeBSD.org, multimedia@FreeBSD.org Bus error in x11-toolkits/qt4-gui triggered by multimedia/vlc. The function that triggers the bus error is qt_memfill32_sse2() in file painting/qdrawhelper_sse2.cpp:261. This happens on: FreeBSD myhost 9.3-STABLE FreeBSD 9.3-STABLE #88 r272279M: Mon Sep 29 09:10:30 CEST 2014 root@myhost:/usr/obj/usr/src/sys/GENERIC i386 Ports tree at revision 369691 CPU is an AMD Phenom 9550. I reported this problem on the kde@ mailing list on September 3rd but I received no answer. Since that day, I updated ports and world every week, but the problem is still there. The following description is from September 3rd, therefore it relates to the qt and vlc ports from that day. I was trying to start VLC today and it just printed out "Bus error". I recompiled debug-enabled Qt libraries (core and gui) and ran VLC through gdb: Program received signal SIGBUS, Bus error. [Switching to Thread 2880ac00 (LWP 101319/vlc)] qt_memfill32_sse2 (dest=0x28999800, value=0, count=784) at painting/qdrawhelper_sse2.cpp:261 261 const __m128i value128 = _mm_set_epi32(value, value, value, value); Current language: auto; currently c++ (gdb) bt #0 qt_memfill32_sse2 (dest=0x28999800, value=0, count=784) at painting/qdrawhelper_sse2.cpp:261 #1 0x29e46dd0 in qt_memfill (dest=0x28999800, color=0, count=784) at qdrawhelper_p.h:1846 #2 0x29f988e6 in qt_rectfill (dest=0x28999800, value=0, x=0, y=0, width=28, height=28, stride=112) at qdrawhelper_p.h:1887 #3 0x29f90d1b in QImage::fill (this=0x2cfd952c, pixel=0) at image/qimage.cpp:2009 #4 0x29fce0db in QRasterPixmapData::fill (this=0x2cfd9500, color=@0xbf97be90) at image/qpixmap_raster.cpp:266 #5 0x29fb7e86 in QPixmap::fill (this=0xbf97be44, color=@0xbf97be90) at image/qpixmap.cpp:1036 #6 0x2e7fb54a in Oxygen::ShadowCache::pixmap () from /usr/local/lib/liboxygenstyle.so.4 [snip] (gdb) frame 0 #0 qt_memfill32_sse2 (dest=0x28999800, value=0, count=784) at painting/qdrawhelper_sse2.cpp:261 261 const __m128i value128 = _mm_set_epi32(value, value, value, value); (gdb) list 256 case 12: *dest++ = value; --count; 257 } 258 259 int count128 = count / 4; 260 __m128i *dst128 = reinterpret_cast<__m128i*>(dest); 261 const __m128i value128 = _mm_set_epi32(value, value, value, value); 262 263 int n = (count128 + 3) / 4; 264 switch (count128 & 0x3) { 265 case 0: do { _mm_stream_si128(dst128++, value128); dmesg recognizes my CPU as follows: [as of October 1st] Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.3-STABLE #88 r272279M: Mon Sep 29 09:10:30 CEST 2014 root@myhost:/usr/obj/usr/src/sys/GENERIC i386 gcc version 4.2.1 20070831 patched [FreeBSD] CPU: AMD Phenom(tm) 9550 Quad-Core Processor (2200.26-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x100f23 Family = 0x10 Model = 0x2 Stepping = 3 Features=0x178bfbff Features2=0x802009 AMD Features=0xee500800 AMD Features2=0x7ff TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3137052672 (2991 MB) --- Comment #1 from Bugzilla Automation --- Maintainers CC'd -- You are receiving this mail because: You are on the CC list for the bug.