<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>(gdb) r<br>
Starting program: /opt/ltp/testcases/bin/fchmodat01 <br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
strlen () at ../sysdeps/arm/strlen.S:33<br>
33              sfi_breg r1, \<br>
(gdb) bt<br>
#0  strlen () at ../sysdeps/arm/strlen.S:33<br>
#1  0x44583cfc in _IO_vfprintf_internal (s=s@entry=0x34030, format=format@entry=0x1c320 "%s/fchmodattest%d.txt", ap=..., ap@entry=...)<br>
    at /usr/src/debug/glibc/2.25-r0/git/stdio-common/vfprintf.c:1637<br>
#2  0x44624e64 in ___vfprintf_chk (fp=fp@entry=0x34030, flag=flag@entry=1, format=0x1c320 "%s/fchmodattest%d.txt",
<br>
    format@entry=0x33b64 <testfile2> "/tmp/fchBEt8Uu/fchmodattest816.txt", ap=..., ap@entry=...)<br>
    at /usr/src/debug/glibc/2.25-r0/git/debug/vfprintf_chk.c:33<br>
#3  0x0001383c in vfprintf (__ap=..., __fmt=0x33b64 <testfile2> "/tmp/fchBEt8Uu/fchmodattest816.txt", __stream=0x34030)<br>
    at /usr/include/bits/stdio2.h:127<br>
#4  safe_file_printf (file=file@entry=0x1c2b0 "fchmodat01.c", lineno=lineno@entry=131, cleanup_fn=cleanup_fn@entry=0x121a4 <cleanup>,
<br>
    path=path@entry=0x33b64 <testfile2> "/tmp/fchBEt8Uu/fchmodattest816.txt", fmt=fmt@entry=0x1c320 "%s/fchmodattest%d.txt")<br>
    at /usr/src/debug/ltp/20170116-r0/git/lib/safe_file_ops.c:280<br>
#5  0x00012384 in setup () at /usr/src/debug/ltp/20170116-r0/git/testcases/kernel/syscalls/fchmodat/fchmodat01.c:131<br>
#6  0x00011f18 in main (ac=1, av=0xbefffdd4) at /usr/src/debug/ltp/20170116-r0/git/testcases/kernel/syscalls/fchmodat/fchmodat01.c:84<br>
(gdb)</div>
<p></p>
<br>
<div>Kernel: 4.0.0-ADI-1.2.0-yocto-standard<br>
<div>LTP Version: 20170116<br>
Distro : <span>Poky (Yocto Project Reference Distro) <br>
DIstro Version: pyro</span><br>
</div>
<br>
The kernel was from Analog Device Inc, it is built for the board named ADSP-SC589<br>
Sorry for the lack of information, please tell me if others needed.<br>
<br>
Thanks<br>
Shawnx.<br>
</div>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jan Stancek <jstancek@redhat.com><br>
<b>Sent:</b> Thursday, March 15, 2018 6:14:49 AM<br>
<b>To:</b> Xiuzhe Xiao<br>
<b>Cc:</b> Cyril Hrubis; ltp@lists.linux.it<br>
<b>Subject:</b> Re: [LTP] SIGSEGV in faccessat01 and fchmodat01</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
----- Original Message -----<br>
> <br>
> <br>
> Hi<br>
<br>
> Here is the result from gdb<br>
> seems like it is getting really deep<br>
> <br>
> <br>
> <br>
> (gdb) r<br>
> Starting program: /opt/ltp/testcases/bin/fchmodat01<br>
> <br>
> Program received signal SIGSEGV, Segmentation fault.<br>
> strlen () at ../sysdeps/arm/strlen.S:33<br>
> 33 sfi_breg r1, \<br>
> (gdb)<br>
<br>
Please send the backtrace as well. Type "bt" and hit enter in gdb<br>
after it crashes.<br>
<br>
What distro/kernel/LTP version are you using?<br>
<br>
Regards,<br>
Jan<br>
</div>
</span></font></div>
This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the
 contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply. Thank you.
</body>
</html>