Hi Ola,
After a bit of test-driving NX I reverted myself back to VNC ;-) (NX
worked smoother in terms of rendering/transfer, but it crashed for me at
least once in 2 days... with VNC I am getting closer to 1-2 months ;-)
And once again shit hit the fan. Thus I wanted to follow up: symptoms
are similar (100% CPU utilization, frozen VNC screen), but somewhat
different -- now it loops in that Dispatch. After I upgraded gdb
to a backport of 6.8 (had 6.6 and it was crashing while attaching), I
see following:
(gdb) bt
#0 0xffffffffff600015 in ?? ()
#1 0x0000000000982340 in ?? ()
#2 0xffffffff80733770 in ?? ()
#3 0x00002b424f9e384d in gettimeofday () from /lib/libc.so.6
#4 0x000000000044592e in GetTimeInMillis ()
#5 0x00000000004370cb in WaitForSomething ()
#6 0x0000000000424583 in Dispatch ()
#7 0x000000000040b145 in main ()
and now I am struggling with my understanding of gdb... can't figure out how to
make it read proper source files:
(gdb) info sources
Source files for which symbols have been read in:
../sysdeps/x86_64/elf/start.S
Source files for which symbols will be read in on demand:
/tmp/buildd/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crtn.S, Region.c,
/raid/home/yoh/deb/nobackup_debug/vnc4server/vnc4-4.1.1+X4.3.0/common/Xregion/Region.c,
d3des.c,
/raid/home/yoh/deb/nobackup_debug/vnc4server/vnc4-4.1.1+X4.3.0/common/rfb/d3des.c,
/tmp/buildd/glibc-2.3.6.ds1/build-tree/amd64-libc/csu/crti.S,
../sysdeps/x86_64/elf/start.S
(gdb) info source
Current source file is ../sysdeps/x86_64/elf/start.S
Compilation directory is
/tmp/buildd/glibc-2.3.6.ds1/build-tree/glibc-2.3.6/csu
Source language is asm.
Compiled with DWARF 2 debugging format.
Does not include preprocessor macro info.
and I am in the directory where dispatch.c is but it refuses to know
about it:
*(gdb) l Dispatch
No line number known for Dispatch.
(gdb) bt
#0 0x0000000000436878 in WaitForSomething ()
#1 0x0000000000424583 in Dispatch ()
#2 0x000000000040b145 in main ()
and I built it (I believe) with debugging support and not stripped...
I can't figure it out -- may be you could give me a hint on how do you
debug VNCs usually and what am I missing ;-)
Thank you in advance for the hints
On Wed, 22 Aug 2007, Yaroslav Halchenko wrote:
> > If this one is true then this is the problematic code:
> > In unix/xc/programs/Xserver/os/auth.c function LoadAuthorization
--
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW: http://www.linkedin.com/in/yarik
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]