! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfwm4 gives GLIB error when it's compiled with GCC 4.1, but works with GCC 3.4.6
Status:
RESOLVED: FIXED

Comments

Description Samuli Suominen 2006-03-26 11:42:30 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060319 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060319 Firefox/1.5.0.1

CFLAGS="-march=athlon-xp -O2 -pipe"

results,

gdb> start
Function "_start" not defined.
DBG[main.c:408] initialize(): xfwm4 starting, using GTK+-2.8.16
composite event base: 0
composite error base: 0
damage event base: 110
damage error base: 180
fixes event base: 107
fixes error base: 174

GLib-ERROR **: gmem.c:154: failed to allocate 4277115080 bytes
aborting...

Program received signal SIGTRAP, Trace/breakpoint trap.
_______________________________________________________________________________
     eax:00000000 ebx:B7A331C4  ecx:B770002C  edx:00000000     eflags:00000246
     esi:B77004D8 edi:00000002  esp:BFBBCC60  ebp:BFBBD0C8     eip:B79D2E7C
     cs:0073  ds:007B  es:007B  fs:0000  gs:0033  ss:007B    o d I t s Z a P c
[007B:BFBBCC60]---------------------------------------------------------[stack]
BFBBCC90 : 05 00 00 00  00 00 00 00 - 06 00 00 00  01 00 00 00 ................
BFBBCC80 : 00 00 00 00  06 00 00 00 - 00 00 00 00  00 3C 9D B7 .............<..
BFBBCC70 : 00 00 00 00  80 35 A3 B7 - 00 00 00 00  00 00 00 00 .....5..........
BFBBCC60 : D8 04 70 B7  06 00 00 00 - D8 04 70 B7  00 00 00 00 ..p.......p.....
[007B:B77004D8]---------------------------------------------------------[ data]
B77004D8 : 00 00 00 00  2E 63 3A 31 - 35 34 3A 20  66 61 69 6C .....c:154: fail
B77004E8 : 65 64 20 74  6F 20 61 6C - 6C 6F 63 61  74 65 20 34 ed to allocate 4
[0073:B79D2E7C]---------------------------------------------------------[ code]
0xb79d2e7c <g_logv+588>:        mov    0xffffffc4(%ebx),%ecx
0xb79d2e82 <g_logv+594>:        mov    0xfffffbd4(%ebp),%eax
0xb79d2e88 <g_logv+600>:        mov    (%ecx),%esi
0xb79d2e8a <g_logv+602>:        dec    %eax
0xb79d2e8b <g_logv+603>:        test   %esi,%esi
0xb79d2e8d <g_logv+605>:        jne    0xb79d3010 <g_logv+992>
------------------------------------------------------------------------------
0xb79d2e7c in g_logv () from /usr/lib/libglib-2.0.so.0

==22431== Memcheck, a memory error detector.
==22431== Copyright (C) 2002-2005, and GNU GPL'd, by Julian Seward et al.
==22431== Using LibVEX rev 1471, a library for dynamic binary translation.
==22431== Copyright (C) 2004-2005, and GNU GPL'd, by OpenWorks LLP.
==22431== Using valgrind-3.1.0, a dynamic binary instrumentation framework.
==22431== Copyright (C) 2000-2005, and GNU GPL'd, by Julian Seward et al.
==22431== For more details, rerun with: -v
==22431==
==22431== Syscall param write(buf) points to uninitialised byte(s)
==22431==    at 0x41792BF3: write (in /lib/libc-2.4.so)
==22431==    by 0x41873E9D: (within /usr/lib/libX11.so.6.2.0)
==22431==  Address 0x4687638 is 128 bytes inside a block of size 16,384 alloc'd
==22431==    at 0x4004697: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==22431==    by 0x4186443B: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
DBG[main.c:408] initialize(): xfwm4 starting, using GTK+-2.8.16
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x43B98C9: xfce_mkdirhier (in /usr/lib/libxfce4util.so.2.0.0)
==22431==    by 0x5E540459: ???
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x43B98E9: xfce_mkdirhier (in /usr/lib/libxfce4util.so.2.0.0)
==22431==    by 0x5E540459: ???
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x43B98C9: xfce_mkdirhier (in /usr/lib/libxfce4util.so.2.0.0)
==22431==    by 0x11: ???
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x43B98E9: xfce_mkdirhier (in /usr/lib/libxfce4util.so.2.0.0)
==22431==    by 0x11: ???
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x43B98C9: xfce_mkdirhier (in /usr/lib/libxfce4util.so.2.0.0)
==22431==    by 0x5C60D9BD: ???
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x43B98E9: xfce_mkdirhier (in /usr/lib/libxfce4util.so.2.0.0)
==22431==    by 0x5C60D9BD: ???
composite event base: 0
composite error base: 0
damage event base: 110
damage error base: 180
fixes event base: 107
fixes error base: 174
==22431==
==22431== Syscall param rt_sigaction(act->sa_mask) points to uninitialised byte(s)
==22431==    at 0x4170F747: (within /lib/libc-2.4.so)
==22431==    by 0x4170F832: sigaction (in /lib/libc-2.4.so)
==22431==    by 0x806C26D: (within /usr/bin/xfwm4)
==22431==    by 0x804FD30: (within /usr/bin/xfwm4)
==22431==  Address 0xBEEAD124 is on thread 1's stack
==22431==
==22431== Syscall param rt_sigaction(act->sa_mask) points to uninitialised byte(s)
==22431==    at 0x4170F747: (within /lib/libc-2.4.so)
==22431==    by 0x4170F832: sigaction (in /lib/libc-2.4.so)
==22431==    by 0x806C285: (within /usr/bin/xfwm4)
==22431==    by 0x804FD30: (within /usr/bin/xfwm4)
==22431==  Address 0xBEEAD124 is on thread 1's stack
==22431==
==22431== Syscall param rt_sigaction(act->sa_mask) points to uninitialised byte(s)
==22431==    at 0x4170F747: (within /lib/libc-2.4.so)
==22431==    by 0x4170F832: sigaction (in /lib/libc-2.4.so)
==22431==    by 0x806C29D: (within /usr/bin/xfwm4)
==22431==    by 0x804FD30: (within /usr/bin/xfwm4)
==22431==  Address 0xBEEAD124 is on thread 1's stack
==22431==
==22431== Syscall param rt_sigaction(act->sa_mask) points to uninitialised byte(s)
==22431==    at 0x4170F747: (within /lib/libc-2.4.so)
==22431==    by 0x4170F832: sigaction (in /lib/libc-2.4.so)
==22431==    by 0x806C2B5: (within /usr/bin/xfwm4)
==22431==    by 0x804FD30: (within /usr/bin/xfwm4)
==22431==  Address 0xBEEAD124 is on thread 1's stack
==22431==
==22431== Syscall param rt_sigaction(act->sa_mask) points to uninitialised byte(s)
==22431==    at 0x4170F747: (within /lib/libc-2.4.so)
==22431==    by 0x4170F832: sigaction (in /lib/libc-2.4.so)
==22431==    by 0x806C2CD: (within /usr/bin/xfwm4)
==22431==    by 0x804FD30: (within /usr/bin/xfwm4)
==22431==  Address 0xBEEAD124 is on thread 1's stack
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x4632C7C: XcursorImageHash (in /usr/lib/libXcursor.so.1.0.2)
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x45C5FEE: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x806A60B: (within /usr/bin/xfwm4)
==22431==    by 0xBEEAE21B: ???
==22431==    by 0x10BEEAE1: ???
==22431== Warning: silly args (1,-72644472) to calloc()
==22431==
==22431== Use of uninitialised value of size 4
==22431==    at 0x41720775: (within /lib/libc-2.4.so)
==22431==    by 0x417243D4: vfprintf (in /lib/libc-2.4.so)
==22431==    by 0x4174289B: vasprintf (in /lib/libc-2.4.so)
==22431==    by 0x45EDE76: g_vasprintf (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45DE2C5: g_strdup_vprintf (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C6E35: g_logv (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C71B8: g_log (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C6041: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x806A60B: (within /usr/bin/xfwm4)
==22431==    by 0xBEEAE21B: ???
==22431==    by 0x10BEEAE1: ???
==22431==
==22431== Conditional jump or move depends on uninitialised value(s)
==22431==    at 0x4172077D: (within /lib/libc-2.4.so)
==22431==    by 0x417243D4: vfprintf (in /lib/libc-2.4.so)
==22431==    by 0x4174289B: vasprintf (in /lib/libc-2.4.so)
==22431==    by 0x45EDE76: g_vasprintf (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45DE2C5: g_strdup_vprintf (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C6E35: g_logv (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C71B8: g_log (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C6041: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x806A60B: (within /usr/bin/xfwm4)
==22431==    by 0xBEEAE21B: ???
==22431==    by 0x10BEEAE1: ???

GLib-ERROR **: gmem.c:154: failed to allocate 4222322824 bytes
aborting...
vex x86->IR: unhandled instruction bytes: 0xCC 0x8B 0x8B 0xC4
==22431== Your program just tried to execute an instruction that Valgrind
==22431== did not recognise.  There are two possible reasons for this.
==22431== 1. Your program has a bug and erroneously jumped to a non-code
==22431==    location.  If you are running Memcheck and you just saw a
==22431==    warning about a bad jump, it's probably your program's fault.
==22431== 2. The instruction is legitimate but Valgrind doesn't handle it,
==22431==    i.e. it's Valgrind's fault.  If you think this is the case or
==22431==    you are not sure, please let us know.
==22431== Either way, Valgrind will now raise a SIGILL signal which will
==22431== probably kill your program.
==22431==
==22431== Process terminating with default action of signal 4 (SIGILL)
==22431==  Illegal opcode at address 0x45C6E7B
==22431==    at 0x45C6E7B: g_logv (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C71B8: g_log (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x45C6041: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1000.1)
==22431==    by 0x806A60B: (within /usr/bin/xfwm4)
==22431==    by 0xBEEAE21B: ???
==22431==    by 0x10BEEAE1: ???
==22431==
==22431== ERROR SUMMARY: 159 errors from 16 contexts (suppressed: 81 from 1)
==22431== malloc/free: in use at exit: 722,156 bytes in 9,010 blocks.
==22431== malloc/free: 69,546 allocs, 60,536 frees, 5,110,265 bytes allocated.
==22431== For counts of detected errors, rerun with: -v
==22431== searching for pointers to 9,010 not-freed blocks.
==22431== checked 1,073,440 bytes.
==22431==
==22431== LEAK SUMMARY:
==22431==    definitely lost: 6,140 bytes in 14 blocks.
==22431==      possibly lost: 51,488 bytes in 52 blocks.
==22431==    still reachable: 664,528 bytes in 8,944 blocks.
==22431==         suppressed: 0 bytes in 0 blocks.
==22431== Use --leak-check=full to see details of leaked memory.
Illegal instruction


Reproducible: Always

Steps to Reproduce:
Comment 1 Samuli Suominen 2006-03-26 11:44:41 CEST
X.org 7.0 (xserver 1.0.2), GTK+ 2.8.16, GLIB 2.10.1..
Comment 2 Samuli Suominen 2006-03-26 11:46:09 CEST
Whoops, and XFMW4 SVN HEAD
Comment 3 Olivier Fourdan editbugs 2006-03-26 12:27:58 CEST
Can you provide a backtrace, otherwise it makes things a lot harder for me to investigate.

Once it crashes in gdb, simplyt type "bt" and post the result here. valgrind is pretty irrelevent here if you ask me.

TIA, Olivier.
Comment 4 Samuli Suominen 2006-03-26 12:43:18 CEST
GLib-ERROR **: gmem.c:154: failed to allocate 4288490760 bytes
aborting...

Program received signal SIGABRT, Aborted.
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x4170f610 in raise () from /lib/libc.so.6
#2  0x41710c70 in abort () from /lib/libc.so.6
#3  0xb79ad900 in g_logv () from /usr/lib/libglib-2.0.so.0
#4  0x0807fe47 in _IO_stdin_used ()
(gdb)

hope that tell you something, to me it isn't :)

btw, glibc 2.4..
Comment 5 Samuli Suominen 2006-03-26 12:57:47 CEST
(In reply to comment #4)
> GLib-ERROR **: gmem.c:154: failed to allocate 4288490760 bytes
> aborting...
> 
> Program received signal SIGABRT, Aborted.
> 0xffffe410 in __kernel_vsyscall ()
> (gdb) bt
> #0  0xffffe410 in __kernel_vsyscall ()
> #1  0x4170f610 in raise () from /lib/libc.so.6
> #2  0x41710c70 in abort () from /lib/libc.so.6
> #3  0xb79ad900 in g_logv () from /usr/lib/libglib-2.0.so.0
> #4  0x0807fe47 in _IO_stdin_used ()
> (gdb)
> 
> hope that tell you something, to me it isn't :)
> 
> btw, glibc 2.4..
> 

^ whoops glib wasn't build with --enable-debug while doing this "bt" does that matter? :/
Comment 6 Olivier Fourdan editbugs 2006-03-26 13:01:50 CEST
I don't think it matters at all. But admitedly, that backtrace is useless. I'm not even sure it's really a bug in xfwm4, as it works with other versions of glib/gcc.

You may want to enable debug in xfwm4 so that we get a chance to track where the error ossurs. Thar would be a start at least...
Comment 7 Olivier Fourdan editbugs 2006-03-26 16:46:59 CEST
Can you tall me when the error occurs? Is it at startup or when you perform something special?

Can you try compiling xfwm4 with --enable-debug so we can trace where the error occurs. That's pretty much required as I can't reproduce the issue here, so I count on you for that :)
Comment 8 Samuli Suominen 2006-03-26 16:58:28 CEST
Ok, well.. i'm building libxfce4util, libxfcegui4, libxfce4mcs, glib, xfwm4 with debugging support now, using gcc 4.1.. just to make sure.

It happens on startup, and I see that glib error back in tty1.. but I can anytime replicate the errors on terminal, while rest of xfce4 is allready running..

Good gdb commands are welcome :) Since i'm now planning to do just..

gdb /usr/bin/xfwm4
start
bt

Comment 9 Olivier Fourdan editbugs 2006-03-26 17:04:22 CEST
Oh, no, I think you miss the point. You simply need to build xfwm4 with --enable-debug so we get runtime traces.
Comment 10 Samuli Suominen 2006-03-26 17:05:54 CEST
drac@unaffiliated ~ $ gdb /usr/bin/xfwm4
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/xfwm4
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
DBG[main.c:408] initialize(): xfwm4 starting, using GTK+-2.8.16
composite event base: 0
composite error base: 0
damage event base: 110
damage error base: 180
fixes event base: 107
fixes error base: 174
(no debugging symbols found)
(no debugging symbols found)

GLib-ERROR **: gmem.c:154: failed to allocate 4291062856 bytes
aborting...

---Type <return> to continue, or q <return> to quit---
Program received signal SIGTRAP, Trace/breakpoint trap.
0xb7e06488 in g_logv () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0xb7e06488 in g_logv () from /usr/lib/libglib-2.0.so.0
#1  0xb7e066e9 in g_log () from /usr/lib/libglib-2.0.so.0
#2  0xb7e0526f in g_malloc0 () from /usr/lib/libglib-2.0.so.0
#3  0x080660be in ?? ()
#4  0xffc46c48 in ?? ()
#5  0xbff10a64 in ?? ()
#6  0x00000001 in ?? ()
#7  0x00000000 in ?? ()
(gdb)
Comment 11 Samuli Suominen 2006-03-26 17:07:43 CEST
configure --enable-maintainer-mode --prefix=/usr --enable-randr --enable-debug --enable-compositor
Comment 12 Olivier Fourdan editbugs 2006-03-27 05:47:28 CEST
Can you update to the very latest revision r20590 and retry?
If that doesn't work, retry with --enable-debug=full, that will produce a very verbose executable that will help tracking the problem.
Comment 13 Samuli Suominen 2006-03-27 17:58:33 CEST
Removed old checkout, and did a clean checkout of revision 20606, now it doesn't work with GCC 3.4.6 anymore, or 4.1. Here is with GCC 4.1, xfwm4 r20606, --enable-debug

(btw, couldn't compile --enable-debug=full cause then compiler said "cc1: threading warnings as errors." and it fails on first warning. Does that somehow implent -Werror to CFLAGS? I mean, I didn't add it knowingly.

No more GLIB error, now just Segmentation Fault.

(btw, another guy had the same glib error with xfwm4 on freenode's #xfce)

GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/xfwm4
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
DBG[main.c:515] main(): xfwm4 @(#)$ xfwm4 version 4.3.0 revision  $ starting
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
DBG[main.c:408] initialize(): xfwm4 starting, using GTK+-2.8.16
composite event base: 0
composite error base: 0
damage event base: 110
damage error base: 180
fixes event base: 107
fixes error base: 174
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
DBG[display.c:347] myDisplayGrabServer(): entering myDisplayGrabServer
DBG[display.c:350] myDisplayGrabServer(): grabbing server
DBG[display.c:354] myDisplayGrabServer(): grabs : 1
DBG[display.c:347] myDisplayGrabServer(): entering myDisplayGrabServer
DBG[display.c:354] myDisplayGrabServer(): grabs : 2

Program received signal SIGSEGV, Segmentation fault.
0x08069492 in ?? ()
(gdb)
(gdb) bt
#0  0x08069492 in ?? ()
#1  0x4174a802 in free () from /lib/libc.so.6
#2  0x080575de in ?? ()
#3  0x080a43d0 in ?? ()
#4  0x01000003 in ?? ()
#5  0x08158ccc in ?? ()
#6  0x08158d2c in ?? ()
#7  0xbffc37b4 in ?? ()
#8  0xbffc37a8 in ?? ()
#9  0xbffc37a4 in ?? ()
#10 0xbffc3798 in ?? ()
#11 0xbffc37b0 in ?? ()
#12 0xbffc37ac in ?? ()
#13 0xbffc37a0 in ?? ()
#14 0xbffc379c in ?? ()
#15 0x080957d0 in ?? ()
#16 0xbffc3764 in ?? ()
#17 0x00000020 in ?? ()
#18 0x41878906 in _XRead () from /usr/lib/libX11.so.6
#19 0x00000000 in ?? ()
Comment 14 Samuli Suominen 2006-03-27 18:04:00 CEST
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I../common -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\"/usr/etc\" -DDATADIR=\"/usr/share\" -DPACKAGE_DATADIR=\"/usr/share/xfwm4\" -march=athlon-xp -O3 -pipe -g3 -Werror -Wall -DXFCE_DISABLE_DEPRECATED -MT xfwm4_plugin_la-xfwm4_plugin.lo -MD -MP -MF ".deps/xfwm4_plugin_la-xfwm4_plugin.Tpo" -c -o xfwm4_plugin_la-xfwm4_plugin.lo `test -f 'xfwm4_plugin.c' || echo './'`xfwm4_plugin.c; \
then mv -f ".deps/xfwm4_plugin_la-xfwm4_plugin.Tpo" ".deps/xfwm4_plugin_la-xfwm4_plugin.Plo"; else rm -f ".deps/xfwm4_plugin_la-xfwm4_plugin.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I../common -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/usr/etc\" -DDATADIR=\"/usr/share\" -DPACKAGE_DATADIR=\"/usr/share/xfwm4\" -march=athlon-xp -O3 -pipe -g3 -Werror -Wall -DXFCE_DISABLE_DEPRECATED -MT xfwm4_plugin_la-xfwm4_plugin.lo -MD -MP -MF .deps/xfwm4_plugin_la-xfwm4_plugin.Tpo -c xfwm4_plugin.c  -fPIC -DPIC -o .libs/xfwm4_plugin_la-xfwm4_plugin.o
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I../common -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/usr/etc\" -DDATADIR=\"/usr/share\" -DPACKAGE_DATADIR=\"/usr/share/xfwm4\" -march=athlon-xp -O3 -pipe -g3 -Werror -Wall -DXFCE_DISABLE_DEPRECATED -MT xfwm4_plugin_la-xfwm4_plugin.lo -MD -MP -MF .deps/xfwm4_plugin_la-xfwm4_plugin.Tpo -c xfwm4_plugin.c -o xfwm4_plugin_la-xfwm4_plugin.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I../common -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DSYSCONFDIR=\"/usr/etc\" -DDATADIR=\"/usr/share\" -DPACKAGE_DATADIR=\"/usr/share/xfwm4\" -march=athlon-xp -O3 -pipe -g3 -Werror -Wall -DXFCE_DISABLE_DEPRECATED -MT xfwm4_plugin_la-xfwm4_shortcuteditor.lo -MD -MP -MF ".deps/xfwm4_plugin_la-xfwm4_shortcuteditor.Tpo" -c -o xfwm4_plugin_la-xfwm4_shortcuteditor.lo `test -f 'xfwm4_shortcuteditor.c' || echo './'`xfwm4_shortcuteditor.c; \
then mv -f ".deps/xfwm4_plugin_la-xfwm4_shortcuteditor.Tpo" ".deps/xfwm4_plugin_la-xfwm4_shortcuteditor.Plo"; else rm -f ".deps/xfwm4_plugin_la-xfwm4_shortcuteditor.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I../common -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/usr/etc\" -DDATADIR=\"/usr/share\" -DPACKAGE_DATADIR=\"/usr/share/xfwm4\" -march=athlon-xp -O3 -pipe -g3 -Werror -Wall -DXFCE_DISABLE_DEPRECATED -MT xfwm4_plugin_la-xfwm4_shortcuteditor.lo -MD -MP -MF .deps/xfwm4_plugin_la-xfwm4_shortcuteditor.Tpo -c xfwm4_shortcuteditor.c  -fPIC -DPIC -o .libs/xfwm4_plugin_la-xfwm4_shortcuteditor.o
cc1: warnings being treated as errors
xfwm4_shortcuteditor.c: In function 
Comment 15 Samuli Suominen 2006-03-27 18:16:12 CEST
Ok!

Revision 20608 works again with GCC 4.1! Runs, starts, ok.

But, I can't compile it with --enable-debug=full, but that's not kinda needed anymore so not a big deal? Is it? I mean, I can still do whatever tests it needs.
Comment 16 Olivier Fourdan editbugs 2006-03-27 19:36:20 CEST
Well, yes, it's important... Can you update and retry with r20609 ?
Comment 17 Samuli Suominen 2006-03-27 19:54:29 CEST
"At revision 20610." compiles now, with --enable-debug=full
Comment 18 Samuli Suominen 2006-03-27 19:58:26 CEST
Now, when I run xfwm4 in gdb.. it freezes desktop, so that I can only move mouse pointer and do ctrl-alt-backspace or switch to tty(s).. killing gdb or xfwm4 doesn't help.

Also same problem as in bug 1618, mplayer kills xfwm4 r20610
Comment 19 Olivier Fourdan editbugs 2006-03-27 20:45:07 CEST
Yeah, you cannot run in debug mode from a terminal because the verbosity causes a race condition with pango somehow. You need to send the output to a file so that it doesn't show in the terminal.

For the mplayer problem, can you try r20612?
Comment 20 Samuli Suominen 2006-03-27 21:10:12 CEST
No more glib errors, builds with --enable-debug=full, no Segmentation Faults, and mplayer works.

Bug #1611

Reported by:
Samuli Suominen
Reported on: 2006-03-26
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information