Dear Rooters.
I waste quite sometime on a seems trival problem:
I am running a event display program from root prompt , which have more
than 10k polymarkers(hits) and 1k lines(tracks) are drawn. It seems to me
that Root(or xlib) have a limit on the number of polymarkers(or Polygons)
one can drawn, my program always freeze in the drawing and would not give
back to me root prompt!!( I know, I know that this is NOT a segmentation
fault, since I use gdb to trace my program, and it step into a xlib
function and never returns!!!)
the gdb trace is like following when it freeze:
#0 0x407c758b in __sigsuspend (set=0xbfffcc8c) at../sysdeps/unix/sysv/linux/sigsuspend.c:48
#1 0x41458211 in __pthread_lock(lock=0x8544608, self=0x4145e6c0) at restart.h:32
#2 0x41454612 in pthread_cond_broadcast (cond=0x8544608) at condvar.c:161
#3 0x409fcfc9 in _XConditionBroadcast () from /usr/X11R6/lib/libX11.so.6
#4 0x409e38ab in _XWaitForWritable () from /usr/X11R6/lib/libX11.so.6
#5 0x409e3d7a in _XFlushInt () from /usr/X11R6/lib/libX11.so.6
#6 0x409e3c5b in _XFlush () from /usr/X11R6/lib/libX11.so.6
#7 0x409ccd54 in XFillPolygon () from /usr/X11R6/lib/libX11.so.6
#8 0x409747d2 in TGX11::DrawPolyMarker () from /opt/phenix/root/lib/libGX11.so
#9 0x416a9009 in DchDrawableTrack::PaintXYView (this=0x9adcb30, mode=56)
at../display/DchDrawableTrack.cc:777
#10 0x416a8227 in DchDrawableTrack::Paint (this=0x9adcb30,
option=0x4028fb30 "")
......other backtrace followings
I will not have such problem if I only draw lines, or draw less polygons,
but this will definately a limit!!
OS: red-hat 6.1
root: 2.23/12 1 February 2000
CINT:5.14.25, Nov 25 1999
I heard that standard linux Xlib have some problem with thread, is this a
cause??
Please help!!
************************************************
jjia@rcf.rhic.bnl.gov
Jiangyong Jia
Department of Physics
State University New York at Stony Brook
Stony Brook, New York 11794-3800
Tel.631-344-5455
*********************************************
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:26 MET