[Webkit-unassigned] [Bug 30777] New: [Qt] Use "%lli" to format "long long" on WIN_OS to fix HTML5 WebDB crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 26 08:54:40 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30777

           Summary: [Qt] Use "%lli" to format "long long" on WIN_OS to fix
                    HTML5 WebDB crash
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: laszlo.1.gombos at nokia.com


To reproduce the original crash do the following:
 - Build QtWebKit on Windows in debug mode
 - Launch QtLauncher and navigate to http://html5demos.com/database

The crash backtrace revealed that SQLiteDatabase::setMaximumSize failed as
"PRAGMA max_page_count .." SQLiteStatement was malformed because
String::number(newMaxPageCount) returned "%I64u". This is because on WIN_OS
"long long" is formatted using "%I64u" and Qt's QString::vsprintf does not
seems to understand this format string.

Using the "%lli" to format "long long" types fixes the problem.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list