Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 372334 - Debugger may crash application with SierraWireless Lua framework
Summary: Debugger may crash application with SierraWireless Lua framework
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor
Target Milestone: 0.8 RC1   Edit
Assignee: Simon Bernard CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-23 09:12 EST by Julien Desgats CLA
Modified: 2012-05-23 11:34 EDT (History)
1 user (show)

See Also:
sbernard: review+


Attachments
use standalone log function (1.08 KB, patch)
2012-02-23 09:12 EST, Julien Desgats CLA
contact: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Desgats CLA 2012-02-23 09:12:01 EST
Created attachment 211486 [details]
use standalone log function

When using Sierra Wireless Lua framework, logging functions uses the log library from framework. It calls redefined 'print' which try to send the content to IDE.

The problem is that sending content to IDE also log something. So we have log => print => send_xml => log => ...

The proposed patch does not try to load any existing 'log' module and use a standalone function (output directly to console).
Comment 1 Simon Bernard CLA 2012-04-17 06:40:02 EDT
fix in 5ba3385055595b2ae2e9f1c2dc06f651ad12a047