Re: snnewgroup: Segmentation fault on ppc systems

[email protected] (Sebastian D.B. Krause)
Newsgroups gmane.network.sn
Message-ID <[email protected]>
Chris Niekel <[email protected]> wrote:
> 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 thought of using it. But as the bug is in upstream, I thought to
better ask here first...

>> 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. 

,----
| (gdb) set args gmane.network.sn news.gmane.org 119
| (gdb) run
| Starting program: /tmp/sn-0.3.6/snnewgroup gmane.network.sn news.gmane.org 119
| 
| Program received signal SIGSEGV, Segmentation fault.
| 0x100015e8 in vachar (c=100, app=0x7ffffbf8, tmp=0x7ffffbc8 "\017ü\202X\020\0015 \177ÿü\020\017öžà\017è~à", len=0x7ffffbfc)
|     at format.c:59
| 59	      case 'd': i = va_arg(*app, int); p = istr(i, 10, tmp); break;
| (gdb) bt
| #0  0x100015e8 in vachar (c=100, app=0x7ffffbf8, tmp=0x7ffffbc8 "\017ü\202X\020\0015 \177ÿü\020\017öžà\017è~à", len=0x7ffffbfc)
|     at format.c:59
| #1  0x100017a0 in formatv (buf=0x1001357c "", size=2147482616, fmt=0x100024b5 "d", ap=0xfe87ee0) at format.c:91
| #2  0x10001894 in formats (buf=0x0, size=2147482616, fmt=0x7ffffbc8 "\017ü\202X\020\0015 \177ÿü\020\017öžà\017è~à")
|     at format.c:115
| #3  0x10000f84 in main (argc=4, argv=0x7ffffd94) at snnewgroup.c:155
| #4  0x0fe9d120 in __libc_start_main () from /lib/libc.so.6
| (gdb) 
`----

HTH,
Sebastian
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.