| Anonymous | Login | Signup for a new account | 2013-05-24 06:19 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0005893 | OCaml | OCaml backend (code generation) | public | 2013-01-17 06:51 | 2013-01-17 07:39 | ||||||
| Reporter | johan.mazel | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | Linux | OS | Debian | OS Version | Testing | ||||||
| Product Version | 4.00.0 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0005893: Fork stuck when big memory use and profile option for compilation | ||||||||||
| Description | Fork is stuck at execution when one uses a consequent amount of memory (in my case 8%) and the profile option is used during compilation. When the fork call is stuck, the program uses 100% of one core. | ||||||||||
| Steps To Reproduce | I made a small program that first create a big array called array1 that contains other arrays named array2. The size of those arrays can be chosen through the two mandatory parameters of the program. In my case, the bug happens with array1 length = 1000 and array2 length = 200000. This program is located in the joined tar archive along with _tags and makefile files. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0008766) johan.mazel (reporter) 2013-01-17 07:04 |
I forgot to add that this only happens with native compilation. Bytecode compilation seems to not experience this problem. |
|
(0008767) berenger (reporter) 2013-01-17 07:39 |
Here is some part of an strace of a program that was affected by this possible bug: --- --- SIGPROF (Profiling timer expired) @ 0 (0) --- rt_sigreturn(0x1b) = 140464321150976 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc080ed19d0) = ? ERESTARTNOINTR (To be restarted) --- SIGPROF (Profiling timer expired) @ 0 (0) --- rt_sigreturn(0x1b) = 56 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc080ed19d0) = ? ERESTARTNOINTR (To be restarted) --- SIGPROF (Profiling timer expired) @ 0 (0) --- rt_sigreturn(0x1b) = 56 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc080ed19d0) = ? ERESTARTNOINTR (To be restarted) --- SIGPROF (Profiling timer expired) @ 0 (0) --- rt_sigreturn(0x1b) = 56 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc080ed19d0) = ? ERESTARTNOINTR (To be restarted) --- Hope this helps, F. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2013-01-17 06:51 | johan.mazel | New Issue | |
| 2013-01-17 06:51 | johan.mazel | File Added: Fork_problem.tar | |
| 2013-01-17 07:04 | johan.mazel | Note Added: 0008766 | |
| 2013-01-17 07:39 | berenger | Note Added: 0008767 | |
| Copyright © 2000 - 2011 MantisBT Group |