[macruby-changes] [3375] MacRuby/trunk/vm.cpp

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 29 20:33:28 PST 2010


Revision: 3375
          http://trac.macosforge.org/projects/ruby/changeset/3375
Author:   lsansonetti at apple.com
Date:     2010-01-29 20:33:25 -0800 (Fri, 29 Jan 2010)
Log Message:
-----------
ignore symbolication entries with no paths

Modified Paths:
--------------
    MacRuby/trunk/vm.cpp

Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp	2010-01-30 01:33:30 UTC (rev 3374)
+++ MacRuby/trunk/vm.cpp	2010-01-30 04:33:25 UTC (rev 3375)
@@ -3719,7 +3719,7 @@
 
 	if (GET_CORE()->symbolize_call_address(callstack[i], NULL,
 		    path, sizeof path, &ln, name, sizeof name)
-		&& name[0] != '\0') {
+		&& name[0] != '\0' && path[0] != '\0') {
 	    char entry[PATH_MAX];
 	    if (ln == 0) {
 		snprintf(entry, sizeof entry, "%s:in `%s'",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100129/c172c158/attachment.html>


More information about the macruby-changes mailing list