Re: snnewgroup: Segmentation fault on ppc systems

Chris Niekel <[email protected]>
Newsgroups gmane.network.sn
Message-ID <[email protected]>
Hi,

On Sun, Dec 07, 2003 at 08:36:44PM +0100, Sebastian D.B. Krause wrote:
> I just tried to install sn on my iBook (G3) running Debian (I wanted
> to use the binary installed by "apt-get install sn"), but snnewgroup
> segfaults when I try to create a group, so I recompiled sn with
> debugging symbols and started it through gdb:

And you didn't use the debian-bugtracking system! I'm the debian
maintainer for 'sn', so I'll do my best anyway. :)

> ,----[ gdb running snnewgroup ]
> | (gdb) set args gmane.network.sn news.gmane.org 119
> | (gdb) run
> | Starting program: /usr/sbin/snnewgroup gmane.network.sn news.gmane.org 119
> | 
> | Program received signal SIGSEGV, Segmentation fault.
> | 0x100015e8 in vachar (c=100, app=0x7ffffc08, tmp=0x7ffffbd8 "\017?\202X\020\001@\b\177?? \017???\017?~?", len=0x7ffffc0c)
> |     at format.c:59
> | 59	      case 'd': i = va_arg(*app, int); p = istr(i, 10, tmp); break;
> | (gdb) 
> `----
> 
> If you need more information, tell me and describe me how to get
> it. :) I don't get this error on my x86 box.

Could you print a backtrace ('bt') at that point? That would show where
the 'vachar' was called. 

Thanks,
Chris Niekel
-- 
    I've been down so long, if I'd cheer up, I'd still be depressed.
            - Lisa Simpson, Moanin' Lisa Blues.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.