← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 731424] Re: X crashes when I set a Python Tkinter edit control to display a long text string in 25pt DejaVu font

 

Yep, I was able to reproduce this X server crash on natty myself.

** Description changed:

  I am on Ubuntu 10.10 with the default X server, and the following Python
  code crashes it every time:
  
  from Tkinter import *
  f=Frame()
  f.option_add('*font', "-family {DejaVu Sans} -size -25 -weight normal -slant roman -underline 0 -overstrike 0")
  f.pack()
  text = StringVar(f)
  entry = Entry(f, textvariable=text)
  entry.pack()
  text.set("a" * 600)
  f.mainloop()
  
  Unfortunately, I was not able to capture a backtrace with apport.  I'm
  using an Asus X58Lseries laptop which I believe is 1280 x 800 (WXGA)
  using an Intel GMA X3100 graphics chipset.  I have set System >
  Preferences > Appearance > Fonts > Details > Resolution to 160 DPI for a
  larger display.
+ 
+ Backtrace:
+ [ 30015.409] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80eaa9b]
+ [ 30015.409] 1: /usr/bin/X (0x8048000+0x5faa8) [0x80a7aa8]
+ [ 30015.409] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0x4c140c]
+ [ 30015.409] 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x8e4000+0x1e98a) [0x90298a]
+ [ 30015.409] 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x8e4000+0x28700) [0x90c700]
+ [ 30015.409] 5: /usr/bin/X (0x8048000+0xdff88) [0x8127f88]
+ [ 30015.409] 6: /usr/bin/X (CompositeGlyphs+0xb0) [0x81c4e40]
+ [ 30015.409] 7: /usr/bin/X (0x8048000+0xd9373) [0x8121373]
+ [ 30015.409] 8: /usr/bin/X (0x8048000+0xd5153) [0x811d153]
+ [ 30015.409] 9: /usr/bin/X (0x8048000+0x28127) [0x8070127]
+ [ 30015.410] 10: /usr/bin/X (0x8048000+0x1a7ec) [0x80627ec]
+ [ 30015.410] 11: /lib/i386-linux-gnu/libc.so.6 (__libc_start_main+0xe7) [0x296e37]
+ [ 30015.410] 12: /usr/bin/X (0x8048000+0x1a3e1) [0x80623e1]
+ [ 30015.410] Segmentation fault at address 0xc
+ [ 30015.410] 
+ Caught signal 11 (Segmentation fault). Server aborting
+ [ 30015.410]

** Changed in: xorg-server (Ubuntu)
   Importance: Undecided => High

** Changed in: xorg-server (Ubuntu)
       Status: New => Triaged

** Tags added: oneiric

** Tags added: natty

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/731424

Title:
  X crashes when I set a Python Tkinter edit control to display a long
  text string in 25pt DejaVu font