GithubHelp home page GithubHelp logo

Comments (4)

Lekensteyn avatar Lekensteyn commented on September 25, 2024

No idea, have you tried cat disk.001.dmg disk.002.dmg > disk.dmg and then use dmg2img on the result?

from dmg2img.

skylarmt avatar skylarmt commented on September 25, 2024

Combining the parts with cat ends up with dmg2img giving me Segmentation fault (core dumped).

from dmg2img.

Lekensteyn avatar Lekensteyn commented on September 25, 2024

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.

skylarmt avatar skylarmt commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.