Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.3.x MessageType.Error: Error: access violation accessing 0x21 #187

Open
HyperClockUp opened this issue Sep 22, 2023 · 5 comments
Open

Comments

@HyperClockUp
Copy link

11:24:17 ERR SidecarBody [SCRIPT_MESSAGRE_HANDLER_SYMBOL]() MessageType.Error: Error: access violation accessing 0x21
    at <anonymous> (frida/runtime/core.js:141)
    at onEnter (/script1.js:449)
node:events:491
      throw er; // Unhandled 'error' event
      ^

F:\code\oneRobot\node_modules\gerror\src\gerror\gerror.ts:69
      const e = new Error(payload)
                ^

GError: {}
    at Function.from (F:\code\oneRobot\node_modules\gerror\src\gerror\gerror.ts:69:17)
    at PuppetXp.emit (F:\code\oneRobot\node_modules\wechaty-puppet\src\puppet\puppet-skeleton.ts:131:21)
    at WeChatSidecar.<anonymous> (F:\code\oneRobot\node_modules\wechaty-puppet-xp\src\puppet-xp.ts:139:40)
    at WeChatSidecar.emit (node:events:513:28)
    at WeChatSidecar.emit (node:domain:489:12)
    at WeChatSidecar.[scriptMessageHandler] (F:\code\oneRobot\node_modules\sidecar\src\sidecar-body\sidecar-body.ts:406:16)
    at <anonymous> (f:\code\oneRobot\node_modules\frida\dist\script.js:95:21)
Emitted 'error' event on WechatyImpl instance at:
      return super.emit('error', gerror)
                   ^

Error
    at WechatyImpl.emit (F:\code\oneRobot\node_modules\wechaty\src\wechaty-mixins\gerror-mixin.ts:60:20)
    at PuppetXp.<anonymous> (F:\code\oneRobot\node_modules\wechaty\src\wechaty-mixins\puppet-mixin.ts:212:20)
    at PuppetXp.emit (node:events:513:28)
    at PuppetXp.emit (node:domain:489:12)
    at PuppetXp.emit (F:\code\oneRobot\node_modules\wechaty-puppet\src\puppet\puppet-skeleton.ts:142:18)
    at WeChatSidecar.<anonymous> (F:\code\oneRobot\node_modules\wechaty-puppet-xp\src\puppet-xp.ts:139:40)
    [... lines matching original stack trace ...]
    at <anonymous> (f:\code\oneRobot\node_modules\frida\dist\script.js:95:21) {
  code: 2,
  details: 'F:\\code\\oneRobot\\node_modules\\gerror\\src\\gerror\\gerror.ts:69\n' +
    '      const e = new Error(payload)\n' +
    '                ^\n' +
    '\n' +
    'GError: {}\n' +
    '    at Function.from (F:\\code\\oneRobot\\node_modules\\gerror\\src\\gerror\\gerror.ts:69:17)\n' +
    '    at PuppetXp.emit (F:\\code\\oneRobot\\node_modules\\wechaty-puppet\\src\\puppet\\puppet-skeleton.ts:131:21)\n' +
    '    at WeChatSidecar.<anonymous> (F:\\code\\oneRobot\\node_modules\\wechaty-puppet-xp\\src\\puppet-xp.ts:139:40)\n' +
    '    at WeChatSidecar.emit (node:events:513:28)\n' +
    '    at WeChatSidecar.emit (node:domain:489:12)\n' +
    '    at WeChatSidecar.[scriptMessageHandler] (F:\\code\\oneRobot\\node_modules\\sidecar\\src\\sidecar-body\\sidecar-body.ts:406:16)\n' +
    '    at <anonymous> (f:\\code\\oneRobot\\node_modules\\frida\\dist\\script.js:95:21)'
}
error Command failed with exit code 1.
@atorber
Copy link
Collaborator

atorber commented Sep 22, 2023

Have you upgraded the WeChat client to 3.9.2.23?

@HyperClockUp
Copy link
Author

HyperClockUp commented Sep 22, 2023

Have you upgraded the WeChat client to 3.9.2.23?

yes,I download the WeChat from the README.

To prevent problems caused by other dependencies, I first used yarn upgrade to keep wechaty the latest version.
And then I executed yarn add wechaty-puppet-xp@next.

This error does not occur every time, sometimes during startup (but you can see the printed log of the contact list), and sometimes after a successful run of about a minute.

But when I downgrade back to the previous version, everything goes well.

@blacklips
Copy link

It must appear when it receives the picture

@MungJI
Copy link

MungJI commented Oct 21, 2023

It must appear when it receives the picture

I also have this error @atorber

@danni-cool
Copy link
Member

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants