On 27 January 2011 16:22, Bob Friesenhahn <bfrie...@simple.dallas.tx.us> wrote:
> This bug does look ugly.  It seems that you are using a version of Ubuntu
> which offers a newer GraphicsMagick than the one 10.04 is offering (10.04
> only offers 1.3.5-6).  On the Ubuntu I have here, I see a package called
> 'graphicsmagick-dbg' which may offer the debug libraries you are looking
> for.  The package is not named using the same conventions as the debug
> symbols for other libraries.

Thanks; I assumed that package contained debug symbols only for
graphicsmagick-bin, but on looking at the file list, you're quite
right. So I now have some updated backtraces:

lt-psiconv: magick/semaphore.c:526: LockSemaphoreInfo: Assertion
`semaphore_info->signature == 0xabacadabUL' failed.

Program received signal SIGABRT, Aborted.
0x0012e416 in __kernel_vsyscall ()
(gdb) where
#0  0x0012e416 in __kernel_vsyscall ()
#1  0x00948941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x0094be42 in abort () at abort.c:92
#3  0x009418e8 in __assert_fail (assertion=0x3be6d0
"semaphore_info->signature == 0xabacadabUL",
    file=0x3be68c "magick/semaphore.c", line=526, function=0x3be771
"LockSemaphoreInfo")
    at assert.c:81
#4  0x0026ae02 in LockSemaphoreInfo (semaphore_info=0x805a278) at
magick/semaphore.c:526
#5  0x001a3812 in ReferenceBlob (blob=0x805a220) at magick/blob.c:3818
#6  0x00233bc3 in SyncNextImageInList (images=0x80bb120) at magick/list.c:943
#7  0x0039efeb in WriteTIFFImage (image_info=0x8588370,
image=0x80bb120) at coders/tiff.c:4825
#8  0x001eaf56 in WriteImage (image_info=0x8576290, image=0x80bb120)
at magick/constitute.c:8947
#9  0x001a68b1 in ImageToBlob (image_info=0x85741b8, image=0x80bb120,
length=0xbfffeaac,
    exception=0xbfffea8c) at magick/blob.c:1925
#10 0x0804a893 in image_to_list (list=0x8059fd0, image=0x80bb120,
dest=<value optimized out>)
    at gen_image.c:98
#11 0x0804aa54 in gen_image_list (config=<value optimized out>,
list=<value optimized out>,
    sections=<value optimized out>, dest=0x804ea8a "TIFF") at gen_image.c:163
#12 0x0804aba0 in gen_clipart (config=0x8059d98, list=0x8059fd0,
file=0x8059fc0,
    dest=0x804ea8a "TIFF", encoding_type=ENCODING_UTF8) at gen_image.c:193
#13 gen_image (config=0x8059d98, list=0x8059fd0, file=0x8059fc0,
dest=0x804ea8a "TIFF",
    encoding_type=ENCODING_UTF8) at gen_image.c:222
#14 0x08049b96 in main (argc=2, argv=0xbfffed54) at psiconv.c:298

And from valgrind:

$ libtool e valgrind program/psiconv/psiconv examples/Clipart
program/psiconv/psiconv: line 46: Xprogram/psiconv/psiconv: No such
file or directory
==11275== Memcheck, a memory error detector
==11275== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==11275== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h
for copyright info
==11275== Command: /home/rrt/download/psiconv-0.9.8/.libs/lt-psiconv
examples/Clipart
==11275==
==11275== Conditional jump or move depends on uninitialised value(s)
==11275==    at 0x403100C: psiconv_config_read (configuration.c:295)
==11275==    by 0x8049A01: main (psiconv.c:227)
==11275==
==11275== Invalid read of size 4
==11275==    at 0x4184D82: LockSemaphoreInfo (semaphore.c:526)
==11275==    by 0x40BD811: ReferenceBlob (blob.c:3818)
==11275==    by 0x414DBC2: SyncNextImageInList (list.c:943)
==11275==    by 0x42B8FEA: WriteTIFFImage (tiff.c:4825)
==11275==    by 0x4104F55: WriteImage (constitute.c:8947)
==11275==    by 0x40C08B0: ImageToBlob (blob.c:1925)
==11275==    by 0x804A892: image_to_list (gen_image.c:98)
==11275==    by 0x804AA53: gen_image_list (gen_image.c:163)
==11275==    by 0x804AB9F: gen_image (gen_image.c:193)
==11275==    by 0x8049B95: main (psiconv.c:298)
==11275==  Address 0x54c4e88 is 24 bytes inside a block of size 28 free'd
==11275==    at 0x40257ED: free (vg_replace_malloc.c:366)
==11275==    by 0x4152E63: MagickFree (memory.c:358)
==11275==    by 0x4184EC9: DestroySemaphoreInfo (semaphore.c:415)
==11275==    by 0x40C1606: DestroyBlob (blob.c:1006)
==11275==    by 0x414DBAE: SyncNextImageInList (list.c:942)
==11275==    by 0x42B8FEA: WriteTIFFImage (tiff.c:4825)
==11275==    by 0x4104F55: WriteImage (constitute.c:8947)
==11275==    by 0x40C08B0: ImageToBlob (blob.c:1925)
==11275==    by 0x804A892: image_to_list (gen_image.c:98)
==11275==    by 0x804AA53: gen_image_list (gen_image.c:163)
==11275==    by 0x804AB9F: gen_image (gen_image.c:193)
==11275==    by 0x8049B95: main (psiconv.c:298)
==11275==
lt-psiconv: magick/semaphore.c:526: LockSemaphoreInfo: Assertion
`semaphore_info->signature == 0xabacadabUL' failed.
==11275==
==11275== HEAP SUMMARY:
==11275==     in use at exit: 5,516,490 bytes in 2,930 blocks
==11275==   total heap usage: 8,125 allocs, 5,195 frees, 16,177,481
bytes allocated
==11275==
==11275== LEAK SUMMARY:
==11275==    definitely lost: 2,996 bytes in 72 blocks
==11275==    indirectly lost: 48 bytes in 3 blocks
==11275==      possibly lost: 55,234 bytes in 271 blocks
==11275==    still reachable: 5,458,212 bytes in 2,584 blocks
==11275==         suppressed: 0 bytes in 0 blocks
==11275== Rerun with --leak-check=full to see details of leaked memory

-- 
http://rrt.sc3d.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to