Skip to content

Instantly share code, notes, and snippets.

@avilleret
Created March 9, 2016 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avilleret/3a525b671d524693fd5c to your computer and use it in GitHub Desktop.
Save avilleret/3a525b671d524693fd5c to your computer and use it in GitHub Desktop.
crash on loading png
$ gdb pd
GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pd...(no debugging symbols found)...done.
(gdb) run -nrt -noprefs -lib Gem -path /usr/local/lib/pd/extra/Gem/
Starting program: /usr/local/bin/pd -nrt -noprefs -lib Gem -path /usr/local/lib/pd/extra/Gem/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
open: /etc/pd/gem.conf: No such file or directory
open: /home/antoine/.config/pure-data/gem.conf: No such file or directory
open: ./gem.conf: No such file or directory
load plugins 'film' in '/usr/local/lib/pd/extra/Gem/'
pattern : /usr/local/lib/pd/extra/Gem/gem_film*.so
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_filmGMERLIN.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_filmMPEG3.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_filmQT4L.so'!
load plugins 'image' in '/usr/local/lib/pd/extra/Gem/'
pattern : /usr/local/lib/pd/extra/Gem/gem_image*.so
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageJPEG.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageMAGICK.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageSGI.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageTIFF.so'!
not reloading 'image' plugins (already 4 loaded)
load plugins 'image' in '/usr/local/lib/pd/extra/Gem/'
pattern : /usr/local/lib/pd/extra/Gem/gem_image*.so
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageJPEG.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageMAGICK.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageSGI.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_imageTIFF.so'!
load plugins 'model' in '/usr/local/lib/pd/extra/Gem/'
pattern : /usr/local/lib/pd/extra/Gem/gem_model*.so
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_modelASSIMP3.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_modelOBJ.so'!
load plugins 'record' in '/usr/local/lib/pd/extra/Gem/'
pattern : /usr/local/lib/pd/extra/Gem/gem_record*.so
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_recordQT4L.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_recordV4L.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_recordV4L2.so'!
load plugins 'video' in '/usr/local/lib/pd/extra/Gem/'
pattern : /usr/local/lib/pd/extra/Gem/gem_video*.so
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_videoDC1394.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_videoDV4L.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_videoUNICAP.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_videoV4L.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_videoV4L2.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_videoVLC.so'!
dylib loading file '/usr/local/lib/pd/extra/Gem/gem_videoVNC.so'!
[New Thread 0x7fffdc856700 (LWP 3758)]
[Thread 0x7fffdc856700 (LWP 3758) exited]
not reloading 'film' plugins (already 3 loaded)
not reloading 'image' plugins (already 4 loaded)
not reloading 'film' plugins (already 3 loaded)
not reloading 'image' plugins (already 4 loaded)
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: Aucun fichier ou dossier de ce type.
(gdb) bt
Thread 1 (Thread 0x7ffff7fb5740 (LWP 3743)):
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007fffeb347597 in av_match_name () from /usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54
#2 0x00007fffee41764e in av_probe_input_format3 () from /usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.56
#3 0x00007fffee417802 in av_probe_input_format2 () from /usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.56
#4 0x00007fffee417866 in av_probe_input_format () from /usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.56
#5 0x00007fffeff9047c in ?? () from /usr/lib/x86_64-linux-gnu/libgmerlin_avdec.so.1
#6 0x00007fffeff904b3 in ?? () from /usr/lib/x86_64-linux-gnu/libgmerlin_avdec.so.1
#7 0x00007fffeffaa14d in ?? () from /usr/lib/x86_64-linux-gnu/libgmerlin_avdec.so.1
#8 0x00007fffeffa5bce in ?? () from /usr/lib/x86_64-linux-gnu/libgmerlin_avdec.so.1
#9 0x00007fffeffa5d1b in bgav_open () from /usr/lib/x86_64-linux-gnu/libgmerlin_avdec.so.1
#10 0x00007ffff028ceb4 in gem::plugins::filmGMERLIN::open (this=0xb969d0, sfilename="/home/antoine/Images/lenseo.com.png", wantProps=...) at filmGMERLIN.cpp:172
#11 0x00007ffff32af44c in gem::plugins::filmMeta::open (this=0xb967a0, name="/home/antoine/Images/lenseo.com.png", requestprops=...) at film.cpp:211
#12 0x00007ffff340a728 in pix_film::openMess (this=0xb965f0, filename="/home/antoine/Images/lenseo.com.png", format=<optimized out>, backend=...) at pix_film.cpp:338
#13 0x00007ffff340707e in pix_film::openMessCallback (data=<optimized out>, s=<optimized out>, argc=<optimized out>, argv=<optimized out>) at pix_film.cpp:679
#14 0x0000000000473d8a in outlet_anything ()
#15 0x000000000047b557 in binbuf_eval ()
#16 0x000000000041bc35 in message_symbol ()
#17 0x0000000000473c6c in outlet_symbol ()
#18 0x00000000004722a2 in pd_typedmess ()
#19 0x000000000047b557 in binbuf_eval ()
#20 0x000000000048651c in socketreceiver_read ()
#21 0x0000000000485785 in sys_domicrosleep.constprop ()
#22 0x0000000000481fee in m_mainloop ()
#23 0x00007ffff6de1a40 in __libc_start_main (main=0x4126a0 <main>, argc=7, argv=0x7fffffffdcd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdcc8) at libc-start.c:289
#24 0x00000000004126d9 in _start ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment