xmore crashes

Bug #72560 reported by Christian Uceda
12
Affects Status Importance Assigned to Milestone
xmore (Debian)
Fix Released
Unknown
xmore (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When I try to run xmore from a console it crashes and complains about missing fonts.

All I did is to open xterm and type:

xmore /etc/xinetd.conf

and Bang!

Revision history for this message
Christian Uceda (christianuceda) wrote :
description: updated
Revision history for this message
ville palo (vi64pa) wrote :

Same happens on my edgy.

Revision history for this message
ville palo (vi64pa) wrote :

Crash seems to happen in libXaw, when w->core.constraints
is null.

LayoutChild(Widget w)
{
    FormConstraints form = (FormConstraints)w->core.constraints;
    Widget ref;

    switch (form->form.layout_state) {

#0 LayoutChild (w=0xbfbb0b68) at ../../src/Form.c:697
#1 0xb7f5c49b in LayoutChild (w=0xbfbb0b68) at ../../src/Form.c:699
#2 0xb7f5c94e in Layout (fw=0x806a238, width=0, height=0, force_relayout=1)
    at ../../src/Form.c:569
#3 0xb7f5c3de in XawFormChangeManaged (w=0x806a238) at ../../src/Form.c:1025
#4 0xb7efd407 in XtGetClassExtension () from /usr/lib/libXt.so.6
#5 0xb7efd3d4 in XtGetClassExtension () from /usr/lib/libXt.so.6
#6 0xb7eff1d2 in XtRealizeWidget () from /usr/lib/libXt.so.6
#7 0x08048ac7 in main (argc=134515817, argv=0x4) at xmore.c:315

Changed in xmore:
status: Unconfirmed → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this will be fixed when the xbase-clients split is done in Debian and imported in Ubuntu.

Changed in xmore:
status: Confirmed → In Progress
importance: Undecided → Low
Changed in xmore:
status: Unknown → Fix Released
Revision history for this message
ssh (shawnpc) wrote :

Still broken.

%gdb --args /usr/bin/xmore /home/shawn/test.txt
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/xmore /home/shawn/test.txt
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
LayoutChild (w=0xbfa0495c) at ../../src/Form.c:697
697 ../../src/Form.c: No such file or directory.
        in ../../src/Form.c
(gdb) bt
#0 LayoutChild (w=0xbfa0495c) at ../../src/Form.c:697
#1 0xb7ebd698 in LayoutChild (w=0xbfa0495c) at ../../src/Form.c:699
#2 0xb7ebdb93 in Layout (fw=0x806a8c0, width=0, height=0, force_relayout=1)
    at ../../src/Form.c:569
#3 0xb7ebd5c1 in XawFormChangeManaged (w=0x806a8c0) at
../../src/Form.c:1025
#4 0xb7e5afbf in ?? () from /usr/lib/libXt.so.6
#5 0x0806a8c0 in ?? ()
#6 0x00000000 in ?? ()

Revision history for this message
ssh (shawnpc) wrote :

Adapted from Debian patch; it works.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

This is now fixed in hardy.

Changed in xmore:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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