Bug 14665 - All wxGTK apps and samples crash at exit
Summary: All wxGTK apps and samples crash at exit
Status: CLOSED FIXED
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: wxGTK (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 20:50 MSK by Aleksey Borisenkov
Modified: 2008-03-20 09:34 MSK (History)
0 users

See Also:


Attachments
простенька тест-программа (241 bytes, text/plain)
2008-02-26 20:52 MSK, Aleksey Borisenkov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Borisenkov 2008-02-26 20:50:51 MSK
Любое GUI приложение, собранное с использованием wxGTK, при завершении работы
вызывает исключение "Segmentation fault".
Проблема возникает из-за сборки библиотеки с опцией "--with-gnomevfs". Похоже,
что в качестве обработчика atexit регистрируется функция динамической библиотеки
libgnomevfs-2.so.0, но к моменту вызова этого обработчика при выходе библиотека
оказывается уже выгруженной.
Steps to Reproduce:
1. Компилируем тестовое приложение
$ g++ -o wxtest wxtest.cpp `wx-config --libs --cxxflags`
2. Запускаем его
$ ./wxtest
Actual Results:  
Hello, World!
Segmentation fault

Expected Results:  
Hello, World!
Comment 1 Aleksey Borisenkov 2008-02-26 20:52:08 MSK
Created attachment 2452 [details]
простенька тест-программа
Comment 2 Aleksey Borisenkov 2008-03-02 14:33:31 MSK
Собственно, проблему так и решают - отрыванием gnomevfs:
http://bugs.gentoo.org/show_bug.cgi?id=203389
Comment 3 algor 2008-03-03 09:02:42 MSK
оторвём
Comment 4 algor 2008-03-20 09:34:05 MSK
fixed in 2.8.6-alt2