Re: [webkit-dev] https pages crashes WebKit(GTK+DFB) on ARM

2008-03-06 Thread Mike Emmel
What is the gcc version ?
Can you try with the lastest.

On Thu, Mar 6, 2008 at 6:31 AM, Srinivas Rao M Hamse
[EMAIL PROTECTED] wrote:
 Forwarding the message to the list with some more debugging information.

 Hi,


 The backtrace is finally available. From this i i think it is crashing in
 Balloc() function. We have enabled swap, And when the crash happened there
 was ample amount of memory free in the system. This crash is consistently
 reproducible on ARM.

 crash point is at

  JavaScriptCore/kjs/dtoa.cpp:522
  The pointer of freenode is corrupted value.

  (gdb) p freelist[k]
  $2 = (Bigint *) 0x3000
  (gdb) p freelist
  $24 = {0x1bbe30, 0x30303030 repeats 13 times, 0x3000, 0x0}
  (gdb) p rv
  $25 = (Bigint *) 0x3000
  (gdb) p rv-next
  Cannot access memory at address 0x3000
  (gdb) p *rv



  Here is the output of meminfo ofter the crash.

   # cat /proc/meminfo
  MemTotal:73400 kB
 MemFree:  1600 kB
 Buffers: 0 kB
  Cached:   2692 kB
  SwapCached:  29888 kB
  Active:  48352 kB
  Inactive: 6736 kB
  HighTotal:   0 kB
  HighFree:0 kB
  LowTotal:73400 kB
  LowFree:  1600 kB
  SwapTotal: 1953464 kB
 SwapFree:  1794440 kB
  Dirty:   0 kB
  Writeback:   0 kB
  AnonPages:   49020 kB
  Mapped:   1592 kB
  Slab: 2376 kB
  PageTables:568 kB
  NFS_Unstable:0 kB
  Bounce:  0 kB
  CommitLimit:   1990164 kB
  Committed_AS:   219836 kB
  VmallocTotal:   454656 kB
  VmallocUsed:   968 kB
  VmallocChunk:   453688 kB


  Here is the gdb console output [ .. pretty long trace .. i thought it will
 be useful for analysis,  excuse me for that ...]

   # /data/srini/gdb ./GtkLauncher
  GNU gdb 6.6
  Copyright (C) 2006 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you
 are
  welcome to change it and/or distribute copies of it under certain
 conditions.
  Type show copying to see the conditions.
  There is absolutely no warranty for GDB.  Type show warranty for details.
  This GDB was configured as arm-linux...
  Using host libthread_db library /lib/libthread_db.so.1.
  (gdb) r https://sourceforge.net
  Starting program:
 /home/srinirao/docs/webkit/WebKit-r30790.davinci.directfb/debug_gbuild/Programs/.libs/GtkLauncher
 https://sourceforge.net
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [Thread debugging using libthread_db enabled]
  [New Thread 16384 (LWP 1184)]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]


  ===|  DirectFB 1.1.1  |===
   (c) 2001-2007  The DirectFB Organization (directfb.org)
(c) 2000-2004  Convergence (integrated media) GmbH
 

  (*) DirectFB/Core: Single Application Core. (2008-03-06 11:15)
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [New Thread 32769 (LWP 1211)]
  [New Thread 16386 (LWP 1218)]
  (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1218)...
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]

  init_ir_loop
 Inintializing IR
  [New Thread 32771 (LWP 1219)]
  msp430lib_set_params: success
  [New Thread 49156 (LWP 1220)]
  [New Thread 65541 (LWP 1221)]
  [New Thread 81926 (LWP 1222)]
   got DAVINCI_GPIO_IRQ_WAIT ioctl ...
  [New Thread 98311 (LWP 1223)]
  (*) Direct/Thread: Running 'LiRC Input' (INPUT, 1223)...
  (*) DirectFB/Input: LIRC Device 0.2 (directfb.or got DAVINCI_GPIO_IRQ_WAIT
 ioctl ...

 g)

  (!) Direct/Modules: Could not open module directory
 `/home/srinirao/directfb/lib/directfb-1.1-0-pure/gfxdrivers'!
 -- No such file or directory
  (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  [tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]

 (*) DirectFB/Core/WM: Default 0.3 (directfb.org)
  (*) FBDev/Mode: Testing 720x480 RGB16
 (*) FBDev/Mode: Preparing switch to 720x480 RGB16
  (*) FBDev/Mode: Testing 720x480 RGB16
  (*) FBDev/Mode: Preparin got 

Re: [webkit-dev] https pages crashes WebKit(GTK+DFB) on ARM

2008-03-06 Thread Mike Emmel
Ohh and make sure curl is compiled with ssl support sorry forgot that part.
I was seeing crashes in the old curl driver is ssl was disabled.


On Thu, Mar 6, 2008 at 8:31 AM, Mike Emmel [EMAIL PROTECTED] wrote:
 What is the gcc version ?
  Can you try with the lastest.

  On Thu, Mar 6, 2008 at 6:31 AM, Srinivas Rao M Hamse


 [EMAIL PROTECTED] wrote:
   Forwarding the message to the list with some more debugging information.
  
   Hi,
  
  
   The backtrace is finally available. From this i i think it is crashing in
   Balloc() function. We have enabled swap, And when the crash happened there
   was ample amount of memory free in the system. This crash is consistently
   reproducible on ARM.
  
   crash point is at
  
JavaScriptCore/kjs/dtoa.cpp:522
The pointer of freenode is corrupted value.
  
(gdb) p freelist[k]
$2 = (Bigint *) 0x3000
(gdb) p freelist
$24 = {0x1bbe30, 0x30303030 repeats 13 times, 0x3000, 0x0}
(gdb) p rv
$25 = (Bigint *) 0x3000
(gdb) p rv-next
Cannot access memory at address 0x3000
(gdb) p *rv
  
  
  
Here is the output of meminfo ofter the crash.
  
 # cat /proc/meminfo
MemTotal:73400 kB
   MemFree:  1600 kB
   Buffers: 0 kB
Cached:   2692 kB
SwapCached:  29888 kB
Active:  48352 kB
Inactive: 6736 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:73400 kB
LowFree:  1600 kB
SwapTotal: 1953464 kB
   SwapFree:  1794440 kB
Dirty:   0 kB
Writeback:   0 kB
AnonPages:   49020 kB
Mapped:   1592 kB
Slab: 2376 kB
PageTables:568 kB
NFS_Unstable:0 kB
Bounce:  0 kB
CommitLimit:   1990164 kB
Committed_AS:   219836 kB
VmallocTotal:   454656 kB
VmallocUsed:   968 kB
VmallocChunk:   453688 kB
  
  
Here is the gdb console output [ .. pretty long trace .. i thought it will
   be useful for analysis,  excuse me for that ...]
  
 # /data/srini/gdb ./GtkLauncher
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
   are
welcome to change it and/or distribute copies of it under certain
   conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for 
 details.
This GDB was configured as arm-linux...
Using host libthread_db library /lib/libthread_db.so.1.
(gdb) r https://sourceforge.net
Starting program:
   
 /home/srinirao/docs/webkit/WebKit-r30790.davinci.directfb/debug_gbuild/Programs/.libs/GtkLauncher
   https://sourceforge.net
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 1184)]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  
  
===|  DirectFB 1.1.1  |===
 (c) 2001-2007  The DirectFB Organization (directfb.org)
  (c) 2000-2004  Convergence (integrated media) GmbH
   
  
(*) DirectFB/Core: Single Application Core. (2008-03-06 11:15)
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[New Thread 32769 (LWP 1211)]
[New Thread 16386 (LWP 1218)]
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 1218)...
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
[tcsetpgrp failed in terminal_inferior: Inappropriate ioctl for device]
  
init_ir_loop
   Inintializing IR
[New Thread 32771 (LWP 1219)]
msp430lib_set_params: success
[New Thread 49156 (LWP 1220)]
[New Thread 65541 (LWP 1221)]
[New Thread 81926 (LWP 1222)]
 got DAVINCI_GPIO_IRQ_WAIT ioctl ...
[New Thread 98311 (LWP 1223)]
(*) Direct/Thread: Running 'LiRC Input' (INPUT, 1223)...
(*) DirectFB/Input: LIRC Device 0.2 (directfb.or got DAVINCI_GPIO_IRQ_WAIT
   ioctl ...
  
   g)
  
(!) Direct/Modules: Could not open module directory
   `/home/srinirao/directfb/lib/directfb-1.1-0-pure/gfxdrivers'!
   -- No such 

[webkit-dev] https pages crashes WebKit(GTK+DFB) on ARM

2008-03-05 Thread Srinivas Rao M Hamse
Hi

I am trying to run WebKit-r30790 build on ARM target. I have disabled server
Peer certification by setting the environment variable
WEBKIT_IGNORE_SSL_ERRORS while running.

with this setup, I am able to open simple https sites like

*https://horizon.opensrs.net*

But webkit crashes when i open sites like

* https://opensrs.net
 https://sourceforge.net*
* https://mail.google.com*

It segfaults after dumping the following log on console:

 # pwd
 /sr/docs/webkit/WebKit-r30790.davinci.directfb/debugbuild/Programs/.libs
 #
 # ./GtkLauncher https://sourceforge.net

 ===|  DirectFB 1.1.1  |===
  (c) 2001-2007  The DirectFB Organization (directfb.org)
  (c) 2000-2004  Convergence (integrated media) GmbH


(*) DirectFB/Core: Single Application Core. (2008-02-26 11:33)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2945)...
init_ir_loop
Inintializing IR
msp430lib_set_params: success
(*) Direct/Thread: Running 'LiRC Input' (INPUT, 2952)...
(*) DirectFB/Input: LIRC Device 0.2 (directfb.org)
(!) Direct/Modules: Could not open module directory
`/home/srinirao/directfb/lib/directfb-1.1-0-pure/gfxdrivers'!
-- No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Surface: Allocated 720x480 16bit RGB16 buffer at offset 0 and
pitch 1440.
(*) FBDev/Mode: (Post)Setting 720x480 RGB16
(*) FBDev/Mode: Switched to 720x480 (720x480) at 16 bit RGB16 (wanted
RGB16).
(*) FBDev/Mode: Testing 720x480 RGB16
(*) FBDev/Mode: Preparing switch to 720x480 RGB16
(*) FBDev/Mode: (Post)Setting 720x480 RGB16
gdkdisplay-directfb.c:122: Getting the return value as 0
(*) Direct/Thread: Running 'EventBufferFeed' (MESSAGING, 2953)...

(GtkLauncher:2921): GdkPixbuf-WARNING **: Cannot open pixbuf loader module
file '/home/srinirao/gtk/etc/gtk-2.0/gdk-pixbuf.loaders': No such file or
director
y

(GtkLauncher:2921): Gdk-DirectFB-WARNING **:
gdk_display_request_selection_notification Unimplemented function


(GtkLauncher:2921): Gdk-DirectFB-WARNING **: gdk_window_set_keep_above() not
implemented.


(GtkLauncher:2921): Gdk-DirectFB-WARNING **: gdk_window_set_keep_below() not
implemented.

(!) [ 2921:0.000] -- Caught signal 11 (at 0x3000, invalid address) --
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241
in fusion_object_pool_destroy()]
 (!!!)  *** WARNING [setting window-stack = NULL] *** [default.c:2894 in
wm_close_stack()]
 (!!!)  *** WARNING [setting window-stack = NULL] *** [default.c:2894 in
wm_close_stack()]
 (!!!)  *** WARNING [setting window-stack = NULL] *** [default.c:2894 in
wm_close_stack()]
 (!!!)  *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
Aborted
 #

But curl application on board  with -k option(Does the same thing) for these
URLs, fetches these pages properly. I feel the crash is happening at some
other module.

Has any one faced the similar issue with https pages ?. Please help.

regards,
Srinivas Rao. M


-- 
Srinivas Rao M Hamse http://msrinirao.blogspot.com/
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev