Your message dated Wed, 11 Dec 2013 09:57:31 +0000
with message-id <[email protected]>
and subject line Bug#731678: Removed package(s) from unstable
has caused the Debian Bug report #441084,
regarding lesstif2: Combobox segfaults on amd64 (but not on i386).
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
441084: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441084
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lesstif2
Version: 1:0.95.0-2+b1
Severity: important

The program below (mostly equivalent to
test/Xm-2.0/combobox/test1.c
in the lesstif source tarball) crashes as soon as you click twice
on "Item 1" on amd64, but not on i386.

The backtrace is as follows:
#0  0x00002b11e230bd73 in XtCallCallbackList () from /usr/lib/libXt.so.6
#1  0x00002b11e1eddd04 in XmCreateLabelGadget () from /usr/lib/libXm.so.2
#2  0x00002b11e234078e in XtInstallAllAccelerators () from /usr/lib/libXt.so.6
#3  0x00002b11e2340a6e in XtInstallAllAccelerators () from /usr/lib/libXt.so.6
#4  0x00002b11e234115e in _XtTranslateEvent () from /usr/lib/libXt.so.6
#5  0x00002b11e2319794 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#6  0x00002b11e2319e64 in _XtSendFocusEvent () from /usr/lib/libXt.so.6
#7  0x00002b11e2318fab in XtDispatchEvent () from /usr/lib/libXt.so.6
#8  0x00002b11e2319113 in XtAppMainLoop () from /usr/lib/libXt.so.6
#9  0x0000000000400d32 in LessTifTestMainLoop (w=0x52c730) at test1.c:49
#10 0x0000000000400eb0 in main (argc=1, argv=0x7fffc8d8da08) at test1.c:94

The same crash happens with 0.94.4 in Debian stable 4.0.

#include <stdio.h>
#include <stdlib.h>

#include <Xm/BulletinB.h>
#include <Xm/ComboBoxP.h>
#include <Xm/List.h>

typedef struct
{
    Boolean autoExit;
    int exitDelay;
    int geometrySlop;
    Boolean printEvents;
    String dumpOnFailureFile;
} AppResources_t, *AppResourcesPtr;
static AppResources_t AppResources;

static XtResource resources[] =
{
    {"autoExit", "AutoExit", XtRBoolean, sizeof(Boolean), 
XtOffset(AppResourcesPtr, autoExit), XtRImmediate, (void *)False},
    {"exitDelay", "ExitDelay", XtRInt, sizeof(int), XtOffset(AppResourcesPtr, 
exitDelay), XtRImmediate, (void *)0},
    {"geometrySlop", "GeometrySlop", XtRInt, sizeof(int), 
XtOffset(AppResourcesPtr, geometrySlop), XtRImmediate, (void *)0},
    {"printEvents", "PrintEvents", XtRBoolean, sizeof(Boolean), 
XtOffset(AppResourcesPtr, printEvents), XtRImmediate, (void *)False},
    {"dumpFile", "DumpFile", XtRString, sizeof(String), 
XtOffset(AppResourcesPtr, dumpOnFailureFile), XtRImmediate, (void *)NULL},
};

static void
Initialize(Widget w)
{
    static Boolean inited = False;

    if (!inited)
    {
      Display *display = XtIsSubclass(w, coreWidgetClass) ? XtDisplay(w) : 
XtDisplay(XtParent(w));

        XtGetApplicationResources(w,
                                  &AppResources,
                                  resources, XtNumber(resources),
                                  NULL, 0);
        XSynchronize(display, True);
        inited = True;
    }
}

extern int
LessTifTestMainLoop(Widget w)
{
    Initialize(w);
    XtAppMainLoop(XtWidgetToApplicationContext(w));
    return (0);
}

#if !defined(CB_List)
#define CB_List(w) \
        (((XmComboBoxWidget)(w))->widget_box.list)
#endif

int
main(int argc, char **argv)
{
  Widget toplevel, widget, bb, list;
  XtAppContext app;
  XmString item;

  XtSetLanguageProc(NULL, NULL, NULL);

  toplevel = XtVaAppInitialize(&app, "ComBox", NULL, 0, &argc, argv, NULL, 
NULL);

  bb = XmCreateBulletinBoard(toplevel, "bb", NULL, 0);
  XtManageChild(bb);

  widget = XmCreateComboBox(bb, "widget", NULL, 0);

  /* use list routine to add items */
  list = CB_List(widget);

  item = XmStringCreateSimple("Item 1");
  XmListAddItem(list,item,0);
  item = XmStringCreateSimple("Item 2");
  XmListAddItem(list,item,0);
  item = XmStringCreateSimple("Item 3");
  XmListAddItem(list,item,0);
  item = XmStringCreateSimple("Item 4");
  XmListAddItem(list,item,0);
  item = XmStringCreateSimple("Item 5");
  XmListAddItem(list,item,0);

  XmComboBoxUpdate(widget);

  XtManageChild(widget);

  XtRealizeWidget(toplevel);

  LessTifTestMainLoop(toplevel);

  exit(0);
}



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.22x86-64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages lesstif2 depends on:
ii  libc6                     2.6.1-1+b1     GNU C Library: Shared libraries
ii  libice6                   2:1.0.3-3      X11 Inter-Client Exchange library
ii  libsm6                    2:1.0.3-1+b1   X11 Session Management library
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxext6                  1:1.0.3-2      X11 miscellaneous extension librar
ii  libxp6                    1:1.0.0.xsf1-1 X Printing Extension (Xprint) clie
ii  libxt6                    1:1.0.5-3      X11 toolkit intrinsics library

lesstif2 recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1:0.95.2-1.1+rm

Dear submitter,

as the package lesstif2 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/731678

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to