On Sun, Oct 24, 2010 at 03:59:31PM +0200, Joachim Ott wrote:
> [3728983.057] (**) Option "CustomKeycodes" "off"
> [3728983.058] (**) <default keyboard>: CustomKeycodes disabled
> [3728983.059] (II) XINPUT: Adding extended input device "<default
> keyboard>" (type: KEYBOARD)
> [3732478.401]
> Backtrace:
> [3732478.402] Segmentation fault at address 0x4e1742
> [3732478.403]
> Fatal server error:
> [3732478.403] Caught signal 11 (Segmentation fault). Server aborting
> [3732478.404]
> [3732478.406]
> Please consult the The X.Org Foundation support
> 
> There is a core:
> 
> core: ELF 32-bit LSB core file ARM, version 1 (SYSV), SVR4-style, from 'sor'
> 
> In real it's from Xorg, but no big help:
> 
> Core was generated by `/usr/bin/Xorg :0 -br -pn -dpi 280 -nocursor'.
> Program terminated with signal 6, Aborted.
> #0  0x4028f324 in ?? ()
> (gdb) info stack
> #0  0x4028f324 in ?? ()
> #1  0x4028f2d0 in ?? ()
> #2  0x4028f2d0 in ?? ()
> Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> 
> I couldn't type anything more in my 2 xterms, so I had to press the
> power button until it shut down. /var/log/Xsession.log was overwritten
> with the new one.

I can reproduce it now, but it fails the same with libx11-1.3.5 and
older xserver so I cannot find where the original problem is, first
report about crashing Xserver is from orrery 02 Sep 2010
http://www.mail-archive.com/[email protected]/msg60675.html

Currently I'm trying to prepare minimal testcase to crash my Xserver
with gdk_draw_points as suggested in orrery patch, but it doesn't crash
it or even draw points (as never used gdk before..).

my not working testcase attached

--
Martin 'JaMa' Jansa     jabber: [email protected]
#include <gtk/gtk.h> 

int main(int argc, char *argv[]) { 
  GtkWidget * MainWindow = NULL; 
  GtkAllocation GombAlloc; 
  GdkGC *GC = NULL; 
  GdkColor FgColor; 
  GdkWindow *window = NULL; 

  gtk_init(&argc, &argv); 
  MainWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL); 
//  gtk_window_set_resizable((GtkWindow *) MainWindow, FALSE);
//  gtk_window_set_default_size((GtkWindow *) MainWindow, 320, 200);
  gtk_widget_realize(MainWindow);
  gtk_widget_show_all (MainWindow); 
  window = MainWindow->window;
  GombAlloc = MainWindow->allocation; 
  gdk_color_parse ("red", &FgColor); 
  printf("%s color\n", gdk_color_to_string(&FgColor));
  GC = gdk_gc_new (window); 
  gdk_gc_set_foreground(GC, &FgColor); 
  gdk_gc_set_background(GC, &FgColor); 
  gdk_gc_set_fill(GC, GDK_SOLID);
  printf("%d points\n", GombAlloc.width);
  int i;
  for(i = 0; i <= GombAlloc.width; i++) { 
    gdk_draw_point(window, GC, GombAlloc.x + i, GombAlloc.y + GombAlloc.height / 2);
  }
  gtk_main(); 
  return 0; 
} 
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to