[maemo-developers] Assertion failed unexpectedly
From: Jakov dkymail at gmail.comDate: Mon Feb 25 13:31:42 EET 2008
- Previous message: Assertion failed unexpectedly
- Next message: Access to tablet via Bluetooth ftp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oh my God! I didn't realize that for a long time! This morning after such a stupid prob, I removed maemo 4.0 and installed Maemo 3.2. Not tested yet, but I think it should have the same params counts as you say. I'll tell you the result soon. Just a quick msg now to say thank you! Thanks so much, Markku Vire! On Mon, Feb 25, 2008 at 6:00 PM, Markku Vire <markku.vire at movial.fi> wrote: > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080225/2312aae2/attachment.htm
- Previous message: Assertion failed unexpectedly
- Next message: Access to tablet via Bluetooth ftp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]