Re: [9fans] Irc segmentation fault

2017-06-29 Thread Rudolf Sykora
On 29 June 2017 at 11:29, Nick Owens wrote: > you probably need to use gcc -O0 -g for that. Doesn't it matter that the program is normally built with 9c? Thanks Ruda

Re: [9fans] Irc segmentation fault

2017-06-29 Thread Nick Owens
you probably need to use gcc -O0 -g for that. but it looks like the problem is in dameonize.c:38. lowering optimization might help since there might be inlined functions.. haven't really looked at Irc. On Jun 29, 2017 02:24, "Rudolf Sykora" wrote: On 29 June 2017 at

Re: [9fans] Irc segmentation fault

2017-06-29 Thread Rudolf Sykora
On 29 June 2017 at 09:39, Nick Owens wrote: > acid is next to impossible to use on unix systems. just run gdb with 'thread > apply all bt'.. should give you an idea of what's wrong. If I run Irc in gdb, I get (gdb) run irc.freenode.org Starting program:

Re: [9fans] Irc segmentation fault

2017-06-29 Thread Nick Owens
acid is next to impossible to use on unix systems. just run gdb with 'thread apply all bt'.. should give you an idea of what's wrong. On Jun 29, 2017 00:33, "Rudolf Sykora" wrote: > > $ Irc irc.freenode.org > > Segmentation fault > > Do I have to use acid to debug it,

Re: [9fans] Irc segmentation fault

2017-06-29 Thread Rudolf Sykora
> $ Irc irc.freenode.org > Segmentation fault Do I have to use acid to debug it, or is it possible to use the usual unix gdb to debug this on p9p? Thanks Ruda

[9fans] Irc segmentation fault

2017-06-27 Thread Rudolf Sykora
Hello, I am trying to use the Irc acme client in plan9port, the one from https://swtch.com/irc/ However, when I run it, it segfaults: $ Irc irc.freenode.org Segmentation fault Has anybody used this client successfully? (Or would you rather recommend something else?) Thanks Ruda