issue_owner_repo listlengths 2 2 | issue_body stringlengths 0 261k ⌀ | issue_title stringlengths 1 925 | issue_comments_url stringlengths 56 81 | issue_comments_count int64 0 2.5k | issue_created_at stringlengths 20 20 | issue_updated_at stringlengths 20 20 | issue_html_url stringlengths 37 62 | issue_github_id int64 387k 2.46B | issue_number int64 1 127k |
|---|---|---|---|---|---|---|---|---|---|
[
"LibreDWG",
"libredwg"
] | we encode the thumbnail directly after the header, but we need/want? to encode it with r13c3 much later (at the very end, after MEASUREMENT). and then patchup the address/crc in the header.
currently we do write the wrong header.thumbnail_address, mismatching the actual thumbnail start (fixed)
r13b1-r14: directly ... | encode thumbnail_address r13c3 | https://api.github.com/repos/LibreDWG/libredwg/issues/853/comments | 4 | 2023-10-09T06:18:05Z | 2023-11-24T07:43:41Z | https://github.com/LibreDWG/libredwg/issues/853 | 1,932,374,881 | 853 |
[
"LibreDWG",
"libredwg"
] | I converted a DWG with an empty model space and one paper space layout to JSON using `dwgread`. I then converted that JSON back to DWG using `dwgwrite`. When trying to open the DWG AutoCAD 2024 fatal errors ("unhandled access violation").

and in my geojson I cannot see this properties.
`{
"type": "Feature... | Attributes not shown in output file | https://api.github.com/repos/LibreDWG/libredwg/issues/849/comments | 2 | 2023-09-26T12:32:12Z | 2024-05-22T07:22:16Z | https://github.com/LibreDWG/libredwg/issues/849 | 1,913,411,865 | 849 |
[
"LibreDWG",
"libredwg"
] | Hello Maintainers,
I have a bug report open on huntr.dev, available [here](https://huntr.dev/bounties/8ccb62e1-d25a-45af-87fd-b9e4f0a5087b/), which has been pending for some time. I am keen to assist in resolving this promptly and am willing to close it if deemed out of scope or invalid. Your guidance on this would ... | Huntr fuzz: dwg->num_objects + tbl->number overflow | https://api.github.com/repos/LibreDWG/libredwg/issues/848/comments | 5 | 2023-09-26T00:02:26Z | 2023-10-08T02:54:29Z | https://github.com/LibreDWG/libredwg/issues/848 | 1,912,459,558 | 848 |
[
"LibreDWG",
"libredwg"
] | There is an error decoding DWG in 2004 format. What is the cause of this error? | LOG_ERROR ("Invalid Data Section Page Map type 0x%x != 0x4163003b", FIELD_VALUE (section_type)); | https://api.github.com/repos/LibreDWG/libredwg/issues/846/comments | 2 | 2023-09-22T03:46:40Z | 2023-09-22T05:49:27Z | https://github.com/LibreDWG/libredwg/issues/846 | 1,908,133,495 | 846 |
[
"LibreDWG",
"libredwg"
] | FATAL EXCEPTION: main
Process: com.example.cadviwer, PID: 8631
java.lang.UnsatisfiedLinkError: dlopen failed: library "libredwg.so.0" not found: needed by /data/app/~~ymWA7_c29qFzOomORNeq8w==/com.example.cadviwer-TsQ4zoJndvEAVx0JlHtfkg==/base | How can I use the LibreDWG library on an Android smartphone? | https://api.github.com/repos/LibreDWG/libredwg/issues/844/comments | 4 | 2023-09-20T10:22:19Z | 2023-09-21T08:55:29Z | https://github.com/LibreDWG/libredwg/issues/844 | 1,904,672,980 | 844 |
[
"LibreDWG",
"libredwg"
] | ./configure --host=arm-linux-androideabi --prefix=/home/qw/arm
make
make install
====Compiling failed
How to proceed step by step? please provide a solution. | LibreDWG Compiling an Android library with NDK on Ubuntu is not successful. | https://api.github.com/repos/LibreDWG/libredwg/issues/843/comments | 3 | 2023-09-20T07:06:47Z | 2023-09-20T10:08:23Z | https://github.com/LibreDWG/libredwg/issues/843 | 1,904,306,238 | 843 |
[
"LibreDWG",
"libredwg"
] | Ultra - "nit picky" - "All 0 tests passed" is both confusing and needless - can It be > 0 or not show atol?
```
====================
All 252 tests passed
====================
make[4]: Leaving directory '/home/libredwg/libredwg/test/unit-testing'
make[3]: Leaving directory '/home/libredwg/libredwg/test/unit-test... | 0 tests passed | https://api.github.com/repos/LibreDWG/libredwg/issues/841/comments | 2 | 2023-09-07T01:16:34Z | 2023-09-20T07:42:23Z | https://github.com/LibreDWG/libredwg/issues/841 | 1,884,951,156 | 841 |
[
"LibreDWG",
"libredwg"
] | For some reason I'm singing myself/ the company I work at for up to this. If you dont want it or there is no PR in 6 months - please close this.
C/C++ is "nice", "python" is - ML only - as far as I'm concerned.
The JSON "intermittent" step is a pain (see #837) so I need easy access to the structs.
| Go bindings | https://api.github.com/repos/LibreDWG/libredwg/issues/840/comments | 1 | 2023-09-07T01:10:02Z | 2023-09-07T08:04:57Z | https://github.com/LibreDWG/libredwg/issues/840 | 1,884,946,873 | 840 |
[
"LibreDWG",
"libredwg"
] | This is me getting - "nit picky", just close if you dont agree.
If you try to build a stock build on a fresh Ubuntu system (I.E as per the instructions in the README) you need the "texinfo" package - requiring needless Perl packages in my case (this instance doesn't need docs, its "cattle" not a "pet").
`./confi... | Texinfo requires alot of packages. --disable-docs | https://api.github.com/repos/LibreDWG/libredwg/issues/839/comments | 1 | 2023-09-07T00:43:31Z | 2024-03-12T10:20:26Z | https://github.com/LibreDWG/libredwg/issues/839 | 1,884,929,871 | 839 |
[
"LibreDWG",
"libredwg"
] | Pretty self explanatory, no matter what I pass I.E `-j12` - it has no impact | Make seems capped at 4 CPU processes? | https://api.github.com/repos/LibreDWG/libredwg/issues/838/comments | 4 | 2023-09-07T00:26:28Z | 2024-01-12T07:19:10Z | https://github.com/LibreDWG/libredwg/issues/838 | 1,884,919,464 | 838 |
[
"LibreDWG",
"libredwg"
] | For me a 1.5MB DWG gets expanded to about 21MB of JSON, which is about a 1300% increase in storage requirements!
Luckily I can trash the JSON when I'm done but the storage requirements is quite the increase.
A wild guess would be the JSON keys being repeated "long_strings" does the most damage.
Is the filesize... | JSON file sizes | https://api.github.com/repos/LibreDWG/libredwg/issues/837/comments | 3 | 2023-09-06T16:22:05Z | 2023-09-12T20:06:56Z | https://github.com/LibreDWG/libredwg/issues/837 | 1,884,355,825 | 837 |
[
"LibreDWG",
"libredwg"
] | Hey, long time no support request - great work on the library! :wave:
Ive got a DWG i'm trying to read to JSON and get the following errors;
```
$ ../programs/dwgread -O json -o ./dwgread-DR.json dr_test.dwg -v3
Warning: checksum: 0x54100440 (calculated) CRC mismatch 0x13afbc0-0x13afbd0
Warning: Invalid sec... | Invalid sections: 0 != numgaps: 10 + numsections | https://api.github.com/repos/LibreDWG/libredwg/issues/836/comments | 2 | 2023-09-06T16:17:59Z | 2024-02-06T07:23:59Z | https://github.com/LibreDWG/libredwg/issues/836 | 1,884,350,014 | 836 |
[
"LibreDWG",
"libredwg"
] | Hi,I have a dxf file used dxf2dwg.exe to convert it to dwg,but it ocuurs error as follows:
D:\code\dwg\libredwg>dxf2dwg.exe 456.dxf
Reading DXF file 456.dxf
ERROR: Invalid DXF group code: 6400
ERROR: Failed to decode DXF file: 456.dxf
READ ERROR 0x800 456.dxf
and I give the dxf file ,please give me an answ... | indxf binary: Invalid DXF group code :6400 | https://api.github.com/repos/LibreDWG/libredwg/issues/835/comments | 5 | 2023-09-05T11:00:35Z | 2024-02-05T10:17:40Z | https://github.com/LibreDWG/libredwg/issues/835 | 1,881,732,730 | 835 |
[
"LibreDWG",
"libredwg"
] | example_2018.json.err
s531-smooth-plate-standard-bottom-stair-connection-to-embed_from_pacificstair.com.json.err
s532-smooth-plate-extended-top-stair-connection-to-embed_from_pacificstair.com.json.err
s533-smooth-plate-extended-bottom-stair-connection-to-embed_from_pacificstair.com.json.err
s534-smooth-plate-haunch... | json-check: Object of class AcDbLayerTableRecord can't be cast to AcDbEntity | https://api.github.com/repos/LibreDWG/libredwg/issues/833/comments | 2 | 2023-09-04T10:24:42Z | 2023-09-20T07:51:15Z | https://github.com/LibreDWG/libredwg/issues/833 | 1,879,970,019 | 833 |
[
"LibreDWG",
"libredwg"
] | r10/from_autocad_r10_mac/tablet.dwg and the xenix variant cannot decode a POLYLINE_2D, which is wrongly identified as POLYLINE_MESH, with 2D and 3D nd MESH vertices, with bulge and tangent_dir.
the pline_flag offset calc is wrong, for ltype preR11. there the ltype has only size 1.
type: 19 [RCd]
Detect polyline: s... | decode_r11: wrong POLYLINE/VERTEX decode | https://api.github.com/repos/LibreDWG/libredwg/issues/832/comments | 0 | 2023-09-04T08:17:56Z | 2023-09-04T10:21:16Z | https://github.com/LibreDWG/libredwg/issues/832 | 1,879,757,659 | 832 |
[
"LibreDWG",
"libredwg"
] | e.g. tablet_from_autocad_r10_mac.json.err
this error comes from illegal layer color.index defaults, because the decode already fails before in ptr tbl VPORT.size overflow. | json-check: AcDbLayerTableRecord(1D): Color index 0 | https://api.github.com/repos/LibreDWG/libredwg/issues/831/comments | 1 | 2023-09-01T15:37:05Z | 2023-09-04T10:23:04Z | https://github.com/LibreDWG/libredwg/issues/831 | 1,877,640,856 | 831 |
[
"LibreDWG",
"libredwg"
] | wrong prev_entity, next_entity links, see 2018/Surface, 2004/113200,
to/2004/from_uloz.to/00_002_SKLADBA_STROPU_NAD_1NP_Kl_B.dwg
seems like the prev,next_entity links are absolute, not relative. downconvert_relative_handle was harmful | json-check: AcDbBlockTableRecord encode errors | https://api.github.com/repos/LibreDWG/libredwg/issues/830/comments | 1 | 2023-09-01T15:34:55Z | 2023-11-24T09:56:47Z | https://github.com/LibreDWG/libredwg/issues/830 | 1,877,637,748 | 830 |
[
"LibreDWG",
"libredwg"
] | lots of ODA Warning: Invalid input
AcDb2dPolyline(16B9)
and AcDbBlockTableRecord ODA errors, because the 2nd to last elements in the entity chain have an empty next_entity handle. the last also has an empty prev_entity.
e.g. for
vertex[0]: (3.2.16BA) abs:5818 [H* 0]
vertex[1]: (3.2.16BB) abs:5819 [H* 0]
vertex... | encode vertex chains. next_entity missing. in_postprocess_SEQEND | https://api.github.com/repos/LibreDWG/libredwg/issues/829/comments | 0 | 2023-09-01T06:30:12Z | 2023-09-01T15:34:29Z | https://github.com/LibreDWG/libredwg/issues/829 | 1,876,827,193 | 829 |
[
"LibreDWG",
"libredwg"
] | I have JSON output like:
```
{
"entity": "BLOCK",
"index": 23,
"type": 4,
"handle": [0, 1, 33],
"size": 29,
"bitsize": 187,
"_subclass": "AcDbEntity",
"layer": [5, 1, 16, 16],
"prev_entity": [4, 0, 0, 0],
"next_entity": [4, 0, 0, 0],
"pr... | JSON file generated by libredwg is not valid - duplicate keys | https://api.github.com/repos/LibreDWG/libredwg/issues/828/comments | 2 | 2023-08-31T11:22:16Z | 2023-08-31T14:52:23Z | https://github.com/LibreDWG/libredwg/issues/828 | 1,875,330,097 | 828 |
[
"LibreDWG",
"libredwg"
] | eg ./json-check 2000/Cylinder
incomplete 3DSOLID_wire import
ERROR: Unknown type for 3DSOLID_wire.points 3BD* with ARRAY
indxf is ok though, just a different entities roundtrip in different order
| injson 3DSOLID | https://api.github.com/repos/LibreDWG/libredwg/issues/827/comments | 0 | 2023-08-31T10:58:30Z | 2023-09-01T15:34:28Z | https://github.com/LibreDWG/libredwg/issues/827 | 1,875,294,535 | 827 |
[
"LibreDWG",
"libredwg"
] | first, look at https://github.com/mrclnz/dwgthumb and the (probably old) bugs it fixes.
then new type 6 (== PNG)
```
overall size: 5764 [RL]
num_headers: 2 [RC]
[0] Code: 1 [RC]
Header data start: 487 [RL]
Header data size: 80 [RL] (80)
[1] Code: 6 [RC]
Data start: 567 [RL]
Size of unknown type 6: 5... | better dwgbmp support | https://api.github.com/repos/LibreDWG/libredwg/issues/824/comments | 0 | 2023-08-31T08:49:57Z | 2023-08-31T15:18:00Z | https://github.com/LibreDWG/libredwg/issues/824 | 1,875,075,224 | 824 |
[
"LibreDWG",
"libredwg"
] | new version defaults, don't write r2000, but old versions asis
dwg readers would prefer r2000 or higher, oda can only read from r9 on,
but for the sake of sanity and less up/downconversions don't upconvert preR13 to r2000 per default.
only <r1.4 upconvert to r1.4, and >=r2004 down to r2000.
This way we have m... | change dwgwrite version defaults from r2000 to asis | https://api.github.com/repos/LibreDWG/libredwg/issues/823/comments | 3 | 2023-08-31T08:00:33Z | 2023-08-31T11:31:37Z | https://github.com/LibreDWG/libredwg/issues/823 | 1,874,994,056 | 823 |
[
"LibreDWG",
"libredwg"
] | Attempting to build 0.12.5.6241 on macos 10.15 (x86_64) with clang 11 fails with:
```
In file included from out_json.c:2593:
./2ndheader.spec:111:3: error: format specifies type 'unsigned short' but the argument has type 'BITCODE_RL' (aka 'unsigned int') [-Werror,-Wformat]
FIELD_RSx (crc, 0);
^~~~~~~~~~~~~~~... | Build failure with clang 11 on macos x86_64 | https://api.github.com/repos/LibreDWG/libredwg/issues/820/comments | 2 | 2023-08-27T17:22:14Z | 2023-08-28T12:21:13Z | https://github.com/LibreDWG/libredwg/issues/820 | 1,868,569,104 | 820 |
[
"LibreDWG",
"libredwg"
] | Actual situation:
Example (Blank AC2.10 DWG file)
[BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/12431679/BLANK.DWG.gz)
After conversion to JSON, there is BLOCK_HEADER in the form:
```
...
{
}
...
```
Because code (in src/out_json.c):
```
...
case DWG_TYPE_BLOCK_HEADER:
if (dat->ve... | What about BLOCK_HEADER in DWG->JSON conversion in preR13? | https://api.github.com/repos/LibreDWG/libredwg/issues/818/comments | 3 | 2023-08-24T17:01:36Z | 2023-09-05T08:31:22Z | https://github.com/LibreDWG/libredwg/issues/818 | 1,865,556,131 | 818 |
[
"LibreDWG",
"libredwg"
] | with 2004/dbcolor json roundtrips and applying the following diff, results in a fixed ODA conversion. no Annotative data, no other APPID records.
without it fails with
Object of class AcDbRegAppTableRecord can't be cast to AcDbEntity.
``` diff
--- ../.build/dbcolor_2004.json 2023-08-24 18:23:06.390050916 +0200
... | fixing 2004 oda issue AcDbRegAppTableRecord can't be cast to AcDbEntity | https://api.github.com/repos/LibreDWG/libredwg/issues/817/comments | 3 | 2023-08-24T16:35:49Z | 2023-08-28T13:16:39Z | https://github.com/LibreDWG/libredwg/issues/817 | 1,865,519,003 | 817 |
[
"LibreDWG",
"libredwg"
] | There is call:
```
encode_preR13_section (SECTION_BLOCK, dat, dwg);
```
But in ```encode_preR13_section()``` is the possibility of returned error.
I am proposing to change to:
```
error |= encode_preR13_section (SECTION_BLOCK, dat, dwg);
``` | in dwg_encode are not properly handled errors | https://api.github.com/repos/LibreDWG/libredwg/issues/814/comments | 1 | 2023-08-23T15:44:57Z | 2023-08-24T07:12:49Z | https://github.com/LibreDWG/libredwg/issues/814 | 1,863,590,637 | 814 |
[
"LibreDWG",
"libredwg"
] | Output of compilation:
```
dwg2ps.c: In function ‘create_postscript’:
dwg2ps.c:117:54: error: passing argument 4 of ‘set_info’ from incompatible pointer type [-Werror=incompatible-pointer-types]
117 | (void)set_info (ps, dwg, "Author", dwg->summaryinfo.LASTSAVEDBY);
| ... | dwg2ps issue after summaryinfo changes | https://api.github.com/repos/LibreDWG/libredwg/issues/812/comments | 1 | 2023-08-23T15:07:59Z | 2023-08-24T07:12:58Z | https://github.com/LibreDWG/libredwg/issues/812 | 1,863,528,950 | 812 |
[
"LibreDWG",
"libredwg"
] | at least a NULL handle or so.
we still get ODA recovery errors | create a VX_CONTROL object on downconverting | https://api.github.com/repos/LibreDWG/libredwg/issues/811/comments | 0 | 2023-08-23T07:22:52Z | 2023-08-24T07:13:14Z | https://github.com/LibreDWG/libredwg/issues/811 | 1,862,727,250 | 811 |
[
"LibreDWG",
"libredwg"
] | I am saving dwg file as geojson file from command line with dwgread.exe. when I look at the geographic coordinates... it shows 6 digits after the comma. 6 digits is not enough for geographic coordinates. How can I make it to have at least 10 digits. | Not enough digits for geojson coordinates | https://api.github.com/repos/LibreDWG/libredwg/issues/810/comments | 11 | 2023-08-22T13:16:58Z | 2023-08-26T22:04:08Z | https://github.com/LibreDWG/libredwg/issues/810 | 1,861,447,387 | 810 |
[
"LibreDWG",
"libredwg"
] | There is an issue in the encoding of 3DLINE in pre13.
Test via dwgadd.
cat test.dwgadd
```
line (1 2 3) (4 5 6)
```
Command:
```dwgadd -v9 --as r9 -o test.dwg test.dwgadd```
Output:
```
Add entity _3DLINE [8] Decode entity _3DLINE
===========================
Entity number: 8, Type: 21, Addr: 3ef
fla... | Issue in encoding 3DLINE in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/809/comments | 6 | 2023-08-18T17:41:26Z | 2023-08-24T12:26:26Z | https://github.com/LibreDWG/libredwg/issues/809 | 1,857,068,223 | 809 |
[
"LibreDWG",
"libredwg"
] | use bit_chain's not pointers.
use the r2004 decompressor.
use fields, not hand-written getters. | Refactor decode_r2007 to use normal 2004 methods | https://api.github.com/repos/LibreDWG/libredwg/issues/806/comments | 0 | 2023-08-18T07:04:33Z | 2023-08-18T07:04:43Z | https://github.com/LibreDWG/libredwg/issues/806 | 1,856,178,069 | 806 |
[
"LibreDWG",
"libredwg"
] | Example file:
[line.dwg.gz](https://github.com/LibreDWG/libredwg/files/12373403/line.dwg.gz)
Decoding output:
```
=======> Thumbnail: 3165
```
Detection of thumbnail:
```
00000c5d 3080 DWG_SENTINEL_THUMBNAIL_BEGIN [..16]
000050f8 3081 DWG_SENTINEL_THUMBNAIL_END [..16]
```
Begin address is rig... | Don't decode AC1014 thumbnail | https://api.github.com/repos/LibreDWG/libredwg/issues/805/comments | 5 | 2023-08-17T20:40:10Z | 2023-08-18T14:16:16Z | https://github.com/LibreDWG/libredwg/issues/805 | 1,855,675,681 | 805 |
[
"LibreDWG",
"libredwg"
] | Actually, we have handles section in the second header like:
```
num_handles: 14 [BS 0]
handles[0].num_hdl: 1 [RCd 0]
handles[0].nr: 0 [RCd 0]
hdl: { 0x2c } [*RC]
handles[1].num_hdl: 1 [RCd 0]
handles[1].nr: 1 [RCd 0]
hdl: { 0x1 } [*RC]
handles[2].num_hdl: 1 [RCd 0]
handles[2].nr: 2 [RCd 0]
hdl: { 0x2 } [*RC... | Improve handles logging of second header | https://api.github.com/repos/LibreDWG/libredwg/issues/804/comments | 5 | 2023-08-16T16:51:14Z | 2023-08-17T19:55:05Z | https://github.com/LibreDWG/libredwg/issues/804 | 1,853,596,028 | 804 |
[
"LibreDWG",
"libredwg"
] | Test scenario:
Input DWG file (blank file from AutoCAD 2000):
[test.dwg.gz](https://github.com/LibreDWG/libredwg/files/12361564/test.dwg.gz)
When I convert to JSON, 10th handle in JSON:
```
{
"nr": 10,
"hdl": [
11
]
},
```
Which is backup of ```VX_CONTROL_OBJECT... | Issue in 10th handle in second header | https://api.github.com/repos/LibreDWG/libredwg/issues/803/comments | 3 | 2023-08-16T16:35:11Z | 2023-08-17T14:08:09Z | https://github.com/LibreDWG/libredwg/issues/803 | 1,853,575,310 | 803 |
[
"LibreDWG",
"libredwg"
] | need to handle possible double-bytes?
either into TU codepage specific, or into utf8 (as injson and indxf)
the IS_FROM_TU macro would be also wrong for the first currently implemented case, at least for BIG5, GB2312
* 932 is single-byte for most chars, but 0x8*, 0x9*, 0xE* and 0xF* lead bytes
* CP949, JOHAB, ANSI... | decode pre-r2007 asian codepages | https://api.github.com/repos/LibreDWG/libredwg/issues/802/comments | 0 | 2023-08-14T05:58:04Z | 2023-08-16T08:39:42Z | https://github.com/LibreDWG/libredwg/issues/802 | 1,849,054,996 | 802 |
[
"LibreDWG",
"libredwg"
] | Building 0ad71990 on Ubuntu 23.04 with GCC 12.3.0 fails:
```
escape.c: In function ‘htmlescape’:
escape.c:41:25: error: pointer ‘dest’ used after ‘realloc’ [-Werror=use-after-free]
41 | const int off = d - dest;
| ~~^~~~~~
escape.c:45:25: note: call to ‘realloc’ here
45 ... | realloc UAF (gcc 12) | https://api.github.com/repos/LibreDWG/libredwg/issues/801/comments | 3 | 2023-08-13T14:13:32Z | 2023-08-21T08:34:50Z | https://github.com/LibreDWG/libredwg/issues/801 | 1,848,611,259 | 801 |
[
"LibreDWG",
"libredwg"
] | somethink like
```
VERSIONS (R_13, R_2000) {
IF_ENCODE_FROM_EARLIER {
// documented as 0x18,0x78,0x01,0x04 for R13, 0x18,0x78,0x01,0x05 for R14
// r14: 7d f4 78 01
// r2000: 14 64 78 01
VERSION (R_13) {
unknown_rc4[] = { 0x18, 0x78, 0x01, 0x04 };
}
VERSION (R_14) {
... | Add a 2ndheader.spec | https://api.github.com/repos/LibreDWG/libredwg/issues/800/comments | 3 | 2023-08-04T10:40:39Z | 2023-08-11T14:20:40Z | https://github.com/LibreDWG/libredwg/issues/800 | 1,836,500,423 | 800 |
[
"LibreDWG",
"libredwg"
] | https://json-schema.org/
https://github.com/LibreDWG/libredwg/blob/work/libredwg-schema/libredwg-schema.json
let gen-dynapi.pl generate it. | Add a json-schema spec | https://api.github.com/repos/LibreDWG/libredwg/issues/799/comments | 0 | 2023-08-04T07:53:59Z | 2023-08-13T11:43:42Z | https://github.com/LibreDWG/libredwg/issues/799 | 1,836,255,980 | 799 |
[
"LibreDWG",
"libredwg"
] | error:

bug file:
[dwg.zip](https://github.com/LibreDWG/libredwg/files/12256366/dwg.zip)
| AC1018 read_R2004_section_info corruption with AcDbObjects | https://api.github.com/repos/LibreDWG/libredwg/issues/797/comments | 4 | 2023-08-04T02:03:46Z | 2023-08-04T07:37:38Z | https://github.com/LibreDWG/libredwg/issues/797 | 1,835,951,932 | 797 |
[
"LibreDWG",
"libredwg"
] | When I am investigating https://github.com/LibreDWG/libredwg/issues/346 I found that 2NDHEADER isn't in JSON.
When I convert JSON to DWG, the DWG is without 2NDHEADER.
What about adding 2NDHEADER to JSON?
Or do we need to fix the conversion from JSON to DWG by adding 2NDHEADER? | 2NDHEADER in JSON | https://api.github.com/repos/LibreDWG/libredwg/issues/792/comments | 9 | 2023-07-31T21:12:43Z | 2023-08-16T16:36:44Z | https://github.com/LibreDWG/libredwg/issues/792 | 1,830,034,153 | 792 |
[
"LibreDWG",
"libredwg"
] | When I am looking at https://github.com/LibreDWG/libredwg/issues/789 I am looking to diff between dwgread log in -v3 log level.
And output is like:
```
< Next object: 8 Handleoff: 0x1 [UMC] Offset: 245 [MC]
---
> Next object: 8 Handleoff: 0x1 [UMC] Offset: 40 [MC]
```
and
```
546c546
< Object number: 9/9, Siz... | Proposal of logging change of addresses | https://api.github.com/repos/LibreDWG/libredwg/issues/790/comments | 1 | 2023-07-31T20:05:16Z | 2023-08-01T10:39:25Z | https://github.com/LibreDWG/libredwg/issues/790 | 1,829,936,924 | 790 |
[
"LibreDWG",
"libredwg"
] | When I am investigating https://github.com/LibreDWG/libredwg/issues/346 I found an issue with AcDb:Handles section
Process:
- DWG file from https://github.com/LibreDWG/libredwg/issues/346
```
section[2].number: 2 [RC] AcDb:Handles
section[2].address: 163035 [RL]
section[2].size: 678 [RL]
```
- Convert... | AcDb:Handles start address | https://api.github.com/repos/LibreDWG/libredwg/issues/789/comments | 4 | 2023-07-31T19:11:47Z | 2023-08-01T17:20:20Z | https://github.com/LibreDWG/libredwg/issues/789 | 1,829,854,547 | 789 |
[
"LibreDWG",
"libredwg"
] | When I am investigating https://github.com/LibreDWG/libredwg/issues/346 I found issues in Template section
Support of templates is from R14
Template section consists from description and MEASUREMENT fields:
There are two types of Template section:
1. AC1013 .. AC1018
description is RS for text size and RC for ea... | template section: T16 up/downconvert needed | https://api.github.com/repos/LibreDWG/libredwg/issues/788/comments | 18 | 2023-07-31T09:19:09Z | 2023-08-16T16:52:53Z | https://github.com/LibreDWG/libredwg/issues/788 | 1,828,763,249 | 788 |
[
"LibreDWG",
"libredwg"
] | I'm new to dxf format, but wrote this `test.dxf`:
```
0
SECTION
2
ENTITIES
0
LINE
8
Polygon
10
0.0
20
0.0
11
100.0
21
0.0
0
LINE
8
Polygon
10
100.0
20
0.0
11
100.0
21
100.0
0
LINE
8
Polygon
10
0.0
20
0.0
11
100.0
21
100.0
0
ENDSEC
0
EOF
```
I was able to open it in AutoC... | dxf2dwg ERROR: File test.dxf too small, 225 byte. | https://api.github.com/repos/LibreDWG/libredwg/issues/786/comments | 0 | 2023-07-29T14:15:06Z | 2023-08-02T08:55:49Z | https://github.com/LibreDWG/libredwg/issues/786 | 1,827,499,956 | 786 |
[
"LibreDWG",
"libredwg"
] | In https://github.com/LibreDWG/libredwg/issues/346 is discussed issue:
```
1206,1207c1206
< "index": 256,
< "rgb": "c3000007"
---
> "rgb": "c0000000"
```
There is the conversion of fill_color (CMC) defined by (AC1015):
```
rowstyles[rcount1].fill_color.index: 256 [CMC.BS ... | DWG to JSON (and back) and CMC issue | https://api.github.com/repos/LibreDWG/libredwg/issues/785/comments | 9 | 2023-07-24T19:55:41Z | 2023-08-01T14:21:41Z | https://github.com/LibreDWG/libredwg/issues/785 | 1,819,043,264 | 785 |
[
"LibreDWG",
"libredwg"
] | Hi.
When I input statement “dwgread –O GeoJSON –o outjson Arc.dwg” in cmd, the program keeps waiting and cannot run. What is the reason for this? | How to use dwgread | https://api.github.com/repos/LibreDWG/libredwg/issues/784/comments | 2 | 2023-07-24T07:35:02Z | 2023-07-25T05:36:11Z | https://github.com/LibreDWG/libredwg/issues/784 | 1,817,824,362 | 784 |
[
"LibreDWG",
"libredwg"
] | Hi,
I see in the bindings folder that only perl and python are supported.
Is there a way to use it for JAVA/Android?
Thank you very much, | Bindings for Java/Android | https://api.github.com/repos/LibreDWG/libredwg/issues/783/comments | 3 | 2023-07-24T02:19:41Z | 2023-09-21T08:56:02Z | https://github.com/LibreDWG/libredwg/issues/783 | 1,817,473,571 | 783 |
[
"LibreDWG",
"libredwg"
] | We have an issue in dwg_find_color_index(), which is not working.
The problem is with:
```
BITCODE_BL rgb = 0xff0000;
Dwg_RGB_Palette pal;
pal.r = rgb & 0xff0000;
```
where BITCODE_BL is uint32_t and pal.r is unsigned char and conversion isn't working. | Issue in dwg_find_color_index() | https://api.github.com/repos/LibreDWG/libredwg/issues/780/comments | 5 | 2023-07-21T18:54:40Z | 2023-07-24T05:05:08Z | https://github.com/LibreDWG/libredwg/issues/780 | 1,816,257,105 | 780 |
[
"LibreDWG",
"libredwg"
] | In https://github.com/LibreDWG/libredwg/issues/346 I described roundtripping issue in conversion between JSON and DWG.
In the conversion from DWG to JSON is used:
```
DWG_TABLE (LTYPE)
...
FIELD_BINARY (strings_area, 256, 0);
```
in dwg.spec
The result of the conversion of "" is 512 character string with zero... | DWG to JSON and back strings_area issue | https://api.github.com/repos/LibreDWG/libredwg/issues/775/comments | 9 | 2023-07-19T10:39:27Z | 2023-07-24T05:05:23Z | https://github.com/LibreDWG/libredwg/issues/775 | 1,811,672,725 | 775 |
[
"LibreDWG",
"libredwg"
] | RS,RL,handles still broken on mips32 and ppc64 big-endian.
I'm adding now qemu binfmt support (debian-style) to the scripts (env LD_LIBRARY_PATH='/usr/powerpc64-linux-gnu/lib), just debugging is tricky there.
* [X] compile on mip32 and ppc64
* [X] decode and convert to JSON
* [x] bits_test
* [x] bit_read_DD co... | check and fix big-endian | https://api.github.com/repos/LibreDWG/libredwg/issues/774/comments | 1 | 2023-07-17T14:15:45Z | 2023-07-27T11:01:53Z | https://github.com/LibreDWG/libredwg/issues/774 | 1,807,890,499 | 774 |
[
"LibreDWG",
"libredwg"
] | libredwg 0.12.5.5907 currently [fails to build on ppc64](https://build.opensuse.org/package/live_build_log/devel:libraries:c_c++/libredwg/openSUSE_Factory_PowerPC/ppc64):
```
[ 39s] bits.c: In function 'bit_read_RD':
[ 39s] bits.c:555:31: error: passing argument 1 of '__bswap_64' makes integer from pointer wit... | FTBFS 0.12.5.5907 on ppc64 | https://api.github.com/repos/LibreDWG/libredwg/issues/773/comments | 1 | 2023-07-15T18:15:48Z | 2023-07-17T10:42:46Z | https://github.com/LibreDWG/libredwg/issues/773 | 1,806,263,388 | 773 |
[
"LibreDWG",
"libredwg"
] |
I downloaded the libredwg-0.12.5.5885-win64.zip and extracted it. I'm trying to run the dwg2svg2.exe. I'm getting a popup saying libredwg-0.dll was not found. How do I get this? Do I need to download anything else?
Please help and guide on how to run the exe files on windows system</div> | How to use this? dlls missing | https://api.github.com/repos/LibreDWG/libredwg/issues/771/comments | 3 | 2023-07-05T17:56:11Z | 2024-03-19T07:28:26Z | https://github.com/LibreDWG/libredwg/issues/771 | 1,790,025,685 | 771 |
[
"LibreDWG",
"libredwg"
] | Hello,
I try to convert dwg to dxf using dwg2dxf, got error as below:
dwg2dxf -o ~/Downloads/64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg.dxf /Downloads/64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg
Reading DWG file /Downloads/64a08d92d5b6a0c965b9442fb0b48fb7389b9cec.dwg
ERROR: Failed to decode file: /Users/weik... | decode section_map_address: 0x0 [RLL 0] (r2004) | https://api.github.com/repos/LibreDWG/libredwg/issues/769/comments | 2 | 2023-07-04T13:44:37Z | 2023-07-07T06:22:41Z | https://github.com/LibreDWG/libredwg/issues/769 | 1,787,964,517 | 769 |
[
"LibreDWG",
"libredwg"
] | In order to display the type and name of each handle, starting with HEADER, we'd need to prescan all objects (HANDLES) at least for the type, for table records even up to its name.
Currently we can display it only for back references, not future objects.
e.g.
```
reactors[0]: (4.1.C) abs:12 [H* 330] => DICTIONARY... | prescan objects with -v4 | https://api.github.com/repos/LibreDWG/libredwg/issues/768/comments | 0 | 2023-06-30T06:08:53Z | 2023-06-30T07:07:22Z | https://github.com/LibreDWG/libredwg/issues/768 | 1,781,953,793 | 768 |
[
"LibreDWG",
"libredwg"
] | Hello,
I'm trying to convert dwg to dxf using dwg2dxf, there are some errors and the dxf file is not generated.
Are there any way to solve the errors?
Thank you.
### environment
macOS big sur 11.5.2 , Apple clang version 12.0.5 (clang-1205.0.22.9),GNU Make 3.81, libredwg latest [commit](https://github.com... | decode error in r11 layer and view.address | https://api.github.com/repos/LibreDWG/libredwg/issues/767/comments | 13 | 2023-06-25T06:54:36Z | 2023-07-07T06:25:11Z | https://github.com/LibreDWG/libredwg/issues/767 | 1,773,102,703 | 767 |
[
"LibreDWG",
"libredwg"
] | e.g. with MLEADERSTYLE converted to r2000:
EED found ACAD_MLEADERVER 107
EED[0] code: 70 [RC], short: 2 [RS]
ACAD_MLEADERVER class_version: 2
with ACAD_MLEADERVER as added APPID of name ACAD_MLEADERVER
DIMSTYLE may need a APPID "ACAD_DSTYLE_DIMJAG" or ACAD_DSTYLE_DIMTALN | downconverting some classes need to add a class_version EED | https://api.github.com/repos/LibreDWG/libredwg/issues/766/comments | 0 | 2023-06-22T13:39:21Z | 2023-06-23T15:03:41Z | https://github.com/LibreDWG/libredwg/issues/766 | 1,769,703,108 | 766 |
[
"LibreDWG",
"libredwg"
] | see the branch work/oda and its actions, which installs the ODAFileConverter
and tests it against our produced dwgs from json. DXF not yet.
```
TeighaFileConverter . .. ACAD2004 DXF 0 1 example_2004.dwg
OdError thrown during readFile of drawing "/home/runner/work/libredwg/libredwg/programs/example_2004.dwg" :
... | add oda check to json.test, add to CI | https://api.github.com/repos/LibreDWG/libredwg/issues/764/comments | 3 | 2023-06-21T13:06:19Z | 2023-06-25T06:25:19Z | https://github.com/LibreDWG/libredwg/issues/764 | 1,767,565,781 | 764 |
[
"LibreDWG",
"libredwg"
] | Hello,
I'm trying to convert dwg to dxf using dwg2dxf, there are some errors and the converted dxf file is invalid.
Are there any way to solve the errors? Is it a bug?
Thank you.
### environment
macOS big sur 11.5.2 , Apple clang version 12.0.5 (clang-1205.0.22.9),GNU Make 3.81, libredwg latest [commit](h... | convert failed in dwg2dxf | https://api.github.com/repos/LibreDWG/libredwg/issues/763/comments | 2 | 2023-06-14T10:07:09Z | 2023-06-14T12:40:58Z | https://github.com/LibreDWG/libredwg/issues/763 | 1,756,527,489 | 763 |
[
"LibreDWG",
"libredwg"
] | Hello, I was testing some dwg files and found entities are splitted into different parts in dwg2dxf.
### case 1
weiken@B-M71PMD6M-1836 libredwg-0.12.5.5759 % programs/dwg2dxf -o ~/Downloads/test_021.dxf ~/Downloads/test_021.dwg
Reading DWG file /Users/weiken/Downloads/test_021.dwg
Warning: checksum: 0x2cc512c3 (c... | To dxf entities are splitted into different parts | https://api.github.com/repos/LibreDWG/libredwg/issues/762/comments | 1 | 2023-06-12T09:30:59Z | 2024-02-26T15:52:46Z | https://github.com/LibreDWG/libredwg/issues/762 | 1,752,320,774 | 762 |
[
"LibreDWG",
"libredwg"
] | In postR13 is in the header handle for these default LTYPE values.
But in preR13 it quietly does not find a handle for these types.
```
...
if (vars->LTYPE_BYLAYER)
return vars->LTYPE_BYLAYER;
...
```
in https://github.com/LibreDWG/libredwg/blob/master/src/dwg.c#L2580-L2581
In the cas... | Question: What about default LTYPE values like BYLAYER, BYBLOCK, CONTINUOUS in preR13? | https://api.github.com/repos/LibreDWG/libredwg/issues/761/comments | 4 | 2023-06-10T09:12:09Z | 2023-08-18T07:11:21Z | https://github.com/LibreDWG/libredwg/issues/761 | 1,750,886,537 | 761 |
[
"LibreDWG",
"libredwg"
] | Hello, I was testing some dwg files and found segmentation fault in dwg2dxf.
### environment
macOS big sur 11.5.2 , Apple clang version 12.0.5 (clang-1205.0.22.9),GNU Make 3.81, libredwg latest [commit](https://github.com/LibreDWG/libredwg/commit/c3ccd2227d2af3343b0818f6b888d7873a16df55)
compile with
./autogen... | segmentation fault in dwg2dxf | https://api.github.com/repos/LibreDWG/libredwg/issues/759/comments | 1 | 2023-06-08T07:02:21Z | 2023-06-08T13:54:05Z | https://github.com/LibreDWG/libredwg/issues/759 | 1,747,214,645 | 759 |
[
"LibreDWG",
"libredwg"
] | I am going to improve flags_r11 setting.
I created PR https://github.com/LibreDWG/libredwg/pull/757 which:
* Describe these numbers precisely
* Added flags_r11 from the structure if is defined
One thing is TODO, which I am not able to set now:
* Add ```dwg->header.section[id].flags_r11 = __FROM_CONTROL__``` in h... | Improve flags_r11 setting in preR13 encoding | https://api.github.com/repos/LibreDWG/libredwg/issues/758/comments | 2 | 2023-06-07T23:52:00Z | 2023-08-26T12:32:27Z | https://github.com/LibreDWG/libredwg/issues/758 | 1,746,837,833 | 758 |
[
"LibreDWG",
"libredwg"
] | Example:
[BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/11677294/BLANK.DWG.gz)
Convert to JSON:
```dwgread -o BLANK.json BLANK.DWG```
In JSON is:
```
...
"MENU": "acad\u0000e\u0000g\offic\u0000",
...
```
Conversion back:
```dwgwrite BLANK.json```
returns:
```
ERROR: Invalid json. jsmn er... | Wrong conversion to JSON for MENU header variable | https://api.github.com/repos/LibreDWG/libredwg/issues/756/comments | 9 | 2023-06-07T13:14:15Z | 2023-06-08T15:50:08Z | https://github.com/LibreDWG/libredwg/issues/756 | 1,745,876,211 | 756 |
[
"LibreDWG",
"libredwg"
] | and values
set elevation_r11 from z
set proper flags and flag_r11, opts_r11 are mostly ok. | wrong polyline/vertex r11 add flags | https://api.github.com/repos/LibreDWG/libredwg/issues/754/comments | 0 | 2023-06-05T07:33:02Z | 2023-06-08T13:54:38Z | https://github.com/LibreDWG/libredwg/issues/754 | 1,741,160,050 | 754 |
[
"LibreDWG",
"libredwg"
] | Example of 3d point:
```
HEADER.INSBASE=(1.0 2.0 3.0)
```
There are another situations like:
```
PLIMMIN: (0.000000, 0.000000) [2RD 10]
PLIMMAX: (12.000000, 9.000000) [2RD 10]
```
where it's 2d point | Add support for dwgadd HEADER setting for point or multiple float values in variable | https://api.github.com/repos/LibreDWG/libredwg/issues/750/comments | 2 | 2023-06-02T12:04:52Z | 2023-06-03T05:36:38Z | https://github.com/LibreDWG/libredwg/issues/750 | 1,738,080,826 | 750 |
[
"LibreDWG",
"libredwg"
] | In doc is construct like:
```
line (0 0 0) (100 0 100)
line.layer = "1"
```
But output is:
```
ERROR: dwg_dynapi_entity_set_value: Invalid LINE field layer
```
in ```dwgadd -v9 --as r11 -o line.dwg foo.dwgadd``` | dwgadd: set table by name | https://api.github.com/repos/LibreDWG/libredwg/issues/749/comments | 5 | 2023-06-02T09:53:50Z | 2023-07-17T10:49:10Z | https://github.com/LibreDWG/libredwg/issues/749 | 1,737,863,496 | 749 |
[
"LibreDWG",
"libredwg"
] | I have example:
```
#include <dwg.h>
#include <dwg_api.h>
#include <string.h>
#include <stdio.h>
#define DWG_LOGLEVEL DWG_LOGLEVEL_ALL
/* Main. */
int
main(int argc, char **argv) {
Dwg_Data *dwg = NULL;
int opts = 9;
static int tracelevel = 9;
char *filename = "out.dwg";... | Issue in setting MENU header variable | https://api.github.com/repos/LibreDWG/libredwg/issues/747/comments | 4 | 2023-06-02T09:39:51Z | 2023-06-02T12:18:08Z | https://github.com/LibreDWG/libredwg/issues/747 | 1,737,837,616 | 747 |
[
"LibreDWG",
"libredwg"
] | blocks might be in between normal entities, see dwgadd.example_r11
instead pass an enum arg for entities, blocks or extras, and decide there then, what to emit. | refactor encode_preR13_entities | https://api.github.com/repos/LibreDWG/libredwg/issues/746/comments | 0 | 2023-06-01T08:42:05Z | 2023-06-02T08:24:17Z | https://github.com/LibreDWG/libredwg/issues/746 | 1,735,789,572 | 746 |
[
"LibreDWG",
"libredwg"
] | Example:
[FOO.DWG.gz](https://github.com/LibreDWG/libredwg/files/11618479/FOO.DWG.gz)
```dwgread -o FOO.json FOO.DWG```
There is bad output:
```
...
{
"object": "VIEW",
"index": 26,
"type": 61,
"handle": [0, 0, 26],
"size": 91,
"flag": 0,
"name": "WIDE\u000... | Regression: Conversions from DWG to JSON in case of FIELD_TFv | https://api.github.com/repos/LibreDWG/libredwg/issues/745/comments | 5 | 2023-05-31T20:07:33Z | 2023-06-02T12:28:11Z | https://github.com/LibreDWG/libredwg/issues/745 | 1,734,935,152 | 745 |
[
"LibreDWG",
"libredwg"
] | When I have input "HEADER.VIEWSIZE = 1.2345"
Actual code
```
...
else if (2 == SSCANF_S (p, "HEADER." FMT_NAME " = %d\n", s1 SZ, &i1))
dwg_dynapi_header_set_value (dwg, s1, &i1, 0);
else if (2 == SSCANF_S (p, "HEADER." FMT_NAME " = %lf\n", s1 SZ, &f1))
dwg_dynapi_header_set_value (d... | Wrong dwgadd parsing of float/int in HEADER variables | https://api.github.com/repos/LibreDWG/libredwg/issues/741/comments | 5 | 2023-05-25T12:12:09Z | 2023-06-01T08:40:55Z | https://github.com/LibreDWG/libredwg/issues/741 | 1,725,701,619 | 741 |
[
"LibreDWG",
"libredwg"
] | 32bit writes wrong handle, and then fails on --verify
also on linux, not just mingw32 | 32bit dwgadd CMLSTYLE: (5.8.950C49F00000018) abs:671252531657048088 [H 2] @390.4 | https://api.github.com/repos/LibreDWG/libredwg/issues/731/comments | 1 | 2023-05-19T20:24:58Z | 2023-05-30T07:01:22Z | https://github.com/LibreDWG/libredwg/issues/731 | 1,717,781,648 | 731 |
[
"LibreDWG",
"libredwg"
] | src file: [huafei.zip](https://github.com/LibreDWG/libredwg/files/11514535/huafei.zip)
code:
auto dwg_ = new Dwg_Data;
int success;
dwg_->num_objects = 0;
success = dwg_read_file(file_path_.string().c_str(), dwg_);
return val:
success = 68
dwg_errstrings shows: UNHANDLEDCLASS VALUEOUTOF... | error code 68 | https://api.github.com/repos/LibreDWG/libredwg/issues/729/comments | 6 | 2023-05-19T07:29:46Z | 2023-06-02T08:29:23Z | https://github.com/LibreDWG/libredwg/issues/729 | 1,716,780,050 | 729 |
[
"LibreDWG",
"libredwg"
] | Input is:
[test.json.gz](https://github.com/LibreDWG/libredwg/files/11471899/test.json.gz)
The command is ```dwgwrite test.json```
In a result are some entities in the extra entities section, which are not in the original JSON/DWG file. | Wrong encoding of POLYLINE in preR13 from JSON to DWG | https://api.github.com/repos/LibreDWG/libredwg/issues/728/comments | 1 | 2023-05-14T12:17:37Z | 2023-06-02T12:33:15Z | https://github.com/LibreDWG/libredwg/issues/728 | 1,708,924,403 | 728 |
[
"LibreDWG",
"libredwg"
] | I have dwgadd code:
```
HEADER.codepage=28
point (0.0 0.0 0.0)
```
```dwgadd -v9 --as r11 -o out.dwg code.dwgadd```
generates DWG file with:
```
...
codepage: 30 [RS 0]
...
```
I think that code in src/header_variables_r11.spec:
```
...
ENCODER {
FIELD_VALUE (codepage) = dwg->header.codepage;
... | Wrong setting of header codepage in dwgadd in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/727/comments | 3 | 2023-05-14T11:30:55Z | 2023-08-15T14:57:24Z | https://github.com/LibreDWG/libredwg/issues/727 | 1,708,910,857 | 727 |
[
"LibreDWG",
"libredwg"
] | In https://github.com/LibreDWG/libredwg/issues/713 we discussed that PR is ugly and we need common POLYLINE and VERTEX entities. | Add common preR13 POLYLINE and VERTEX entities | https://api.github.com/repos/LibreDWG/libredwg/issues/722/comments | 12 | 2023-05-10T19:33:24Z | 2023-06-05T11:07:56Z | https://github.com/LibreDWG/libredwg/issues/722 | 1,704,518,232 | 722 |
[
"LibreDWG",
"libredwg"
] | move the duplicate table fields from the code to dwg_encode_`<tablerecord>`, as with decode.
see the prev. VPORT problem e57255da5160cf7f4b418db704332eb1a702ccef of table mismatches between the code and the spec. | encode_preR13_section with spec tables | https://api.github.com/repos/LibreDWG/libredwg/issues/720/comments | 1 | 2023-05-07T08:35:24Z | 2023-05-08T09:16:55Z | https://github.com/LibreDWG/libredwg/issues/720 | 1,698,958,414 | 720 |
[
"LibreDWG",
"libredwg"
] | when I run these [code](https://github.com/as010101/as010101.github.io/blob/master/img/dwg2svg.cpp)
```
/// part of code
int main(int argc, int ** argv) {
int error = 0;
Dwg_Data dwg;
memset(&dwg, 0, sizeof(Dwg_Data));
g_dwg.opts = 3;
// (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char*... | output_SVG function can't get the correct result | https://api.github.com/repos/LibreDWG/libredwg/issues/718/comments | 10 | 2023-05-04T08:44:30Z | 2023-06-11T17:39:54Z | https://github.com/LibreDWG/libredwg/issues/718 | 1,695,547,546 | 718 |
[
"LibreDWG",
"libredwg"
] | Very similar to #521, except that installing python3.10-dev doesn't help - it's already installed. I tried ./configure LIBS="-L/usr/non-standard-path/python/lib" with every possible path to python 3.10 or 3.8 and every library in /usr/lib/python3.x, and /usr/local/lib/python3.x, and /usr/include/pythonx3.x.
```
conf... | Failed to install with python3.10: Could not link test program to Python | https://api.github.com/repos/LibreDWG/libredwg/issues/717/comments | 2 | 2023-04-30T00:09:58Z | 2023-05-02T22:20:03Z | https://github.com/LibreDWG/libredwg/issues/717 | 1,689,725,758 | 717 |
[
"LibreDWG",
"libredwg"
] | I have dwgadd code:
```
layer "foo"
layer.color=7
```
Command ```dwgadd -v9 --as r11 -o foo.dwg ex2.dwgadd``` exits with ```Segmentation fault```
It's same for all versions which I tested. | Segfault in dwgadd with layer.color=7 | https://api.github.com/repos/LibreDWG/libredwg/issues/716/comments | 6 | 2023-04-27T11:12:20Z | 2023-05-02T06:21:12Z | https://github.com/LibreDWG/libredwg/issues/716 | 1,686,632,921 | 716 |
[
"LibreDWG",
"libredwg"
] | There is an infinite loop in the dwgread on file which I generated by the libredwg.
File:
[test.dwg.gz](https://github.com/LibreDWG/libredwg/files/11341524/test.dwg.gz)
| dwgread infinite loop in DWG file generated by libredwg | https://api.github.com/repos/LibreDWG/libredwg/issues/715/comments | 4 | 2023-04-27T08:53:10Z | 2023-05-04T07:39:49Z | https://github.com/LibreDWG/libredwg/issues/715 | 1,686,417,551 | 715 |
[
"LibreDWG",
"libredwg"
] | The actual situation with parsing of POLYLINE and VERTEX entities in preR13 is this:
* In preR13 is one entity for all POLYLINE and VERTEX types. This means, that the DWG file contains a flag for the (un)presence of variables in the entity and an optional flag (default without this flag is POLYLINE_2D, VERTEX_2D) whic... | Wrong POLYLINE and VERTEX parsing in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/713/comments | 7 | 2023-04-27T08:32:06Z | 2023-05-08T09:17:14Z | https://github.com/LibreDWG/libredwg/issues/713 | 1,686,381,600 | 713 |
[
"LibreDWG",
"libredwg"
] | This commit https://github.com/LibreDWG/libredwg/commit/b0af2cc31fb7a1b4099a804e1729344befc77f14 is wrong.
We need to parse sentinels each time.
Example:
[BLANK.DWG.gz](https://github.com/LibreDWG/libredwg/files/11312586/BLANK.DWG.gz)
Bad output:
```
...
entities: (0x6cf-0x6cf (0), size 0)
=================... | Wrong parsing of R11 tables without items in them | https://api.github.com/repos/LibreDWG/libredwg/issues/709/comments | 2 | 2023-04-24T16:27:14Z | 2023-04-25T14:02:09Z | https://github.com/LibreDWG/libredwg/issues/709 | 1,681,643,752 | 709 |
[
"LibreDWG",
"libredwg"
] |
[bit_read_fixed.zip](https://github.com/LibreDWG/libredwg/files/11304306/bit_read_fixed.zip)
```
user@debian:~/libredwg$ valgrind ./dwgread bit_read_fixed.dwg
==10557== Memcheck, a memory error detector
==10557== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==10557== Using Valgrind-3.16.1 an... | Invalid read of size 4 memcpy bit_read_fixed | https://api.github.com/repos/LibreDWG/libredwg/issues/708/comments | 2 | 2023-04-23T16:57:54Z | 2023-04-24T12:33:42Z | https://github.com/LibreDWG/libredwg/issues/708 | 1,680,093,898 | 708 |
[
"LibreDWG",
"libredwg"
] |
[dwg_decode_POLYLINE_2D_private.zip](https://github.com/LibreDWG/libredwg/files/11304278/dwg_decode_POLYLINE_2D_private.zip)
```
user@debian:~/libredwg$ valgrind ./dwgread dwg_decode_POLYLINE_2D_private.dwg
==10493== Memcheck, a memory error detector
==10493== Copyright (C) 2002-2017, and GNU GPL'd, by Julia... | Invalid write of size 4 dwg_decode_POLYLINE_2D_private | https://api.github.com/repos/LibreDWG/libredwg/issues/707/comments | 2 | 2023-04-23T16:40:29Z | 2023-04-24T12:32:50Z | https://github.com/LibreDWG/libredwg/issues/707 | 1,680,088,441 | 707 |
[
"LibreDWG",
"libredwg"
] |
[dwg_decode_MINSERT_private.zip](https://github.com/LibreDWG/libredwg/files/11304268/dwg_decode_MINSERT_private.zip)
I think this could be related to #705 as I see some similarity on the call stack.
```
user@debian:~/libredwg$ valgrind ./dwgread dwg_decode_MINSERT_private.dwg
==10452== Memcheck, a memory erro... | Invalid write of size 4 dwg_decode_MINSERT_private | https://api.github.com/repos/LibreDWG/libredwg/issues/706/comments | 2 | 2023-04-23T16:37:40Z | 2023-04-24T12:34:17Z | https://github.com/LibreDWG/libredwg/issues/706 | 1,680,087,624 | 706 |
[
"LibreDWG",
"libredwg"
] | [dwg_decode_INSERT_private.zip](https://github.com/LibreDWG/libredwg/files/11304246/dwg_decode_INSERT_private.zip)
```
user@debian:~/libredwg$ valgrind ./dwgread dwg_decode_INSERT_private.dwg
==10412== Memcheck, a memory error detector
==10412== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1... | Invalid write of size 4 dwg_decode_INSERT_private | https://api.github.com/repos/LibreDWG/libredwg/issues/705/comments | 2 | 2023-04-23T16:29:35Z | 2023-04-24T12:35:54Z | https://github.com/LibreDWG/libredwg/issues/705 | 1,680,085,092 | 705 |
[
"LibreDWG",
"libredwg"
] | Tested on a 32 bit machine.
[dwg_decode_POLYLINE_3D_private.zip](https://github.com/LibreDWG/libredwg/files/11304235/dwg_decode_POLYLINE_3D_private.zip)
```
user@debian:~/libredwg$ valgrind ./dwgread dwg_decode_POLYLINE_3D_private.dwg
==10391== Memcheck, a memory error detector
==10391== Copyright (C) 2002-... | Invalid write of size 4 dwg_decode_POLYLINE_3D_private | https://api.github.com/repos/LibreDWG/libredwg/issues/704/comments | 2 | 2023-04-23T16:24:43Z | 2023-04-24T12:36:49Z | https://github.com/LibreDWG/libredwg/issues/704 | 1,680,083,499 | 704 |
[
"LibreDWG",
"libredwg"
] | Tested this on a 32 bits VM.
[dwg_free_BLOCK_CONTROL_private.zip](https://github.com/LibreDWG/libredwg/files/11304223/dwg_free_BLOCK_CONTROL_private.zip)
```
user@debian:~/libredwg$ valgrind ./dwgread dwg_free_BLOCK_CONTROL_private.dwg
==9269== Memcheck, a memory error detector
==9269== Copyright (C) 2002-20... | Conditional jump or move depends on uninitialised value dwg_free_BLOCK_CONTROL_private | https://api.github.com/repos/LibreDWG/libredwg/issues/703/comments | 3 | 2023-04-23T16:21:39Z | 2023-04-26T04:39:26Z | https://github.com/LibreDWG/libredwg/issues/703 | 1,680,082,536 | 703 |
[
"LibreDWG",
"libredwg"
] | Input JSON file:
[test.json.gz](https://github.com/LibreDWG/libredwg/files/11300931/test.json.gz)
command: ```dwgwrite test.json```
Output:
```
...
Entities from 10 to 12 from 0x465
===========================
Entity BLOCK, number: 10, Addr: 1125 (0x465)
type: 12 [RC]
Encode entity BLOCK
flag_r11: 0x0 [RC ... | Missing ENDBLK from JSON to DWG in r1.x | https://api.github.com/repos/LibreDWG/libredwg/issues/702/comments | 7 | 2023-04-22T09:29:01Z | 2023-05-08T10:16:29Z | https://github.com/LibreDWG/libredwg/issues/702 | 1,679,441,141 | 702 |
[
"LibreDWG",
"libredwg"
] | e.g.:
```
$ LD_LIBRARY_PATH=../src/.libs valgrind .libs/dwggrep -i tekst ../../test/test-data/example_r13.dwg
==1418971== Memcheck, a memory error detector
==1418971== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1418971== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==1... | valgrind errors in decode | https://api.github.com/repos/LibreDWG/libredwg/issues/701/comments | 1 | 2023-04-21T08:42:42Z | 2023-04-24T10:21:52Z | https://github.com/LibreDWG/libredwg/issues/701 | 1,678,132,423 | 701 |
[
"LibreDWG",
"libredwg"
] | null | add libiconv-2.dll to the nightly windows zips | https://api.github.com/repos/LibreDWG/libredwg/issues/700/comments | 1 | 2023-04-21T08:33:33Z | 2023-04-21T10:12:40Z | https://github.com/LibreDWG/libredwg/issues/700 | 1,678,117,728 | 700 |
[
"LibreDWG",
"libredwg"
] | python demand-loads libxml2, but for the wrong architecture resp. doesn't understand LD_LIBRARY_PATH arch hints, nor static LDFLAGS="-L/usr/lib/i386-linux-gnu"
libxml2:i386 is installed and can be linked to.
installing python3-libxml2:i386 would remove too many needed packages
| skip test/xmlsuite on cross | https://api.github.com/repos/LibreDWG/libredwg/issues/698/comments | 0 | 2023-04-18T05:29:33Z | 2023-04-18T10:21:36Z | https://github.com/LibreDWG/libredwg/issues/698 | 1,672,377,749 | 698 |
[
"LibreDWG",
"libredwg"
] | [4.zip](https://github.com/LibreDWG/libredwg/files/11244876/4.zip)
```
(gdb) r -v9 /home/user/out/default/crashes/4*
The program being debugged has been started already.
Start it from the beginning? (y or n)
Please answer y or n.
The program being debugged has been started already.
Start it from the beginn... | Segmentation fault in read_2004_compressed_section | https://api.github.com/repos/LibreDWG/libredwg/issues/697/comments | 1 | 2023-04-16T23:01:11Z | 2023-04-18T10:21:36Z | https://github.com/LibreDWG/libredwg/issues/697 | 1,670,184,623 | 697 |
[
"LibreDWG",
"libredwg"
] | [3.zip](https://github.com/LibreDWG/libredwg/files/11244866/3.zip)
```
(gdb) r -v9 /home/user/out/default/crashes/3*
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/user/libredwg/dwgread -v9 /home/user/out/default/crashes/3*
Reading DWG file /... | Segmentation fault in filedeplist_private | https://api.github.com/repos/LibreDWG/libredwg/issues/696/comments | 2 | 2023-04-16T22:57:39Z | 2023-04-18T10:21:35Z | https://github.com/LibreDWG/libredwg/issues/696 | 1,670,182,844 | 696 |
[
"LibreDWG",
"libredwg"
] |
[2.zip](https://github.com/LibreDWG/libredwg/files/11244857/2.zip)
```
(gdb)
(gdb) r -v9 /home/user/out/default/crashes/2*
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/user/libredwg/dwgread -v9 /home/user/out/default/crashes/2*
Reading... | Segmentation fault in acds_private | https://api.github.com/repos/LibreDWG/libredwg/issues/695/comments | 2 | 2023-04-16T22:53:18Z | 2023-04-18T10:21:35Z | https://github.com/LibreDWG/libredwg/issues/695 | 1,670,181,746 | 695 |
[
"LibreDWG",
"libredwg"
] | Attached file cases a segmentation fault on Debian 11 x86 with the current GIT release.
[1.zip](https://github.com/LibreDWG/libredwg/files/11244854/1.zip)
```
user@debian:~/libredwg$ gdb ./dwgread
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+... | Segmentation fault in dwg_decode__3DSOLID_private | https://api.github.com/repos/LibreDWG/libredwg/issues/694/comments | 4 | 2023-04-16T22:52:03Z | 2023-04-18T10:21:34Z | https://github.com/LibreDWG/libredwg/issues/694 | 1,670,181,443 | 694 |
[
"LibreDWG",
"libredwg"
] | Example:
[test.json.gz](https://github.com/LibreDWG/libredwg/files/11202163/test.json.gz)
Command: ```dwgwrite test.json```
Output:
```
...
Skip object BLOCK_HEADER, number: 5, Fixedtype: 49, Addr: 0 (0x2e5)
Skip object LAYER, number: 6, Fixedtype: 51, Addr: 0 (0x2e5)
Skip object STYLE, number: 7, Fixedtype: 53... | Wrong encoding of tables from json to DWG in preR13 | https://api.github.com/repos/LibreDWG/libredwg/issues/693/comments | 4 | 2023-04-11T15:24:25Z | 2023-04-15T04:12:20Z | https://github.com/LibreDWG/libredwg/issues/693 | 1,662,742,125 | 693 |
[
"LibreDWG",
"libredwg"
] | Hello,
I am attaching a new file that causes the following segfault with ASAN enabled on dwgread:
[0.zip](https://github.com/LibreDWG/libredwg/files/11186172/0.zip)
This was tested on x86 Debian 11 vm.
```
=================================================================
==1738==ERROR: AddressSanitizer: h... | AddressSanitizer: heap-buffer-overflow on bit_read_T32 libredwg/src/bits.c:2248 | https://api.github.com/repos/LibreDWG/libredwg/issues/692/comments | 5 | 2023-04-09T19:36:33Z | 2023-04-12T06:51:57Z | https://github.com/LibreDWG/libredwg/issues/692 | 1,659,980,378 | 692 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.