Hello again,

actually i can reproduce it everywhere:

  Starting program: /Users/steffen/src/nail.git/s-nail -n -Semptystart
  Reading symbols for shared libraries .++++++++........ done
  "/private/var/mail/steffen": 0 messages
  >> acc Yuser_code
  "+INBOX": 0 messages
  >> acc Xuser
  Program received signal EXC_BAD_ACCESS, Could not access memory.
  Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
  _check_special_vars (name=<value temporarily unavailable, due to 
optimizations>, enable=FAL0, val=0x0) at acmava.c:183
  183         rv = var_folder_updated(*val, &cp);
  (gdb) bt
  #0  _check_special_vars (name=<value temporarily unavailable, due to 
optimizations>, enable=FAL0, val=0x0) at acmava.c:183
  #1  0x0000000100001ffe in var_unset (name=0x10040d100 "folder") at 
acmava.c:607
  Previous frame inner to this frame (gdb could not unwind past this frame)
  (gdb) x
  0x0:  Cannot access memory at address 0x0
  (gdb) bt
  #0  _check_special_vars (name=<value temporarily unavailable, due to 
optimizations>, enable=FAL0, val=0x0) at acmava.c:183
  #1  0x0000000100001ffe in var_unset (name=0x10040d100 "folder") at 
acmava.c:607

This is a bug i've fixed in v14.5.1, in changeset [d1f1a19b].

:) -- in fact "the bug occurred because" i planned to implement
some "value cache" right from the start, and that
_check_special_vars() is just an ugly hack because there is was
such "cache", and i *hate* ugly hacks, they reduce my vigor to
zero...

And i'm in the process of implementing, well, it won't be a cache,
but in fact all constant option names, like *folder*, have been
replaced by enumeration constants on [crawl], so that practically
all that ugly code is now encapsulated in acmava.c!
And with special tags (not yet implemented) we will not need
_check_special_vars() like we did before, but *only* if we *know*
that a value requires special handling.  So that is almost what
i've wanted...

Finally, Ypnose: Thank you very much for reporting all that stuff!
Ciao!

--steffen

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to