Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Linus Torvalds
On Sun, Mar 15, 2015 at 11:12 AM, Simonas wrote: > While working on stack related code in Rust’s stdandard library, I trigerred > a very odd and amusing issue yesterday. This sounds like a the subtle backporting issue we had where a subtle semantic dependency was missed, and as a result 3.18.6 wa

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Richard Weinberger
Am 15.03.2015 um 21:36 schrieb Simonas: > On Sun, 15 Mar, 2015 at 8:59 PM, Richard Weinberger wrote: >> Okay. Then please try the latest 3.18 stable kernel. >> If it is still broken there you need to find the fix in 3.19 and request >> backporting to 3.18. > > Not reproducible in 3.18.9 either *

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Simonas
On Sun, 15 Mar, 2015 at 8:59 PM, Richard Weinberger wrote: Okay. Then please try the latest 3.18 stable kernel. If it is still broken there you need to find the fix in 3.19 and request backporting to 3.18. Not reproducible in 3.18.9 either *shrugs*. Thanks for the guidance :) Simonas -- To

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Richard Weinberger
Am 15.03.2015 um 19:55 schrieb Simonas: > On Sun, 15 Mar, 2015 at 8:45 PM, Richard Weinberger wrote: >> Okay. Then please retry with a recent kernel. Linus' for example >> Maybe the issue got already fixed. > > It works fine with 3.19.1. Okay. Then please try the latest 3.18 stable kernel. If it

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Simonas
On Sun, 15 Mar, 2015 at 8:45 PM, Richard Weinberger wrote: Okay. Then please retry with a recent kernel. Linus' for example Maybe the issue got already fixed. It works fine with 3.19.1. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Simonas
On Sun, 15 Mar, 2015 at 8:37 PM, Richard Weinberger wrote: Am 15.03.2015 um 19:35 schrieb Simonas: On Sun, 15 Mar, 2015 at 8:29 PM, Richard Weinberger wrote: Do you have a core dumper installed? i.e. kernel.core_pattern begins with a "|"? I bet if you remove the dumper. i.e. kernel.core_

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Richard Weinberger
Am 15.03.2015 um 19:44 schrieb Simonas: > On Sun, 15 Mar, 2015 at 8:37 PM, Richard Weinberger wrote: >> Am 15.03.2015 um 19:35 schrieb Simonas: >>> On Sun, 15 Mar, 2015 at 8:29 PM, Richard Weinberger >>> wrote: Do you have a core dumper installed? i.e. kernel.core_pattern begins wit

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Richard Weinberger
Am 15.03.2015 um 19:35 schrieb Simonas: > On Sun, 15 Mar, 2015 at 8:29 PM, Richard Weinberger > wrote: >> Do you have a core dumper installed? >> i.e. kernel.core_pattern begins with a "|"? I bet if you remove the dumper. i.e. kernel.core_pattern = core, the issue does no longer happen. What du

Re: [BUG] Odd interaction between uninterruptible syscall and stack overflow

2015-03-15 Thread Richard Weinberger
On Sun, Mar 15, 2015 at 7:12 PM, Simonas wrote: > While working on stack related code in Rust’s stdandard library, I trigerred > a very odd and amusing > issue yesterday. Running this short code > >#include >void recurse(void) { >puts(""); >recurse(); >} >int main(