Bug#350019: openoffice.org-draw: Impress/Draw line width greater than zero drawing error

2006-02-07 Thread Javier Ruiz Hidalgo
Hi,

Just wanted to add a "me too" to the bug report. Hoping this will get
fix soon as for me it converts ooffice-draw unsable... :-( let me know
if I can make any further tests...

later,

--
Javier Ruiz Hidalgo



Bug#337933: Strange behaviour when writing accentuated characters into a Sqlite -> FIXED

2005-11-22 Thread Javier Ruiz Hidalgo
Hi,

  I just wanted to let you know that the new mono package 1.1.10 fixed
this problem. Accentuated chars are read OK from external processes. I
guess it's safe to close the bug now...

   regards,

--
Javier Ruiz Hidalgo



Bug#337933: mono: Strange behaviour when writing accentuated characters into a Sqlite database

2005-11-07 Thread Javier Ruiz Hidalgo
Package: mono
Version: 1.1.9.2-1
Severity: normal



Hello,

   I'm trying to write accentuated characters on a sql database (using sqlite). 
The problem is that I can not write accentuated characters if they are read 
from a 
external process. Writing accentuated chars from a string works, reading them 
through the "echo" command also works, but reading them from a file doesn't 
(even 
if the file was created with the same 'echo' command). I think all of my 
system is UTF-8, so I'm not sure why this fails :-?

I have suplied an test example with the problem (cut&paste to "test.cs").

To compile and run the test do:

$ echo áéíóú > /tmp/echoout.txt
$ mcs test.cs -r:System.Data.dll -r:Mono.Data.SqliteClient.dll
$ rm /tmp/SqliteTest.cs
$ mono test.exe


The result I get is:

string: áéíóú

echo: áéíóú


While expected output should be:

string: áéíóú

echo: áéíóú

cat: áéíóú





% Test file "test.cs"
/* To compile use: mcs test.cs -r:System.Data.dll -r:Mono.Data.SqliteClient.dll 
*/

using System;
using System.Data;
using Mono.Data.SqliteClient;


public class Test 
{

static public string get_info (bool cat_vs_echo)
{

/* Execute the external program to get the mime info */
System.Diagnostics.Process proc = new 
System.Diagnostics.Process();

proc.EnableRaisingEvents = false;
proc.StartInfo.UseShellExecute = false;

if (cat_vs_echo) {

proc.StartInfo.FileName = "cat";
proc.StartInfo.Arguments = "/tmp/echoout.txt";

} else {

proc.StartInfo.FileName = "echo";
proc.StartInfo.Arguments = "áéíóú";
}

proc.StartInfo.RedirectStandardOutput = true;   
proc.Start();
proc.WaitForExit();

return (proc.StandardOutput.ReadToEnd ());
}






public static void Main(string[] args)
{
// Create sql database
string connectionString = "URI=file:/tmp/SqliteTest.db";
SqliteConnection dbcon;
dbcon = new SqliteConnection(connectionString);
dbcon.Open();
SqliteCommand dbcmd = new SqliteCommand("CREATE TABLE files (id 
INTEGER,name TEXT)", dbcon);
dbcmd.ExecuteNonQuery();
dbcmd.Dispose ();


// Try to put some info with accentuated characters
string namein, sql;

namein = "string: " + "áéíóú\n";
sql = String.Format ("INSERT INTO files (id,name) VALUES 
(1,'{0}')", namein);
dbcmd = new SqliteCommand (sql,dbcon);
dbcmd.ExecuteNonQuery();
dbcmd.Dispose ();

namein = "echo: " + get_info (false);
sql = String.Format ("INSERT INTO files (id,name) VALUES 
(1,'{0}')", namein);
dbcmd = new SqliteCommand (sql,dbcon);
dbcmd.ExecuteNonQuery();
dbcmd.Dispose ();

namein = "cat: " + get_info (true);
sql = String.Format ("INSERT INTO files (id,name) VALUES 
(1,'{0}')", namein);
dbcmd = new SqliteCommand (sql,dbcon);
dbcmd.ExecuteNonQuery();
dbcmd.Dispose ();


// Try to get data back from SQL table
sql = "SELECT name FROM files WHERE id = 1";
dbcmd = new SqliteCommand(sql,dbcon);
 
IDataReader reader = dbcmd.ExecuteReader();
while(reader.Read()) {
Console.WriteLine((string)reader["name"]);
}

// clean up
reader.Close();
dbcon.Close();
}

 }   

%%% end of test file "test.cs"




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages mono depends on:
ii  mono-common   1.1.9.2-1  common files for Mono
ii  mono-jit  1.1.9.2-1  fast CLI (.NET) JIT compiler for M

mono recommends no packages.







-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#323763: NEw glibc seems to fix the problem...

2005-10-03 Thread Javier Ruiz Hidalgo
Hi,

just to let you know that new updates to my debian sid had solved this
problem and gtk applications do not crash anymore. I'm running now
2.8.2-1 and those crashes seem to have gone away, if no-one else is
experimenting this then I guess the bug can be closed.

regards,


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)

Versions of packages libglib2.0-0 depends on:
ii 
libc6
2.3.5-6    GNU C Library: Shared libraries an

Versions of packages libglib2.0-0 recommends:
ii 
libglib2.0-data  
2.8.2-1    Common files for GLib library
-- Javier Ruiz Hidalgo <[EMAIL PROTECTED]>


Bug#323763: /usr/lib/libgobject-2.0.so.0: General inestability of GTK applications

2005-08-18 Thread Javier Ruiz Hidalgo
Package: libglib2.0-0
Version: 2.8.0-1
Severity: important
File: /usr/lib/libgobject-2.0.so.0

Hi,

   Recently I've been having some problems on GTK applications (specially 
epiphany, synaptic, 
liferea) crashing after some minutes/hours of use. In order to investigate 
further the bug 
I've installed debug versions of libc6 and glib and set LD_LIBRARY_PATH to 
/usr/lib/debug. The gdb 
trace seems to point to a problem in the libglib2.0 package. This is the 
output of gdb when both epiphany and synaptic crash:

I hope that I'm pointed to the right package. Let me know if I can test 
anything further... 



>> EPIPHANY >>>
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 14841)]
0xb76a6a10 in g_type_check_instance_cast () from /usr/lib/libgobject-2.0.s o.0
(gdb) where
#0  0xb76a6a10 in g_type_check_instance_cast () from /usr/lib/libgobject-2 
.0.so.0
#1  0x080a8bfb in ephy_topic_action_get_type ()
#2  0xb769860b in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobjec 
t-2.0.so.0
#3  0xb768c5bb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#4  0xb769ba6d in g_signal_stop_emission () from /usr/lib/libgobject-2.0.s o.0
#5  0xb769ce47 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so. 0
#6  0xb769d1fe in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#7  0xb78d5258 in gtk_menu_shell_deactivate () from /usr/lib/libgtk-x11-2. 
0.so.0
#8  0xb78d6825 in _gtk_menu_shell_select_last () from /usr/lib/libgtk-x11- 
2.0.so.0
#9  0xb769860b in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobjec 
t-2.0.so.0
#10 0xb768bf18 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#11 0xb768c5bb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb769bc72 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.s o.0
#13 0xb769ce47 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so. 0
#14 0xb769d1fe in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb78d6968 in gtk_menu_shell_cancel () from /usr/lib/libgtk-x11-2.0.so .0
#16 0xb78d1927 in gtk_menu_get_for_attach_widget () from /usr/lib/libgtk-x 
11-2.0.so.0
#17 0xb76986b0 in g_cclosure_marshal_VOID__BOOLEAN () from /usr/lib/libgob 
ject-2.0.so.0
#18 0xb768bf18 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#19 0xb768c5bb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0xb769b316 in g_signal_stop_emission () from /usr/lib/libgobject-2.0.s o.0
#21 0xb769ce47 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so. 0
#22 0xb769d1fe in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0xb79a5e07 in _gtk_widget_grab_notify () from /usr/lib/libgtk-x11-2.0. so.0
#24 0xb78c5279 in gtk_false () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb780b57c in gtk_bin_get_type () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb78451e9 in gtk_container_foreach () from /usr/lib/libgtk-x11-2.0.so .0
#27 0xb78c53b1 in gtk_false () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb7867982 in _gtk_entry_completion_popup () from /usr/lib/libgtk-x11- 
2.0.so.0
#29 0xb7865132 in gtk_entry_set_visibility () from /usr/lib/libgtk-x11-2.0 .so.0
#30 0xb747d1a4 in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0
#31 0xb747b3f1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so. 0
#32 0xb747e647 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#33 0xb747eb98 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#34 0xb78c5849 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#35 0x0806f2dc in main ()
(gdb)



>> SYNAPTIC >
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 5645)]
(gdb) where
#0  0xb73a3861 in kill () at string2.h:998
#1  0xb758f2a9 in pthread_kill (thread=16384, signo=6) at signals.c:69
#2  0xb758f660 in __pthread_raise (sig=6) at signals.c:200
#3  0xb73a3616 in *__GI_raise (sig=6)
at ../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32
#4  0xb73a4981 in *__GI_abort () at ../sysdeps/generic/abort.c:88
#5  0xb78c8d1a in g_logv () from /usr/lib/libglib-2.0.so.0
#6  0xb78c8d4e in g_log () from /usr/lib/libglib-2.0.so.0
#7  0xb78c8db3 in g_assert_warning () from /usr/lib/libglib-2.0.so.0
#8  0xb7c29af3 in gtk_container_propagate_expose ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb7c29b19 in gtk_container_propagate_expose ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7bf0deb in gtk_box_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7c27e59 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7c29858 in gtk_container_get_focus_hadjustment ()
   from /usr/lib/libgtk-x11-2.0.so.0
---Type  to continue, or q  to quit---
#13 0xb7ca9c7a in _gtk_marshal_BOOLEAN__BOXED () from 
/usr/lib/libgtk-x11-2.0.so.0
#14 0xb792ef18 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#15 0xb792f5bb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0xb793ec72 in g_signal_stop_emission () f