View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004908 | Spring engine | General | public | 2015-07-18 13:41 | 2015-07-19 11:39 |
| Reporter | lamer | Assigned To | jK | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 100.0+git | ||||
| Summary | 0004908: hang if sound detection fails | ||||
| Description | If sound detection fails spring hangs. | ||||
| Steps To Reproduce | 1) Identify sound modules: $ cat /proc/asound/modules 2) blacklist it/them vi /etc/modprobe.d/nosound.conf -> blacklist snd_hda_intel 3) run spring (with Sound=1 in springsettings.cfg) | ||||
| Additional Information | related link: http://zero-k.info/Forum/Thread/17638 If one of next lines executed 1) https://github.com/spring/spring/blob/9b7d6f13cf223c34a664d2af8932d46944132dd3/rts/System/Sound/OpenAL/Sound.cpp#L316 2) https://github.com/spring/spring/blob/9b7d6f13cf223c34a664d2af8932d46944132dd3/rts/System/Sound/OpenAL/Sound.cpp#L326 then canLoadDefs is always false and https://github.com/spring/spring/blob/9b7d6f13cf223c34a664d2af8932d46944132dd3/rts/System/Sound/ISound.cpp#L60 stuck in infinite loop | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
fixed by https://github.com/spring/spring/commit/a8ba4cc48629243d220cf0aee5ac094761971dfd Can be closed. |