Re: [dev] [st] segfault when selecting text

2015-03-19 Thread Henrique Lengler
On Wed, Mar 18, 2015 at 02:57:03PM -0300, Henrique Lengler wrote: > On Wed, Mar 18, 2015 at 07:02:28AM +0100, Roberto E. Vargas Caballero wrote: > > Your problem is the commit 72d2accc22 which removed _BSD_SOURCE > > and introduced _DEFAULT_SOURCE instead, but since strsep is not a > > POSIX functi

Re: [dev] [st] segfault when selecting text

2015-03-18 Thread Roberto E. Vargas Caballero
> I defined and this didn't solved, the same error. I didn't backtraced > again. > Can you posted the output of your compilation process after adding the define? (there was a very bad warning in your previous compilation). Regards,

Re: [dev] [st] segfault when selecting text

2015-03-18 Thread Henrique Lengler
On Wed, Mar 18, 2015 at 07:02:28AM +0100, Roberto E. Vargas Caballero wrote: > Your problem is the commit 72d2accc22 which removed _BSD_SOURCE > and introduced _DEFAULT_SOURCE instead, but since strsep is not a > POSIX function, each system requires different defines. Can you test > to define _BSD_

Re: [dev] [st] segfault when selecting text

2015-03-17 Thread Roberto E. Vargas Caballero
> from st.c:25: > /usr/X11R6/include/X11/Xfuncproto.h:156:24: warning: ISO C does not permit > named variadic macros > st.c: In function 'strparse': > st.c:2265: warning: implicit declaration of function 'strsep' > st.c:2265: warning: assignment makes pointer from integer without

Re: [dev] [st] segfault when selecting text

2015-03-17 Thread Henrique Lengler
On Tue, Mar 17, 2015 at 07:28:27PM -0400, Alex Pilon wrote: > The reason I ask is because in 246c348, and all the way back to > 2fcfea1bf149f839cdbcba5c1efc7c4ce31f6d95 at least, that's a comment > line. Are you 28259f5750f0dc7f52bbaf8b746ec3dc576a58ee? If so, then it > would be that dereferencing

Re: [dev] [st] segfault when selecting text

2015-03-17 Thread Alex Pilon
On Tue, Mar 17, 2015 at 07:38:46PM -0300, Henrique Lengler wrote: > I'm running the last git-st on OpenBSD, What's your HEAD's ID? The reason I ask is because in 246c348, and all the way back to 2fcfea1bf149f839cdbcba5c1efc7c4ce31f6d95 at least, that's a comment line. Are you 28259f5750f0dc7f52bb

[dev] [st] segfault when selecting text

2015-03-17 Thread Henrique Lengler
I'm running the last git-st on OpenBSD, and sometimes when I select text, I get a segfault. I created a core and I debugged it, the log is attached. The case of this log, is a situation that I cat a file, and I copy the result. Does anyone know about this problem? Any solution? -- Regards Henr