Problem in libdxfrw library

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem in libdxfrw library

Monisha
Greetings,
I am working on the project BuildD which attempts to add an extra layer of abstraction in the process of designing entities. In this I am using the library libdxfrw. And while doing this I am running into a problem: segmentation fault.

Here is the link to my entire project:
https://github.com/s-monisha/BuildD

Basically I have created functions to handle each entity separately. So in order for the user to make an entity they need to call the corresponding function with appropriate parameters in the main itself. But when we call these functions, I run into a segmentation fault. But when I do this parametrization (calling the function of the class EntityWriter::writeEntities() with these parameters) directly from the class EntityWriter which in turn inherits from DRW_Interface, then things go fine.

After some debugging I have come to the conclusion that the issue engenders from with in the library. Hence I am not able to fix it as the problem does not resides in the code that I have currently.
So in order to fix this problem and move ahead with my work I require the source code (not just the header files; I have them already) for the library. It is my sincere request that you share the source with me.

Reply | Threaded
Open this post in threaded view
|

Re: Problem in libdxfrw library

ravas
I'm not really sure what is considered the main repository for the code...

https://sourceforge.net/p/libdxfrw/code/ci/master/tree/

or with some changes

https://github.com/LibreCAD/LibreCAD/tree/master/libraries/libdxfrw/src