From owner-freebsd-ports-bugs@freebsd.org Mon Feb 26 21:26:20 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E81AF23C31 for ; Mon, 26 Feb 2018 21:26:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7EB16A4E5 for ; Mon, 26 Feb 2018 21:26:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 28AAD1A9 for ; Mon, 26 Feb 2018 21:26:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1QLQJfd026316 for ; Mon, 26 Feb 2018 21:26:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1QLQJ88026314 for freebsd-ports-bugs@FreeBSD.org; Mon, 26 Feb 2018 21:26:19 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 226224] devel/qtcreator Date: Mon, 26 Feb 2018 21:26:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jt@ixsystems.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Feb 2018 21:26:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226224 Bug ID: 226224 Summary: devel/qtcreator Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: jt@ixsystems.com Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) Qt Creator will segfault when trying to parse a QML file. Steps to reproduce: 1) Open Qt Creator 2) Open any QML example that ships with Qt Creator. 3) Attempt to open any QML file in the editor. Alternatively 1) Open Qt Creator 2) Create new QML project 3) Attempt to open any QML file Alternatively 1) Open Qt Creator 2) Open any QML project 3) Attempt to add a new blank QML file 4) Qt Creator will segfault as soon as you type brackets In doing testing, it appears that Qt Creator is loading the file in the edi= tor properly, but when it attempt to parse the text it crashes. Adding import statements does not crash the editor, but the moment you type any brackets = it will. TRUSS Output: fstatat(AT_FDCWD,"/usr/local/lib/qt5/qml/QtQuick/Controls",{ mode=3Ddrwxr-x= r-x ,inode=3D138124,size=3D37,blksize=3D4096 },0x0) =3D 0 (0x0) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3525372= 3136 (0x835492000) mmap(0x0,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352646= 84032 (0x835f06000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3525372= 7232 (0x835493000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526469= 6320 (0x835f09000) mmap(0x0,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352647= 00416 (0x835f0a000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526472= 0896 (0x835f0f000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526472= 4992 (0x835f10000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526472= 9088 (0x835f11000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526473= 3184 (0x835f12000) poll({ 11/POLLIN 26/POLLIN 148/POLLIN 135/POLLIN 16/POLLIN 6/POLLIN },6,219= ) =3D 0 (0x0) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526473= 7280 (0x835f13000) poll({ 11/POLLIN 26/POLLIN 148/POLLIN 135/POLLIN 16/POLLIN 6/POLLIN },6,0) = =3D 0 (0x0) write(7,"\0",1) =3D 1 (0x1) poll({ 3/POLLIN|POLLOUT },1,-1) =3D 1 (0x1) writev(0x3,0x7fffffffdae8,0x1) =3D 4 (0x4) poll({ 3/POLLIN },1,-1) =3D 1 (0x1) recvmsg(3,0x7fffdfffdcf8,0) =3D 32 (0x20) _umtx_op(0x8006ee0b8,UMTX_OP_NWAKE_PRIVATE,0x1,0x0,0x0) =3D 0 (0x0) _umtx_op(0x803c97210,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) =3D 0 (0x0) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526474= 1376 (0x835f14000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526474= 5472 (0x835f15000) mmap(0x0,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352647= 49568 (0x835f16000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526476= 1856 (0x835f19000) poll({ 3/POLLIN|POLLOUT },1,-1) =3D 1 (0x1) writev(0x3,0x7fffffffdab8,0x1) =3D 76 (0x4c) poll({ 11/POLLIN 26/POLLIN 148/POLLIN 135/POLLIN 16/POLLIN 6/POLLIN },6,57)= =3D 1 (0x1) read(6,"\0",16) =3D 1 (0x1) read(6,0x7fffffffe370,16) ERR#35 'Resource temporari= ly unavailable' mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526476= 5952 (0x835f1a000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526477= 0048 (0x835f1b000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526477= 4144 (0x835f1c000) mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 3526477= 8240 (0x835f1d000) mmap(0x0,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352647= 82336 (0x835f1e000) mmap(0x0,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352647= 94624 (0x835f21000) mmap(0x0,20480,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352648= 06912 (0x835f24000) mmap(0x0,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352648= 27392 (0x835f29000) mmap(0x0,12288,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 352648= 39680 (0x835f2c000) SIGNAL 10 (SIGBUS) code=3DBUS_OBJERR trapno=3D9 addr=3D0x818d200b7 process killed, signal =3D 10 [q5sys@skynet] ~/code/dashboard/qml%=20 LLDB [q5sys@skynet] ~% lldb (lldb) process attach --pid 5104 Process 5104 stopped Executable module set to "/usr/local/bin/qtcreator". Architecture set to: x86_64--freebsd12.0. (lldb) c Process 5104 resuming (lldb) Info: creating stash file /usr/home/q5sys/git/build-qmltest-Desktop-Debug/.qmake.stash SOFT ASSERT: "item" in file treemodel.cpp, line 1108 Process 5104 stopped * thread #12, name =3D 'qtcreator', stop reason =3D signal SIGSEGV: invalid= address (fault address: 0x84793e4d0) frame #0: 0x0000000818d200e2 libQmlJS.so.4`QmlJS::Context::imports(QmlJS::Document const*) const + 66 libQmlJS.so.4`QmlJS::Context::imports: -> 0x818d200e2 <+66>: movq (%r8,%rdx,8), %rax 0x818d200e6 <+70>: xorl %ebx, %ebx 0x818d200e8 <+72>: cmpq %rdi, %rax 0x818d200eb <+75>: je 0x818d20154 ; <+180> (lldb) bt * thread #12, name =3D 'qtcreator', stop reason =3D signal SIGSEGV: invalid= address (fault address: 0x84793e4d0) * frame #0: 0x0000000818d200e2 libQmlJS.so.4`QmlJS::Context::imports(QmlJS::Document const*) const + 66 frame #1: 0x0000000818d20190 libQmlJS.so.4`QmlJS::Context::lookupType(QmlJS::Document const*, QmlJS::AST::UiQualifiedId*, QmlJS::AST::UiQualifiedId) const + 32 frame #2: 0x0000000818d206ec libQmlJS.so.4`QmlJS::Context::lookupReference(QmlJS::Value const*) const + = 252 frame #3: 0x0000000818caa4f8 libQmlJS.so.4`QmlJS::PrototypeIterator::hasNext(void) + 168 frame #4: 0x0000000818cd2c98 libQmlJS.so.4`QmlJS::ScopeBuilder::setQmlScopeObject(QmlJS::AST::Node*) + 4= 40 frame #5: 0x0000000818cd2529 libQmlJS.so.4`QmlJS::ScopeBuilder::push(QmlJS::AST::Node*) + 169 frame #6: 0x0000000818cc39aa libQmlJS.so.4`QmlJS::Check::visitQmlObject(QmlJS::AST::Node*, QmlJS::Check::visitQmlObject::UiQualifiedId*, QmlJS::Check::visitQmlObject::UiObjectInitializer*) + 5466 frame #7: 0x0000000818cc2441 libQmlJS.so.4`QmlJS::Check::visit(QmlJS::AST::UiObjectDefinition*) + 17 frame #8: 0x0000000818c6557c libQmlJS.so.4`QmlJS::AST::UiObjectDefinition::accept0(QmlJS::AST::Visitor*)= + 28 frame #9: 0x0000000818c65916 libQmlJS.so.4`QmlJS::AST::UiObjectMemberList::accept0(QmlJS::AST::Visitor*)= + 86 frame #10: 0x0000000818c65496 libQmlJS.so.4`QmlJS::AST::UiProgram::accept0(QmlJS::AST::Visitor*) + 118 frame #11: 0x0000000818c62c8e libQmlJS.so.4`QmlJS::AST::Node::accept(QmlJS::AST::Node*, QmlJS::AST::Visit= or*) + 46 frame #12: 0x0000000818cc0d45 libQmlJS.so.4`QmlJS::Check::operator()(vo= id) + 101 frame #13: 0x0000000827d8b7b0 libQmlJSEditor.so`___lldb_unnamed_symbol1033$$libQmlJSEditor.so + 1456 frame #14: 0x0000000827d8b05c libQmlJSEditor.so`___lldb_unnamed_symbol1032$$libQmlJSEditor.so + 428 frame #15: 0x00000008028abd4a libQt5Core.so.5`___lldb_unnamed_symbol244$$libQt5Core.so.5 + 234 frame #16: 0x0000000803a7ac55 libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 325 (lldb) --=20 You are receiving this mail because: You are the assignee for the bug.=