weimingtom / nekonme

Automatically exported from code.google.com/p/nekonme
0 stars 0 forks source link

Lib.getURL() crashes on Blackberry target #275

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Open an url in a webbrowser with Lib.getURL() on blackberry target.
2.Browser launches and display the url.
3.Get back to the NME application.

What is the expected output?
App should be running.

What do you see instead?
SegFault on bps_free(err) call and app crashes.
line 88 : project/blackberry/System.cpp

What version of the product are you using? On what operating system?

WIN7, NME 3.4.4, HXCPP 2.10.2, Blackberry playbook 2.1.0, Blackberry Native SDK 
2.1.0 

Please provide any additional information below.

initialize err pointer with NULL on line 84 in System.cpp :

-- char* err;
++ char* err = NULL;

so bps_free() will work.

Original issue reported on code.google.com by web.goo...@beltramo.me on 20 Nov 2012 at 1:46

GoogleCodeExporter commented 9 years ago
forgot the patch.

Original comment by web.goo...@beltramo.me on 20 Nov 2012 at 2:06

Attachments: