isaacandy / waze-qt

Automatically exported from code.google.com/p/waze-qt
2 stars 2 forks source link

TMO user @gianko - report of std::bad_alloc #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All versions to date have failed to run on @gianko's N900 and waze crash with 
std::bad_alloc exception

Original issue reported on code.google.com by damageds...@gmail.com on 6 May 2012 at 8:00

GoogleCodeExporter commented 9 years ago
Attaching deb with extra debugs which wrap all c++ memory allocation calls.

Waze should be run from command line and prior to the crash a line of the 
following format should appear:
<code file name>:<line in code> BAD

Original comment by damageds...@gmail.com on 6 May 2012 at 8:05

Attachments:

GoogleCodeExporter commented 9 years ago
New test binary, please install.
As seen from the logs of the previous binary, the problem was around the 
integration with the contacts manager.
I have refactored the contacts accessor and now it might not crash on the 
contacts.
Try to start waze from the command line, if the application starts correctly, 
it still does not mean that I fixed the issue so to verify, open the navigate 
dialog and select to navigate to a contact from the phonebook. If it crashes, 
please post at least 10 lines from the end of command line output.
Note that it will output the first/last names of your contacts, you can remove 
them from the output that you post except for the last one. It might be 
something in the last one that cause the crash. 

Original comment by damageds...@gmail.com on 7 May 2012 at 6:12

Attachments:

GoogleCodeExporter commented 9 years ago
Another new test binary - according to the log it seems that QContactManager 
does not initialize correctly.
So, now it should print the following message:
Failed to initilize QContactManager instance with <...> error

Hopefully, this will tell me what is the error so I can fix.

Original comment by damageds...@gmail.com on 8 May 2012 at 7:24

Attachments:

GoogleCodeExporter commented 9 years ago
Another test binary, this time I changed the code some more to be maemo 
specific as shown here: 
http://doc.qt.nokia.com/4.7-snapshot/demos-mobile-qcamera-businesscardhandling-c
pp.html

Please try to install and see if it solved this issue.

Original comment by damageds...@gmail.com on 10 May 2012 at 4:06

Attachments:

GoogleCodeExporter commented 9 years ago
Apparently it was a currpoted contact in the address book - other applications 
like yappari (whatsapp for N900) suffer from the same issue

Original comment by damageds...@gmail.com on 12 Jun 2012 at 1:58