[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

apps using Xprint crashing



Hi all,

subject says all, detailed description follows:
I did this:
- installed a snapshot (11. or 13. of March, don't remember exactly).
- compiled thunderbird, firefox and dependencies from ports and noticed,
  that thunderbird segfaults upon calling menu item File->Print. Did not
  think further about it and went on.
- few days later updated the system, ports and XF4 sources using cvs:
  cvs update -rOPENBSD_3_7 -Pd
- followed the steps in release(8) to update system and build release.
- noticed that thunderbird still crashes upon calling the print menu
  item, as well as firefox, as well as all qt-based apps.
- my conclusion: all these use Xprint(7), so it's probably Xprint's
  fault.
- tested printing from apps linked against libXp in /usr/X11R6/bin (xman,
  xmore): et voil`: crash as well.
- rm -r /usr/X11R6 and /etc/X11 and installed the directories from the
  tarballs freshly, as I thought it may be caused by some cruft left
  around, but it did not help.
- played around a bit with Xprint (started it as normal user using
  /etc/X11/rc.xprint, set ${XPSERVERLIST} accordingly etc.), but nothing
  helped.
So questions are:
Anybody had success printing from Xprint enabled apps on a snapshot, 3.7
or current system? If yes, how?

Regards,
Daniel

Oh, just in case, if this helps:
output of gdb backtrace of xman compiled with debugging symbols after
hitting Options->Print This Manpage in menu:

$ gdb xman 
GNU gdb 6.3
Copyright 2004 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 "i386-unknown-openbsd3.7"...
(gdb) run
Starting program: /usr/X11R6/bin/xman 
Warning: locale not supported by C library, locale unchanged

Program received signal SIGSEGV, Segmentation fault.
0x0b11297c in XtWidgetToApplicationContext () from /usr/X11R6/lib/libXt.so.8.0
(gdb) bt
#0  0x0b11297c in XtWidgetToApplicationContext ()
   from /usr/X11R6/lib/libXt.so.8.0
#1  0x0b11915a in XtGetValues () from /usr/X11R6/lib/libXt.so.8.0
#2  0x0b13b5c2 in XtVaGetValues () from /usr/X11R6/lib/libXt.so.8.0
#3  0x1c005e20 in PrintThisManpage (w=0x3c0b6f00, event=0x0, params=0x0, 
    num_params=0x0) at handler.c:692
#4  0x1c004e26 in OptionCallback (w=0x3c0c3700, pointer=0x3c0be200, junk=0x0)
    at handler.c:88
#5  0x0b109c4c in XtCallCallbacks () from /usr/X11R6/lib/libXt.so.8.0
#6  0x0600ebe9 in Notify () from /usr/X11R6/lib/libXaw.so.10.0
#7  0x0600d871 in Notify () from /usr/X11R6/lib/libXaw.so.10.0
#8  0x0b137f7c in HandleActions () from /usr/X11R6/lib/libXt.so.8.0
#9  0x0b13843e in HandleSimpleState () from /usr/X11R6/lib/libXt.so.8.0
#10 0x0b1389af in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.8.0
#11 0x0b114ddb in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.8.0
#12 0x0b1158c2 in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.8.0
#13 0x0b115a6e in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.8.0
#14 0x0b115efe in XtAppMainLoop () from /usr/X11R6/lib/libXt.so.8.0
#15 0x1c00e03f in main (argc=1, argv=0xcfbf1bb4) at main.c:219
(gdb) 

And the obligatory dmesg:
OpenBSD 3.7 (GENERIC) #0: Mon Apr  4 11:14:25 CEST 2005
    daniel_(_at_)_asusmlaptop_(_dot_)_ayli_(_dot_)_ath_(_dot_)_cx:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 2.00GHz ("GenuineIntel" 686-class) 600 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
cpu0: Enhanced SpeedStep 600 MHz (988 mV): speeds: 2000, 1800, 1600, 1400, 1200, 1000, 800, 600 MHz
real mem  = 535666688 (523112K)
avail mem = 482000896 (470704K)
using 4278 buffers containing 26886144 bytes (26256K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 09/06/04, BIOS32 rev. 0 @ 0xf0010
apm0 at bios0: Power Management spec V1.2
apm0: AC on, no battery
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf3f60/144 (7 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x8086 product 0x24cc
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #4 is the last bus
bios0: ROM list: 0xc0000/0x10000 0xd0000/0x1800 0xd1800/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855PE Hub" rev 0x21
ppb0 at pci0 dev 1 function 0 "Intel 82855PE AGP" rev 0x21
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M10 NP" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x03: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x03: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x03: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x03: irq 10
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: single transaction translator
uhub3: 6 ports with 6 removable, self powered
ppb1 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x83
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5788" rev 0x03, BCM5705 A3 (0x3003): irq 4 address 00:11:d8:1c:10:75
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
cbb0 at pci2 dev 1 function 0 "Ricoh 5C476 CardBus" rev 0xacpci_intr_map: no mapping for pin A
: couldn't map interrupt
cbb1 at pci2 dev 1 function 1 "Ricoh 5C476 CardBus" rev 0xacpci_intr_map: no mapping for pin B
: couldn't map interrupt
"Ricoh 5C552 Firewire" rev 0x04 at pci2 dev 1 function 2 not configured
iwi0 at pci2 dev 2 function 0 "Intel PRO/2200BG 3B" rev 0x05: irq 4, address 00:0e:35:81:96:2e
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DBM LPC" rev 0x03
pciide0 at pci0 dev 31 function 1 "Intel 82801DBM IDE" rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <HTS548080M9AT00>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, UJ-831D, 1.00> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auich0 at pci0 dev 31 function 5 "Intel 82801DB AC97" rev 0x03: irq 4, ICH4 AC97
ac97: codec id 0x83847650 (SigmaTel STAC9750/51)
ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D
audio0 at auich0
"Intel 82801DB Modem" rev 0x03 at pci0 dev 31 function 6 not configured
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask ef65 netmask ef75 ttymask fff7
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302



Visit your host, monkey.org