April 14, 201610 yr After I updated from 6.1.9 to 6.2.0 the application I was using on my android phone to synchronize with unraid is not working anymore when coping files from unraid to device, the only way it works is from device to unraid. I'm assuming that the issue I'm having is due to switching from samba 4.1.19 to 4.4.0 The developer is willing to help diagnose but he needs me to use tcpdump or wireshark to check the traffic. Can someone point me to the correct package for any of the two above. Not sure if it helps but below is the debug log from android, the error is "java.nio.BufferUnderflowException" 04-10 09:32:26.349 19476 19476 D AbsListView: Get MotionRecognitionManager 04-10 09:32:26.379 19476 19476 E MotionRecognitionManager: mSContextService = android.hardware.scontext.ISContextService$Stub$Proxy@ 04-10 09:32:26.399 19476 19476 E MotionRecognitionManager: motionService = com.samsung.android.motion.IMotionRecognitionService$Stub$Proxy@ 04-10 09:32:26.449 19476 19476 D Activity: registerForContextMenu with mFeatureContextMenuListener 04-10 09:32:26.499 19476 19476 D Activity: performCreate Call Injection manager 04-10 09:32:26.509 19476 19476 I InjectionManager: dispatchCreateOptionsMenu :com.bv.wifisync.Hosts 04-10 09:32:26.509 19476 19476 I InjectionManager: dispatchPrepareOptionsMenu :com.bv.wifisync.Hosts 04-10 09:32:26.509 19476 19476 I InjectionManager: dispatchPrepareOptionsMenu :com.bv.wifisync.Hosts 04-10 09:32:26.509 19476 19476 I InjectionManager: dispatchOnViewCreated > Target : com.bv.wifisync.Hosts isFragment :false 04-10 09:32:26.509 19476 19476 D ViewRootImpl: #1 mView = com.android.internal.policy.PhoneWindow$DecorView{I.E...... R.....ID 0,0-0,0} 04-10 09:32:26.539 19476 19476 D ViewRootImpl: #3 mView = null 04-10 09:32:26.569 19476 19476 I SyncService: Service terminated 1 04-10 09:32:26.579 19476 19476 I SyncService: Service created 1 04-10 09:32:26.589 19476 19476 I Host : Validating host TOWER id: 1 04-10 09:32:26.589 19476 19476 I Job : Validating job Camera 04-10 09:32:26.589 19476 19476 I Job : Validated job Camera id: 2 04-10 09:32:26.589 19476 19476 I Job : Validating job xls 04-10 09:32:26.589 19476 19476 I Job : Validated job xls id: 5 04-10 09:32:26.639 19476 19476 I SyncService: Queue tasks 04-10 09:32:26.729 19476 19476 I SyncService: Timer thread is null 04-10 09:32:26.729 19476 19476 I SyncService: Starting timer thread 04-10 09:32:26.749 19476 30483 I SyncService: Running tasks 31969 04-10 09:32:26.809 19476 19476 I Hosts : Service connected 04-10 09:32:26.869 19476 30483 I SyncService: Camera scheduling awake at: Sun Apr 10 22:45:00 EDT 2016 04-10 09:32:26.879 19476 30483 I SyncService: Exit timer thread 31969 04-10 09:32:26.919 19476 30483 I SyncService: Stop service 31969 04-10 09:48:11.782 3576 4624 D InputDispatcher: Focus entered window: 19476 04-10 09:48:11.792 19476 19505 D mali_winsys: new_window_surface returns 0x3000, [1440x2560]-format:1 04-10 09:48:11.802 19476 19476 D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 84 - 0, 0) vi=Rect(0, 84 - 0, 0) or=1 04-10 09:48:11.812 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:11.812 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:11.862 19476 19476 I Timeline: Timeline: Activity_idle id: android.os.BinderProxy@xxxxtime:100266130 04-10 09:48:12.652 3576 4254 I InputDispatcher: Delivering touch to (19476): action: 0x0, toolType: 1 04-10 09:48:12.652 19476 19476 D ViewRootImpl: ViewPostImeInputStage processPointer 0 04-10 09:48:12.752 3576 4254 I InputDispatcher: Delivering touch to (19476): action: 0x1, toolType: 1 04-10 09:48:12.752 19476 19476 D ViewRootImpl: ViewPostImeInputStage processPointer 1 04-10 09:48:12.752 19476 19476 D ViewRootImpl: ViewPostImeInputStage processPointer 1 04-10 09:48:12.832 19476 19476 D Activity: onCreateContextMenu dispatchCreateContextMenu 04-10 09:48:12.832 19476 19476 D Activity: onCreateContextMenu dispatchCreateContextMenu 04-10 09:48:12.852 19476 19476 I InjectionManager: dispatchCreateContextMenu :com.bv.wifisync.Hosts 04-10 09:48:12.852 19476 19476 I InjectionManager: dispatchCreateContextMenu :com.bv.wifisync.Hosts 04-10 09:48:12.872 19476 19476 D AbsListView: Get MotionRecognitionManager 04-10 09:48:12.872 19476 19476 D AbsListView: Get MotionRecognitionManager 04-10 09:48:12.892 19476 19476 D ViewRootImpl: #1 mView = com.android.internal.policy.PhoneWindow$DecorView{aeb86ce V.E...... R.....I. 0,0-0,0} 04-10 09:48:12.892 19476 19476 D ViewRootImpl: #1 mView = com.android.internal.policy.PhoneWindow$DecorView{aeb86ce V.E...... R.....I. 0,0-0,0} 04-10 09:48:12.902 3576 4253 D InputDispatcher: Focus left window: 19476 04-10 09:48:12.902 3576 4253 D InputDispatcher: Focus entered window: 19476 04-10 09:48:12.942 19476 19505 D mali_winsys: new_window_surface returns 0x3000, [1347x965]-format:1 04-10 09:48:12.982 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:12.982 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:13.002 19476 19476 D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 04-10 09:48:13.002 19476 19476 D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 04-10 09:48:14.082 3576 4254 I InputDispatcher: Delivering touch to (19476): action: 0x0, toolType: 1 04-10 09:48:14.082 19476 19476 D ViewRootImpl: ViewPostImeInputStage processPointer 0 04-10 09:48:14.082 19476 19476 D ViewRootImpl: ViewPostImeInputStage processPointer 0 04-10 09:48:14.152 3576 4254 I InputDispatcher: Delivering touch to (19476): action: 0x1, toolType: 1 04-10 09:48:14.152 19476 19476 D ViewRootImpl: ViewPostImeInputStage processPointer 1 04-10 09:48:14.152 19476 19476 D ViewRootImpl: ViewPostImeInputStage processPointer 1 04-10 09:48:14.222 19476 19476 I InjectionManager: dispatchContextItemSelected :com.bv.wifisync.Hosts 04-10 09:48:14.222 19476 19476 I InjectionManager: dispatchContextItemSelected :com.bv.wifisync.Hosts 04-10 09:48:14.262 19476 19476 I SyncService: Run now: xls 5 04-10 09:48:14.262 19476 19476 I SyncService: Run now: xls 5 04-10 09:48:14.312 19476 19476 D ViewRootImpl: #3 mView = null 04-10 09:48:14.312 19476 19476 D ViewRootImpl: #3 mView = null 04-10 09:48:14.312 3576 5057 D InputDispatcher: Focus left window: 19476 04-10 09:48:14.312 3576 5057 D InputDispatcher: Focus entered window: 19476 04-10 09:48:14.322 19476 19476 I SyncService: OnStart 04-10 09:48:14.322 19476 19476 I SyncService: OnStart 04-10 09:48:14.322 19476 19476 I SyncService: Queue tasks 04-10 09:48:14.322 19476 19476 I SyncService: Queue tasks 04-10 09:48:14.342 19476 19476 I SyncService: Timer thread is null 04-10 09:48:14.342 19476 19476 I SyncService: Timer thread is null 04-10 09:48:14.342 19476 19476 I SyncService: Starting timer thread 04-10 09:48:14.342 19476 19476 I SyncService: Starting timer thread 04-10 09:48:14.342 19476 19476 D ViewRootImpl: #1 mView = android.widget.LinearLayout{xxxxxV.E...... ......I. 0,0-0,0} 04-10 09:48:14.342 19476 19476 D ViewRootImpl: #1 mView = android.widget.LinearLayout{xxxxxV.E...... ......I. 0,0-0,0} 04-10 09:48:14.342 19476 1719 I SyncService: Running tasks 31994 04-10 09:48:14.352 19476 1719 I SyncService: Task is ready: xls, scheduled at: Mon Apr 11 00:00:00 EDT 2016 04-10 09:48:14.352 19476 19476 E ViewRootImpl: sendUserActionEvent() mView == null 04-10 09:48:14.352 19476 19476 E ViewRootImpl: sendUserActionEvent() mView == null 04-10 09:48:14.382 19476 1719 I Utils : Removing local file: /data/user/0/com.bv.wifisync/files/hosts.dat.bak 04-10 09:48:14.382 19476 1719 I Utils : Renaming local file: /data/user/0/com.bv.wifisync/files/hosts.dat to /data/user/0/com.bv.wifisync/files/hosts.dat.bak 04-10 09:48:14.402 19476 19505 D mali_winsys: new_window_surface returns 0x3000, [663x164]-format:1 04-10 09:48:14.412 19476 19476 D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 04-10 09:48:14.412 19476 19476 D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 04-10 09:48:14.422 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:14.422 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:14.462 19476 1719 I System.out: Validating directories 04-10 09:48:14.492 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:14.492 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:14.502 19476 1724 I System.out: Calculated: size=43154, count=2, time=0 04-10 09:48:14.512 19476 1719 I System.out: Starting sync 04-10 09:48:14.602 19476 1719 W System.err: java.nio.BufferUnderflowException 04-10 09:48:14.602 19476 1719 W System.err: at java.nio.Buffer.checkGetBounds(Buffer.java:171) 04-10 09:48:14.602 19476 1719 W System.err: at java.nio.ByteArrayBuffer.get(ByteArrayBuffer.java:108) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.ReadAndXRequest.readBytes(AndXMessages.java:222) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.ServerMessageBlock.decode(Messages.java:190) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.ServerMessageBlock.recv(Messages.java:149) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.Session.recvRequest(Session.java:328) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.Session.recv(Session.java:306) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.Session.internalSend(Session.java:286) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.Session.doSend(Session.java:210) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.Session.send(Session.java:187) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.FileObject.send(FileObject.java:39) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.CifsFile$SmbInputStream.sendRequests(CifsFile.java:294) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.simplesmb.CifsFile$SmbInputStream.read(CifsFile.java:279) 04-10 09:48:14.602 19476 1719 W System.err: at java.io.InputStream.read(InputStream.java:162) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.sync.CifsSync.read(CifsSync.java:775) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.sync.CifsSync.copyBytes(CifsSync.java:728) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.sync.CifsSync.copyFile(CifsSync.java:644) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.sync.CifsSync.copy(CifsSync.java:517) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.sync.CifsSync.copy(CifsSync.java:310) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.sync.CifsSync.internalSyncDirs(CifsSync.java:368) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.sync.CifsSync.sync(CifsSync.java:135) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.wifisync.Job.doSync(Job.java:296) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.wifisync.Job.sync(Job.java:257) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.wifisync.Job.run(Job.java:211) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.wifisync.SyncService$SyncTask.internalRun(SyncService.java:328) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.wifisync.SyncService$SyncTask.run(SyncService.java:318) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.wifisync.SyncService.runTasks(SyncService.java:152) 04-10 09:48:14.602 19476 1719 W System.err: at com.bv.wifisync.SyncService.run(SyncService.java:109) 04-10 09:48:14.602 19476 1719 W System.err: at java.lang.Thread.run(Thread.java:818) 04-10 09:48:14.682 19476 1719 V Vibrator: Called vibrate(long[], int) API! 04-10 09:48:14.682 19476 1719 V Vibrator: vibrate(long[], int, AudioAttributes) API - PUID: 10257, PackageName: com.bv.wifisync, repeat: -1, AudioAttr: null 04-10 09:48:14.682 19476 1719 V Vibrator: Called vibrate(int, String, long[], int, AudioAttributes) API - PUID: 10257, PackageName: com.bv.wifisync, pattern 04-10 09:48:14.682 19476 1719 V Vibrator: vibrate - PUID: 10257, PackageName: com.bv.wifisync, pattern, repeat: -1, AudioAttr: null, mag: -1 04-10 09:48:14.702 19476 1719 I Utils : Removing local file: /data/user/0/com.bv.wifisync/files/hosts.dat.bak 04-10 09:48:14.702 19476 1719 I Utils : Renaming local file: /data/user/0/com.bv.wifisync/files/hosts.dat to /data/user/0/com.bv.wifisync/files/hosts.dat.bak 04-10 09:48:14.962 19476 1719 I SyncService: Camera scheduling awake at: Sun Apr 10 22:45:00 EDT 2016 04-10 09:48:14.972 19476 1719 I SyncService: Exit timer thread 31994 04-10 09:48:14.972 19476 1719 I SyncService: Stop service 31994 04-10 09:48:15.002 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:15.002 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:16.292 19476 19476 D ViewRootImpl: #3 mView = null 04-10 09:48:16.292 19476 19476 D ViewRootImpl: #3 mView = null 04-10 09:48:16.332 19476 19476 D ViewRootImpl: #1 mView = android.widget.LinearLayout{1cb2ea1 V.E...... ......I. 0,0-0,0} 04-10 09:48:16.332 19476 19476 D ViewRootImpl: #1 mView = android.widget.LinearLayout{1cb2ea1 V.E...... ......I. 0,0-0,0} 04-10 09:48:16.372 19476 19505 D mali_winsys: new_window_surface returns 0x3000, [1347x239]-format:1 04-10 09:48:16.372 19476 19476 D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 04-10 09:48:16.372 19476 19476 D ViewRootImpl: MSG_RESIZED_REPORT: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1 04-10 09:48:16.382 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:16.382 19476 19476 W DisplayListCanvas: DisplayListCanvas is started on unbinded RenderNode (without mOwningView) 04-10 09:48:19.842 19476 19476 D ViewRootImpl: #3 mView = null 04-10 09:48:19.842 19476 19476 D ViewRootImpl: #3 mView = null 04-10 09:48:20.022 3576 3660 D InputDispatcher: Focus left window: 19476 04-10 09:48:20.562 19476 19476 V ActivityThread: updateVisibility : ActivityRecord{xxxxxtoken=android.os.BinderProxy@xxxxx{com.bv.wifisync/com.bv.wifisync.Hosts}} show : false 04-10 09:48:20.562 19476 19476 V ActivityThread: updateVisibility : ActivityRecord{xxxxxtoken=android.os.BinderProxy@xxxx{com.bv.wifisync/com.bv.wifisync.Hosts}} show : false 04-10 09:48:42.232 19476 19481 I art : Thread[2,tid=19481,WaitingInMainSignalCatcherLoop,Thread*=0x7f90eab000,peer=xxxxx,"Signal Catcher"]: reacting to signal 3 04-10 09:48:42.302 19476 19481 I art : Wrote stack traces to '/data/anr/traces.txt' 04-10 09:48:47.552 19476 19488 I art : Starting a blocking GC Explicit 04-10 09:48:47.602 19476 19488 I art : Explicit concurrent mark sweep GC freed 9805(629KB) AllocSpace objects, 0(0B) LOS objects, 58% free, 5MB/13MB, paused 751us total 49.529ms 04-10 09:48:47.622 19476 19488 I art : Starting a blocking GC Explicit 04-10 09:48:47.642 19476 19488 I art : Explicit concurrent mark sweep GC freed 8(256B) AllocSpace objects, 0(0B) LOS objects, 58% free, 5MB/13MB, paused 614us total 23.034ms 04-10 09:48:47.652 19476 19488 I art : Starting a blocking GC Explicit 04-10 09:48:47.672 19476 19488 I art : Explicit concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 58% free, 5MB/13MB, paused 211us total 13.065ms 04-10 09:48:47.672 19476 19488 I art : Starting a blocking GC Explicit 04-10 09:48:47.692 19476 19488 I art : Explicit concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 58% free, 5MB/13MB, paused 218us total 12.953ms 04-10 09:48:47.702 19476 19488 I art : Starting a blocking GC Explicit 04-10 09:48:47.712 19476 19488 I art : Explicit concurrent mark sweep GC freed 3(96B) AllocSpace objects, 0(0B) LOS objects, 58% free, 5MB/13MB, paused 190us total 13.085ms 04-10 09:32:21.139 19476 19476 I am_on_resume_called: [0,com.bv.wifisync.Hosts] 04-10 09:32:21.139 19476 19476 I am_on_resume_called: [0,com.bv.wifisync.Hosts] 04-10 09:32:26.509 19476 19476 I am_on_resume_called: [0,com.bv.wifisync.Hosts] 04-10 09:32:26.509 19476 19476 I am_on_resume_called: [0,com.bv.wifisync.Hosts] 04-10 09:32:57.719 3576 3650 I am_pss : [19476,10257,com.bv.wifisync,xxxxx,xxxxx] 04-10 09:46:44.472 3576 3650 I am_pss : [19476,10257,com.bv.wifisync,xxx,xxxx] 04-10 09:47:14.812 3576 3650 I am_pss : [19476,10257,com.bv.wifisync,xxx,xxx] 04-10 09:48:11.832 19476 19476 I am_on_resume_called: [0,com.bv.wifisync.Hosts] 04-10 09:48:11.832 19476 19476 I am_on_resume_called: [0,com.bv.wifisync.Hosts] 04-10 09:48:12.852 19476 19476 I menu_opened: 1 04-10 09:48:12.852 19476 19476 I menu_opened: 1 04-10 09:48:14.222 19476 19476 I menu_item_selected: [1,Run] 04-10 09:48:14.222 19476 19476 I menu_item_selected: [1,Run] 04-10 09:48:14.372 3576 3576 I notification_enqueue: [10257,19476,com.bv.wifisync,2,NULL,0,Notification(pri=0 contentView=com.bv.wifisync/0x10900b3 vibrate=null sound=null tick defaults=0x0 flags=0x62 color=0x00000000 vis=PRIVATE secFlags=0x0 secPriority=0),0] 04-10 09:48:14.502 3576 3576 I notification_enqueue: [10257,19476,com.bv.wifisync,2,NULL,0,Notification(pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0xa color=0x00000000 vis=PRIVATE secFlags=0x0 secPriority=0),1] 04-10 09:48:14.612 3576 3576 I notification_enqueue: [10257,19476,com.bv.wifisync,2,NULL,0,Notification(pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0xa color=0x00000000 vis=PRIVATE secFlags=0x0 secPriority=0),1] 04-10 09:48:14.662 3576 3576 I notification_enqueue: [10257,19476,com.bv.wifisync,1,NULL,0,Notification(pri=0 contentView=null vibrate=null sound=default tick defaults=0x1 flags=0x18 color=0x00000000 vis=PRIVATE secFlags=0x0 secPriority=0),0] 04-10 09:48:20.032 19476 19476 I am_on_paused_called: [0,com.bv.wifisync.Hosts] 04-10 09:48:20.032 19476 19476 I am_on_paused_called: [0,com.bv.wifisync.Hosts] 19476 com.bv.wifisync SyS_epoll_wait
April 16, 201610 yr Author As it turns out this is a samba issue Boris from Bvaisoft filed a bug with the samba team: Bug 11845 - Incorrect bytecount in ReadAndX smb1 response
Archived
This topic is now archived and is closed to further replies.