Summary: | app-editors/scite dies with gtk+-2.12.* while opening or saving files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raoul Proença <raoul.proenca> |
Component: | Current packages | Assignee: | Krzysztof Pawlik (RETIRED) <nelchael> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | CC: | gnome, pythonhead |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The backtrace
debug information with splitdebug enabled gdb backtrace full gdb backtrace |
Description
Raoul Proença
2007-12-27 17:45:09 UTC
We need a more useful backtrace, thanks. http://www.gentoo.org/proj/en/qa/backtraces.xml Created attachment 139441 [details]
The backtrace
(In reply to comment #2) Please, read the howto linked in Comment #1; the backtrace you attached lacks any debugging symbols whatsoever. Created attachment 139445 [details]
debug information with splitdebug enabled
Debug information with splitdebug enabled attached. Sigh. Please, reopen once you've fully understood the howto and have attached a *useful* backtrace. (In reply to comment #6) > Sigh. Please, reopen once you've fully understood the howto and have attached a > *useful* backtrace. > I'm sorry but I *really* don't understand what I can do more. In /etc/make.conf, I've used: [...] CFLAGS="-march=prescott -O2 -ggdb" [...] FEATURES="splitdebug" [...] and all I get is what I've already posted: raoul@a7jc ~ $ gdb scite GNU gdb 6.7.1 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/scite [Thread debugging using libthread_db enabled] [New Thread 0xb73126d0 (LWP 19742)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb73126d0 (LWP 19742)] 0xb7754b7a in strftime_l () from /lib/libc.so.6 (gdb) bt #0 0xb7754b7a in strftime_l () from /lib/libc.so.6 #1 0xb7754a1f in strftime () from /lib/libc.so.6 #2 0xb7c7d4bc in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #3 0xbfa564f0 in ?? () #4 0x00000100 in ?? () #5 0x00000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) y /me gives up... Raoul: please try 1.74 (currently ~arch). (In reply to comment #9) > Raoul: please try 1.74 (currently ~arch). > Hi, Thanks for your responses. Same problem with 1.74. raoul@a7jc ~ $ gdb scite GNU gdb 6.7.1 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/scite [Thread debugging using libthread_db enabled] [New Thread 0xb73246d0 (LWP 12473)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb73246d0 (LWP 12473)] 0xb7766b7a in strftime_l () from /lib/libc.so.6 (gdb) bt #0 0xb7766b7a in strftime_l () from /lib/libc.so.6 #1 0xb7766a1f in strftime () from /lib/libc.so.6 #2 0xb7c8f4bc in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #3 0xbfbd9530 in ?? () #4 0x00000100 in ?? () #5 0x00000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) y Please compile both scite and gtk+ with debugging information. Use CFLAGS like "-ggdb3 -O0" (of course add -march and other required variables). Created attachment 139627 [details]
gdb backtrace
Ok. Compiled x11-libs/gtk+-2.12.1-r2 and app-editors/scite-1.72 with CFLAGS="-march=prescott -O0 -ggdb3".
Created attachment 139629 [details]
full gdb backtrace
The same with bt full.
I've managed to recreate the error, but only with locale set to fr_FR.UTF-8. It looks like a bug in gtk+. The file chooser crashes SciTE, Gnome people: please advise. Raoul: in the meantime please try LC_ALL="C" to see if SciTE works for you with English locale. (In reply to comment #14) > I've managed to recreate the error, but only with locale set to fr_FR.UTF-8. It > looks like a bug in gtk+. The file chooser crashes SciTE, Gnome people: please > advise. > > Raoul: in the meantime please try LC_ALL="C" to see if SciTE works for you with > English locale. > Sorry for my late response. You're right ! Everything works fine using English locale. Thanks. raoul@a7jc ~ $ scite Erreur de segmentation raoul@a7jc ~ $ export LC_ALL="C" raoul@a7jc ~ $ scite raoul@a7jc ~ $ (In reply to comment #15) > You're right ! Everything works fine using English locale. Thanks. Yes, but that's a workaround. Could you test other GTK+ apps with open file dialogs (like Firefox) to confirm that the problem is in GTK+ file dialog? (In reply to comment #16) > Yes, but that's a workaround. Of course, but it would be useful for the moment. > Could you test other GTK+ apps with open file > dialogs (like Firefox) to confirm that the problem is in GTK+ file dialog? It seems that only scite is concerned. I've tried with openoffice, eclipse, gimp, audacious, realplayer and have no problem with "Open a file" or "Save to a file" dialogs. I've been using some of these programs after gtk+ upgrade and only scite segfaulted. If 1.76 doesn't fix this please report this to upstream, as it looks like SciTE specific bug. |