Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 21:40:01 GMT
From:      Radim Kolar <hsn@sendmail.cz>
To:        freebsd-bugs@FreeBSD.org
Subject:   RE: bin/184950: swapon aborts on gdbe device
Message-ID:  <201312192140.rBJLe1aA007095@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/184950; it has been noted by GNATS.

From: Radim Kolar <hsn@sendmail.cz>
To: "bug-followup@freebsd.org" <bug-followup@freebsd.org>
Cc:  
Subject: RE: bin/184950: swapon aborts on gdbe device
Date: Thu, 19 Dec 2013 21:29:17 +0000

  	<201312172237.rBHMbZtM020615@oldred.freebsd.org>,<201312172240.rBHMe0ER025897@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&nbsp=3B =
 it do not crashes.<br> 		 	   		  </div></body>
 </html>=
 
 --_df5e985d-d703-4564-9361-471c10a1eb63_--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312192140.rBJLe1aA007095>