obexftp / obex_test crash on Windows and USB

Help
chupakabra
2007-08-30
2013-05-01
  • chupakabra

    chupakabra - 2007-08-30

    Both obexftp.exe and obex_test.exe crash when run on Windows and using USB
    connection. For example:

    obexftp -u 0 -l

    or

    obex_test -u 0
    c

    I downloaded compiled Windows binaries from site. I used latest
    libusb-win32 available. 'obexftp -u' produces list of available devices as
    expected.

     
    • Christian W. Zuckschwerdt

      I can confirm this. Seems to be deep in libusb but I don't think I want to debug this on win32...

      Program received signal SIGSEGV, Segmentation fault.
      0x6e602da4 in usb_submit_async () from C:\WINDOWS\system32\libusb0.dll

      #0  0x6e602da4 in usb_submit_async () from C:\WINDOWS\system32\libusb0.dll
      #1  0x6e6043d2 in usb_reap_async () from C:\WINDOWS\system32\libusb0.dll
      #2  0x003f4988 in libopenobex-1!OBEX_FreeInterfaces ()
      #3  0x003f26a3 in libopenobex-1!OBEX_FreeInterfaces ()
      #4  0x003f3952 in libopenobex-1!OBEX_FreeInterfaces ()
      #5  0x003f53c9 in libopenobex-1!OBEX_FreeInterfaces ()
      #6  0x003f19b8 in libopenobex-1!OBEX_Request ()
      #7  0x1000227a in cli_sync_request ()   from libobexftp-0.dll
      #8  0x100027f0 in obexftp_connect_src ()   from libobexftp-0.dll
      #9  0x00401b2a in cli_connect_uuid ()
      #10 0x00401bcd in cli_connect ()
      #11 0x004027cf in main ()

       
    • chupakabra

      chupakabra - 2007-08-30

      I noticed that usbobex_connect_request(), usbobex_disconnect_request() and usbobex_prepare_connect() do nothing on Win32 because of conditional preprocessor directives. Could this be the source of the crash?

       
      • Christian W. Zuckschwerdt

        Well spotted! Enabling all the code on win32 yields a different result. No more crash but the obexftp process gets stuck and can't even be terminated with taskmgr.

         

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks