Consumer closed input channel or an error occurred. events=0x8

将代码移植到android的过程中出现了一个问题:

04-18 15:30:54.854: E/InputDispatcher(1568): channel '407d93b0 com.mobiap.casino/com.mobiap.casino.android_casino (server)' ~ Consumer closed input channel or an error occurred. events=0x8
04-18 15:30:54.854: E/InputDispatcher(1568): channel '407d93b0 com.mobiap.casino/com.mobiap.casino.android_casino (server)' ~ Channel is unrecoverably broken and will be disposed!

我用的是魅族M9,系统为2.3的,coco2d-x版本为2.0.1的

经过baidu+google后,搜索到了以下几种解决方案:

1.由于横竖屏切换导致出现该错误。(找到最多的一种解决方案)

具体修正方法为:在manifest.xml中设置android:launchMode="singleTask" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden"

结果:果然不行!在进行过以上设置后发现,该咋样还是咋样,查找程序代码发现根本就不是进行了横竖屏的切换,该方法放弃,继续搜索。

2.将sd卡中的缓存删掉。

操作:果断删之,连程序都给卸了。

结果:果然还是不行,总不能将系统给重装吧!

3.网上说是2.3系统的bug

操作:这。。。

结果:继续找吧!

4.找到cocos2d-x官网论坛中的一个老外的帖子,其出现的结果跟我一模一样啊,内容如下:

WIN DEATH: but why?

发帖数

49

由 Ron Mobi 在 5 个月 之前添加

Hi, two days i try to avoid this error :( After this my app closes.

04-18 15:30:54.404: I/DEBUG*
04-18 15:30:54.404: I/DEBUG: Build fingerprint: 'lge/thunderg/thunderg:2.3.3/GRI40/LG-P500-V20c.19C1E59AC2:user/ota-rel-keys,release-keys'
04-18 15:30:54.404: I/DEBUG: >>> com.mobiap.casino <<<
04-18 15:30:54.404: I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
04-18 15:30:54.404: I/DEBUG: r0 ffffffff r1 73746000 r2 00000004 r3 ffff0ff0
04-18 15:30:54.414: I/DEBUG: r4 00000000 r5 73746000 r6 afd46470 r7 00000000
04-18 15:30:54.414: I/DEBUG: r8 aca4a965 r9 00098450 10 00100000 fp 00000001
04-18 15:30:54.414: I/DEBUG: ip afd24579 sp 100ffe28 lr afd24571 pc aca652c2 cpsr 80000030
04-18 15:30:54.414: I/DEBUG: d0 400000003eaaaaab d1 3ff0000041f00000
04-18 15:30:54.424: I/DEBUG: d2 bfd3441350baf6de d3 c1493000c1323800
04-18 15:30:54.424: I/DEBUG: d4 4900000040f7b000 d5 000000000007bd80
04-18 15:30:54.424: I/DEBUG: d6 4515a00000000800 d7 40800000c48ee000
04-18 15:30:54.424: I/DEBUG: d8 0000000000000000 d9 0000000000000000
04-18 15:30:54.424: I/DEBUG: d10 0000000000000000 d11 0000000000000000
04-18 15:30:54.424: I/DEBUG: d12 0000000000000000 d13 0000000000000000
04-18 15:30:54.424: I/DEBUG: d14 0000000000000000 d15 0000000000000000
04-18 15:30:54.424: I/DEBUG: scr 80000012
04-18 15:30:54.534: I/DEBUG: #00 pc 000652c2 /system/lib/libdvm.so
04-18 15:30:54.534: I/DEBUG: #01 lr afd24571 /system/lib/libc.so
04-18 15:30:54.534: I/DEBUG: code around pc:
04-18 15:30:54.534: I/DEBUG: aca652a0 000267ab 4b09b570 0b0d1c14 0b1018c2 
04-18 15:30:54.534: I/DEBUG: aca652b0 032d0300 d20742a8 1c291a2d f7ac2204 
04-18 15:30:54.534: I/DEBUG: aca652c0 6820eaf8 60211941 46c0bd70 00000fff 
04-18 15:30:54.534: I/DEBUG: aca652d0 4b10b5f8 447b1c01 6d066818 d0162900 
04-18 15:30:54.534: I/DEBUG: aca652e0 23001c02 e00b251c 42a16ad4 1c2cd306 
04-18 15:30:54.544: I/DEBUG: code around lr:
04-18 15:30:54.544: I/DEBUG: afd24550 ffffff8c 00028e2e 0000076c 2301b510 
04-18 15:30:54.544: I/DEBUG: afd24560 fdd0f7ff 46c0bd10 1c04b510 fd36f7ed 
04-18 15:30:54.544: I/DEBUG: afd24570 20016004 bd104240 1c03b510 db0233ff 
04-18 15:30:54.544: I/DEBUG: afd24580 f7ff4240 bd10fff1 4d1bb5f0 4f1c4b1b 
04-18 15:30:54.544: I/DEBUG: afd24590 58ea447d 880359ec 88278811 1c0eb087 
04-18 15:30:54.544: I/DEBUG: stack:
04-18 15:30:54.544: I/DEBUG: 100ffde8 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffdec 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffdf0 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffdf4 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffdf8 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffdfc 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffe00 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffe04 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffe08 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffe0c 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffe10 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffe14 00000000 
04-18 15:30:54.544: I/DEBUG: 100ffe18 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe1c afd24587 /system/lib/libc.so
04-18 15:30:54.554: I/DEBUG: 100ffe20 df002777 
04-18 15:30:54.554: I/DEBUG: 100ffe24 e3a070ad 
04-18 15:30:54.554: I/DEBUG: #00 100ffe28 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe2c 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe30 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe34 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe38 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe3c 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe40 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe44 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe48 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe4c 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe50 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe54 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe58 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe5c 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe60 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe64 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe68 00000000 
04-18 15:30:54.554: I/DEBUG: 100ffe6c 00000000 
04-18 15:30:54.674: I/DEBUG: debuggerd committing suicide to free the zombie!
04-18 15:30:54.674: I/BootReceiver(1568): Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
04-18 15:30:54.704: I/DEBUG: debuggerd: Jun 27 2011 23:27:49
04-18 15:30:54.754: D/StatusBarPolicy(1649): [BRIGHTHY] 0. mDataNetType: 2
04-18 15:30:54.754: D/StatusBarPolicy(1649): [BRIGHTHY] curNetwork=25020 curHPLMN=25020
04-18 15:30:54.834: I/ActivityManager(1568): Process com.mobiap.casino (pid 1051) has died.
04-18 15:30:54.854: E/InputDispatcher(1568): channel '407d93b0 com.mobiap.cas

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
07-07 14:44:01.144 1936 3340 W ActivityManager: Force finishing activity com.zhiying.settings/.about.LegalInformationActivity 07-07 14:44:01.152 1936 1936 E PowerManagerService: screensaver enable true 07-07 14:44:01.166 1936 1952 E memtrack: Couldn't load memtrack module 07-07 14:44:01.166 1936 1952 W android.os.Debug: failed to get memory consumption info: -1 07-07 14:44:01.215 1936 2009 W InputDispatcher: channel '5cfd4ab com.zhiying.settings/com.zhiying.settings.about.LegalInformationStartWebActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 07-07 14:44:01.215 1936 2009 E InputDispatcher: channel '5cfd4ab com.zhiying.settings/com.zhiying.settings.about.LegalInformationStartWebActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 07-07 14:44:01.215 1936 2009 W InputDispatcher: channel 'c486525 com.zhiying.settings/com.zhiying.settings.about.LegalInformationStartWebActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 07-07 14:44:01.215 1936 2009 E InputDispatcher: channel 'c486525 com.zhiying.settings/com.zhiying.settings.about.LegalInformationStartWebActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 07-07 14:44:01.216 1936 2009 W InputDispatcher: channel 'b3becb6 com.zhiying.settings/com.zhiying.settings.about.LegalInformationActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 07-07 14:44:01.216 1936 2009 E InputDispatcher: channel 'b3becb6 com.zhiying.settings/com.zhiying.settings.about.LegalInformationActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 07-07 14:44:01.216 1936 2009 W InputDispatcher: channel '1712ca6 com.zhiying.settings/com.zhiying.settings.about.SystemInfoActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 07-07 14:44:01.216 1936 2009 E InputDispatcher: channel '1712ca6 com.zhiying.settings/com.zhiying.settings.about.SystemInfoActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 07-07 14:44:01.216 1936 2009 W InputDispatcher: channel 'd7b4fb2 com.zhiying.settings/com.zhiying.settings.MainZYActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 07-07 14:44:01.217 1936 2009 E InputDispatcher: channel 'd7b4fb2 com.zhiying.settings/com.zhiying.settings.MainZYActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
最新发布
07-08
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值