diff for duplicates of <571AEDF9.6030701@huawei.com> diff --git a/a/1.txt b/N1/1.txt index 5c5e1fe..a1c12a5 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -42,29 +42,29 @@ backtrace: ``` Program received signal SIGABRT, Aborted. [Switching to Thread 0xf77ee330 (LWP 2958)] -0x000000000040f5bc in raise (sig=sig@entry=6) +0x000000000040f5bc in raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) bt -#0 0x000000000040f5bc in raise (sig=sig@entry=6) +#0 0x000000000040f5bc in raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x000000000040f884 in abort () at abort.c:89 #2 0x00000000004073b4 in uw_update_context_1 ( - context=context@entry=0xf77ec820, fs=fs@entry=0xf77ebec8) + context=context at entry=0xf77ec820, fs=fs at entry=0xf77ebec8) at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind-dw2.c:1430 -#3 0x00000000004078c0 in uw_update_context (context=context@entry=0xf77ec820, - fs=fs@entry=0xf77ebec8) +#3 0x00000000004078c0 in uw_update_context (context=context at entry=0xf77ec820, + fs=fs at entry=0xf77ebec8) at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind-dw2.c:1506 #4 0x0000000000407a9c in uw_advance_context (fs=0xf77ebec8, context=0xf77ec820) at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind-dw2.c:1529 -#5 _Unwind_ForcedUnwind_Phase2 (exc=exc@entry=0xf77ee580, - context=context@entry=0xf77ec820) +#5 _Unwind_ForcedUnwind_Phase2 (exc=exc at entry=0xf77ee580, + context=context at entry=0xf77ec820) at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind.inc:185 #6 0x0000000000408228 in _Unwind_ForcedUnwind (exc=0xf77ee580, - stop=stop@entry=0x405440 <unwind_stop>, stop_argument=0xf77eddd8) + stop=stop at entry=0x405440 <unwind_stop>, stop_argument=0xf77eddd8) at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind.inc:207 #7 0x00000000004055c4 in __pthread_unwind (buf=<optimized out>) at unwind.c:126 @@ -161,3 +161,80 @@ Bamvor > > Yury > +-------------- next part -------------- +#include <errno.h> +#include <stdio.h> +#include <stdlib.h> +#include <pthread.h> +#include <unistd.h> +#include <string.h> +#include <sys/select.h> + +int TEST_TaskDelay(int uiMillSecs) +{ + int iRet; + struct timeval tv; + + tv.tv_usec = (uiMillSecs % 1000) * 1000; + tv.tv_sec = uiMillSecs / 1000; + + do{ + iRet = select(1, NULL, NULL, NULL, &tv ); + }while((-1 == iRet) && (EINTR == errno)); + + return 0; +} + + +void printids(const char *s) +{ + unsigned int uiIndex; + pid_t pid; + pthread_t tid; + pid = getpid(); + tid = pthread_self(); + printf("%s pid %u tid %u (0x%x)\n", s, (unsigned int) pid, (unsigned int) tid, (unsigned int) tid); + + + + for(uiIndex = 0; uiIndex < 9000; uiIndex++) + { + TEST_TaskDelay(100); + printf("\n jijun TEST_TaskDelay uiIndex=%d return \n ",uiIndex); + } + return 0; + + + +} + +void *thr_fn(void *arg) +{ + printids("new thread: "); + return NULL; +} + + +int main(void) +{ + int err; + pthread_t ntid; + //pthread_t ntid1; + err = pthread_create(&ntid,NULL,thr_fn,NULL); + if (err != 0) + printf("can't create thread: %s\n", strerror(err)); +#if 0 + err = pthread_create(&ntid1,NULL,thr_fn,NULL); + if (err != 0) + printf("can't create thread: %s\n", strerror(err)); +#endif + + + sleep(2); + pthread_cancel(ntid); + //pthread_cancel(ntid1); + sleep(2); + + return 0; + +} diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index 57b08eb..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,3 +0,0 @@ -Content-Type: text/plain; charset="UTF-8"; name="test-cancel.c" -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; filename="test-cancel.c" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 31c9328..0000000 --- a/a/2.txt +++ /dev/null @@ -1,76 +0,0 @@ -#include <errno.h> -#include <stdio.h> -#include <stdlib.h> -#include <pthread.h> -#include <unistd.h> -#include <string.h> -#include <sys/select.h> - -int TEST_TaskDelay(int uiMillSecs) -{ - int iRet; - struct timeval tv; - - tv.tv_usec = (uiMillSecs % 1000) * 1000; - tv.tv_sec = uiMillSecs / 1000; - - do{ - iRet = select(1, NULL, NULL, NULL, &tv ); - }while((-1 == iRet) && (EINTR == errno)); - - return 0; -} - - -void printids(const char *s) -{ - unsigned int uiIndex; - pid_t pid; - pthread_t tid; - pid = getpid(); - tid = pthread_self(); - printf("%s pid %u tid %u (0x%x)\n", s, (unsigned int) pid, (unsigned int) tid, (unsigned int) tid); - - - - for(uiIndex = 0; uiIndex < 9000; uiIndex++) - { - TEST_TaskDelay(100); - printf("\n jijun TEST_TaskDelay uiIndex=%d return \n ",uiIndex); - } - return 0; - - - -} - -void *thr_fn(void *arg) -{ - printids("new thread: "); - return NULL; -} - - -int main(void) -{ - int err; - pthread_t ntid; - //pthread_t ntid1; - err = pthread_create(&ntid,NULL,thr_fn,NULL); - if (err != 0) - printf("can't create thread: %s\n", strerror(err)); -#if 0 - err = pthread_create(&ntid1,NULL,thr_fn,NULL); - if (err != 0) - printf("can't create thread: %s\n", strerror(err)); -#endif - - - sleep(2); - pthread_cancel(ntid); - //pthread_cancel(ntid1); - sleep(2); - - return 0; - -} diff --git a/a/content_digest b/N1/content_digest index 677bbb2..9353fb5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,31 +1,10 @@ "ref\01459894127-17698-1-git-send-email-ynorov@caviumnetworks.com\0" "ref\020160405224412.GA18300@yury-N73SV\0" - "From\0Zhangjian (Bamvor) <bamvor.zhangjian@huawei.com>\0" - "Subject\0Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64 - LTP results\0" + "From\0bamvor.zhangjian@huawei.com (Zhangjian (Bamvor))\0" + "Subject\0[RFC6 PATCH v6 00/21] ILP32 for ARM64 - LTP results\0" "Date\0Sat, 23 Apr 2016 11:37:29 +0800\0" - "To\0Yury Norov <ynorov@caviumnetworks.com>" - arnd@arndb.de - catalin.marinas@arm.com - linux-arm-kernel@lists.infradead.org - " linux-kernel@vger.kernel.org\0" - "Cc\0schwidefsky@de.ibm.com" - heiko.carstens@de.ibm.com - pinskia@gmail.com - Prasun.Kapoor@caviumnetworks.com - schwab@suse.de - Nathan_Lynch@mentor.com - agraf@suse.de - klimov.linux@gmail.com - broonie@kernel.org - joseph@codesourcery.com - christoph.muellner@theobroma-systems.com - linux-doc@vger.kernel.org - linux-arch@vger.kernel.org - linux-s390@vger.kernel.org - Hanjun Guo <guohanjun@huawei.com> - Zhangjian (Bamvor) <bamvor.zhangjian@huawei.com> - " gcc@gcc.gnu.org\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "Hi, Yury\n" "\n" @@ -71,29 +50,29 @@ "```\n" "Program received signal SIGABRT, Aborted.\n" "[Switching to Thread 0xf77ee330 (LWP 2958)]\n" - "0x000000000040f5bc in raise (sig=sig@entry=6)\n" + "0x000000000040f5bc in raise (sig=sig at entry=6)\n" " at ../sysdeps/unix/sysv/linux/raise.c:55\n" "55 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.\n" "(gdb) bt\n" - "#0 0x000000000040f5bc in raise (sig=sig@entry=6)\n" + "#0 0x000000000040f5bc in raise (sig=sig at entry=6)\n" " at ../sysdeps/unix/sysv/linux/raise.c:55\n" "#1 0x000000000040f884 in abort () at abort.c:89\n" "\n" "#2 0x00000000004073b4 in uw_update_context_1 (\n" - " context=context@entry=0xf77ec820, fs=fs@entry=0xf77ebec8)\n" + " context=context at entry=0xf77ec820, fs=fs at entry=0xf77ebec8)\n" "at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind-dw2.c:1430\n" "\n" - "#3 0x00000000004078c0 in uw_update_context (context=context@entry=0xf77ec820,\n" - " fs=fs@entry=0xf77ebec8)\n" + "#3 0x00000000004078c0 in uw_update_context (context=context at entry=0xf77ec820,\n" + " fs=fs at entry=0xf77ebec8)\n" " at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind-dw2.c:1506\n" "#4 0x0000000000407a9c in uw_advance_context (fs=0xf77ebec8,\n" " context=0xf77ec820)\n" " at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind-dw2.c:1529\n" - "#5 _Unwind_ForcedUnwind_Phase2 (exc=exc@entry=0xf77ee580,\n" - " context=context@entry=0xf77ec820)\n" + "#5 _Unwind_ForcedUnwind_Phase2 (exc=exc at entry=0xf77ee580,\n" + " context=context at entry=0xf77ec820)\n" " at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind.inc:185\n" "#6 0x0000000000408228 in _Unwind_ForcedUnwind (exc=0xf77ee580,\n" - " stop=stop@entry=0x405440 <unwind_stop>, stop_argument=0xf77eddd8)\n" + " stop=stop at entry=0x405440 <unwind_stop>, stop_argument=0xf77eddd8)\n" " at /home/GCC-Build/p660/p660_build_dir/src/gcc-4.9/libgcc/unwind.inc:207\n" "#7 0x00000000004055c4 in __pthread_unwind (buf=<optimized out>)\n" " at unwind.c:126\n" @@ -189,10 +168,8 @@ "> Full test log is attached.\n" ">\n" "> Yury\n" - > - "\01:2\0" - "fn\0test-cancel.c\0" - "b\0" + ">\n" + "-------------- next part --------------\n" "#include <errno.h>\n" "#include <stdio.h>\n" "#include <stdlib.h>\n" @@ -270,4 +247,4 @@ "\n" } -bb2b2e31a1d6d7b239a8193d93107a365586288cb9e91e024d3f38e0af4f8de7 +b97027bc6f21e29bfaa1f9ac727e4bd0647c47a66f36294c35a6c5980c2551a6
diff --git a/a/content_digest b/N2/content_digest index 677bbb2..5aac59f 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -4,27 +4,27 @@ "Subject\0Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64 - LTP results\0" "Date\0Sat, 23 Apr 2016 11:37:29 +0800\0" "To\0Yury Norov <ynorov@caviumnetworks.com>" - arnd@arndb.de - catalin.marinas@arm.com - linux-arm-kernel@lists.infradead.org - " linux-kernel@vger.kernel.org\0" - "Cc\0schwidefsky@de.ibm.com" - heiko.carstens@de.ibm.com - pinskia@gmail.com - Prasun.Kapoor@caviumnetworks.com - schwab@suse.de - Nathan_Lynch@mentor.com - agraf@suse.de - klimov.linux@gmail.com - broonie@kernel.org - joseph@codesourcery.com - christoph.muellner@theobroma-systems.com - linux-doc@vger.kernel.org - linux-arch@vger.kernel.org - linux-s390@vger.kernel.org + <arnd@arndb.de> + <catalin.marinas@arm.com> + <linux-arm-kernel@lists.infradead.org> + " <linux-kernel@vger.kernel.org>\0" + "Cc\0<schwidefsky@de.ibm.com>" + <heiko.carstens@de.ibm.com> + <pinskia@gmail.com> + <Prasun.Kapoor@caviumnetworks.com> + <schwab@suse.de> + <Nathan_Lynch@mentor.com> + <agraf@suse.de> + <klimov.linux@gmail.com> + <broonie@kernel.org> + <joseph@codesourcery.com> + <christoph.muellner@theobroma-systems.com> + <linux-doc@vger.kernel.org> + <linux-arch@vger.kernel.org> + <linux-s390@vger.kernel.org> Hanjun Guo <guohanjun@huawei.com> Zhangjian (Bamvor) <bamvor.zhangjian@huawei.com> - " gcc@gcc.gnu.org\0" + " <gcc@gcc.gnu.org>\0" "\01:1\0" "b\0" "Hi, Yury\n" @@ -270,4 +270,4 @@ "\n" } -bb2b2e31a1d6d7b239a8193d93107a365586288cb9e91e024d3f38e0af4f8de7 +cba9f5ff5a0a5e14d70fbcb7274e1de37f7da24035de24bc23cd6e55d34947a9
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.