Hi!
> I am facing crash while executing below netns testcases on ARM:
> 
> netns_crtchild   
> netns_two_children_ns 
> netns_crtchild_delchild 
> netns_par_chld_ipv6  
> netns_par_chld_ftp  
> netns_netlink   
> 
> After analysis of crash , it is found that all are crashing due to a common 
> cause.
> -----------------------------------------------------------
> Backtrace:
> do_unshare_tests() --> crashes while call NULL function pointer
> do_clone_unshare_test() -- > pass NULL fuction pointer
> check_netns() -->  passes function ptr as NULL
> setup()
> main()
> ------------------------------------------------------------
> Culprit function:- (netns_helper.h)
> pid = do_clone_unshare_test(T_UNSHARE, CLONE_NEWNET | CLONE_NEWNS, NULL,
>             NULL);
> 
> Third argument passing to this function is NULL, which is not appropriate 
> here, since it is derefrence by do_unshare_tests().

This is quite cosmetic issue. I've checked the code and the child here
segfaults after it reports status to the parent.

So if you send an patch that fixes the issue, I will apply it but since
these testcases will be soon rewritten from scratch I would not bother.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to