View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002834 | The Dark Mod | Coding | public | 12.08.2011 13:49 | 26.05.2014 20:04 |
Reporter | tels | Assigned To | taaaki | ||
Priority | normal | Severity | normal | Reproducibility | sometimes |
Status | closed | Resolution | no change required | ||
OS | Linux | ||||
Product Version | TDM 1.06 | ||||
Summary | 0002834: TDM crashes at startup when /proc files vanish | ||||
Description | Sometimes, a process is terminated between the time TDM starts iterating over the directory /proc, and the time where it actually checks for that file. | ||||
Steps To Reproduce | Start TDM often. Wait for this message: Searching the /proc/ folder for PID files terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::filesystem2::basic_filesystem_error<boost::filesystem2::basic_path<std::string, boost::filesystem2::path_traits> > > >' what(): boost::filesystem::basic_directory_iterator constructor: No such file or directory: "/proc/11814" | ||||
Additional Information | In D3ProcessChecker::D3IsRunning, the following lines are crashing: for (fs::recursive_directory_iterator it(start); it != fs::recursive_directory_iterator(); ++it) | ||||
Tags | No tags attached. | ||||
It should be possible to force the issue by running a shell script which constantly spawns fast-executing process, like "ls -la" in an endless loop. Starting TDM during that time should increase the probability of a crash. |
|
This code doesn't appear to exist. I assume this is a side-effect of the D3 GPL merge. | |
Date Modified | Username | Field | Change |
---|---|---|---|
12.08.2011 13:49 | tels | New Issue | |
12.08.2011 14:10 | tels | Note Added: 0003980 | |
15.10.2012 19:06 | tels | Relationship added | related to 0003252 |
26.05.2014 20:04 | taaaki | Note Added: 0006638 | |
26.05.2014 20:04 | taaaki | Status | new => closed |
26.05.2014 20:04 | taaaki | Assigned To | => taaaki |
26.05.2014 20:04 | taaaki | Resolution | open => no change required |