[Pkg-gmagick-im-team] Bug#770009: Backtrace for the hang
Vincent Fourmond
fourmond at debian.org
Tue Jan 27 22:47:44 UTC 2015
With the backtrace...
On Tue, Jan 27, 2015 at 10:13 PM, Vincent Fourmond <fourmond at debian.org> wrote:
> I've run the build on the MIPS portebox. It hangs on the first SVG
> to PNG conversion. Here is a full backtrace. The process is for now
> stopped on the porterbox; I think I can leave it for some hours more
> at least, if other information could be useful.
>
> Hope it helps,
>
> Vincent
>
-------------- next part --------------
Thread 2 (Thread 0x762ca460 (LWP 14695)):
#0 GetOpacityPixel (stroke_opacity=<synthetic pointer>, y=590, x=139, fill_rule=EvenOddRule,
fill=MagickTrue, mid=0.62537187436756381, polygon_info=0x840ed8) at ../../magick/draw.c:3806
beta = <optimized out>
subpath_opacity = <optimized out>
p = 0x852198
q = <optimized out>
j = 1
winding_number = -1
alpha = <optimized out>
distance = <optimized out>
i = <optimized out>
#1 DrawPolygonPrimitive._omp_fn.3 () at ../../magick/draw.c:4027
q = <optimized out>
id = <optimized out>
fill_opacity = <optimized out>
stroke_color = {blue = 65535, green = 65535, red = 65535, opacity = 65535}
x = 139
stroke_opacity = <optimized out>
fill_color = {blue = 65535, green = 65535, red = 65535, opacity = 0}
start = <optimized out>
stop = 683
y = 590
draw_info = 0x8508a0
image_view = 0x841240
mid = 0.62537187436756381
exception = 0x873788
fill = MagickTrue
polygon_info = 0x832e10
bounds = {x1 = 0, y1 = 0, x2 = 683, y2 = 707}
start = 0
stop = 707
status = MagickTrue
warning: GDB can't find the start of the function at 0x7724e63e.
GDB is unable to find the start of the function at 0x7724e63e
and thus can't determine the size of that function's stack frame.
This means that GDB may be unable to access that stack frame, or
the frames below it.
This problem is most likely caused by an invalid program counter or
stack pointer.
However, if you think GDB should simply search farther back
from 0x7724e63e for code which looks like the beginning of a
function, you can increase the range of the search using the `set
heuristic-fence-post' command.
#2 0x7724e640 in ?? () from /usr/lib/mips-linux-gnu/libgomp.so.1
No symbol table info available.
Thread 1 (Thread 0x76f7f000 (LWP 14680)):
#0 0x77b29230 in GetOpacityPixel (stroke_opacity=<synthetic pointer>, y=584, x=589, fill_rule=EvenOddRule,
fill=MagickTrue, mid=0.62537187436756381, polygon_info=0x840588) at ../../magick/draw.c:3714
beta = <optimized out>
subpath_opacity = 0
p = 0x851d50
q = <optimized out>
j = 0
winding_number = <optimized out>
alpha = <optimized out>
distance = <optimized out>
i = 1
#1 DrawPolygonPrimitive._omp_fn.3 () at ../../magick/draw.c:4027
q = 0x765d85a8
id = <optimized out>
fill_opacity = <optimized out>
stroke_color = {blue = 65535, green = 65535, red = 65535, opacity = 65535}
x = 589
stroke_opacity = 0
fill_color = {blue = 65535, green = 65535, red = 65535, opacity = 0}
start = <optimized out>
stop = 683
y = 584
draw_info = 0x8508a0
image_view = 0x841240
mid = 0.62537187436756381
exception = 0x873788
fill = MagickTrue
polygon_info = 0x832e10
bounds = {x1 = 0, y1 = 0, x2 = 683, y2 = 707}
start = 0
stop = 707
status = MagickTrue
#2 0x772499c8 in GOMP_parallel () from /usr/lib/mips-linux-gnu/libgomp.so.1
No symbol table info available.
#3 0x77b2776c in DrawPolygonPrimitive (image=0x8705b8, draw_info=0x8508a0, primitive_info=0x884b18)
at ../../magick/draw.c:3985
image_view = 0x841240
mid = 0.62537187436756381
exception = 0x873788
fill = MagickTrue
status = MagickTrue
polygon_info = <optimized out>
p = <optimized out>
i = <optimized out>
bounds = {x1 = 0, y1 = 0, x2 = 683, y2 = 707}
start = 0
stop = 707
__PRETTY_FUNCTION__ = "DrawPolygonPrimitive"
__func__ = "DrawPolygonPrimitive"
#4 0x77b30bf0 in DrawPrimitive (image=0x8705b8, draw_info=0x8508a0, primitive_info=0x884b18)
at ../../magick/draw.c:4619
mid = <optimized out>
scale = <optimized out>
clone_info = <optimized out>
image_view = 0x840f00
exception = 0x873788
status = 1
i = <optimized out>
x = <optimized out>
y = <optimized out>
__func__ = "DrawPrimitive"
#5 0x77b33c78 in DrawImage (image=0x8705b8, draw_info=0x882c20) at ../../magick/draw.c:3156
affine = {sx = 1, rx = 0, ry = 0, sy = 1, tx = 0, ty = 0}
current = {sx = 1.2506875000000002, rx = 0, ry = 0, sy = -1.2507999999999999, tx = -38.55559392,
ty = 838.78948192000007}
key = '\000' <repeats 2636 times>...
keyword = "path", '\000' <repeats 2868 times>...
geometry = '\000' <repeats 2872 times>...
name = '\000' <repeats 748 times>...
pattern = '\000' <repeats 4095 times>
primitive = 0x84d7e0 "push graphic-context\npath 'M 0,792 612,792 612,0 0,0 0,792 z'\npop graphic-context\n"
token = <optimized out>
q = 0x84d81e "pop graphic-context\n"
angle = <optimized out>
factor = <optimized out>
primitive_extent = 82
graphic_context = 0x8408d8
status = 1
point = <optimized out>
start_color = {blue = 0, green = 0, red = 0, opacity = 0}
primitive_info = 0x884b18
primitive_type = <optimized out>
p = 0x84d7f5 "path 'M 0,792 612,792 612,0 0,0 0,792 z'\npop graphic-context\n"
i = <optimized out>
x = <optimized out>
bounds = <optimized out>
length = <optimized out>
number_points = <optimized out>
j = 0
k = <optimized out>
n = 1
__PRETTY_FUNCTION__ = "DrawImage"
__func__ = "DrawImage"
#6 0x77b39060 in DrawClipPath (image=0x7db288, draw_info=0x833050, name=<optimized out>)
at ../../magick/draw.c:1467
clip_mask = "clipPath16", '\000' <repeats 1186 times>...
value = 0x7d7800 "push graphic-context\npath 'M 0,792 612,792 612,0 0,0 0,792 z'\npop graphic-context\n"
clone_info = 0x882c20
status = <optimized out>
__PRETTY_FUNCTION__ = "DrawClipPath"
__func__ = "DrawClipPath"
#7 0x77b36228 in DrawImage (image=0x7db288, draw_info=0x7e68b0) at ../../magick/draw.c:1909
affine = {sx = 1, rx = 0, ry = 0, sy = 1, tx = 0, ty = 0}
current = {sx = 1.2506875000000002, rx = 0, ry = 0, sy = -1.2507999999999999, tx = -38.55559392,
ty = 838.78948192000007}
key = '\000' <repeats 52 times>, "w\324\212@", '\000' <repeats 112 times>, "/tmp/magick-14680or6nty3Qa2nr", '\000' <repeats 2887 times>...
keyword = "clip-path", '\000' <repeats 731 times>...
geometry = "2.00055x1+0+0", '\000' <repeats 2859 times>...
name = "\000\000\000\000\000\000\000\000MVG", '\000' <repeats 737 times>...
pattern = '\000' <repeats 4095 times>
primitive = 0x7686a008 "push graphic-context\nencoding \"UTF-8\"\nviewbox 0 0 684 708\naffine 1.00055 0 0 1.00064 0 0\npush defs\npush clip-path 'clipPath16'\npush graphic-context\npath 'M 0,792 612,792 612,0 0,0 0,792 z'\npop graphic"...
token = <optimized out>
q = 0x7686bc2e "push graphic-context\naffine 1 0 0 1 384.224 131.32\npush graphic-context\nfill '#ffffff'\nfill-opacity '1'\nfill-rule 'nonzero'\nstroke 'none'\npath 'm 0,0 c 0,0 20.888,-10.921 50.4,-17.399 73.8,-16.201 76."...
angle = <optimized out>
factor = <optimized out>
primitive_extent = 449219
graphic_context = 0x82e780
status = 1
point = <optimized out>
start_color = {blue = 0, green = 0, red = 0, opacity = 0}
primitive_info = 0x767c8008
primitive_type = UndefinedPrimitive
p = 0x7686bc11 "clip-path 'url(#clipPath16)'\npush graphic-context\naffine 1 0 0 1 384.224 131.32\npush graphic-context\nfill '#ffffff'\nfill-opacity '1'\nfill-rule 'nonzero'\nstroke 'none'\npath 'm 0,0 c 0,0 20.888,-10.921 "...
i = <optimized out>
x = <optimized out>
bounds = <optimized out>
length = <optimized out>
number_points = <optimized out>
j = <optimized out>
k = <optimized out>
n = 4
__PRETTY_FUNCTION__ = "DrawImage"
__func__ = "DrawImage"
#8 0x76d3b364 in ReadMVGImage (image_info=0x838d90, exception=0x7c3398) at ../../coders/mvg.c:214
draw_info = 0x7e68b0
image = 0x7db288
status = <optimized out>
__PRETTY_FUNCTION__ = "ReadMVGImage"
__func__ = "ReadMVGImage"
#9 0x77ae2600 in ReadImage (image_info=0x834c80, exception=0x7c3398) at ../../magick/constitute.c:547
filename = "/tmp/magick-14680or6nty3Qa2nr", '\000' <repeats 2783 times>...
magick = "MVG", '\000' <repeats 1817 times>...
magick_filename = "mvg:/tmp/magick-14680or6nty3Qa2nr\000\020h\000\205\vxwYJ8wY\260\000\000\000\000X\000\207;\260wY9\244\000\205\002(wY8\310w\217> \000\205\020h\000\205\020\000wYJ8wY\260\000\000\000\000X\000\207;\260wY9\244\000\205\002\030wY8\310w\217> \000\205\020h\000\205\vPwYJ8wY\260\000\000\000\000X\000\207;\260wY9\244\000\205\002\bwY8\310w\217> \000\205\020h\000\205\v`wYJ8wY\260\000\000\000\000X\000\207;\260wY9\244\000\205\001\370wY8\310w\217> \000\205\020h\000\205\v("...
value = <optimized out>
delegate_info = <optimized out>
magick_info = 0x83e2c0
sans_exception = <optimized out>
geometry_info = {rho = 0, sigma = 0, xi = 0, psi = 0, chi = 0}
image = <optimized out>
next = 0x0
read_info = 0x838d90
flags = <optimized out>
domain = CoderPolicyDomain
rights = ReadPolicyRights
__PRETTY_FUNCTION__ = "ReadImage"
__func__ = "ReadImage"
#10 0x76f66bc8 in ReadSVGImage (image_info=0x7cd200, exception=0x7c3398) at ../../coders/svg.c:3162
read_info = 0x834c80
filename = "/tmp/magick-14680or6nty3Qa2nr\000UTF-8\" standalone=\"no\"?>\n<!-- Created with Inkscape (http://www.inkscape.org/) -->\n\n<svg\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n xmlns:cc=\"http://creativecommon"...
file = 0x7e6b48
image = 0x0
status = <optimized out>
unique_file = <optimized out>
n = <optimized out>
message = " id=\"g5180\"><path\n d=\"M 0,0 C 1.2,0.601 2.25,7.051 -0.15,10.5 4.65,5.101 3,-2.85 3,-2.85 3,-2.85 1.2,-0.899 0,0\"\n id=\"path5182\"\n style=\"fill:#cd5629;fill-opacity:1;fill-rule"...
sax_modules = {internalSubset = 0x76f660dc <SVGInternalSubset>,
isStandalone = 0x76f60dd0 <SVGIsStandalone>,
hasInternalSubset = 0x76f60d68 <SVGHasInternalSubset>,
hasExternalSubset = 0x76f60d00 <SVGHasExternalSubset>,
resolveEntity = 0x76f65d28 <SVGResolveEntity>, getEntity = 0x76f65cac <SVGGetEntity>,
entityDecl = 0x76f65b70 <SVGEntityDeclaration>,
notationDecl = 0x76f65a64 <SVGNotationDeclaration>,
attributeDecl = 0x76f658bc <SVGAttributeDeclaration>,
elementDecl = 0x76f657cc <SVGElementDeclaration>,
unparsedEntityDecl = 0x76f656e4 <SVGUnparsedEntityDeclaration>,
setDocumentLocator = 0x76f60cb0 <SVGSetDocumentLocator>,
startDocument = 0x76f65628 <SVGStartDocument>, endDocument = 0x76f65508 <SVGEndDocument>,
startElement = 0x76f66e58 <SVGStartElement>, endElement = 0x76f64c10 <SVGEndElement>,
reference = 0x76f64774 <SVGReference>, characters = 0x76f64440 <SVGCharacters>,
ignorableWhitespace = 0x76f60c58 <SVGIgnorableWhitespace>,
processingInstruction = 0x76f60c00 <SVGProcessingInstructions>, comment = 0x76f6437c <SVGComment>,
warning = 0x76f641f8 <SVGWarning>, error = 0x76f64074 <SVGError>,
fatalError = 0x76f64074 <SVGError>, getParameterEntity = 0x76f63ff8 <SVGGetParameterEntity>,
cdataBlock = 0x76f63f04 <SVGCDataBlock>, externalSubset = 0x76f65de0 <SVGExternalSubset>,
initialized = 0, _private = 0x0, startElementNs = 0x0, endElementNs = 0x0, serror = 0x0}
sax_handler = 0x7f962710
__PRETTY_FUNCTION__ = "ReadSVGImage"
__func__ = "ReadSVGImage"
#11 0x77ae2600 in ReadImage (image_info=0x7c8d18, exception=0x7c3398) at ../../magick/constitute.c:547
filename = "/home/fourmond/tmp/imagemagick-6.8.9.9/debian/display-im6.svg\000\212@", '\000' <repeats 4031 times>
magick = "SVG", '\000' <repeats 101 times>, "display-im6.q16.png\000magemagick-6.8.9.9/debian/tmp-Q16/usr/share/icons/hicolor/8x8/apps/display-i"...
magick_filename = "/home/fourmond/tmp/imagemagick-6.8.9.9/debian/display-im6.svg", '\000' <repeats 44 times>, "home/fourmond/tmp/imagemagick-6.8.9.9/debian/tmp-Q16/usr/share/icons/hicolor/8x8/apps/display-i"...
value = <optimized out>
delegate_info = <optimized out>
magick_info = 0x7d4ff8
sans_exception = <optimized out>
geometry_info = {rho = 2.5167780018380242e-306, sigma = 4.0221981994775752e+306,
xi = 3.9670155062232695e+306, psi = 3.1829936871890069e-313, chi = 3.2822382280069449e-313}
image = <optimized out>
next = 0x77b5b214 <ClearExceptionInfo+168>
read_info = 0x7cd200
flags = <optimized out>
domain = CoderPolicyDomain
rights = ReadPolicyRights
__PRETTY_FUNCTION__ = "ReadImage"
__func__ = "ReadImage"
#12 0x77ae39a4 in ReadImages (image_info=0x7c8d18, exception=0x7c3398) at ../../magick/constitute.c:853
filename = "/home/fourmond/tmp/imagemagick-6.8.9.9/debian/display-im6.svg", '\000' <repeats 343 times>...
image = <optimized out>
images = 0x0
read_info = <optimized out>
__PRETTY_FUNCTION__ = "ReadImages"
__func__ = "ReadImages"
#13 0x77959594 in ConvertImageCommand (image_info=0x7c8d18, argc=15, argv=0x7c3788, metadata=0x0,
exception=0x7c3398) at ../../wand/convert.c:622
images = <optimized out>
filename = 0x7c4380 "/home/fourmond/tmp/imagemagick-6.8.9.9/debian/display-im6.svg"
option = <optimized out>
format = 0x77a3de48 "%w,%h,%m"
image = 0x0
image_stack = {{image_info = 0x7c8d18, image = 0x0}, {image_info = 0x0,
image = 0x0} <repeats 47 times>, {image_info = 0x0, image = 0x778f3e20}, {image_info = 0x0,
image = 0x0}, {image_info = 0x0, image = 0x3a}, {image_info = 0x6e, image = 0x5b}, {
image_info = 0x77, image = 0x778f3e20}, {image_info = 0x0, image = 0x7c3d80}, {image_info = 0x0,
image = 0x0}, {image_info = 0x0, image = 0x778f3e20}, {image_info = 0x0, image = 0x7c3e80}, {
image_info = 0x7c3e78, image = 0x3a}, {image_info = 0x6e, image = 0x5b}, {image_info = 0x77,
image = 0x778f3e20}, {image_info = 0x77cb8d30 <TransparentColor>, image = 0x7c3e00}, {
image_info = 0x777f366c, image = 0x0}, {image_info = 0x0, image = 0x0}, {image_info = 0x0,
image = 0x7c3f00}, {image_info = 0x7c3ef8, image = 0x49}, {image_info = 0x778eb3e8,
image = 0x0}, {image_info = 0x77cb7f10, image = 0x0}, {
image_info = 0x77cb8d30 <TransparentColor>, image = 0x0}, {image_info = 0x777f366c,
image = 0x0}, {image_info = 0x0, image = 0x778f3e20}, {image_info = 0x0, image = 0x778f3e20}, {
image_info = 0x77d92fbc <__stack_chk_guard>, image = 0x40}, {image_info = 0x778eb3e8,
image = 0x40}, {image_info = 0x1, image = 0x777f3484}, {image_info = 0x777f512c,
image = 0x778eb3e8}, {image_info = 0x0, image = 0x778f3e20}, {image_info = 0x777f1e98,
image = 0x778f3e20}, {image_info = 0x77c265b0 <AllocateSemaphoreInfo+304>, image = 0x7f96ec18}, {
image_info = 0x1, image = 0x77c9ea00}, {image_info = 0x1, image = 0x7c43dc}, {
image_info = 0x77d58000 <command+216>, image = 0x77d58000 <command+216>}, {
image_info = 0x7c43c8, image = 0x778f3e20}, {image_info = 0x77cb7f10, image = 0x778f3e20}, {
image_info = 0x77cb8d30 <TransparentColor>, image = 0x7c3ec0}, {image_info = 0x1,
image = 0xffffffff}, {image_info = 0x77b86ce4 <NewLinkedList+120>, image = 0x7c4860}, {
image_info = 0x77d58000 <command+216>, image = 0x77d58000 <command+216>}, {image_info = 0x1,
image = 0x7f96ed34}, {image_info = 0x77cb7f10, image = 0x0}, {
image_info = 0x77cb8d30 <TransparentColor>, image = 0x0}, {
image_info = 0x77c26790 <DestroySemaphoreInfo+140>, image = 0x0}, {
image_info = 0x77bad0ec <RelinquishMagickMemory+48>, image = 0x778f3e20}, {
image_info = 0x77b5b828 <InitializeExceptionInfo+88>, image = 0x0}, {image_info = 0x7c4848,
image = 0x7c4848}, {image_info = 0x1, image = 0x77c9ea00}, {
image_info = 0x77b5b214 <ClearExceptionInfo+168>, image = 0x7c4848}, {image_info = 0x7c3288,
image = 0x77c9ea00}, {image_info = 0x1, image = 0x7f96ed34}, {image_info = 0x77cb7f10,
image = 0x0}, {image_info = 0x77cb8d30 <TransparentColor>, image = 0x0}, {
image_info = 0x77bad0ec <RelinquishMagickMemory+48>, image = 0x77ca08ec <__func__.11733>}, {
image_info = 0x77c9ea00, image = 0x1}, {image_info = 0x7f96ed34,
image = 0x77d48a40 <filename+980>}, {image_info = 0x0, image = 0x7c4848}, {
image_info = 0x77ba5b1c <IsEventLogging+144>, image = 0x0}, {image_info = 0x0, image = 0x0}, {
image_info = 0x0, image = 0x77d48a40 <filename+980>}, {image_info = 0x0, image = 0x0}, {
image_info = 0x9f8, image = 0x77ca08ec <__func__.11733>}, {
image_info = 0x77ba5e08 <LogMagickEventList+80>, image = 0x0}, {image_info = 0x0, image = 0x0}, {
image_info = 0x0, image = 0x77d48a40 <filename+980>}, {image_info = 0x0, image = 0x0}, {
image_info = 0x77d92fbc <__stack_chk_guard>, image = 0x77d92fbc <__stack_chk_guard>}, {
image_info = 0x77c98000 <__udivdi3+1504>, image = 0x77ca8000}, {image_info = 0x7c4988,
image = 0x7fffffff}, {image_info = 0x77ba5ec0 <LogMagickEvent+72>, image = 0x0}, {
image_info = 0x0, image = 0x0}, {image_info = 0x0, image = 0x77cb7f10}, {
image_info = 0x7f96ed34, image = 0x77d48a40 <filename+980>}, {image_info = 0x0,
image = 0x77d48a40 <filename+980>}, {image_info = 0xbad344, image = 0x7f96fdd0}, {
image_info = 0x77abc8f8 <QueryMagickColorCompliance+2924>, image = 0x0}, {image_info = 0x0,
image = 0x0}, {image_info = 0x0, image = 0x77cb7f10}, {
image_info = 0x77cb8d30 <TransparentColor>, image = 0x0}, {image_info = 0x0, image = 0x0}, {
image_info = 0x0, image = 0x77d48a40 <filename+980>}, {image_info = 0x7c4c08, image = 0x0}}
pend = MagickFalse
respect_parenthesis = MagickFalse
status = 1
i = <optimized out>
j = 1
k = <optimized out>
__PRETTY_FUNCTION__ = "ConvertImageCommand"
__func__ = "ConvertImageCommand"
#14 0x779dcf58 in MagickCommandGenesis (image_info=0x7c4c08, command=0x77958848 <ConvertImageCommand>,
argc=15, argv=0x7f96ff94, metadata=0x0, exception=0x7c3398) at ../../wand/mogrify.c:168
option = <optimized out>
duration = <optimized out>
serial = <optimized out>
concurrent = <optimized out>
regard_warnings = <optimized out>
status = MagickTrue
i = <optimized out>
iterations = <optimized out>
number_threads = <optimized out>
n = <optimized out>
#15 0x00400964 in ConvertMain (argv=0x7f96ff94, argc=15) at ../../utilities/convert.c:81
exception = 0x7c3398
image_info = 0x7c4c08
status = <optimized out>
#16 main (argc=15, argv=0x7f96ff94) at ../../utilities/convert.c:92
No locals.
More information about the Pkg-gmagick-im-team
mailing list