<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>51123</bug_id>
          
          <creation_ts>2010-12-15 11:43:01 -0800</creation_ts>
          <short_desc>[Qt][WK2][Symbian] Crash in QLocalSocket/QLocalServer based implementation of IPC</short_desc>
          <delta_ts>2011-03-03 12:30:45 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>S60 Hardware</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>50251</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Siddharth Mathur">s.mathur</reporter>
          <assigned_to name="Siddharth Mathur">s.mathur</assigned_to>
          <cc>markus</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>322721</commentid>
    <comment_count>0</comment_count>
    <who name="Siddharth Mathur">s.mathur</who>
    <bug_when>2010-12-15 11:43:01 -0800</bug_when>
    <thetext>Qt MiniBrowser and QtWebProcess fail to communicate due to a null pointer deref (R0 is zero). I will gather the call stack later after returning from my vacation. 
Based purely on trace messages, the cause might be: 
(a) the socket used by the (unix domain) socket server/client was closed by the &quot;hack&quot; code in qeventdispatcher_symbian.cpp (see the debug message &quot;[Qt Message] exception on 8 [will close the socket handle - hack]&quot;) 
(b) one of the Platsec messages preventing QtWebProcess working with the File Server had something to do with the issue. Unfortunately traceCore truncated the messages, grr!

00:06:59.627	*PlatSec* ERROR - Capability check failed - A Message (function number=0x00000016) from Thread QtWebProcess[a000e543]0004::QtWebProcess, sent to Server !FileServer, was checked by Thread efile.exe[100039e3]0001::Main and was found to be missing
00:06:59.629	*PlatSec* ERROR - Capability check failed - A Message (function number=0x00000016) from Thread QtWebProcess[a000e543]0004::QtWebProcess, sent to Server !FileServer, was checked by Thread efile.exe[100039e3]0001::Main and was found to be missing
00:07:00.087	Exc 1 Cpsr=60000010 FAR=00000000 FSR=00000805   
00:07:00.087	 R0=00000000  R1=00515944  R2=00000002  R3=00000000
00:07:00.087	 R4=005159a0  R5=00000000  R6=00000000  R7=00632230
00:07:00.087	 R8=7c76ad50  R9=00633474 R10=00515a54 R11=00000000
00:07:00.087	R12=0062ed98 R13=00515938 R14=7d3279d3 R15=7c76ad30
00:07:00.087	R13Svc=92682000 R14Svc=80060ab0 SpsrSvc=60000010    
00:07:00.087	Thread QtWebProcess::QtWebProcess, KernCSLocked=0   
00:07:00.087	Thread full name=QtWebProcess::QtWebProcess
00:07:00.087	Thread ID=706, KernCSLocked=0   
00:07:00.087	Thread QtWebProcess::QtWebProcess Panic KERN-EXEC 3
00:07:00.088	Thread QtWebProcess::Local-c87a1b20 Panic KERN-EXEC 3   
00:07:00.088	Thread QtWebProcess::0c601e0008200e5d Panic KERN-EXEC 3
00:07:00.088	Thread QtWebProcess::0c6028c85569abf9 Panic KERN-EXEC 3
00:07:00.088	Thread QtWebProcess::0c602e18b8170acb Panic KERN-EXEC 3
00:07:00.249	[Qt Message] exception on 8 [will close the socket handle - hack]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>322722</commentid>
    <comment_count>1</comment_count>
    <who name="Siddharth Mathur">s.mathur</who>
    <bug_when>2010-12-15 11:46:51 -0800</bug_when>
    <thetext>For Symbian, we may have to do the CoreIPC using native Symbian RSocket API, or move Qt&apos;s implementation of QLocalServer and QLocalSocket to use TCP sockets rather than Unix-domain sockets as is currently the case. OpenC != mission critical stuff. 
(It seems we need reliable as well as asynch message passing here, with a variable size payload, so Symbian message queues don&apos;t look like an option)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>329495</commentid>
    <comment_count>2</comment_count>
    <who name="Markus Goetz">markus</who>
    <bug_when>2011-01-05 02:35:33 -0800</bug_when>
    <thetext>Related to http://bugreports.qt.nokia.com/browse/QTBUG-16441</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361835</commentid>
    <comment_count>3</comment_count>
    <who name="Siddharth Mathur">s.mathur</who>
    <bug_when>2011-03-03 12:30:45 -0800</bug_when>
    <thetext>The Symbian port of WebKit2 is being reworked, so this bug report doesn&apos;t need to clog the system at this time. I will reopen later if necessary.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>