| Summary: | При отсутствии в файле ~/.xmms/config информации о плагине вывода xmms выдаёт Segmentation fault | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Sergei Epiphanov <serpiph> |
| Component: | xmms | Assignee: | Michael Shigorin <mike> |
| Status: | CLOSED DUPLICATE | QA Contact: | qa-sisyphus |
| Severity: | critical | ||
| Priority: | P3 | CC: | eugvv, gns |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
При отсутствии в файле ~/.xmms/config информации о плагине вывода xmms выдаёт Segmentation fault. Поиск проблемы привёл к патчу xmms-1.2.10-alt-arts.patch. В нём есть функция static int arts_running(void), где при выполнении кода a_init = dlsym(arts_handle, "arts_init"); a_close = dlsym(arts_handle, "arts_free"); if (!a_init || !a_close) { dlclose(arts_handle); return 0; } signal(SIGPIPE, SIG_DFL); if ((*a_init)() == 0) { ret = 1; (*a_close)(); } signal(SIGPIPE, SIG_IGN); dlclose(arts_handle); return ret; и выпадает тот самый Segmentation fault. Steps to Reproduce: 1.Удалить каталог ~/.xmms 2.Попробовать запустить xmms Actual Results: Segmentation fault Expected Results: Запуск программы