Maemomm crash with Gtk::Dialog on maemo OS
- From: Lassi Väätämöinen <lassi vaatamoinen tut fi>
- To: gtkmm-list gnome org
- Subject: Maemomm crash with Gtk::Dialog on maemo OS
- Date: Wed, 5 Dec 2007 14:33:08 +0200
Hi,
I was writing an app on N800 platform and came across segmentation fault when
running a recursive static Gtk::Main::run() within the app. This happens when
the dialog is closed and then opened again later. The Window is inherited
from Gtk::Dialog, but when inherited from Hildon::WIndow, I got the same
segmentation fault. The code is as follows:
PrefWindow window(config_);
Gtk::Main::run(window);
I use show_all() in the dialog to show all the child widgets and then when
closing the window I use hide(). hide_all() causes crash also so this doesn't
have any effect probably?
Debugging the app on N800 with GDB gave me following backtrace:
GDB backtrace
#0 0x402f2a74 in ?? ()
#1 0x411d44e8 in g_type_class_unref ()
from /usr/lib/libgobject-2.0.so.0
#2 0x00001000 in ?? () at sources.h:89
#3 0x00001000 in ?? () at sources.h:89
But due to lacking knowledge I don't know where the function
g_type_class_unref() lies. Also what is notable that I have compiled same app
on PC (Linux platform), and on scratchbox with maemo SDK but this
segmentation fault does not occur with these, only on N800.
BR,
-Lassi
--
Lassi Väätämöinen
M.Sc., Researcher
Tampere University of Technology / Institute of Communications Engineering
Room TH209, tel. 03-3115 5124
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]