Nux

unity-support-test crashes on get_opengl_version()

Bug #1226737 reported by Stephen M. Webb on 2013-09-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nux
Fix Released
Medium
Stephen M. Webb
Raring
Invalid
Medium
Stephen M. Webb
nux (Ubuntu)
Medium
Stephen M. Webb
Nominated for Raring by Stephen M. Webb

Bug Description

Bug is frequently reported on error.ubuntu.com. Looks like a pathway with uninitialized variables can be triggered under some circumstances.

#0 get_opengl_version (minor=0xbfdb3608, major=0xbfdb3604, version=0x1 <Address 0x1 out of bounds>) at unity_support_test.c:140
        tmp = 0
        i = 0
#1 main (argc=3, argv=0xbfdb36f4) at unity_support_test.c:760
        display_name = <optimized out>
        screen = <optimized out>
        print = <optimized out>
        root = 149729288
        vinfos = 0x8ed51e0
        display = 0x8ecb008
        context = 0x0
        results = {vendor = 0x0, renderer = 0xffffffff <Address 0xffffffff out of bounds>, version = 0x1 <Address 0x1 out of bounds>, result = 1, major = -1218692328, minor = -1076147649, indirect = 0, compiz = 0, flags = 0, error = 0x8ee0ec8 "OpenGL rendering is not supported by the root visual"}
        resultfilename = "\004\b\344\063Z\267\003\000\000\000\000\300\004\b\"\240\004\b\003\000\000\000\364\066\333\277\004\067\333\277"
        resultfile = 0
        forcecheck = <optimized out>
        glx_supported = <optimized out>
        dummy0 = 169
        dummy1 = 105

Related branches

Stephen M. Webb (bregma) on 2013-09-17
Changed in nux (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Stephen M. Webb (bregma)
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:nux at revision None, scheduled for release in nux, milestone 4.0.3

Changed in nux:
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nux - 4.0.2+13.10.20130920-0ubuntu1

---------------
nux (4.0.2+13.10.20130920-0ubuntu1) saucy; urgency=low

  [ Brandon Schaefer ]
  * Always use a dynamic char* when dealing with text events. We were
    using a static text, then allocating dtext causing ibus to get
    confused on what to use. (LP: #1219330)
  * Greek does not play nice with XmbLookupString and gives us a size 0
    for the event string size. So if we run into the status
    XLookupKeySym, look it up using XLookupString. This way pinyin will
    still work as it did before the greek fix went in last week. (LP:
    #1219432)
  * Gracefully handle ibus_bus_get_config returning NULL. (LP: #1047944)

  [ Stephen M. Webb ]
  * initialize all fields of the test results structure to avoid
    segfaults when Unity support is not available (lp: #1226737). (LP:
    #1226737)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 817
 -- Ubuntu daily release <email address hidden> Fri, 20 Sep 2013 11:16:31 +0000

Changed in nux (Ubuntu):
status: Triaged → Fix Released
Stephen M. Webb (bregma) on 2013-10-04
Changed in nux:
status: Fix Committed → Fix Released
Stephen M. Webb (bregma) wrote :

The Nux "Raring" series is no longer supported.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers