[Ekiga-devel-list] Crash in opal-gmconf-bridge.cpp



Hi,

again, there is a problem with the bridge : it gets something from gmconf, doesn't check before use, and triggers a floating point exception.

I'm not sure whether the issue is in ekiga or in opal though :
0x08132c71 in GMManager::set_video_options (this=0x8303238,
    options= 0xbfba9fec) at /usr/include/opal/opal/mediafmt.h:877
877 ) { PWaitAndSignal m(_mutex); MakeUnique(); return m_info != NULL && m_info->SetOptionInteger(name, value); }
(gdb) bt
#0  0x08132c71 in GMManager::set_video_options (this=0x8303238,
    options= 0xbfba9fec) at /usr/include/opal/opal/mediafmt.h:877
#1  0x0814d3d8 in Opal::ConfBridge::on_property_changed (this=0x8319728,
key= 0xbfbaa084, entry=0x8290e60) at endpoints/opal-gmconf-bridge.cpp:127

The lines 126 and 127 of the bridge read like :
    options.maximum_frame_rate = gm_conf_entry_get_int (entry);
    manager.set_video_options (options);
if for some reason zero is returned, then we have a crash.

Snark


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]