Bug 37158 - [Qt] QtLauncher crashes when imitating the iPad on mail.google.com
Summary: [Qt] QtLauncher crashes when imitating the iPad on mail.google.com
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P3 Major
Assignee: QtWebKit Unassigned
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-04-06 10:22 PDT by Kenneth Rohde Christiansen
Modified: 2010-05-11 12:45 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Rohde Christiansen 2010-04-06 10:22:01 PDT
Using user agent "Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10" and loading mail.google.com results in the following crash.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe2ac3910 (LWP 5938)]
0x00007ffff3424d98 in ?? () from /usr/lib/libsqlite3.so.0
(gdb) bt
#0  0x00007ffff3424d98 in ?? () from /usr/lib/libsqlite3.so.0
#1  0x00007ffff34160b3 in ?? () from /usr/lib/libsqlite3.so.0
#2  0x00007ffff3416104 in ?? () from /usr/lib/libsqlite3.so.0
#3  0x00007ffff34160ea in ?? () from /usr/lib/libsqlite3.so.0
#4  0x00007ffff3423ed9 in ?? () from /usr/lib/libsqlite3.so.0
#5  0x00007ffff3459015 in ?? () from /usr/lib/libsqlite3.so.0
#6  0x00007ffff3458b16 in ?? () from /usr/lib/libsqlite3.so.0
#7  0x00007ffff34578fe in ?? () from /usr/lib/libsqlite3.so.0
#8  0x00007ffff34589f2 in ?? () from /usr/lib/libsqlite3.so.0
#9  0x00007ffff346ac49 in ?? () from /usr/lib/libsqlite3.so.0
#10 0x00007ffff345b0e4 in ?? () from /usr/lib/libsqlite3.so.0
#11 0x00007ffff345d098 in ?? () from /usr/lib/libsqlite3.so.0
#12 0x00007ffff345f492 in ?? () from /usr/lib/libsqlite3.so.0
#13 0x00007ffff345f720 in ?? () from /usr/lib/libsqlite3.so.0
#14 0x00007ffff345f806 in ?? () from /usr/lib/libsqlite3.so.0
#15 0x00007ffff73c9c4e in WebCore::SQLiteStatement::prepare() () from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#16 0x00007ffff73e3029 in WebCore::SQLStatement::execute(WebCore::Database*) ()
   from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#17 0x00007ffff73e611a in WebCore::SQLTransaction::runCurrentStatement() ()
   from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#18 0x00007ffff73e61fd in WebCore::SQLTransaction::runStatements() () from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#19 0x00007ffff73e4c41 in WebCore::SQLTransaction::performNextStep() ()
   from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#20 0x00007ffff73d2bba in WebCore::DatabaseTransactionTask::doPerformTask() ()
   from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#21 0x00007ffff73d2d16 in WebCore::DatabaseTask::performTask() () from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#22 0x00007ffff73d3fa7 in WebCore::DatabaseThread::databaseThread() ()
   from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#23 0x00007ffff761c85b in WTF::ThreadPrivate::run() () from /home/kenneth/repo/Qt/WebKitBuild/Release/bin/../lib/libQtWebKit.so.4
#24 0x00007ffff490862d in QThreadPrivate::start (arg=0xc000a0) at /home/kenneth/repo/Qt/qt/src/corelib/thread/qthread_unix.cpp:248
#25 0x00007ffff43bca04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#26 0x00007ffff397b80d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()
Comment 1 Laszlo Gombos 2010-04-06 10:38:02 PDT
Could bug 36671 be related ? Kenneth, did you had that fix when you tried (also empty all your persistent stuff before tying).
Comment 2 Kenneth Rohde Christiansen 2010-04-06 12:22:44 PDT
I have the patch yes and I did a 
rm /home/kenneth/.local/share/data/Nokia/QtLauncher -rf

Same issue.
Comment 3 Simon Hausmann 2010-05-06 06:08:37 PDT
I can't reproduce it with r58875 on Linux with a debug build.

Kenneth, do you have a debug build that might give some more information on what's going wrong?
Comment 4 Kenneth Rohde Christiansen 2010-05-06 07:14:44 PDT
I will try it again and if not test it with debug.
Comment 5 Kenneth Rohde Christiansen 2010-05-11 12:36:49 PDT
Trying to reproduce, but I cannot even log in anymore when setting UA to ipad.
Comment 6 Kenneth Rohde Christiansen 2010-05-11 12:39:15 PDT
Changing back UA and logging in and then changing to iPad UI, logs in, and I can confirm that it does not crash any longer on Linux.
Comment 7 Jesus Sanchez-Palencia 2010-05-11 12:45:57 PDT
Works on Mac (Snow Leopard).