Ticket #275 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

Crash when go back

Reported by: odole Assigned to: mbensi
Priority: minor Milestone: Galekid
Component: Bug Fix Version: 1.0
Keywords: SDL crash history Cc:
Number of hours worked: 2 % Complete: 00
Number of hours remaining:

Description

Launch owb (SDL version only), click on "news" link on google, then click on "video" link and try to go back (F1 key). You get a segfault.
This crash is due to data member (WidgetPrivate class) in widget (BAL/WKAL/Concretizations/Widgets/SDL/BCWidgetSDL.cpp). data address changes for an unknown reason and so an invalid address is assigned to the pointer and we get a crash.

Attachments

back.patch (1.8 kB) - added by mbensi on 07/31/08 10:59:03.

Change History

07/31/08 09:24:52 changed by mbensi

the problem is the update after the goBack in WebViewPrivate

m_webView->goBack();
view->update();

but if you remove the view->update(), you have a refresh problem, on google.com click on "news" link, search a news, go back (F1), it's ok, go back and you see nothing but if you move the mouse on screen you can see the text field of google.

the page is here but not visible... i have try to use the event but it's not fix the problem...

07/31/08 10:11:55 changed by odole

If I comment:

view->update();

in WebViewPrivate, it perfectly works without refresh bug :S

07/31/08 10:21:50 changed by jcverdie

with the same fix I have neither a crash nor a refresh issue (rev 419, compil SDL on MacPorts)

07/31/08 10:59:03 changed by mbensi

  • attachment back.patch added.

07/31/08 14:58:16 changed by jcverdie

  • status changed from new to closed.
  • resolution set to fixed.

commited at [425]