On Mon, 10 Mar 2008 22:59:32 +0100, Riccardo Stagni wrote:

> > I tried to reproduce this using the same locale 
> > ([EMAIL PROTECTED]), setting it as LC_ALL and invoking newsbeuter 
> > in urxvt.  Even using exactly the same library versions as 
> > you I fail to reproduce this. No crash, everything gets 
> > displayed fine.

I have the same problems as the submitter (i.e. the crash with the
same error). I just had no idea yet what might be the cause :)

> please try setting the LANG variable: with LANG=C it works but
> displays "?" instead the offending "à". If instead I use the usual
> [EMAIL PROTECTED] (or also it_IT.UTF-8) it crashes.

Similar here:

[EMAIL PROTECTED]:~$ locale
LANG=C
[EMAIL PROTECTED]
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
[EMAIL PROTECTED]:~$ newsbeuter
[start messages, screen blank]
terminate called after throwing an instance of 'char*'
                                                      Aborted

[EMAIL PROTECTED]:~$ LANG=C newsbeuter          

the same (well, LC_CTYPE is not overriden)

[EMAIL PROTECTED]:~$ LANG=C LC_ALL=C newsbeuter

Works. (Without non-ascii characters obviously.)

[EMAIL PROTECTED]:~$ LANG=de_AT.utf8 LC_ALL=de_AT.utf8 uxterm newsbeuter

Works, too. Interesting.

Here's the backtrace from the invokation in my normal locale:

terminate called after throwing an instance of 'char*'

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb789e6d0 (LWP 20840)]
0xb7bb9546 in raise () from /lib/libc.so.6
(gdb) bt full
#0  0xb7bb9546 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0xb7bbad58 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0xb7dbc748 in __gnu_cxx::__verbose_terminate_handler () from
/usr/lib/libstdc++.so.6
No symbol table info available.
#3  0xb7dba605 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0xb7dba642 in std::terminate () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0xb7dba77a in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x080b0ef7 in ?? ()
No symbol table info available.
#7  0x080b572d in ?? ()
No symbol table info available.
#8  0x080873c1 in ?? ()
No symbol table info available.
#9  0x08065620 in ?? ()
No symbol table info available.
#10 0x0806eaf3 in ?? ()
No symbol table info available.
#11 0x0808a194 in ?? ()
No symbol table info available.
#12 0x08066875 in ?? ()
No symbol table info available.
#13 0x08071a87 in ?? ()
No symbol table info available.
#14 0x0804e005 in ?? ()
No symbol table info available.
#15 0xb7ba5456 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#16 0x0804dcf1 in ?? ()
No symbol table info available.
(gdb) 



Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Dire Straits: Down To The Waterline

Attachment: signature.asc
Description: Digital signature

Reply via email to