bin/184950: swapon aborts on gdbe device
Radim Kolar
hsn at sendmail.cz
Thu Dec 19 21:40:41 UTC 2013
The following reply was made to PR bin/184950; it has been noted by GNATS.
From: Radim Kolar <hsn at sendmail.cz>
To: "bug-followup at freebsd.org" <bug-followup at freebsd.org>
Cc:
Subject: RE: bin/184950: swapon aborts on gdbe device
Date: Thu, 19 Dec 2013 21:29:17 +0000
<201312172237.rBHMbZtM020615 at oldred.freebsd.org>,<201312172240.rBHMe0ER025897 at freefall.freebsd.org>
MIME-Version: 1.0
--_df5e985d-d703-4564-9361-471c10a1eb63_
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
it looks like bug in clang compiler. If i compile with standard options and=
DEBUG_FLAGS=3D-g then it crashes:
bt
0: kill() from libc
1: __stack_chk_fail() from libc.so.7
2: __stack_chk_fail() from libc.so.7
3: swap_on_off() swapon.c:249
4: main swapon.c:186
If i compile it with -O0 -g then it do not crashes.
=
--_df5e985d-d703-4564-9361-471c10a1eb63_
Content-Type: text/html; charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>it looks like bug in clang compi=
ler. If i compile with standard options and DEBUG_FLAGS=3D-g then it crashe=
s:<br><br>bt<br><br>0: kill() from libc<br>1: __stack_chk_fail() from libc.=
so.7<br>2: __stack_chk_fail() from libc.so.7<br>3: swap_on_off() swapon.c:2=
49<br>4: main swapon.c:186<br><br>If i compile it with -O0 -g then =3B =
it do not crashes.<br> </div></body>
</html>=
--_df5e985d-d703-4564-9361-471c10a1eb63_--
More information about the freebsd-bugs
mailing list