From mboxrd@z Thu Jan 1 00:00:00 1970 From: rudolf.sykora@gmail.com (Rudolf Sykora) Date: Thu, 29 Jun 2017 11:20:46 +0200 Subject: [9fans] Irc segmentation fault In-Reply-To: References: Message-ID: Topicbox-Message-UUID: bf5642ac-ead9-11e9-9d60-3106f5b1d025 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: /usr/local/plan9port/bin/Irc irc.freenode.org [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff749bedf in raise () from /lib64/libpthread.so.0 (gdb) where #0 0x00007ffff749bedf in raise () from /lib64/libpthread.so.0 #1 0x000000000040df34 in child () at daemonize.c:38 #2 0x000000000040e18e in _threadsetupdaemonize () at daemonize.c:153 #3 0x000000000040de3d in p9main (argc=2, argv=0x7fffffffdcb8) at thread.c:721 #4 0x0000000000402ae9 in main (argc=, argv=) at main.c:10 which I really don't understand... How could argc, argv be 'optimized out'? Thanks for any comments! Ruda