pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Untitled
Posted by Anonymous on Wed 16th Jan 2019 14:24
raw | new post

  1. Und hier die Auflösung des Rätsels warum "Service_task" manchmal in sigsuspend() hängt und dann wieder man in der mutex/futex - abundzu wird ein Signalhandler aufgerufen während der thread an der mutex/futex wartet, und der signal-Handler wartet mittels sigsuspend auf SIGRTMIN1-SIGRTMIN8.
  2.  
  3. # strace -p 1075                  
  4. Process 1075 attached
  5. rt_sigsuspend(~[RTMIN RT_1 RT_8]
  6.  
  7.  
  8. # gdb strack trace:
  9. 0xb6cfc5f8 in do_sigsuspend (set=0xb51be72c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:32
  10. 32      ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory.
  11. (gdb) where
  12. #0  0xb6cfc5f8 in do_sigsuspend (set=0xb51be72c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:32
  13. #1  __GI___sigsuspend (set=0xb51be72c) at ../sysdeps/unix/sysv/linux/sigsuspend.c:46
  14. #2  0x00160a40 in SysTaskWaitForResume ()
  15. #3  0x0016058c in task_signalhandler ()
  16. #4  <signal handler called>
  17. #5  0xb6d954f0 in syscall () from /lib/libc.so.6
  18. #6  0xb5fa27d4 in QMutexPrivate::wait(int) () from /usr/lib/libQtCore.so.4
  19. #7  0xb5f9eb9c in QMutex::lockInternal() () from /usr/lib/libQtCore.so.4
  20. #8  0xb6ac5b48 in data_in(char*, int) () from /usr/lib/libvt.so
  21. #9  0xb6a8dbec in codesys_send () from /usr/lib/libvt.so
  22. #10 0xb6b567a0 in IsoVtLib_NumericValue () from /usr/lib/libIsobus.so
  23. #11 0xb6b55574 in isocmd_numericvalue () from /usr/lib/libIsobus.so
  24. #12 0xb52799a0 in ?? ()
  25. #13 0xb52799a0 in ?? ()
  26. Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  27. (gdb) quit
  28. A debugging session is active.

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at