Comments (4)
No idea, have you tried cat disk.001.dmg disk.002.dmg > disk.dmg
and then use dmg2img on the result?
from dmg2img.
Combining the parts with cat
ends up with dmg2img
giving me Segmentation fault (core dumped)
.
from dmg2img.
Hey @skylarmt could you provide reproduction steps with a publically available sample? What version have you been testing with? Can you create a debug build and provide a stack trace from the crash?
from dmg2img.
Sorry about the wait. Here's a multipart DMG that causes the issue: https://dl.netsyms.net/mac/ I'm using version 1.6.7 from the Ubuntu 18.04 repositories, but I get exactly the same behavior from this repo (develop branch) and the source tarball at http://vu1tur.eu.org/dmg2img.
I compiled the 1.6.6 tarball with debugging symbols, here's the relevant output of gdb --args ./dmg2img -d /media/skylar/DMG2IMG/Apple\ Service\ Diagnostics\ \(2005-2013\)/ASD-ssps-004-0553.combo.dmg
(where the DMG is a cat'd together version of the three part DMG linked above):
(gdb) run
Starting program: /home/skylar/dmg2img-1.6.6/dmg2img -d /media/skylar/DMG2IMG/Apple\ Service\ Diagnostics\ \(2005-2013\)/ASD-ssps-004-0553.combo.dmg
dmg2img v1.6.6 (c) vu1tur ([email protected])
/media/skylar/DMG2IMG/Apple Service Diagnostics (2005-2013)/ASD-ssps-004-0553.combo.dmg --> /media/skylar/DMG2IMG/Apple Service Diagnostics (2005-2013)/ASD-ssps-004-0553.combo.img
Debug info will be written to dmg2img.log
Program received signal SIGSEGV, Segmentation fault.
__strstr_sse2 (haystack_start=0x0, needle_start=0x555555558ff0 <list_end> "</array>") at ../string/strstr.c:63
63 ../string/strstr.c: No such file or directory.
(gdb) backtrace
#0 __strstr_sse2 (haystack_start=0x0, needle_start=0x555555558ff0 <list_end> "</array>") at ../string/strstr.c:63
#1 0x0000555555555ca2 in main (argc=3, argv=<optimized out>) at dmg2img.c:241
dmg2img.log
is an empty file by the way.
from dmg2img.
Related Issues (15)
- fatal: can't handle xcode314_2809_developerdvd.dmg HOT 14
- A Segmentation fault in adc.c:66
- A Segmentation fault in dmg2img.h:188 HOT 1
- A Segmentation fault in adc.c:41
- A Segmentation fault in adc.c:46
- A heap overflow in base64.c:86
- LZFSE does not work on large dmg files -> consider bringing another working implementation upstream?
- A heap overflow in dmg2img.h:84
- interest for a cross-platform cmake build (including lzfse, asan etc.)
- zlib compressed images not handled correctly HOT 2
- Doesn't compile against openssl-1.1 HOT 2
- Does not work on x64 systems HOT 4
- A Segmentation fault in dmg2img.c:237
- A Segmentation fault in dmg2img.c:284 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dmg2img.