GNOME Bugzilla – Bug 594717
segfault during migration
Last modified: 2009-09-17 07:08:41 UTC
I got a segfault when I first ran webkit port. Probably due to out of array access
Created attachment 142857 [details] [review] Patch that works for me
Mmm, would you mind telling me how is your passwords file structured? You have no passwords?
I have a few. There is one entry in with blank username (host www.google.com) though (don't know how that happened)
(In reply to comment #3) > I have a few. There is one entry in with blank username (host www.google.com) > though (don't know how that happened) But is the file correctly formed otherwise? There should be a dot at the end of every chunk of URLs/login/passwords. Because it really seems that this is not the case here.
And anyway, it would be good to know in which line did it crash exactly :)
Created attachment 142860 [details] gecko-passwords.txt
(In reply to comment #5) > And anyway, it would be good to know in which line did it crash exactly :) Line 186 ephy-profile-migration.c while (lines[end] && !g_str_equal (lines[end], "."))
Thanks, I have fixed this differenly in master now, but the code was indeed broken :)
*** Bug 594740 has been marked as a duplicate of this bug. ***
*** Bug 595399 has been marked as a duplicate of this bug. ***