Hey Charles & List
I am receiving the following error when compiling Pan 0.9 on OS X.
compiler Apple gcc 4.0.1
Platform PPC

<snip>
numbers.cc: In member function 'void pan::Numbers::mark_str(const pan::StringView&, bool)':
numbers.cc:202: error: 'ulong' does not name a type
numbers.cc:203: error: 'ulong' does not name a type
numbers.cc:204: error: 'low' was not declared in this scope
numbers.cc:204: error: 'high' was not declared in this scope
numbers.cc: At global scope:
<snip>

In order to get pan to compile I changed all "ulong" to "unsigned long".
Pan runs, but crashes upon exiting.
I have attached a backtrace.




Dave
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0400f5f8
__gnu_cxx::hashtable<std::pair<pan::StringView const, pan::Quark::Impl>, 
pan::StringView, pan::Quark::StringViewHash, 
std::_Select1st<std::pair<pan::StringView const, pan::Quark::Impl> >, 
std::equal_to<pan::StringView>, std::allocator<pan::Quark::Impl> >::erase 
(this=0x1aef58, [EMAIL PROTECTED]) at /usr/include/c++/4.0.0/ext/hashtable.h:872
872           _Node* __first = _M_buckets[__n];
(gdb) thread apply all bt

Thread 1 (process 27810 local thread 0xf03):
#0  __gnu_cxx::hashtable<std::pair<pan::StringView const, pan::Quark::Impl>, 
pan::StringView, pan::Quark::StringViewHash, 
std::_Select1st<std::pair<pan::StringView const, pan::Quark::Impl> >, 
std::equal_to<pan::StringView>, std::allocator<pan::Quark::Impl> >::erase 
(this=0x1aef58, [EMAIL PROTECTED]) at /usr/include/c++/4.0.0/ext/hashtable.h:872
#1  0x00014170 in __static_initialization_and_destruction_0 
(__initialize_p=67141632, __priority=12) at 
/usr/include/c++/4.0.0/ext/hash_map:249
#2  0x00014170 in __static_initialization_and_destruction_0 
(__initialize_p=67141632, __priority=12) at 
/usr/include/c++/4.0.0/ext/hash_map:249
#3  0x8fe0ffa0 in 
__dyld__ZN16ImageLoaderMachO13doTerminationERKN11ImageLoader11LinkContextE ()
#4  0x8fe03ebc in __dyld__ZN4dyld14runTerminatorsEv ()
#5  0x900146d8 in __cxa_finalize ()
#6  0x900145a4 in exit ()
#7  0x000025c8 in _start (argc=1, argv=0xbffff7ec, envp=0xbffff7f4) at 
/SourceCache/Csu/Csu-58/crt.c:272
#8  0x0000246c in start ()
_______________________________________________
Pan-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/pan-devel

Reply via email to