Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001014graphvizDotpublic2005-12-06 05:472011-04-28 04:03
ReporterDaniel Clemente 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-Debian 'testing'OS Version
Summary0001014: Latin-1 accents crash dot (glibc, malloc: memory corruption)
Description



   When I use accents in some specific labels, there's a crash. Removing the accent makes it work.
   But note that it doesn't happen with all accents. For instance, in the example I give there are several accents, but it's just the one from the last line who crashes dot.



   Try also removing the first line ("Lògica" -> "Informal"). Then dot enters an infinite loop (but stops and works correctly if you press Ctrl+C).
Additional Information

<CD>
- I use this version because it's the one included in Debian.
- libc6 2.3.5-8
- Here's the last part of an strace:

open("/proc/meminfo", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7b52000
read(4, "MemTotal: 61172 kB\nMemFre"..., 1024) = 598
close(4) = 0
munmap(0xb7b52000, 4096) = 0
access("/usr/share/fonts/type1/gsfonts/n021003l.afm", R_OK) = 0
open("/usr/share/fonts/type1/gsfonts/n021003l.afm", O_RDONLY) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=43656, ...}) = 0
mmap2(NULL, 43656, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7b48000
close(4) = 0
munmap(0xb7b48000, 43656) = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_NOCTTY) = 4
writev(4, [{"*** glibc detected *** ", 23}, {"malloc(): memory corruption", 27}, {": 0x", 4}, {"08061630", 8}, {" ***\n", 5}], 5) = 67
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(14365, 14365, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
</CD>
<additional_information><![CDATA[

[erg] UTF-8 is the default charset. Latin-1 only works if you are lucky,
unless you specify charset=Latin1.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID835
INPUT-FILEhttp://www.graphviz.org/bugs/b835.dot [^]
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     2.2.1
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => erg


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker