Segfault when getting/setting configuration values

Asked by Amit Nayar

Hi again,

I am trying to set/get the threshold and timeout values for the rotate gesture using:

    int timeout = 1000; // 1s timeout
    status = geis_set_configuration( // **** segfault on this call ****

    float threshold = 0.05; // 5cm thresh
    status = geis_set_configuration(

My geis_new is called like this:

    m_geisObject = geis_new(
        GEIS_INIT_TRACK_DEVICES, // Report input devices
        GEIS_INIT_TRACK_GESTURE_CLASSES, // Send gesture class events
        GEIS_INIT_NO_ATOMIC_GESTURES, // Disable geis v1 style atomic gestures
        GEIS_INIT_SYNCHRONOUS_START, // We want to wait for geis to init so we can
                                            // set up gesture filters here

Any ideas why I would be getting a segfault when setting these config values?

Thanks in advance.

Question information

English Edit question
Geis Edit question
No assignee Edit question
Solved by:
Amit Nayar
Last query:
Last reply:
Revision history for this message
Amit Nayar (amit-nyr) said :

Ah I'm an idiot. I need to use the geis_subscription_set_configuration instead of geis_set_configuration here.