From nobody Sun Feb 27 03:17:25 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E6C9119D3C69 for ; Sun, 27 Feb 2022 03:17:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K5pbT4cR6z4S6r for ; Sun, 27 Feb 2022 03:17:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E55E1FA7F for ; Sun, 27 Feb 2022 03:17:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 21R3HPZG094493 for ; Sun, 27 Feb 2022 03:17:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21R3HPF1094492 for bugs@FreeBSD.org; Sun, 27 Feb 2022 03:17:25 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: bugs@FreeBSD.org Subject: [Bug 262220] clang fails to write a reproducer on signal Date: Sun, 27 Feb 2022 03:17:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org 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 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645931845; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=klmdC2JNtUq27P5JbaFa3zKwHdEnqlhrTfyhFMHjBbg=; b=PCoYxJT//Rdq6tTEkMfce4KRv5EyOwSmlWPzL/iwPcq5CtStZKy4smmgB9AoO60HfplXcJ XI19oCP1BPh4jNCiw4FdwwIfWvTXE1Ok8WdiONpozcvZAjWRDqXfjL37p+2uNm6S9Kv0Gb zDtILZJZHwn3NJR8mwQvdfnbAWeXLcc3osR1kDiF5EVI8UtNblhUHLs9WDaBsyHKYuM1YW R96B7ql2T9rd/hkLSY+BHrkHHZSllEW41s2c/nAjcrMbCHttOdJ/Qbdj5siR4QWks69MFY Dce5S1iPiYfk6TxZCwO5KvnpDi/08KVXAxhP+hQ54RP7/Cgbg9sj/dtqPEfcqA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645931845; a=rsa-sha256; cv=none; b=dyz7j8NhrUjNVpSU0O2S7UDWvnD2+efCDkTu08pfFrJUa/L0nrFK08k0J5z/Hel9z4nH2u 4Kyimty2fknE83wUicDY0V2joPQsiNgtg3cmib/wGOmayBNIWT+UckIvjFrwKJkAHdA7DM dNmss80zZ34dS9jSJEN/sOnwH6SHyjrr+2Z6VpS/O46ckOviuzCXlIJ9+Do/2LPywn/eL7 d9dl0pK5PCgoml1R+2bpQ+gXvVyhdzGQ785KAuQAeT9VxEK+DrkHXip0lC6fh0X90LDRtR Gl9qQhkkFUDJHhTDuRFxPfwT8GHmMRLpgbcL0LpmCAfTnWLZfBhDRxwRIdP2bQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262220 Bug ID: 262220 Summary: clang fails to write a reproducer on signal Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Clang is supposed to write reproducers when it catches SIGSEGV. However, when SETSEGV is sent with 'killall -11 cc' clang fails to write a reproducer: > cc -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -isystem /= usr/local/include -fno-strict-aliasing -std=3Dc99 -Wall -Wextra -pedantic = -Wno-misleading-indentation -Wno-shift-negative-value -O2 -o bin/file_brows= er file_browser.c -L/usr/local/lib -lglfw -lGL -lm -lGLU -lGLEW > PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and includ= e the crash backtrace, preprocessed source, and associated run script. > PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and includ= e the crash backtrace, preprocessed source, and associated run script. > Stack dump: > Stack dump: > 00. . Program arguments: Program arguments: /uscrc/ b-iOn2/ c-cp i-pcec 1= - f-ntor-iopmliet -xf8r6a_m6e4--puoniknntoerw n--ffsrteaecbks-dp1r3o.t0e c-= teomri-ts-torbojn g- --mirselyasxt-reeml o/ucsart/lioocnasl /-idncilusdaeb = le--ffnroe-es t-rdiicst-aabllie-alslvimn-gv er-isftide=3Dcr99 --Wdaills ca= -rWde-xvtraalu e--pendamaenst i-cm a-iWnn-of-imlies-lneaamdei nfigl-ei_nbdr= eonwtsaetri.onc --mrWenloo-schiaftti-onne-gmaotdievle -svtaaltuei c- O-2m = f-roa mbei-np/ofiinlte_ebrro=3Dwaslelr f-irleel_abxredo-walsiaesri.ncg --= Lf/nuos-rro/ulnodcianlg/-lmiabt -lhgl f-wm c-loGnLs t-rlumc t-olrG-LaUl i-a= lsGeLsE W- munwind-tables -target-cpu x86-64 -tune-cpu generic -fno-split-dwarf-inlini= ng -debugger-tuning=3Dgdb -resource-dir /usr/lib/clang/12.0.1 -isystem /usr/local/include -O2 -Wall -Wextra -Wno-misleading-indentation -Wno-shift-negative-value -pedantic -std=3Dc99 -fdebug-compilation-dir /disk-samsung/freebsd-ports/x11-toolkits/nuklear/work/Nuklear-4.9.6/example -ferror-limit 19 -stack-protector 2 -fgnuc-version=3D4.2.1 -fcolor-diagnost= ics -vectorize-loops -vectorize-slp -faddrsig -o /tmp/file_browser-f37ca1.o -x c file_browser.c > 1. parser at end of file > 2. Per-module optimization passes > 3. Running pass 'CallGraph Pass Manager' on module 'file_browser.c'. > 4. Running pass 'Jump Threading' on function '@stbi__decode_jpeg_image' > #0 0x000000000404ec91 PrintStackTrace /disk-samsung/freebsd-src/contrib/l= lvm-project/llvm/lib/Support/Unix/Signals.inc:565:13 > #1 0x000000000404d035 RunSignalHandlers /disk-samsung/freebsd-src/contrib= /llvm-project/llvm/lib/Support/Signals.cpp:72:18#0 > #20x000000000404ec91 0x000000000404f3b0PrintStackTrace SignalHandler/d= isk-samsung/freebsd-src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.= inc:565:13=20 /disk-samsung/freebsd-src/contrib/llvm-project/llvm/lib/Support/Unix/Signal= s.inc:0:3 > #1 #30x000000000404d035 0x0000000805335e60RunSignalHandlers handle_sign= al/disk-samsung/freebsd-src/contrib/llvm-project/llvm/lib/Support/Signals.c= pp:72:18=20 /disk-samsung/freebsd-src/lib/libthr/thread/thr_sig.c:0:3 > #2 0x000000000404f3b0 SignalHandler /disk-samsung/freebsd-src/contrib/llv= m-project/llvm/lib/Support/Unix/Signals.inc:0:3 > #3 0x0000000805335e60 handle_signal /disk-samsung/freebsd-src/lib/libthr/= thread/thr_sig.c:0:3 > error: unable to rename temporary '/tmp/file_browser-f37ca1-b48eb1e9.o.tm= p' to output file '/tmp/file_browser-f37ca1.o': 'No such file or directory' > 1 error generated. --=20 You are receiving this mail because: You are the assignee for the bug.=