[maemo-developers] Assertion failed unexpectedly
From: Markku Vire markku.vire at movial.fiDate: Mon Feb 25 13:00:16 EET 2008
- Previous message: Assertion failed unexpectedly
- Next message: Assertion failed unexpectedly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, The problem behind "changing parameters" is that you are attaching wrong type of singal handler to signal (i.e. the number/type of parameters don't match). I didn't actually try your code, but at least you cannot connect "callback_do_test" (3 parameters) to "clicked" signal (2 parameters). This will lead to you application accessing arbitrary data. Hope this helps, -Markku- Jakov wrote: > Hi, > > I have a very simple app running on Maemo 4.0 with a textbox and a button. > As I click on the button, a callback function is invoked to show the content > of the textbox. I don't know why the data pointer which is passed to > callback function is sometimes NULL: > - if I click on the textbox (a virtual keyboard shown below) and then click > on the button, the callback function failed due to assertion of data pointer > - if I just click the button (don't focus on the textbox), the data pointer > is not NULL, but the child of it is NULL. > > I'm so confused. It didn't happen on Maemo 3.2 before. > > Here's the code of 4 files (interface.*, callbacks.*) in my project /src/ui, > I follow the structure of maemopad-2.1 > http://paste.org/index.php?id=2098 > > If you're interested in solving this problem, please help me out. Thanks > very much! > > Best regards, > Jakov > > > > ------------------------------------------------------------------------ > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers
- Previous message: Assertion failed unexpectedly
- Next message: Assertion failed unexpectedly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]