Skip to content

Home News Screenshots Wiki Themes Bugtracker Members Logos Search
  You are not logged in Link icon Log in Link icon Join
You are here: Home » Bugs, issues and feature requests collector » pgserver crash in pgstring/textbox code » Send this page to somebody

Log in

Send this page to somebody

Fill in the email address of your friend to send an email with the address.
Page summary

pgserver crash in pgstring/textbox code

This bug manifests itself as a segfault during a memmove() call. You can cause it by opening Nifty and typing something into the minibuffer that generates an exception, like "boing". memmove() is being caleld from pgstring_insert_char(), with a negative length parameter. The pgstr_iterator passed to pgstring_insert_char() is invalid. (p->invalid==1 and p->offset is 1 whereas the string is empty) I have a hunch this was caused by the textbox widget recently switching its default encoding from ascii to UTF-8.

Address info
Send to (e-mail address)
From
Comment