** Description changed: Ubuntu version: 18.04 bcc version:0.16.17 - + I found several bugs in bcc , would you help me to check if these bugs are true?thanks for your patience. ============================================================================================================== - step 1 : - In file build/ar/ar.c(build is directory generated by configure) , function xmalloc line 2088 : - Allocate memory to result + step 1 : + In file build/ar/ar.c(build is directory generated by configure) , function xmalloc line 2088 : + Allocate memory to result - step 2 : - In file build/ar/ar.c(build is directory generated by configure) , function xmalloc line 2090 : - Select the false branch at this point (result==null is false) + step 2 : + In file build/ar/ar.c(build is directory generated by configure) , function xmalloc line 2090 : + Select the false branch at this point (result==null is false) - step 3 : - In file build/ar/ar.c(build is directory generated by configure) , function make_new_symdefs line 1756 : - Function xmalloc executes and stores the return value to strings + step 3 : + In file build/ar/ar.c(build is directory generated by configure) , function make_new_symdefs line 1756 : + Function xmalloc executes and stores the return value to strings - step 4 : - In file build/ar/ar.c(build is directory generated by configure) , function make_new_symdefs line 1760 : - Select the true branch at this point (read(indesc,strings,strs_size)!=strs_size is true), the allocated memory is leaked + step 4 : + In file build/ar/ar.c(build is directory generated by configure) , function make_new_symdefs line 1760 : + Select the true branch at this point (read(indesc,strings,strs_size)!=strs_size is true), the allocated memory is leaked ============================================================================================================ - step 1 : - In file build/bcc/bcc.c(build is directory generated by configure) , function xalloc line 1239 : - Allocate memory to p + step 1 : + In file build/bcc/bcc.c(build is directory generated by configure) , function xalloc line 1239 : + Allocate memory to p - step 2 : - In file build/bcc/bcc.c(build is directory generated by configure) , function xalloc line 1240 : - Select the true branch at this point (p!=null is true) + step 2 : + In file build/bcc/bcc.c(build is directory generated by configure) , function xalloc line 1240 : + Select the true branch at this point (p!=null is true) - step 3 : - In file build/bcc/bcc.c(build is directory generated by configure) , function catstr line 284 : - Function xalloc executes and returns + step 3 : + In file build/bcc/bcc.c(build is directory generated by configure) , function catstr line 284 : + Function xalloc executes and returns - step 4 : - In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 762 : - Function catstr executes and stores the return value to p + step 4 : + In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 762 : + Function catstr executes and stores the return value to p - step 5 : - In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 763 : - Select the true branch at this point (opt_v>1 is true) + step 5 : + In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 763 : + Select the true branch at this point (opt_v>1 is true) - step 6 : - In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 765 : - Select the true branch at this point (opt_v>2 is true) + step 6 : + In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 765 : + Select the true branch at this point (opt_v>2 is true) - step 7 : - In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 753 : - Select the false branch at this point (i<dyn_count is false), the allocated memory is leaked + step 7 : + In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 753 : + Select the false branch at this point (i<dyn_count is false), the allocated memory is leaked
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux86 in Ubuntu. https://bugs.launchpad.net/bugs/1941973 Title: Several potential bugs of memory leak Status in linux86 package in Ubuntu: New Bug description: Ubuntu version: 18.04 bcc version:0.16.17 I found several bugs in bcc , would you help me to check if these bugs are true?thanks for your patience. ============================================================================================================== step 1 : In file build/ar/ar.c(build is directory generated by configure) , function xmalloc line 2088 : Allocate memory to result step 2 : In file build/ar/ar.c(build is directory generated by configure) , function xmalloc line 2090 : Select the false branch at this point (result==null is false) step 3 : In file build/ar/ar.c(build is directory generated by configure) , function make_new_symdefs line 1756 : Function xmalloc executes and stores the return value to strings step 4 : In file build/ar/ar.c(build is directory generated by configure) , function make_new_symdefs line 1760 : Select the true branch at this point (read(indesc,strings,strs_size)!=strs_size is true), the allocated memory is leaked ============================================================================================================ step 1 : In file build/bcc/bcc.c(build is directory generated by configure) , function xalloc line 1239 : Allocate memory to p step 2 : In file build/bcc/bcc.c(build is directory generated by configure) , function xalloc line 1240 : Select the true branch at this point (p!=null is true) step 3 : In file build/bcc/bcc.c(build is directory generated by configure) , function catstr line 284 : Function xalloc executes and returns step 4 : In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 762 : Function catstr executes and stores the return value to p step 5 : In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 763 : Select the true branch at this point (opt_v>1 is true) step 6 : In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 765 : Select the true branch at this point (opt_v>2 is true) step 7 : In file build/bcc/bcc.c(build is directory generated by configure) , function run_unlink line 753 : Select the false branch at this point (i<dyn_count is false), the allocated memory is leaked To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux86/+bug/1941973/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp