Event tables are inserted into one linked list and are initialize at statup - the same event table may be inserted twice (eg: when the same class-name is used twice in two different shared-libraries/executable) and this will create an endless loop on the initialization of the event tables

Bug #735462 reported by Gal Shalif
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wxWidgets
Unknown
Unknown
wxwidgets2.8 (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

The release of Ubuntu
==================
$ lsb_release -rd
Description: Ubuntu 10.10
Release: 10.10

$ uname -a
Linux gartas-laptop2 2.6.35-27-generic-pae #48-Ubuntu SMP Tue Feb 22 21:46:58 UTC 2011 i686 GNU/Linux

The version of the package you are using
================================
$ apt-cache policy libwxbase2.8-0
libwxbase2.8-0:
  Installed: 2.8.11.0-0ubuntu4.1
  Candidate: 2.8.11.0-0ubuntu4.1
  Version table:
 *** 2.8.11.0-0ubuntu4.1 0
        500 http://archive.ubuntu.com/ubuntu/ maverick-updates/universe i386 Packages
        100 /var/lib/dpkg/status
     2.8.11.0-0ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/universe i386 Packages

What you expected to happen:
========================
The wxwidgets should check for duplicate insertion into the event table and flag a duplicate insert of the same class as an erro

What happened instead:
===================
The second insert (of the same table) did succeed and create a cycle within the linked list.
On initialization, the initialization of the linked list entered an infinite loop

Related branches

Revision history for this message
Gal Shalif (gal-fourier) wrote :

== Feedback from the wxwidgets developers ==
 * SVN 2.9 development branch might accept the patch - but under an #ifdef DEBUG ... #endif - see details at http://trac.wxwidgets.org/ticket/13053
 * Current 2.8 branch had rejected the patch - see details at http://trac.wxwidgets.org/ticket/13051

== Conclusion ==
close the patch as '''will not be fixed for the 2.8 branch'''

Changed in wxwidgets2.8 (Ubuntu):
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.