Re: Strange Mozilla crash

2004-05-17 Thread Daniela
On Sunday 16 May 2004 22:18, Simon Barner wrote:
 Daniela wrote:
  Hi!
 
  My Mozilla hangs very often, and now I attached to the hanged process
  with gdb to see what's wrong. I have debug symbols in Mozilla, in every
  other program and in the entire OS. The backtrace is:
 
  #0  0x28458d60 in __sys_poll () from /usr/lib/libc_r.so.4
  #1  0x284582ac in thread_kern_poll (wait_reqd=1)
  at /usr/src/lib/libc_r/uthread/uthread_kern.c:817
  #2  0x28457c71 in _thread_kern_scheduler ()
  at /usr/src/lib/libc_r/uthread/uthread_kern.c:493
  #3  0x0 in ?? ()

 Hi,

 if you're running FreeBSD 5-current, make sure that all of your
 ports use the same thread library.

 I don't know whether that will fix your particular crash, but it surely
 won't harm ;-)

No, I'm running 4.9-STABLE. It's been a while since the last upgrade, but 
everything else works.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange Mozilla crash

2004-05-16 Thread Daniela
Hi!

My Mozilla hangs very often, and now I attached to the hanged process with gdb 
to see what's wrong. I have debug symbols in Mozilla, in every other program 
and in the entire OS. The backtrace is:

#0  0x28458d60 in __sys_poll () from /usr/lib/libc_r.so.4
#1  0x284582ac in thread_kern_poll (wait_reqd=1)
at /usr/src/lib/libc_r/uthread/uthread_kern.c:817
#2  0x28457c71 in _thread_kern_scheduler ()
at /usr/src/lib/libc_r/uthread/uthread_kern.c:493
#3  0x0 in ?? ()

When detaching from the program, I see the following:
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/ports/www/mozilla/work/mozilla/dist/bin/
mozilla-bin, process 33788, thread 1
ptrace: No such process

But the process is still there, so I don't know why ptrace can't find it.
What can I do now? I'm really curious what goes on in a hanging program, and 
maybe I can even fix a bug. I'm familiar with assembly language and also have 
basic C knowledge.

Regards,
Daniela


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange Mozilla crash

2004-05-16 Thread Simon Barner
Daniela wrote:
 Hi!
 
 My Mozilla hangs very often, and now I attached to the hanged process with gdb 
 to see what's wrong. I have debug symbols in Mozilla, in every other program 
 and in the entire OS. The backtrace is:
 
 #0  0x28458d60 in __sys_poll () from /usr/lib/libc_r.so.4
 #1  0x284582ac in thread_kern_poll (wait_reqd=1)
 at /usr/src/lib/libc_r/uthread/uthread_kern.c:817
 #2  0x28457c71 in _thread_kern_scheduler ()
 at /usr/src/lib/libc_r/uthread/uthread_kern.c:493
 #3  0x0 in ?? ()

Hi,

if you're running FreeBSD 5-current, make sure that all of your
ports use the same thread library.

I don't know whether that will fix your particular crash, but it surely won't
harm ;-)


signature.asc
Description: Digital signature