VirtualBox

Changeset 21117 in vbox for trunk


Ignore:
Timestamp:
Jul 1, 2009 12:44:18 PM (16 years ago)
Author:
vboxsync
Message:

xpcom: fix logging crashes caused by bitness issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp

    r21113 r21117  
    20962096  const char *name;
    20972097  mIInfo->GetNameShared(&name);
    2098   LOG(("{%p} DConnectStub::<dtor>(): peer=%d instance=%p {%s}\n",
     2098  LOG(("{%p} DConnectStub::<dtor>(): peer=%d instance=%#llx {%s}\n",
    20992099       this, mPeerID, mInstance, name));
    21002100#endif
     
    22932293    iinfoQ->GetNameShared(&nameQ);
    22942294    LOG(("calling QueryInterface {%s} on peer object "
    2295          "(stub=%p, instance=%p {%s})\n",
     2295         "(stub=%p, instance=%#llx {%s})\n",
    22962296         nameQ, this, mInstance, name));
    22972297  }
     
    23682368  PRUint8 i, paramCount = aInfo->GetParamCount();
    23692369
    2370   LOG(("  instance=%p\n", mInstance));
     2370  LOG(("  instance=%#llx\n", mInstance));
    23712371  LOG(("  name=%s\n", aInfo->GetName()));
    23722372  LOG(("  param-count=%u\n", (PRUint32) paramCount));
     
    25952595    const DConnectSetupReply *reply = (const DConnectSetupReply *) op;
    25962596
    2597     LOG(("got SETUP_REPLY: status=%x instance=%p\n", reply->status, reply->instance));
     2597    LOG(("got SETUP_REPLY: status=%x instance=%#llx\n", reply->status, reply->instance));
    25982598
    25992599    mStatus = reply->status;
     
    31223122  stub->GetInterfaceInfo(getter_AddRefs(iinfo));
    31233123  iinfo->GetNameShared(&name);
    3124   LOG(("ipcDConnectService::StoreStub(): stub=%p instance=%p {%s}\n",
     3124  LOG(("ipcDConnectService::StoreStub(): stub=%p instance=%#llx {%s}\n",
    31253125       stub, stub->Instance(), name));
    31263126#endif
     
    31383138  stub->GetInterfaceInfo(getter_AddRefs(iinfo));
    31393139  iinfo->GetNameShared(&name);
    3140   LOG(("ipcDConnectService::DeleteStub(): stub=%p instance=%p {%s}\n",
     3140  LOG(("ipcDConnectService::DeleteStub(): stub=%p instance=%#llx {%s}\n",
    31413141       stub, stub->Instance(), name));
    31423142#endif
     
    36213621ipcDConnectService::OnRelease(PRUint32 peer, const DConnectRelease *release)
    36223622{
    3623   LOG(("ipcDConnectService::OnRelease [peer=%u instance=%p]\n",
     3623  LOG(("ipcDConnectService::OnRelease [peer=%u instance=%#llx]\n",
    36243624       peer, release->instance));
    36253625
     
    36563656ipcDConnectService::OnInvoke(PRUint32 peer, const DConnectInvoke *invoke, PRUint32 opLen)
    36573657{
    3658   LOG(("ipcDConnectService::OnInvoke [peer=%u instance=%p method=%u]\n",
     3658  LOG(("ipcDConnectService::OnInvoke [peer=%u instance=%#llx method=%u]\n",
    36593659      peer, invoke->instance, invoke->method_index));
    36603660
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette