5 0x00007ffff7a41308 in DispatchMessage (pMsg=pMsg@entry=0x7fffffffe3e0)
at message.c:1386
6 0x00000000004014bc in MiniGUIAppMain (argc=argc@entry=1,
argv=argv@entry=0x7fffffffe588) at helloworld.c:209
7 0x0000000000400d13 in main (args=1, argv=0x7fffffffe588) at helloworld.c:174
(gdb) info threads
Id Target Id Frame
3 Thread 0x7ffff5709700 (LWP 1729) "helloworld" 0x00007ffff76bb913 in select ()
at ../sysdeps/unix/syscall-template.S:81
2 Thread 0x7ffff5f0a700 (LWP 1728) "helloworld" pthread_rwlock_wrlock ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S:85
1 Thread 0x7ffff7fd8740 (LWP 1724) "helloworld" sem_wait ()
at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
之前用的3.2版本现在更新5.0版本跑mg-sample时发现以上问题,minigui运行在线程模式下!
(gdb) bt
0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
1 0x00007ffff7a41aaa in SendSyncMessage (hWnd=, msg=247,
2 0x00007ffff7a1449b in MoveWindow (hWnd=0x60b9f0, x=,
3 0x00007ffff7a154bc in DefaultPostMsgHandler (lParam=2817498546992,
4 PreDefMainWinProc (hWnd=0x60b9f0, message=81, wParam=240518168592,
5 0x00007ffff7a41308 in DispatchMessage (pMsg=pMsg@entry=0x7fffffffe3e0)
6 0x00000000004014bc in MiniGUIAppMain (argc=argc@entry=1,
7 0x0000000000400d13 in main (args=1, argv=0x7fffffffe588) at helloworld.c:174
(gdb) info threads Id Target Id Frame 3 Thread 0x7ffff5709700 (LWP 1729) "helloworld" 0x00007ffff76bb913 in select () at ../sysdeps/unix/syscall-template.S:81 2 Thread 0x7ffff5f0a700 (LWP 1728) "helloworld" pthread_rwlock_wrlock () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S:85