Yes, my callsatck:

cygwin1.dll!610dda44() Unknown

[Frames below may be incorrect and/or missing, no symbols loaded for
cygwin1.dll]

CanFestival-3.dll!scanIndexOD(struct_CO_Data * d, unsigned short wIndex,
unsigned long * errorCode, unsigned long (struct_CO_Data *, const
td_indextable *, unsigned char) * * * Callback) Line 267 C
On 12 Feb 2018 11:17 a.m., <canfestival-devel@lists.sourceforge.net> wrote:

> Okay,
> But, could you print out the stack?
>
>
> On Mon, Feb 12, 2018 at 2:54 PM, <canfestival-devel@lists.sourceforge.net>
> wrote:
>
>> Hi
>> This exception thrown at 0x610DDA44 (cygwin.dll ) in TestMasterSlave.exe
>> : 0xc0000005 Access violation writing location 0
>> This exception occur
>> On 11 Feb 2018 12:16 p.m., <canfestival-devel@lists.sourceforge.net>
>> wrote:
>>
>>> Hi
>>> when I clone the files and then open the project I need driver,
>>> Do your folder contained dll files.
>>> without dll I can't see output for program.
>>>
>>> I can bulid project in visual stdio but in runnig
>>> for example for TestMasterSlave I get exception on canOpen(s_BOARD
>>> *board, CO_Data * d) function
>>> at this line fd0 = m_canOpen(board);
>>> I haven't access to it now but I will send exception detail to you
>>> tommorrow.
>>>
>>> following is my steps
>>> In cygwin in root of canfestival:
>>> *)run ./configure --target=win32 --can=tcp_win32
>>> *)change make file in these directories (\drivers\can_tcp_win32(I used
>>> --can=tcp_win32), drivers\timers_win32, drivers\win32, \src)  and delete
>>> $(PROG_CFLAGS) file from them
>>> *)then run make and make install
>>> *)open vs file on root of can festival compile canfestival
>>> *)then compile any of projects TestMasterSlave, .. and build it
>>> *)go to Debug folder in cygwin and run exe with suitable input
>>> *)for testing in tcp mode I first run server.exe
>>> *)  then for TestMasterSlave : TestMasterSlave.exe -s 0 -S 10K -m 1 _M
>>> 10K -l ../../drivers/can_tcp_win32/libcanfestival_can_tcp_win32.dll
>>>      for TestMasterMicro Mode: TestMasteMicroMod.exe -i 8 -l
>>> ../../drivers/can_tcp_win32/libcanfestival_can_tcp_win32.dll
>>>
>>> On Sat, Feb 10, 2018 at 5:24 PM, <canfestival-devel@lists.sourc
>>> eforge.net> wrote:
>>>
>>>> Hi,
>>>>
>>>> On windows i mainly develope using vs community 2017 v 15.5.5 (latest)
>>>> I have not switch compiler or anything like that.
>>>> Just clean installed.
>>>>
>>>> i have just cloned my can festival repository.
>>>> Any build the project from scratch.
>>>>
>>>> Open CanFestival-3.vc15.sln
>>>> switch to x86 debug
>>>> build canfestival
>>>> build CANOpenShell.exe
>>>> run CANOpenShell.exe
>>>>
>>>> In addition i am working on unit-testing so i have loaded and testet
>>>> the tcp driver and server so that i am 100% sure that works with visual
>>>> studio
>>>>
>>>> Questions:
>>>>
>>>> 1. So everything is now working with cygwin?
>>>> 2. Please write a few lines about how you mix cygwin with vs.
>>>> 2. If you can do some simple debuging to find out where the exceptions
>>>> is raised.
>>>> 3. What exception is raised?
>>>>
>>>> On Sat, Feb 10, 2018 at 8:44 PM, <canfestival-devel@lists.sourc
>>>> eforge.net> wrote:
>>>>
>>>>> Hi Again
>>>>> You are right, testmasterslave and testmastermicromode run okey
>>>>> But for me only on cygwin not on vs.
>>>>> Did you run your code .exe on vs?
>>>>> On vs I'm still getting exception
>>>>> Many thanks for your response.
>>>>> On 10 Feb 2018 12:00 p.m., <canfestival-devel@lists.sourceforge.net>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I compile it from command line and do use visual studio together with
>>>>>> cygwin
>>>>>>
>>>>>> when I stand in the project root in cmd:
>>>>>> set PATH=C:\cygwin\bin;%PATH%
>>>>>> bash -c ./configure
>>>>>> make
>>>>>>
>>>>>> to run:
>>>>>> set PATH=C:\cygwin\bin;%PATH%
>>>>>> then run the exes
>>>>>>
>>>>>> I have tested CANOpenShell, TestMasterMicroMod and TestMasterSlave,
>>>>>> but i have not loaded any driver.
>>>>>> It all runs fine
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Sat, Feb 10, 2018 at 12:59 AM, <canfestival-devel@lists.sourc
>>>>>> eforge.net> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>> Could you please tell me your steps?
>>>>>>> I do the configure steps and then I open the visual studio project
>>>>>>> to run it,
>>>>>>>
>>>>>>> I test the ./configure --target=win32 --can=tcp_wi32 --timers=unix
>>>>>>> but I got the same error "Segmentation fault and Exception on
>>>>>>> loading dll function"
>>>>>>>
>>>>>>> I saw this link https://ci.appveyor.com/projec
>>>>>>> t/nimrof/canfestival-3-asc-clean-rrna1
>>>>>>> I had same output for my cygwin and for --can=virtual.
>>>>>>> but I have the same error on vs.
>>>>>>>
>>>>>>> On Thu, Feb 8, 2018 at 4:48 PM, <canfestival-devel@lists.sourc
>>>>>>> eforge.net> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Sorry for the short reply today, i have only found out that my
>>>>>>>> cygwin setup does not build win32_timer, but unix_timer.
>>>>>>>> Not sure why unix is detected, but will try with target=win32 later
>>>>>>>>
>>>>>>>> I have very limited experience with cygwin, so if you could check
>>>>>>>> by buildlog to se if you see something wrong that will help you and me
>>>>>>>> my buildlog:
>>>>>>>> https://ci.appveyor.com/project/nimrof/canfestival-3-asc-cle
>>>>>>>> an-rrna1
>>>>>>>>
>>>>>>>> Hopfully i will have more time in the weekend to debug.
>>>>>>>>
>>>>>>>> btw: Gnosis_Utils-1.2.2  is used by python to read/write the .od
>>>>>>>> xml file
>>>>>>>>
>>>>>>>> About your errors:
>>>>>>>> * missing scanIndexOD is proberbly a missing files generated from
>>>>>>>> the .od file, but my vs project should generate it as part of the build
>>>>>>>> prosess and should give a missing file error :(
>>>>>>>>
>>>>>>>> * unrecognized command line option ‘-mno-cygwin’
>>>>>>>> Just googled it, and can you try to remove it in the config file or
>>>>>>>> just make file?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Thu, Feb 8, 2018 at 3:16 PM, <canfestival-devel@lists.sourc
>>>>>>>> eforge.net> wrote:
>>>>>>>>
>>>>>>>>> Hi
>>>>>>>>> Many thanks for your response.
>>>>>>>>> I attached my makefile.
>>>>>>>>> I downloaded your file and try to build it but it wasn't
>>>>>>>>> successful, I got some linker errors.
>>>>>>>>> "LNK2001 unresolved external symbol scanIndexOD"
>>>>>>>>> I don't know why you use "Gnosis_Utils-1.2.2"
>>>>>>>>> for now, I want to run an example similar to "TestMasterSlave" on
>>>>>>>>> visual studio.
>>>>>>>>> In these last 2 days, I work more on configure command.
>>>>>>>>> and at first I commented these lines from configure file :
>>>>>>>>> **********************************
>>>>>>>>> echo "Using ${CXX} as a C++ compiler"
>>>>>>>>> if [ "$SUB_TARGET" = "win32" ]; then
>>>>>>>>> # on cygwin/mingw, choose  g++ as a linker for native target
>>>>>>>>> if [ "$LD" = "" ]; then
>>>>>>>>> LD=$CXX
>>>>>>>>> fi
>>>>>>>>> if [ "$SUB_OS_NAME" = "CYGWIN" ]; then
>>>>>>>>> SUB_PROG_CFLAGS="-mno-cygwin"
>>>>>>>>> fi
>>>>>>>>> fi
>>>>>>>>> if [ "$SUB_TARGET" = "unix" ]; then
>>>>>>>>> if [ "$LD" = "" ]; then
>>>>>>>>> LD=$CXX
>>>>>>>>> fi
>>>>>>>>> fi
>>>>>>>>> **********************************
>>>>>>>>> when I configure with ./configure --target=win32
>>>>>>>>> in build successfully but in using any function in canfestival.dll
>>>>>>>>> I got Segmentation fault and exception
>>>>>>>>> when configure with ./configure --target=win32 --can=tcp_win32
>>>>>>>>> in "make" and "make install" steps I got "
>>>>>>>>> _beginthreadex; : undeclared identifier"
>>>>>>>>> but I can build .exe  and  In running I got Segmentation fault and
>>>>>>>>> exception.
>>>>>>>>> I really want your guidance.
>>>>>>>>> looking for your respones
>>>>>>>>> On 8 Feb 2018 1:27 a.m., <canfestival-devel@lists.sourceforge.net>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> could you post the makefile from your win32_timer director?
>>>>>>>>>>
>>>>>>>>>> Also would you mind trying to build this repository?
>>>>>>>>>> https://bitbucket.org/nimrof/canfestival-3-asc
>>>>>>>>>>
>>>>>>>>>> I have continues build for latest visual studio and cygwin
>>>>>>>>>> working.
>>>>>>>>>> I remember there was one or more a makefile problem to get cygwin
>>>>>>>>>> working, but I can not remember seeing your error.
>>>>>>>>>>
>>>>>>>>>> I do not build with cygwin from vs so might be a problem there.
>>>>>>>>>> Could you write a few lines about your setup?
>>>>>>>>>>
>>>>>>>>>> If you do not want to use hw you can also use the TCP driver, you
>>>>>>>>>> need to have the tcp server running for it to work.
>>>>>>>>>>
>>>>>>>>>> In my repo you might want to have a look at the appveyor file, it
>>>>>>>>>> is the file I use for VS and cygwin build. So all the build commands 
>>>>>>>>>> are
>>>>>>>>>> there.
>>>>>>>>>>
>>>>>>>>>> On Feb 6, 2018 02:11, <canfestival-devel@lists.sourceforge.net>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> Hi
>>>>>>>>>> I want to use canopen of canfestival.
>>>>>>>>>> And to run at least one of the examples on visual stdio, I got this 
>>>>>>>>>> 2 errors:C2065: 'TestSlave_obj100C': Undeclared Identifier
>>>>>>>>>> C2065: 'TestSlave_obj100D': Undeclared Identifier
>>>>>>>>>> I searched and found this link 
>>>>>>>>>> :https://sourceforge.net/p/canfestival/mailman/message/30811756/
>>>>>>>>>> But  my problem was not solved. I don't know how can I do these 
>>>>>>>>>> steps:
>>>>>>>>>> "the linker missing  _obj100C and _obj100D, this problem is solved 
>>>>>>>>>> by rebuilding the *.c files from the *.od files using the 
>>>>>>>>>> objdictedit.py."
>>>>>>>>>> When  I use configure command in linux and then I run make and make 
>>>>>>>>>> install it works properly , and build *.a file in driver/unix 
>>>>>>>>>> directory
>>>>>>>>>> but when I do following steps in windows:
>>>>>>>>>> ./configuare --can=virtual --target=win32 I got this error
>>>>>>>>>> ***************************************$ ./configure --can=virtual 
>>>>>>>>>> --target=win32
>>>>>>>>>> Host OS: CYGWIN
>>>>>>>>>> Host arch: x86
>>>>>>>>>> Choosing windows timers driver.
>>>>>>>>>> Checking for cc... Yes.
>>>>>>>>>> Checking for gcc... Yes.
>>>>>>>>>> Using gcc as a C compiler
>>>>>>>>>> Using g++ as a C++ compiler
>>>>>>>>>> Using g++ as a linker
>>>>>>>>>> Not cross-compiling. Will install in /usr/local
>>>>>>>>>> Using prefix: /usr/local
>>>>>>>>>> No wxWidgets available
>>>>>>>>>> Creating Makefile
>>>>>>>>>> Creating src/Makefile
>>>>>>>>>> Creating drivers/Makefile
>>>>>>>>>> Creating objdictgen/Makefile
>>>>>>>>>> Creating examples/Makefile
>>>>>>>>>> Creating objdictgen/canfestival_config.py
>>>>>>>>>> Creating drivers/timers_win32/Makefile
>>>>>>>>>> Creating drivers/can_virtual/Makefile
>>>>>>>>>> Creating drivers/win32/Makefile
>>>>>>>>>> Creating examples/CANOpenShell/Makefile
>>>>>>>>>> Creating examples/TestMasterSlave/Makefile
>>>>>>>>>> Creating examples/TestMasterSlaveLSS/Makefile
>>>>>>>>>> Creating examples/SillySlave/Makefile
>>>>>>>>>> Creating examples/TestMasterMicroMod/Makefile
>>>>>>>>>> All done.
>>>>>>>>>> $ make
>>>>>>>>>> make -C objdictgen all
>>>>>>>>>> make[1]: Entering directory 
>>>>>>>>>> '/cygdrive/f/CanFestival-3-8bfe0ac00cdb/CanFestival-3-8bfe0ac00cdb/objdictgen'
>>>>>>>>>> make[1]: Nothing to be done for 'all'.
>>>>>>>>>> make[1]: Leaving directory 
>>>>>>>>>> '/cygdrive/f/CanFestival-3-8bfe0ac00cdb/CanFestival-3-8bfe0ac00cdb/objdictgen'
>>>>>>>>>> make -C drivers driver
>>>>>>>>>> make[1]: Entering directory 
>>>>>>>>>> '/cygdrive/f/CanFestival-3-8bfe0ac00cdb/CanFestival-3-8bfe0ac00cdb/drivers'
>>>>>>>>>> make -C timers_win32 driver
>>>>>>>>>> make[2]: Entering directory 
>>>>>>>>>> '/cygdrive/f/CanFestival-3-8bfe0ac00cdb/CanFestival-3-8bfe0ac00cdb/drivers/timers_win32'
>>>>>>>>>> g++ -O2 -mno-cygwin  -I../../include -I../../include/win32 
>>>>>>>>>> -I../../include/can_virtual -I../../include/timers_win32 -o 
>>>>>>>>>> timers_win32.o -c timers_win32.cg++: error: unrecognized command 
>>>>>>>>>> line option ‘-mno-cygwin’; did you mean ‘-mno-clwb’?make[2]: *** 
>>>>>>>>>> [Makefile:50: timers_win32.o] Error 1
>>>>>>>>>> make[2]: Leaving directory 
>>>>>>>>>> '/cygdrive/f/CanFestival-3-8bfe0ac00cdb/CanFestival-3-8bfe0ac00cdb/drivers/timers_win32'
>>>>>>>>>> make[1]: *** [Makefile:33: driver] Error 2
>>>>>>>>>> make[1]: Leaving directory 
>>>>>>>>>> '/cygdrive/f/CanFestival-3-8bfe0ac00cdb/CanFestival-3-8bfe0ac00cdb/drivers'
>>>>>>>>>> make: *** [Makefile:42: driver] Error 2
>>>>>>>>>> *************************************
>>>>>>>>>> I couldn't solve the error.
>>>>>>>>>> In the manual document of canfestival for window is writen about 
>>>>>>>>>> usnig usb.zip file before configuration .for now, I don't want to 
>>>>>>>>>> use any HW module.
>>>>>>>>>> I want to simulate canopen on my windows.
>>>>>>>>>> please help me configuring canfestival in windows.
>>>>>>>>>> Many thanks for your attention
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>> ------------------
>>>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Canfestival-devel mailing list
>>>>>>>>>> Canfestival-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------
>>>>>>>>>> ------------------
>>>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Canfestival-devel mailing list
>>>>>>>>>> Canfestival-devel@lists.sourceforge.net
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> ------------------------------------------------------------
>>>>>>>>> ------------------
>>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>>> _______________________________________________
>>>>>>>>> Canfestival-devel mailing list
>>>>>>>>> Canfestival-devel@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------------------------------------
>>>>>>>> ------------------
>>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>>> _______________________________________________
>>>>>>>> Canfestival-devel mailing list
>>>>>>>> Canfestival-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------
>>>>>>> ------------------
>>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>>> _______________________________________________
>>>>>>> Canfestival-devel mailing list
>>>>>>> Canfestival-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------
>>>>>> ------------------
>>>>>> Check out the vibrant tech community on one of the world's most
>>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>>> _______________________________________________
>>>>>> Canfestival-devel mailing list
>>>>>> Canfestival-devel@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> Canfestival-devel mailing list
>>>>> Canfestival-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> Canfestival-devel mailing list
>>>> Canfestival-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>>
>>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Canfestival-devel mailing list
>>> Canfestival-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>>
>>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Canfestival-devel mailing list
>> Canfestival-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>>
>>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Canfestival-devel mailing list
> Canfestival-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/canfestival-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Canfestival-devel mailing list
Canfestival-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/canfestival-devel

Reply via email to