http://bugzilla.novell.com/show_bug.cgi?id=517584 Summary: application crash when calling XtVaCreateManagedWidget Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: richard.coe@med.ge.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042700 SUSE/3.0.10-1.1.1 Firefox/3.0.10 Application crashes when calling XtVaCreateManagedWidget if specified resources are not found: #0 0xf7b5382e in ?? () from /usr/lib/libXt.so.6 #1 0xf7b54876 in _XtGetResources () from /usr/lib/libXt.so.6 #2 0xf7b3c429 in ?? () from /usr/lib/libXt.so.6 #3 0xf7b3ce65 in _XtCreateWidget () from /usr/lib/libXt.so.6 #4 0xf7b6e376 in ?? () from /usr/lib/libXt.so.6 #5 0xf7b6e48d in XtVaCreateManagedWidget () from /usr/lib/libXt.so.6 Calling code: myform = XtVaCreateManagedWidget( "myform", xmFormWidgetClass, wParent, XmNwidth, 259, XmNheight, 648, XmNresizePolicy, XmRESIZE_NONE, XmNunitType, XmPIXELS, XmNautoUnmanage, FALSE, XmNnoResize, TRUE, XmNdialogTitle, "My Desktop Manager", XmNbackground, myColorBg, XmNforeground, myColorFg, XmNhighlightColor, scanHighlightColor, NULL ); Crash occurs in GetResources() because the code is attempting to adjust elements in the input/output array 'typed_args' while still referring to the original offsets with the marker arrays 'typed' and 'found'. The patch corrects the error by not 'compressing the list' array 'typed_args' until all the args have been processed. Reproducible: Always Steps to Reproduce: 1. run program using libXt:XtVaCreateManagedWidget https://bugs.freedesktop.org/show_bug.cgi?id=22543 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.