[ 
https://issues.apache.org/jira/browse/THRIFT-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938338#comment-14938338
 ] 

Jens Geyer commented on THRIFT-3362:
------------------------------------

1) make without {{-j}}: yes of course
2) cmake: not tested yet 
3) strace: yes, while the UnitTest ends successfully, with "no errors" and 0, 
the SecurityTest ends with this:

{code}
close(3)                                = 0
open("/proc/1/stat", O_RDONLY)          = 3
read(3, "1 (systemd) S 0 1 1 0 -1 4219136"..., 500) = 199
readlink("/proc/1/exe", 0xbffe4f79, 500) = -1 EACCES (Permission denied)
close(3)                                = 0
rt_sigaction(SIGILL, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGILL, {0x8095870, [], SA_STACK|SA_SIGINFO}, {SIG_DFL, [], 0}, 8) 
= 0
rt_sigaction(SIGFPE, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0x8095870, [], SA_STACK|SA_SIGINFO}, {SIG_DFL, [], 0}, 8) 
= 0
rt_sigaction(SIGSEGV, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0x8095870, [], SA_STACK|SA_SIGINFO}, {SIG_DFL, [], 0}, 
8) = 0
rt_sigaction(SIGBUS, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGBUS, {0x8095870, [], SA_STACK|SA_SIGINFO}, {SIG_DFL, [], 0}, 8) 
= 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {0x8095870, [], SA_STACK|SA_SIGINFO}, {SIG_DFL, [], 0}, 
8) = 0
rt_sigaction(SIGIO, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGIO, {0x8095870, [], SA_STACK|SA_SIGINFO}, {SIG_DFL, [], 0}, 8) 
= 0
rt_sigaction(SIGABRT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGABRT, {0x8095870, [], SA_STACK|SA_SIGINFO}, {SIG_DFL, [], 0}, 
8) = 0
sigaltstack(NULL, {ss_sp=0, ss_flags=SS_DISABLE, ss_size=0}) = 0
sigaltstack({ss_sp=0x97df040, ss_flags=0, ss_size=8192}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, 
-1, 0) = 0xb6898000
mprotect(0xb6898000, 4096, PROT_NONE)   = 0
clone(child_stack=0xb7098424, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0xb7098ba8, {entry_number:6, base_addr:0xb7098b40, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
seg_not_present:0, useable:1}, child_tidptr=0xb7098ba8) = 17606
futex(0xbffe4740, FUTEX_WAIT_PRIVATE, 1, NULL) = 0
futex(0xbffe4724, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0xbffe4724, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbffe470c, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0xbffe470c, FUTEX_WAKE_PRIVATE, 1) = 0
mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, 
-1, 0) = 0xb5eff000
mprotect(0xb5eff000, 4096, PROT_NONE)   = 0
clone(child_stack=0xb66ff424, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0xb66ffba8, {entry_number:6, base_addr:0xb66ffb40, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
seg_not_present:0, useable:1}, child_tidptr=0xb66ffba8) = 17607
futex(0x97cecbc, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
+++ killed by SIGPIPE +++
{code}

But what does that tell me?


> make check fails for C++
> ------------------------
>
>                 Key: THRIFT-3362
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3362
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library, Test Suite
>         Environment: openSUSE
>            Reporter: Jens Geyer
>
> When I run "make check" inside {{lib/cpp}} I get this error:
> {code}
> FAIL: SecurityTest
> {code}
> No more information besides that, and all other tests succeed. When I run 
> the SecurityTest test alone, it succeeds - it fails only with make check. I 
> have no idea why, and I can't get the test routine to print more log info to 
> the console with make check. I already tried adding --log_level 
> and --report_level to no avail, again this works well when run standalone.
> I'm a bit stuck here. Maybe the problem lies in my setup, but I have no idea 
> what to look for. Any helpful advice would be really great.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to