On Sun, Sep 10, 2017 at 08:38:56AM -0700, Eliot Miranda wrote: > Alistair, > > in both your crash dumps the crash is in malloc called from libgit right?.
I'm not sure, the backtrace just shows: > > ======= Backtrace: ========= > > /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f76d34b37e5] > > /lib/x86_64-linux-gnu/libc.so.6(+0x8213e)[0x7f76d34be13e] > > /lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f76d34c0184] > > /home/alistair/pharo7/vm64/pharo-vm/lib/pharo/5.0-201708271955/pharo[0x4c24d0] > > [0x1c01318] > Can you build a debug vm and run under gdb and try and narrow down? I tried building a debug vm but it didn't build libgit2 or libssh2. I've never become familiar with the Make system and have only used gdb about 3 times in my entire life and none of those were in the last 15 years, so I was hoping to avoid this. :-) Anyway, I'll start trying to build a debug vm and see what I can find - but it will be slow (limited time as well as lack of experience). Cheers, Alistair > _,,,^..^,,,_ (phone) > > > On Sep 10, 2017, at 5:46 AM, Alistair Grant <[email protected]> wrote: > > > > Hi Esteban, > > > > Another script which causes the crash: > > > > | location pharoRepository origin upstream | > > > > Iceberg enableMetacelloIntegration: true. > > Metacello new > > repository: 'github://akgrant43/pharo-akgosprocess/mc'; > > baseline: 'AKGOSProcess'; > > load. > > pharoRepository := IceRepository registry detect: [ :each | each name = > > 'pharo-akgosprocess' ]. > > self halt. > > pharoRepository pull. > > > > > > I can step through to: > > > > IceLibgitLocalRepository>>changedFilesBetween:and: > > BlockClosure>>on:do: > > IceCommitInfo>>changedPackagesToCommitInfo: > > IceCommitInfo>>changedPackagesTo: > > IceRepository>>pullFrom: > > IceRepository>>pull > > UndefinedObject>>DoIt > > OpalCompiler>>evaluate > > > > and on the next step (somewhere inside #withRepoDo:): > > > > > > *** Error in > > `/home/alistair/pharo7/vm64/pharo-vm/lib/pharo/5.0-201708271955/pharo': > > malloc(): memory corruption: 0x00007f76c96b0f40 *** > > ======= Backtrace: ========= > > /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f76d34b37e5] > > /lib/x86_64-linux-gnu/libc.so.6(+0x8213e)[0x7f76d34be13e] > > /lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f76d34c0184] > > /home/alistair/pharo7/vm64/pharo-vm/lib/pharo/5.0-201708271955/pharo[0x4c24d0] > > [0x1c01318] > > ======= Memory map: ======== > > 00400000-0053b000 r-xp 00000000 00:29 370964 > > /home/alistair/pharo7/vm64/pharo-vm/lib/pharo/5.0-201708271955/pharo > > 0073b000-0073c000 r--p 0013b000 00:29 370964 > > /home/alistair/pharo7/vm64/pharo-vm/lib/pharo/5.0-201708271955/pharo > > 0073c000-0074d000 rw-p 0013c000 00:29 370964 > > /home/alistair/pharo7/vm64/pharo-vm/lib/pharo/5.0-201708271955/pharo > > 0074d000-00816000 rw-p 00000000 00:00 0 > > 01b50000-01bf4000 rw-p 00000000 00:00 0 > > [heap] > > 01c00000-01d5e000 rwxp 00000000 00:00 0 > > 01d5e000-07d80000 rw-p 00000000 00:00 0 > > ...
