linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] linphone and OpenBSD


From: Simon Morlat
Subject: Re: [Linphone-developers] linphone and OpenBSD
Date: Wed, 23 May 2007 13:30:19 +0200
User-agent: KMail/1.9.5

gdb didn't show the main thread (for some unknown reason).
Type "thread 1" before "bt full", or better "thread apply all bt"

Simon


Le jeudi 17 mai 2007 03:33, Centro de Recursos Computacionais a écrit :
> Hi Simon,
>
> > Can you execute it from gdb, then interrupt with C-c and type 'bt
> > full' to see where it hangs ?
>
> Ok, after to build mediastreamer with "-g" and no video support, gdb
> produces the following results:
> Thanks in advance...
>
>
> This GDB was configured as "amd64-unknown-openbsd4.0"...
> (gdb) run
> Starting program: /tmp/mediastreamer-2.1.0/tests/.libs/ring
> Reading symbols from /usr/lib/libpthread.so.7.0...done. Reading symbols
> from /usr/local/lib/libquickstream.so.0.0...done. Reading symbols
> from /usr/local/lib/libmediastreamer.so.0.0...done. Reading symbols
> from /usr/local/lib/libortp.so.0.0...done. Reading symbols
> from /usr/local/lib/libspeex.so.5.0...done. Reading symbols
> from /usr/local/lib/libgsm.so.1.0...done. Reading symbols
> from /usr/lib/libm.so.2.3...done. Reading symbols
> from /usr/lib/libossaudio.so.3.0...done. Reading symbols
> from /usr/lib/libc.so.40.3...done. Reading symbols
> from /usr/libexec/ld.so...done. ortp-warning-oss_open: audio buffer
> size: 256. ortp-warning-We are late of 81 miliseconds.
> ^C[New process 245]
> ^C
> Program received signal SIGINT, Interrupt.
> 0x000000005047063a in poll () from /usr/lib/libc.so.40.3
> (gdb) bt full
> Reading in symbols
> for /usr/src/lib/libpthread/uthread/uthread_kern.c...done. Reading in
> symbols for /usr/src/lib/libpthread/uthread/uthread_nanosleep.c...done.
> Reading in symbols for msticker.c...done. Reading in symbols
> for /usr/src/lib/libpthread/uthread/uthread_create.c...done. Cannot
> access memory at address 0x452d3000
>
>
> +++++++++++++++++++++ To echo
>
>
> This GDB was configured as "amd64-unknown-openbsd4.0"...
> (gdb) run
> Starting
> program: /tmp/mediastreamer-2.1.0/tests/.libs/echo
> ortp-warning-oss_open: audio buffer size: 256. ^C
> Program received signal SIGINT, Interrupt.
> 0x000000004889c63a in poll () from /usr/lib/libc.so.40.3
> (gdb) bt full
> #0  0x000000004889c63a in poll () from /usr/lib/libc.so.40.3
> No symbol table info available.
> #1  0x0000000041d7cc4b in _thread_kern_poll (wait_reqd=1142207488)
> #at /usr/src/lib/libpthread/uthread/uthread_kern.c:761
>         count = 0
>         i = 1142207488
>         found = 134217727
>         kern_pipe_added = 1
>         nfds = 0
>         timeout_ms = 2
>         pthread = (struct pthread *) 0x0
>         next = (struct pthread *) 0x41f83118
>         ts = {tv_sec = 1179364996, tv_nsec = 211722000}
>         tv = {tv_sec = 1179364996, tv_usec = 211722}
> #2  0x0000000041d7c746 in _thread_kern_sched (scp=0x0)
> #at /usr/src/lib/libpthread/uthread/uthread_kern.c:382
>         ts = {tv_sec = 1179364996, tv_nsec = 211722000}
>         tv = {tv_sec = 1179364996, tv_usec = 211722}
>         curthread = (struct pthread *) 0x42189220
>         pthread = 0x41f83070
>         pthread_h = 0x0
>         current_tick = 0
>         add_to_prioq = 0
>         old_thread_run = 0x49c5f800
> #3  0x0000000041d7ca84 in _thread_kern_sched_state
> #(state=PS_SELECT_WAIT, fname=0x41e811a0
> #"/usr/src/lib/libpthread/uthread/uthread_select.c", lineno=168)
>     at /usr/src/lib/libpthread/uthread/uthread_kern.c:550
>         curthread = (struct pthread *) 0xfc
> #4  0x0000000041d77164 in select (numfds=0, readfds=0x0, writefds=0x0,
> #exceptfds=0x0, timeout=0x4dbc1f90)
> #at /usr/src/lib/libpthread/uthread/uthread_select.c:168
>         curthread = (struct pthread *) 0x49c5f800
>         ts = {tv_sec = 0, tv_nsec = 5000000}
>         i = 134217727
>         j = 1304173184
>         ret = 0
>         f_wait = 1
>         events = 1304173184
>         got_events = 582
>         fd_count = 0
>         data = {nfds = 0, fds = 0x4414bc00}
>         mask = 1
>         rmask = 1304174480
>         wmask = 1304174480
>         emask = 582
> #5  0x00000000467b0e08 in oss_thread (p=0x4414b400) at oss.c:393
>         timeout = {tv_sec = 0, tv_usec = 5000}
>         read_fds = {fds_bits = {0 <repeats 32 times>}}
>         info = {fragments = 0, fragstotal = 0, fragsize = 0, bytes = 0}
>         d = (OssData *) 0x45262180
>         bsize = 512
>         rtmpbuff = (uint8_t *) 0x4dbc1ce0 ""
>         wtmpbuff = (uint8_t *) 0x4dbc1ae0 "\020"
>         err = 1304174480
>         rm = (mblk_t *) 0x4291c240
> #6  0x0000000041d7334d in _thread_start ()
> #at /usr/src/lib/libpthread/uthread/uthread_create.c:244
>         curthread = (struct pthread *) 0xfc
> #7  0x000000000000001f in ?? ()
> No symbol table info available.
> Cannot access memory at address 0x4dbc2000
>
>
>
>
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/linphone-developers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]