[Gambas-user] Issue 450 in gambas: RpcClient hangs (randomly) and CPU goes to 100% when using timers

gambas at ...2524... gambas at ...2524...
Sat Jul 6 18:03:28 CEST 2013


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 450 by uAle... at ...626...: RpcClient hangs (randomly) and CPU goes  
to 100% when using timers
http://code.google.com/p/gambas/issues/detail?id=450

1) Describe the problem.
The RpcClient for XML-RPC hangs randomly if there are timers in the Gambas  
Application, and it goes to 100% CPU usage. The behavior is as follows when  
it hangs:
- RpcClient sends a XML-RPC request (sync mode)
- RpcServer responds correctly as shown in the xml.eth file
- RpcClient hangs and CPU goes to 100%. Seems it can't raise the "Read"  
Event properly, according to the gdb output

Important Note - it works fine if the RpcClient is in async mode or NO  
timers are in the application (thus it is normally only visible in larger  
Gambas applications). It also doesn't matter if it is inside the same  
Gambas executable, or if the RpcServer and RpcClient are different gambas  
executables.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):

Version: TRUNK
Revision: r5722 (if you use a development version)
Operating system: Linux
Distribution: Ubuntu
Architecture: x86_64
GUI component: QT4
Desktop used: Gnome

3) Provide a little project that reproduces the bug or the crash.
Attached is the "Test-XMLRPC2.tar.gz" this contains the following:
- project
- "xml.eth" to show the request successfully send back from the RpcServer
- "gdb.txt" - gdb backtrace output - seems it hangs on the "Read" Event in  
Gambas
- "output.txt" - output on the console, it hangs on iteration 711 (but is  
different every new run)

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!

Attachments:
	Test-XMLRPC2.tar.gz  183 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list