Skip to content

Instantly share code, notes, and snippets.

@ncopa
Created April 13, 2015 06:03
Show Gist options
  • Save ncopa/368034eaba8dd8ce49e9 to your computer and use it in GitHub Desktop.
Save ncopa/368034eaba8dd8ce49e9 to your computer and use it in GitHub Desktop.
Program terminated with signal 11, Segmentation fault.
#0 0x0864c77c in is_bs_read (stream=0x9d55eb0, token=...) at src/io.c:229
229 size = isbs->is->read(isbs->is, isbs->buffer + isbs->left.len,
(gdb) bt
#0 0x0864c77c in is_bs_read (stream=0x9d55eb0, token=...) at src/io.c:229
#1 0x0864c574 in tee_read (stream=0x9d57ee0, token=...) at src/io.c:399
#2 0x0864ebc0 in gzi_read (stream=0x9d57f10, ptr=<optimized out>, size=512)
at src/gunzip.c:73
#3 0x0864a828 in apk_tar_parse (is=is@entry=0x9d57f10,
parser=0xa122b1e0 <__stack_chk_guard>, ctx=0x8661454,
ctx@entry=0xafcec48c, soft_checksums=soft_checksums@entry=0,
idc=idc@entry=0xafcef104) at src/archive.c:192
#4 0x08643980 in apk_cache_download (db=db@entry=0xafceeb00,
repo=repo@entry=0xafceeb8c, pkg=<optimized out>, verify=0, cb=0x0,
cb_ctx=0x0) at src/database.c:644
#5 0x08644cb4 in apk_repository_update (repo=0xafceeb8c, db=0xafceeb00)
at src/database.c:2019
#6 apk_db_add_repository (_db=..., _repository=...) at src/database.c:2151
#7 0x0864f64c in apk_blob_for_each_segment (blob=..., split=<optimized out>,
cb=0x86449f4 <apk_db_add_repository>, ctx=ctx@entry=0xafceeb00)
at src/blob.c:242
#8 0x08640dc0 in add_repos_from_file (ctx=0xafceeb00, dirfd=<optimized out>,
file=0x866113c "etc/apk/repositories") at src/database.c:1410
#9 0x086464f0 in apk_db_open (db=db@entry=0xafceeb00,
dbopts=dbopts@entry=0xafceeae0) at src/database.c:1609
#10 0x08637600 in main (argc=0, argv=0xafcef2c4) at src/apk.c:513
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment