Re: [graphviz-interest] Problem with HTML Labels

Ryan Schmidt <[email protected]>
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
On Sep 23, 2013, at 16:40, [email protected] wrote:

>> I used 2.30 before and was able to use the following syntax:
>> 
>> label=<On<br ALIGN="LEFT"/><br ALIGN="LEFT"/>>;
>> In 2.34 this creates a segmentation fault.
>> 
>> In the new version I can only use this: label=<On<br ALIGN="LEFT"/>>;
>> 
>> 
>> An also this:
>> Working in 2.30
>> label=<{<br ALIGN="LEFT"/><B>Off</B><br ALIGN="LEFT"/>|<br ALIGN="LEFT"/>
>> <u>Entry</u>:<br ALIGN="LEFT"/>LED_Off();...<br ALIGN="LEFT"/><br
>> ALIGN="LEFT"/>}>
>> 
>> Not working anymore (segmentation fault). I have to remove the <br
>> ALIGN="LEFT"/> before the <B>Off</B>
>> 
>> Only this works now:
>> label=<{<B>Off</B><br ALIGN="LEFT"/>| <u>Entry</u>:<br
>> ALIGN="LEFT"/>LED_Off();...<br ALIGN="LEFT"/><br ALIGN="LEFT"/>}>
>> 
>> 
>> Maybe my labels were not perfect :-)
>> But did I do something wrong in the past? What do you suggest I should do?
>> 
>> 
> This all still works fine for me, at least in 2.35. What system are you
> working on? Please submit a bug report. Thanks.

I can reproduce the crash with the first example with dot 2.34.0 on OS X 10.8.5. The crash log says:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libgvc.6.dylib                	0x000000010292b7f9 size_html_txt + 99
1   libgvc.6.dylib                	0x000000010292a9fc make_html_label + 601
2   libgvc.6.dylib                	0x000000010293684d make_label + 334
3   libgvc.6.dylib                	0x00000001029432da common_init_node + 325
4   libgvplugin_dot_layout.6.dylib	0x00000001032307dc dot_init_node_edge + 70
5   libgvplugin_dot_layout.6.dylib	0x0000000103230e32 dot_layout + 104
6   libgvc.6.dylib                	0x00000001029137f2 gvLayoutJobs + 260
7   dot                           	0x0000000102905c87 main + 625
8   libdyld.dylib                 	0x00007fff8bffb7e1 start + 1

The crash is gone with dot 2.35.20130917.0446. I did not test intervening versions. The second example does not crash for me in either version.



_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.