Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.13.3.7426 - DWG to DXF -> AutoCAD 2025 crash #1069

Open
Mannshoch opened this issue Jan 6, 2025 · 1 comment
Open

0.13.3.7426 - DWG to DXF -> AutoCAD 2025 crash #1069

Mannshoch opened this issue Jan 6, 2025 · 1 comment

Comments

@Mannshoch
Copy link

After converting a DWG (R2018)

  • assembly, 7 level tree
  • total 105 dwg as xref available
  • 290MB in size)
  • some dwg are missing

I got a 49MB DXF

Open In AutoCAD Mechanical Desktop --> Crash
Open In FreeCAD:

Unable to parse value '', using zero as its value
CDxfRead::get_next_record() Failed to get integer record type from ''

(I deduplicated this log (compare first 16 chars) because the original was 2151 rows in total.)

& 'C:/tmp/libredwg-0.13.3.7426-win64/dwg2dxf.exe' 'C:/tmp/test.dwg'  '-o' 'C:/tmp/test.dxf' 2> log.log

dwg2dxf.exe : Warning: checksum: 0xfca9b946 (calculated) CRC mismatch 0xa03d74-0xa04d50
At line:1 char:1
+ & 'C:/tmp/libredwg-0.13.3.7426-win64/dwg2dxf.exe' 'C:/Use ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Warning: checks...a03d74-0xa04d50:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 

Warning: Unstable Class object 501 MATERIAL (0x481) 14/0
Warning: TODO TABLESTYLE r2010+ missing fields
Warning: Unknown flag (0x2)
Warning: Object handle not found 4841/0x12E9 in 1713 objects of max 0x30FA7 handles
Warning: Wrong POLYLINE.layer 12E9
ERROR: Invalid ATTRIB.keep_duplicate_records 66
Warning: num_inserts [RC 1]: 152 != 1
ERROR: Invalid BLOCK_HEADER.preview_size 538976288
ERROR: bit_read_TF buffer overflow at 17.1 + 160 > 100
Warning: Unreasonable high num_owned value
Warning: Unhandled Class object 24590 ACDBASSOCPERSSUBENTMANAGER (0x8032) 110608/0
ERROR: Invalid CMC flag 0x9f ignored
ERROR: Invalid zero_18 size 3. Need min. 48 bits, have 0 for .
Warning: AcDs schdat segment yet unhandled
Warning: AcDs freesp segment yet unhandled
Warning: AcDs _data_ segment yet unhandled
Warning: AcDs prvsav segment yet unhandled
ERROR: Invalid ididx size 197590. Need min. 12645760 bits for RLL, have 272768 at @85840.0  for .

WRITE ERROR C:/tmp/test.dxf
WRITE ERROR C:/tmp/test.dxf

Important:
I'm not allowed to provide the dwg/dxf Files. If you need additional Data, pleas give me advice, I will collent them for you.

@michal-josef-spacek
Copy link
Contributor

There are many issues in dwg2dxf. From trivial issues like #1052 to more complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants