View Issue Details

IDProjectCategoryView StatusLast Update
0002834The Dark ModCodingpublic26.05.2014 20:04
Reportertels Assigned Totaaaki  
PrioritynormalSeveritynormalReproducibilitysometimes
Status closedResolutionno change required 
OSLinux 
Product VersionTDM 1.06 
Summary0002834: TDM crashes at startup when /proc files vanish
DescriptionSometimes, 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 ReproduceStart 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 InformationIn D3ProcessChecker::D3IsRunning, the following lines are crashing:

        for (fs::recursive_directory_iterator it(start); it != fs::recursive_directory_iterator(); ++it)
TagsNo tags attached.

Relationships

related to 0003252 closedstgatilov See if we can remove the boost library 

Activities

tels

tels

12.08.2011 14:10

reporter   ~0003980

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.
taaaki

taaaki

26.05.2014 20:04

administrator   ~0006638

This code doesn't appear to exist. I assume this is a side-effect of the D3 GPL merge.

Issue History

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