Skip to content

Instantly share code, notes, and snippets.

@automata
Created March 30, 2015 20:53
Show Gist options
  • Save automata/f44e0ebc37265a012648 to your computer and use it in GitHub Desktop.
Save automata/f44e0ebc37265a012648 to your computer and use it in GitHub Desktop.
~ $ ./gdb/gdb-7.9/gdb/gdb -ex run --args node `which grunt`
Python Exception <type 'exceptions.ImportError'> No module named gdb:
./gdb/gdb-7.9/gdb/gdb: warning:
Could not load the Python gdb module from `/usr/local/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.
GNU gdb (GDB) 7.9
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-unknown-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 node...done.
Starting program: /app/.heroku/node/bin/node /app/node_modules/.bin/grunt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Running "test" task
Running "coffeelint:components" (coffeelint) task
>> 7 files lint free.
Running "coffee:spec" (coffee) task
>> 1 files created.
Running "noflo_manifest:update" (noflo_manifest) task
File "component.json" updated.
File "package.json" updated.
Running "connect:server" (connect) task
Started connect web server on http://0.0.0.0:8001
Running "mochaTest:nodejs" (mochaTest) task
Measure component
[New Thread 0x7fffedffd700 (LWP 18308)]
[New Thread 0x7fffeeffe700 (LWP 18307)]
[New Thread 0x7fffeffff700 (LWP 18306)]
[New Thread 0x7ffff5bc9700 (LWP 18305)]
[New Thread 0x7ffff7fc3700 (LWP 18302)]
[New Thread 0x7ffff7fd4700 (LWP 18301)]
[New Thread 0x7ffff7fe5700 (LWP 18300)]
[New Thread 0x7ffff6bca700 (LWP 18299)]
the quality inport is deprecated
when instantiated
✓ should have an input port
✓ should have an output port
measuring text
headline
✓ should add character counts to the block
paragraph
✓ should add character counts to the block
cta
✓ should add character counts to the block
measuring lists
ordered
✓ should add item counts to the elements
unordered
✓ should add item counts to the elements
measuring images
expanding thumbnail
measuring image: 1395ms
✓ should add width and height to the image (1399ms)
with GIF format
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7ffff5bc9700 (LWP 18305)]
StartTimer (time_info=time_info@entry=0x7fffe8001810, reset=reset@entry=MagickTrue)
at magick/timer.c:380
380 magick/timer.c: No such file or directory.
(gdb) bt
Python Exception <type 'exceptions.ImportError'> No module named gdb.frames:
#0 StartTimer (time_info=time_info@entry=0x7fffe8001810, reset=reset@entry=MagickTrue)
at magick/timer.c:380
#1 0x00007fffec7f9fd3 in GetTimerInfo (time_info=time_info@entry=0x7fffe8001810)
at magick/timer.c:271
#2 0x00007fffec777771 in LoadLogCache (log_cache=log_cache@entry=0x7fffe8002320,
xml=<optimized out>,
filename=filename@entry=0x7fffe8003aa0 "/app/vendor/vips/etc/ImageMagick-6/log.xml",
depth=depth@entry=0, exception=exception@entry=0x7fffe8002120) at magick/log.c:1528
#3 0x00007fffec777d56 in AcquireLogCache (filename=0x7fffec93fad9 "log.xml",
exception=0x7fffe8002120) at magick/log.c:280
#4 IsLogCacheInstantiated (exception=0x7fffe8002120) at magick/log.c:659
#5 GetLogInfo (exception=exception@entry=0x7fffe8002120, name=0x7fffec94038b "*")
at magick/log.c:392
#6 0x00007fffec77802b in LogComponentGenesis () at magick/log.c:828
#7 0x00007fffec77b2c0 in MagickCoreGenesis (path=0x18045b0 "sharp",
establish_signal_handlers=establish_signal_handlers@entry=MagickFalse)
at magick/magick.c:1251
#8 0x00007ffff4397087 in read_new (
filename=filename@entry=0x1ee5028 "/tmp/1427748540057.4004",
im=im@entry=0x7fffcc004330, all_frames=all_frames@entry=0) at magick2vips.c:151
---Type <return> to continue, or q <return> to quit---
#9 0x00007ffff4397dff in vips__magick_read_header (
filename=filename@entry=0x1ee5028 "/tmp/1427748540057.4004",
im=im@entry=0x7fffcc004330, all_frames=all_frames@entry=0) at magick2vips.c:708
#10 0x00007ffff4398183 in ismagick (filename=0x1ee5028 "/tmp/1427748540057.4004")
at magickload.c:80
#11 0x00007ffff43955e1 in vips_foreign_is_a (loader=<optimized out>,
filename=0x1ee5028 "/tmp/1427748540057.4004") at foreign.c:631
#12 0x00007ffff49bf667 in sharp::DetermineImageType(char const*) ()
from /app/node_modules/noflo-sharp/node_modules/sharp/build/Release/sharp.node
#13 0x00007ffff49c0ab8 in MetadataWorker::Execute() ()
from /app/node_modules/noflo-sharp/node_modules/sharp/build/Release/sharp.node
#14 0x0000000000e0e6f9 in worker (arg=<optimized out>) at ../deps/uv/src/threadpool.c:91
#15 0x0000000000e1bcb1 in uv__thread_start (arg=<optimized out>)
at ../deps/uv/src/unix/thread.c:49
#16 0x00007ffff6f98182 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#17 0x00007ffff6cc547d in clone () from /lib/x86_64-linux-gnu/libc.so.6
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment