Le Sun, 27 Feb 2005 14:10:43 -0600 Bill Wilson <billw@xxxxxxxxxxxxxx> a écrit : [cut] > > > and I have this error: > > > > > > (pcb-bin:30381): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion > > `g_utf8_validate (text, len, NULL)' failed > > We'll need to add some utf8 validate calls, but I'm not sure offhand everywhere > that this needs to be done. To give me an idea of where to start looking > can you run it under gdb and get a stack trace to send me? Just run > > $ gdb ./pcb-bin > > Then at the gdb prompt: > > (gdb) run --g-fatal-warnings pcb-filename.pcb > > Where it gets the Gtk-CRITICAL, gdb will abort the run and you can get a stack trace with: > > (gdb) bt full > ... > (gdb) quit I join the gdb copy/paste: #0 0x40500741 in kill () from /lib/libc.so.6 No symbol table info available. #1 0x405004c5 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x40501a08 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x4048404d in g_logv () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #4 0x40484076 in g_log () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #5 0x404840dc in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #6 0x401e515c in gtk_text_buffer_set_text () from /usr/lib/libgtk-x11-2.0.so.0 No symbol table info available. #7 0x08064eef in text_view_append (view=0x0, s=0xbfffd2b0 "2: Can't scan directory\n '/usr/local/share/pcb/newlib'\nopendir() returned: 'Aucun fichier ou répertoire de ce type'\n") at gui-utils.c:666 iter = {dummy1 = 0x82d9ed0, dummy2 = 0x82f6f68, dummy3 = -1, dummy4 = 0, dummy5 = 22, dummy6 = -1, dummy7 = 641649326, dummy8 = -1670552547, dummy9 = 0x82d9640, dummy10 = 0x82daa50, dummy11 = -1, dummy12 = 0, dummy13 = 137249696, dummy14 = 0x8109458} buffer = (GtkTextBuffer *) 0x82d96a8 #8 0x08069b7f in gui_log_append_string (s=0x0) at gui-log-window.c:112 No locals. #9 0x0809966e in Message (Format=0x0) at error.c:100 line = 3 s = "2: Can't scan directory\n '/usr/local/share/pcb/newlib'\nopendir() returned: 'Aucun fichier ou répertoire de ce type'\n", '\0' <repeats 22 times>, "ñØC@pf/\b\bçD@xÓÿ¿ñØC@àn/\b2\000\000\000xÓÿ¿Ÿ\214%@\a \020`\001\000\000\000è\215\022\b\236M5@ðJ.\bðZ\016@\230Óÿ¿æAC@ðJ.\b"... #10 0x0809979b in OpendirErrorMessage (DirName=0x406065e0 "ðô\022") at error.c:152 No locals. #11 0x0809b6d6 in ParseLibraryTree () at file.c:809 path = "/usr/local/share/pcb/newlib", '\0' <repeats 4069 times> working = "/home/iznogood/edata/debian/pcb-gtk/src", '\0' <repeats 4057 times> libpaths = 0x82d0798 "/usr/local/share/pcb/newlib" p = 0x0 dir = (DIR *) 0x0 subdir = (DIR *) 0xbfffd770 buffer = {st_dev = 68856803100, __pad1 = 28768, st_ino = 1080059360, st_mode = 1080062048, st_nlink = 1080062048, st_uid = 3221215064, st_gid = 1079279347, st_rdev = 582517309032132704, __pad2 = 55144, st_size = 1078542950, st_blksize = 136958520, st_blocks = 135441320, st_atim = {tv_sec = 72, tv_nsec = 1078430260}, st_mtim = {tv_sec = 10, tv_nsec = 1078813592}, st_ctim = {tv_sec = -1073752184, tv_nsec = 1078388359}, __unused4 = 136958520, __unused5 = 135441320} direntry = (struct dirent *) 0x80d7bbe e2 = (struct dirent *) 0x80d7bbe I hope it will help! I join the new fr_Fr.po file (not finished but better than the previous one!). Seems to work fine with gPCB. Cordially. -- Sur http://www.iznogood-factory.org , vous avez parmi des doc techniques en français, celle de cinglés qui développent des outils pour les schémas électroniques: gEDA.
Attachment:
fr_FR.po
Description: Binary data
Attachment:
pgpJoQKwXM7nF.pgp
Description: PGP signature