Snippet from main() in immtest.c
int main(int argc, char **argv) { ... /* Added pthread_exit() to remove dlopen@@GLIBC leak from valgrind */ pthread_exit(NULL); return rc; }
pthread_exit() should be removed because it makes the test exit before 'return rc'.
I tried to run valgrind without pthread_exit(), it didn't complain anything about dlopen.
default(5.2) [staging:46edfc]
changeset: 8012:46edfce1d524
user: Hung Nguyen hung.d.nguyen@dektech.com.au
date: Fri Aug 26 17:43:01 2016 +0700
summary: imm: Remove pthread_exit from IMM test [#1973]
opensaf-5.1.x [staging:9acf7c]
changeset: 8013:9acf7c9aecab
user: Hung Nguyen hung.d.nguyen@dektech.com.au
date: Fri Aug 26 17:43:01 2016 +0700
summary: imm: Remove pthread_exit from IMM test [#1973]
opensaf-5.0.x [staging:0b491e]
changeset: 8014:0b491ef33bb8
user: Hung Nguyen hung.d.nguyen@dektech.com.au
date: Fri Aug 26 17:43:01 2016 +0700
summary: imm: Remove pthread_exit from IMM test [#1973]
opensaf-4.7.x [staging:a2728b]
changeset: 8015:a2728b93c7c0
user: Hung Nguyen hung.d.nguyen@dektech.com.au
date: Fri Aug 26 17:43:01 2016 +0700
summary: imm: Remove pthread_exit from IMM test [#1973]
Related
Commit: [0b491e]
Commit: [46edfc]
Commit: [9acf7c]
Commit: [a2728b]
Tickets:
#1973Last edit: Hung Nguyen 2016-09-08