Skip to content

Instantly share code, notes, and snippets.

@erikarvstedt
Created February 12, 2019 10:40
Show Gist options
  • Save erikarvstedt/0672c1ef3ef9fa60ea9835f2d900028b to your computer and use it in GitHub Desktop.
Save erikarvstedt/0672c1ef3ef9fa60ea9835f2d900028b to your computer and use it in GitHub Desktop.
Program received signal SIGSEGV, Segmentation fault.
0x00007fffebcd50e0 in __memmove_ssse3 () from /nix/store/7gx4kiv5m0i7d7qkixq2cwzbr10lvxwc-glibc-2.27/lib/libc.so.6
#0 0x00007fffebcd50e0 in __memmove_ssse3 () from /nix/store/7gx4kiv5m0i7d7qkixq2cwzbr10lvxwc-glibc-2.27/lib/libc.so.6
#1 0x00007ffff6f37d84 in cmsOpenIOhandlerFromMem () from /nix/store/9mdm8s757swf25r3r25qxivahcf4p4z9-lcms2-2.9/lib/liblcms2.so.2
#2 0x00007ffff6f39595 in cmsOpenProfileFromMemTHR () from /nix/store/9mdm8s757swf25r3r25qxivahcf4p4z9-lcms2-2.9/lib/liblcms2.so.2
#3 0x00007ffff514aa27 in gscms_get_profile_handle_mem (buffer=0x7a9f90 "", input_size=2576, mem=<optimized out>)
at ./base/gsicc_lcms2mt.c:317
#4 0x00007ffff5145657 in gsicc_get_profile_handle_buffer (buffer=<optimized out>, profile_size=<optimized out>,
memory=memory@entry=0x678448) at ./base/gsicc_manage.c:2565
#5 0x00007ffff5146ef4 in gsicc_set_device_profile (pdev=pdev@entry=0x7643c8, mem=0x678448,
file_name=file_name@entry=0xa0d710 "default_rgb.icc", pro_enum=pro_enum@entry=gsDEFAULTPROFILE) at ./base/gsicc_manage.c:1961
#6 0x00007ffff5147383 in gsicc_init_device_profile_struct (dev=dev@entry=0x7643c8, profile_name=0xa0d710 "default_rgb.icc",
profile_name@entry=0x0, profile_type=profile_type@entry=gsDEFAULTPROFILE) at ./base/gsicc_manage.c:1783
#7 0x00007ffff5331ae8 in gs_setdevice_no_erase (pgs=0x705d48, dev=0x7643c8) at ./base/gsdevice.c:553
#8 0x00007ffff541d728 in zsetdevice (i_ctx_p=0x721c70) at ./psi/zdevice.c:543
#9 0x00007ffff53f382d in interp (pi_ctx_p=pi_ctx_p@entry=0x67fc70, pref=<optimized out>, perror_object=perror_object@entry=0x7ffffffea7e0)
at ./psi/interp.c:1636
#10 0x00007ffff53f41eb in gs_call_interp (pi_ctx_p=pi_ctx_p@entry=0x67fc70, pref=pref@entry=0x7ffffffea210,
user_errors=user_errors@entry=1, pexit_code=pexit_code@entry=0x7ffffffea7dc, perror_object=0x7ffffffea7e0) at ./psi/interp.c:516
#11 0x00007ffff53f4962 in gs_interpret (pi_ctx_p=pi_ctx_p@entry=0x67fc70, pref=pref@entry=0x7ffffffea210, user_errors=1,
pexit_code=pexit_code@entry=0x7ffffffea7dc, perror_object=<optimized out>, perror_object@entry=0x7ffffffea7e0) at ./psi/interp.c:473
#12 0x00007ffff53e7ef7 in gs_main_interpret (minst=minst@entry=0x67fbd0, pref=pref@entry=0x7ffffffea210, user_errors=<optimized out>,
pexit_code=pexit_code@entry=0x7ffffffea7dc, perror_object=perror_object@entry=0x7ffffffea7e0) at ./psi/imain.c:235
#13 0x00007ffff53e8987 in gs_run_init_file (minst=minst@entry=0x67fbd0, pexit_code=pexit_code@entry=0x7ffffffea7dc,
perror_object=perror_object@entry=0x7ffffffea7e0) at ./psi/imain.c:582
#14 0x00007ffff53e8dd2 in gs_main_init2aux (minst=minst@entry=0x67fbd0) at ./psi/imain.c:283
#15 0x00007ffff53e92e7 in gs_main_init2 (minst=minst@entry=0x67fbd0) at ./psi/imain.c:315
#16 0x00007ffff53ea5f8 in runarg (minst=minst@entry=0x67fbd0, pre=pre@entry=0x7ffff5d48891 "",
arg=arg@entry=0x7ffffffeb08a "/run/user/1000/magick-193997sNu6Wc397h3", post=post@entry=0x7ffff5d6a76b ".runfile",
options=options@entry=3) at ./psi/imainarg.c:1010
#17 0x00007ffff53ea92c in argproc (minst=0x67fbd0, arg=arg@entry=0x7ffffffeb08a "/run/user/1000/magick-193997sNu6Wc397h3")
at ./psi/imainarg.c:957
#18 0x00007ffff53eafbe in swproc (minst=minst@entry=0x67fbd0, arg=0x7ffffffeb088 "-f/run/user/1000/magick-193997sNu6Wc397h3",
pal=pal@entry=0x7ffffffeb050) at ./psi/imainarg.c:523
#19 0x00007ffff53ebf2a in gs_main_init_with_args (minst=0x67fbd0, argc=argc@entry=17, argv=argv@entry=0x692b88) at ./psi/imainarg.c:217
#20 0x00007ffff53ed1ba in gsapi_init_with_args (instance=<optimized out>, argc=17, argv=0x692b88) at ./psi/iapi.c:340
#21 0x00007ffff798ab2f in InvokePDFDelegate (verbose=MagickFalse,
command=command@entry=0x7ffffffebcc0 "'/nix/store/ar8n3jprwk59aajrfrf6hbs9d415rd92-ghostscript-9.26/bin/gsx' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=png"...,
message=message@entry=0x7fffffff0cc0 "", exception=exception@entry=0x6502d0) at coders/pdf.c:258
#22 0x00007ffff798c14a in ReadPDFImage (image_info=0x65a710, exception=0x6502d0) at coders/pdf.c:764
#23 0x00007ffff77a6d03 in ReadImage (image_info=image_info@entry=0x6572f0, exception=exception@entry=0x6502d0)
at MagickCore/constitute.c:500
#24 0x00007ffff77a7dcc in ReadImages (image_info=image_info@entry=0x654000, filename=filename@entry=0x62b3a0 "/tmp/a.pdf",
exception=exception@entry=0x6502d0) at MagickCore/constitute.c:870
#25 0x00007ffff73f4182 in ConvertImageCommand (image_info=0x654000, image_info@entry=0x650b50, argc=<optimized out>, argc@entry=3,
argv=<optimized out>, argv@entry=0x7fffffffbae8, metadata=metadata@entry=0x7fffffff9790, exception=exception@entry=0x6502d0)
at MagickWand/convert.c:641
#26 0x00007ffff746ae40 in MagickCommandGenesis (image_info=image_info@entry=0x650b50,
command=command@entry=0x7ffff73f3764 <ConvertImageCommand>, argc=argc@entry=3, argv=argv@entry=0x7fffffffbae8, metadata=0x0,
exception=exception@entry=0x6502d0) at MagickWand/mogrify.c:184
#27 0x0000000000401fe7 in MagickMain (argc=3, argv=0x7fffffffbae8) at utilities/magick.c:149
#28 0x00000000004020f4 in main (argc=<optimized out>, argv=<optimized out>) at utilities/magick.c:180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment