Fremantle SDK: Segfault when opening HildonNote
Hi, whenever I try to open a HildonNote using the Fremantle Beta2 SDK, my app crashes with a segfault. This is the last message I get: Assertion 'c-io_event == e' failed at pulsecore/socket-client.c:197, function connect_io_cb(). Aborting. When running the code on a real device it is working. It also plays a short sound when showing a note. This and that the error mentions pulseaudio lets me think that it has something to do with this sound notification. Do other have the same problem? Is there a way to make it work in the SDK? Short example code for testing: GtkWidget *note = hildon_note_new_information(parent, Hello World!); gtk_dialog_run(GTK_DIALOG(note)); gtk_widget_destroy(note); BTW, opening a self made GtkDialog with gtk_dialog_run() does not crash and does not play a sound. Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle SDK: Segfault when opening HildonNote
Cornelius Hald a écrit : Hi, whenever I try to open a HildonNote using the Fremantle Beta2 SDK, my app crashes with a segfault. This is the last message I get: Assertion 'c-io_event == e' failed at pulsecore/socket-client.c:197, function connect_io_cb(). Aborting. When running the code on a real device it is working. It also plays a short sound when showing a note. This and that the error mentions pulseaudio lets me think that it has something to do with this sound notification. Do other have the same problem? Is there a way to make it work in the SDK? Short example code for testing: GtkWidget *note = hildon_note_new_information(parent, Hello World!); gtk_dialog_run(GTK_DIALOG(note)); gtk_widget_destroy(note); BTW, opening a self made GtkDialog with gtk_dialog_run() does not crash and does not play a sound. Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers I noticed that too ... I thought it was linked to the sound server not being available ... ? Fred ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle SDK: Segfault when opening HildonNote
On Sun, 2009-09-20 at 20:05 +0200, Fred Lefévère-Laoide wrote: I noticed that too ... I thought it was linked to the sound server not being available ... ? Ah right, doing: run-standalone.sh pulseaudio inside scratchbox does the trick. Sounds like a known problem. Fred, where do you have that information from? I'll file a bug if it does not exist already. Thanks! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle SDK: Segfault when opening HildonNote
Cornelius Hald a écrit : On Sun, 2009-09-20 at 20:05 +0200, Fred Lefévère-Laoide wrote: I noticed that too ... I thought it was linked to the sound server not being available ... ? Ah right, doing: run-standalone.sh pulseaudio Thaks for the tip : I didn't think of trying that ! inside scratchbox does the trick. Sounds like a known problem. Fred, where do you have that information from? I'll file a bug if it does not exist already. I just noticed the Assertion about pulsecore/socket-client.c and thought it might be sound (pulseaudio) related ... I don't know if there is already a bug filed about that ... Thanks! Conny Fred ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle SDK: Segfault when opening HildonNote
On Sun, 2009-09-20 at 20:39 +0200, Fred Lefévère-Laoide wrote: I just noticed the Assertion about pulsecore/socket-client.c and thought it might be sound (pulseaudio) related ... I don't know if there is already a bug filed about that ... Ah ok, I thought it might be some very well known issue :) There was no bug yet, so I filed it: https://bugs.maemo.org/show_bug.cgi?id=5168 Cheers! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: Fremantle SDK: Segfault when opening HildonNote
Thanks very much for tracking this down. This cost me some time recently. FWIW, I found that the segfault was more often than not going to happen, but didn't always happen. Every once in a while I could get a note up without a segfault. Frank On Sun, Sep 20, 2009 at 1:53 PM, Cornelius Hald h...@icandy.de wrote: On Sun, 2009-09-20 at 20:39 +0200, Fred Lefévère-Laoide wrote: I just noticed the Assertion about pulsecore/socket-client.c and thought it might be sound (pulseaudio) related ... I don't know if there is already a bug filed about that ... Ah ok, I thought it might be some very well known issue :) There was no bug yet, so I filed it: https://bugs.maemo.org/show_bug.cgi?id=5168 Cheers! Conny ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers