SourceForge has been redesigned. Learn more.
Close

OWFS crash after every command query- Windows

Help
Ivan N
2008-02-28
2012-09-14
  • Ivan N

    Ivan N - 2008-02-28

    We've tryed the newest version owfs_2.7p3.exe on two different machines and we got the same result:
    -Install owfs
    -Install DS9490R driver
    -Start owserver or owhttpd
    -Make a query we get the result but the hosting program crashes and we have to re-run it in order to continue ...

    Here is what we get:
    -owhttpd.exe.stackdump:

    Stack trace:
    Frame Function Args
    0023CC08 7C802532 (00000660, FFFFFFFF, 00000000, 00000000)
    0023CC38 610960C7 (0023CC78, 00000000, 0023CC88, 61092B48)
    0023CC48 61096297 (0023CC78, 0023CC74, 00000000, 10011C30)
    0023CC88 61092B48 (00401410, 00401050, 00000000, 00000001)
    0023CCC8 004013C7 (00000004, 100101B8, 10010090, 61010FEC)
    0023CD98 61006148 (00000000, 0023CDD0, 610054C0, 0023CDD0)
    610054C0 61004416 (0000009C, A02404C7, E8611001, FFFFFF48)
    19 [sig] owhttpd 1412 C:\Program Files\OWFS\bin\owhttpd.exe: *** fatal error - called with threadlist_ix -1

    Any help very apriciated, because Maxim's is worthless and OWFS is the only hope ...

    10x

     
    • Paul Alfille

      Paul Alfille - 2008-02-29

      More information would assist me.

      1. With windows version are you using? (XP? Vista?)
      2. Did earlier versions of OWFS work?
      3. Have you installed libusb? (I presume that's what you meant by the DS9490R library).

      Paul Alfille

       
    • Ivan N

      Ivan N - 2008-02-29

      The system is windows XP pro.
      OWFS sould be woriking ok even without any devices, but it still crasheshes.
      OWFS comes with DS9490R drivers it it's "C:\Program Files\OWFS\drivers" folder: ds9490.cat, ds9490.inf, libusb0.sys, README.txt
      Yes I tryed with libUSB-Win32, but it didn't made any difference ...

       
    • Ivan N

      Ivan N - 2008-02-29

      I did tryed owfs_2.7p1.exe, but the effect was the same ...

       
    • Ivan N

      Ivan N - 2008-03-05

      Anybody ???

       
      • Christian Magnusson

        I have tried the package owfs_2.7p3.exe on my Windows XP (Pentium 4) now... and it also fails to run.... completely....

        C:\Program\owfs\bin>owhttpd.exe -u --foreground --error_level=9 --error_print=2
        -p 8001
        5 [main] ? (5424) C:\Program\owfs\bin\owhttpd.exe: * fatal error - system shared memory version mismatch detected - 0x8A88009C/0x2D1E009C.
        This problem is probably due to using incompatible versions of the cygwin DLL.
        Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version
        should

        reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution. Rebooting is also suggested if you are unable to find another cygwin DLL.

        Since I have cygwin installed on my computer I tried to copy my own cygwin1.dll and cygusb0.dll to C:\program\owfs\bin\ And that resulted in into the same behavior you got stuck with...

        C:\Program\owfs\bin>owhttpd.exe -u --foreground --error_level=2 --error_print=2 -p 8001
        CALL: PARSENAME path=[]
        CONNECT: Adapter found: bus-0/\.\libusb0-0001--0x04fa-0x2490
        DEFAULT: Opened USB DS9490 adapter at bus-0/\.\libusb0-0001--0x04fa-0x2490.
        CONNECT: Good DS1421 tag found for bus-0/\.\libusb0-0001--0x04fa-0x2490
        DEFAULT: Set DS9490 bus-0/\.\libusb0-0001--0x04fa-0x2490 unique id to 81 46 57 23 00 00 00 51
        CALL: PreParse line=GET / HTTP/1.1
        CALL: WLcmd: GET file: / request: value: version: HTTP/1.1
        CALL: PARSENAME path=[/]
        CALL: DIRECTORY path=/
        9 [sig] owhttpd 4800 open_stackdumpfile: Dumping stack trace to owhttpd.exe.stackdump
        16182 [sig] owhttpd 4800 C:\Program\owfs\bin\owhttpd.exe: *** fatal error - called with threadlist_ix -1

        Since I have Cygwin installed on my computer, I built owfs from the latest source, and that works perfect.

        C:\Program\cygwin\opt\owfs\bin>owhttpd.exe -u --foreground --error_level=2 --eror_print=2 -p 8001
        CALL: PARSENAME path=[]
        CONNECT: Adapter found: bus-0/\.\libusb0-0001--0x04fa-0x2490
        DEFAULT: Opened USB DS9490 adapter at bus-0/\.\libusb0-0001--0x04fa-0x2490.
        CONNECT: Good DS1421 tag found for bus-0/\.\libusb0-0001--0x04fa-0x2490
        DEFAULT: Set DS9490 bus-0/\.\libusb0-0001--0x04fa-0x2490 unique id to 81 46 57 23 00 00 00 51
        CALL: PreParse line=GET / HTTP/1.1
        CALL: WLcmd: GET file: / request: value: version: HTTP/1.1
        CALL: PARSENAME path=[/]
        CALL: DIRECTORY path=/
        CALL: Starting Library cleanup
        CALL: Closing Cache
        CALL: Closing input devices
        CONNECT: Closed USB DS9490 adapter at bus-0/\.\libusb0-0001--0x04fa-0x2490. re=0
        CALL: Closing outout devices
        CALL: Finished Library cleanup

        We really have to look more into the windows-build... how is it made today, and which cygwin-files are included into the package?

        /Christian

         
        • Christian Magnusson

          I have created a new package from my Cygwin-installation... Download it from my server and see if it works for you...
          I don't know if it could be something like 64-bit support or something else in Pauls package which breaks it on some computers.

          http://home.mag.cx/owfs_2.7p4.exe

          I'll keep the binary there for a couple of days... So please download it and try it as soon as possible.

          /Christian

           

Log in to post a comment.