#117 UpnpFinish blocks and doesnt return

branch-1.6.x
closed
nobody
None
5
2017-01-21
2013-07-24
No

This could be a duplicate of ticket [#54].

Thread 1
0x2ab39310 in sleep () from /lib/libpthread.so.0
0x2ab8ae60 in StopMiniServer () at src/genlib/miniserver/miniserver.c:978
0x2aba0c98 in UpnpFinish () at src/api/upnpapi.c:647

Threads 2-4
0x2ab365a0 in pthread_cond_timedwait () from /lib/libpthread.so.0
0x2ab6dc28 in WorkerThread (arg=0x2abb8750) at src/ThreadPool.c:508

0x2ab365a0 in pthread_cond_timedwait () from /lib/libpthread.so.0
0x2ab6dc28 in WorkerThread (arg=0x2abb8270) at src/ThreadPool.c:508

0x2ab365a0 in pthread_cond_timedwait () from /lib/libpthread.so.0
0x2ab6dc28 in WorkerThread (arg=0x2abb8270) at src/ThreadPool.c:508

Thread 5
0x2ab3a09c in lll_lock_wait () from /lib/libpthread.so.0
0x2ab38470 in
pthread_mutex_cond_lock () from /lib/libpthread.so.0
0x2ab36734 in pthread_cond_timedwait () from /lib/libpthread.so.0
0x2ab6dc28 in WorkerThread (arg=0x2abb84e0) at src/ThreadPool.c:508

Thread 6
0x2ab3a09c in __lll_lock_wait () from /lib/libpthread.so.0
0x2ab33610 in pthread_mutex_lock () from /lib/libpthread.so.0
0x2ab6e3f4 in ThreadPoolAdd (tp=0x2abb84e0, job=0x0, jobId=0x0) at src/ThreadPool.c:826
0x2ab8b7f4 in web_server_accept (lsock=<value optimized="" out="">, set=<value optimized="" out="">) at src/genlib/miniserver/miniserver.c:282
0x2ab8bd80 in RunMiniServer (miniSock=0x4993f0)
at src/genlib/miniserver/miniserver.c:422

It seems that thread 6 is blocking on web_server_accept (in the MiniServer) while thread 1 is waiting for the MiniServer to stop.

Related

Bugs: #54

Discussion

  • Marcelo Roberto Jimenez

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -This could be a duplicate of ticket #54.
    +This could be a duplicate of ticket [#54].
    
     Thread 1
     0x2ab39310 in sleep () from /lib/libpthread.so.0
    
     
  • Marcelo Roberto Jimenez

     
  • Marcelo Roberto Jimenez

    • status: open --> closed
    • Group: --> branch-1.6.x
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks