Ticket #238 (closed enhancement: fixed)

Opened 2 months ago

Last modified 2 days ago

HANDLING SEGV (11) SIGNAL

Reported by: deepak.m Assigned to: deepak.m
Priority: minor Milestone: Galekid
Component: Browser Improvement Version: 1.0
Keywords: Cc:
Number of hours worked: % Complete: 100
Number of hours remaining:

Description

Whenever i get signal 11 (SEGV) my display screen get stuck and after that it wil not allow me to rerun owb and i need to restart my board to run own again ..

Attachments

main.patch (354 bytes) - added by deepak.m on 06/23/08 12:48:48.
patch to main.cpp
sigsegv.patch (1.0 kB) - added by deepak.m on 07/02/08 13:59:52.
REGULAR PATCH PLEASE SOMEBODY CREATE OFFICIAL PATCH

Change History

06/23/08 12:48:48 changed by deepak.m

  • attachment main.patch added.

patch to main.cpp

06/23/08 12:52:26 changed by deepak.m

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

APPLY ABOVE PATCH .. PLEASE REVIEW BEFORE PATCHING ..

06/23/08 14:02:22 changed by mbensi

  • status changed from closed to reopened.
  • resolution deleted.

patch rejected : you must use WebKitTools/Scripts/prepare-ChangeLog-owb and add your changes in ChangeLogOWB ( you have the changeLogOWB list modify after the prepare-ChangeLog-owb ) and use WebKitTools/Scripts/svn-create-patch > your.patch

attach your.patch here

You must do this on the root of your project.

only the patches on Doduo will be validate.

07/02/08 11:36:50 changed by jcverdie

  • owner changed from jcverdie to deepak.m.
  • status changed from reopened to new.

Deepak, do you encounter issues following the process above?

07/02/08 12:51:26 changed by deepak.m

I found that in doduo release in main.cpp there is no SIGSEGV signal catcher is defined so this wil not be a problem in doduo but i added

in file WebkitTool/ORIGYNBROWSER/SDL/main.cpp

199 int main (int argc, char* argv[]) 200 { 201 signal(SIGSEGV, &signalCatcher); =============== > added line in main.cpp

============> and defined a signal catcher in main.cpp

45 #include <SDL/SDL_gfxPrimitives.h> ===> FIXME required ?,in my old patch i forgot to add this line :(

52 void signalCatcher(int signum) 53 { 54 printf("signal %d catched: abort.\n", signum); 55 //BEFORE YOU ABORT QUIT SDL 56 SDL_QuitSubSystem(SDL_INIT_VIDEO); 57 SDL_Quit(); 58 abort(); 59 }

If you can prepare a patch please do it .. this what you have to add in main.cpp i am not able to create patch using owb scripts im finding difficult in that ..

THANK YOU

07/02/08 12:53:15 changed by deepak.m

sorry those 199 200 45 53 etc are line numbers ... neglect those numbers

07/02/08 13:59:52 changed by deepak.m

  • attachment sigsegv.patch added.

REGULAR PATCH PLEASE SOMEBODY CREATE OFFICIAL PATCH

08/19/08 12:26:43 changed by mbensi

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

revision 446