Menu

#91 Java cause IceWM to crash on mapping

closed-fixed
icewm-1.2 (683)
9
2014-11-26
2001-10-08
No

Date: Mon, 1 Oct 2001 20:51:26 +0300
From: Marius Ologesa <harq@websci.ro>
Reply-To: "icewm-user@lists.sourceforge.net"
<icewm-user@lists.sourceforge.net>
To: "icewm-user@lists.sourceforge.net"
<icewm-user@lists.sourceforge.net>
Subject: Core dump..

Hello..
I am new on this list..
I had downloaded 1.0.9-pre2 and this is a bug report. I
apologize if this
is
not the right way to report a bug

the configure line was:
./configure --enable-wm-session --enable-guievents
--enable-shaped-decorations
--enable-gradients --enable-antialiasing
--enable-xfreetype
--enable-movesize-fx; make

I got this while I had been pressing the key
combination to get a new
terminal, while a java application was starting.

#0 strcmp (p1=0x80f4308 "xterm", p2=0x0) at
../sysdeps/generic/strcmp.c:39
39 ../sysdeps/generic/strcmp.c: No such file or
directory.
(gdb) where
#0 strcmp (p1=0x80f4308 "xterm", p2=0x0) at
../sysdeps/generic/strcmp.c:39
#1 0x808b74d in getIcon (name=0x80f4308 "xterm") at
icons.cc:447
#2 0x8065916 in YFrameWindow::getDefaultOptions
(this=0x80f7748) at
wmframe.cc:1799
#3 0x80617fe in YFrameWindow::YFrameWindow
(this=0x80f7748, parent=0x0,
client=0x80f8580) at wmframe.cc:188
#4 0x805a30b in YWindowManager::manageClient
(this=0x80ae8f0,
win=12582914, mapClient=true) at wmmgr.cc:1168
#5 0x805a952 in YWindowManager::mapClient
(this=0x80ae8f0, win=12582914)
at wmmgr.cc:1302
#6 0x8058d09 in YWindowManager::handleMapRequest
(this=0x80ae8f0,
mapRequest=@0xbffff8a8) at wmmgr.cc:496
#7 0x807b025 in YWindow::handleEvent (this=0x80ae8f0,
event=@0xbffff8a8)
at ywindow.cc:517
#8 0x807914c in YApplication::mainLoop
(this=0xbffff944) at yapp.cc:813
#9 0x8060c02 in main (argc=1, argv=0xbffffa24) at
wmapp.cc:1413
#10 0x401809cb in __libc_start_main (main=0x8060878
<main>, argc=1,
argv=0xbffffa24, init=0x804b474 <_init>, fini=0x8096e7c
<_fini>,
rtld_fini=0x4000aea0 <_dl_fini>,
stack_end=0xbffffa1c) at
../sysdeps/generic/libc-start.c:92

I got this when the same java application had been
trying to
display its window.

#0 0x8071dc4 in TaskBarApp::paint (this=0x8114dd8,
g=@0x80f8d08) at
atasks.cc:158
158 ((wmLook == lookMetal)
? 1 : 0)) / 2);
(gdb) where
#0 0x8071dc4 in TaskBarApp::paint (this=0x8114dd8,
g=@0x80f8d08) at
atasks.cc:158
#1 0x807a89b in YWindow::repaint (this=0x8114dd8) at
ywindow.cc:217
#2 0x806744c in YFrameWindow::updateTaskBar
(this=0x80f40e0) at
wmframe.cc:2517
#3 0x805a85c in YWindowManager::manageClient
(this=0x80ae8f0,
win=8388678, mapClient=true) at wmmgr.cc:1276
#4 0x805a952 in YWindowManager::mapClient
(this=0x80ae8f0, win=8388678)
at wmmgr.cc:1302
#5 0x8058d09 in YWindowManager::handleMapRequest
(this=0x80ae8f0,
mapRequest=@0xbffff8a8) at wmmgr.cc:496
#6 0x807b025 in YWindow::handleEvent (this=0x80ae8f0,
event=@0xbffff8a8)
at ywindow.cc:517
#7 0x807914c in YApplication::mainLoop
(this=0xbffff944) at yapp.cc:813
#8 0x8060c02 in main (argc=1, argv=0xbffffa24) at
wmapp.cc:1413
#9 0x401809cb in __libc_start_main (main=0x8060878
<main>, argc=1,
argv=0xbffffa24, init=0x804b474 <_init>, fini=0x8096e7c
<_fini>,
rtld_fini=0x4000aea0 <_dl_fini>,
stack_end=0xbffffa1c) at
../sysdeps/generic/libc-start.c:92

------------------------------------------------------------------------

Date: Tue, 2 Oct 2001 16:54:08 +0300
From: Marius Ologesa <harq@websci.ro>
To: "icewm-user@lists.sourceforge.net"
<icewm-user@lists.sourceforge.net>
Subject: Re: Core dump..

On Mon, 1 Oct 2001 20:51:26 +0300
Marius Ologesa <harq@websci.ro> wrote the immortal words:

> Hello..
> I am new on this list..
> I had downloaded 1.0.9-pre2 and this is a bug report.
I apologize if
this
> is
> not the right way to report a bug
>
> the configure line was:
> ./configure --enable-wm-session --enable-guievents
> --enable-shaped-decorations
> --enable-gradients --enable-antialiasing
--enable-xfreetype
> --enable-movesize-fx; make

[root@mologesa]/~/download/icewm-1.0.9/src# ./icewm
IceWM: Bad option: GNOMEFolderIcon
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x4000f9 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400113 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400113 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b3c to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b3c to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b3c to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b3c to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b39 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b3c to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400d97 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b3c to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400d97 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400d94 to pixel
buffer
IceWM: void TaskPane::removeApp(YFrameWindow *)
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x400b3c to pixel
buffer
IceWM: void TaskPane::removeApp(YFrameWindow *)
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x401078 to pixel
IceWM: void TaskPane::removeApp(YFrameWindow *)
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x401078 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x401078 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x401078 to pixel
buffer
IceWM: Warning: ypixbuf.cc:895: Failed to copy drawable
0x401078 to pixel
buffer
Segmentation fault (core dumped)
[root@mologesa]/~/download/icewm-1.0.9/src# gdb ./icewm
core
GNU gdb 5.0
Copyright 2000 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 "i586-pc-linux-gnu"...
Core was generated by `./icewm'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libXft.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXft.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0 0x8071ef4 in TaskBarApp::paint (this=0x8115cf0,
g=@0x8115d90) at
atasks.cc:158
158 ((wmLook == lookMetal)
? 1 : 0)) / 2);
(gdb) where
#0 0x8071ef4 in TaskBarApp::paint (this=0x8115cf0,
g=@0x8115d90) at
atasks.cc:158
#1 0x807a9cb in YWindow::repaint (this=0x8115cf0) at
ywindow.cc:217
#2 0x806757c in YFrameWindow::updateTaskBar
(this=0x8117028) at
wmframe.cc:2524
#3 0x805a89c in YWindowManager::manageClient
(this=0x80aea50,
win=8388678, mapClient=true) at wmmgr.cc:1276
#3 0x805a89c in YWindowManager::manageClient
(this=0x80aea50,
win=8388678, mapClient=true) at wmmgr.cc:1276
#4 0x805a992 in YWindowManager::mapClient
(this=0x80aea50, win=8388678)
at wmmgr.cc:1302
#5 0x8058d49 in YWindowManager::handleMapRequest
(this=0x80aea50,
mapRequest=@0xbffff8c8) at wmmgr.cc:496
#6 0x807b155 in YWindow::handleEvent (this=0x80aea50,
event=@0xbffff8c8)
at ywindow.cc:517
#7 0x807927c in YApplication::mainLoop
(this=0xbffff964) at yapp.cc:813
#8 0x8060c82 in main (argc=1, argv=0xbffffa44) at
wmapp.cc:1413
#9 0x401809cb in __libc_start_main (main=0x80608f8
<main>, argc=1,
argv=0xbffffa44, init=0x804b474 <_init>, fini=0x8096fac
<_fini>,
rtld_fini=0x4000aea0 <_dl_fini>,
stack_end=0xbffffa3c) at
../sysdeps/generic/libc-start.c:92
(gdb) q
[root@mologesa]/~/download/icewm-1.0.9/src# gcc -v
Reading specs from
/DTFS/2.0/lib/gcc-lib/i586-pc-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)

I've send this message about pre2.. but is the same in pre3
Can you reproduce the above problem? I've send a mail
on list with this
but I havn't said what was the problem.. it was a
segmentation fault.
Generated by icewm when starting a java application.
But, in pre3 it does
not crush each time I start the java application, just
from time to time.
When is starts and I kill it I get the 'IceWM::void
TaskPane::removeApp(YFrameWindow *)' message. This is
unacceptable because
on my
job I need that java application and icewm crush == X
crush and all my
processes get killed.

------------------------------------------------------------------------

Date: Wed, 3 Oct 2001 11:14:46 +0300
From: Marius Ologesa <harq@websci.ro>
To: Mathias Hasselmann <mathias.hasselmann@gmx.de>
Subject: Re: Core dump..

On Tue, 2 Oct 2001 19:05:56 +0200 (CEST)
Mathias Hasselmann <mathias.hasselmann@gmx.de> wrote
the immortal words:

> > [root@mologesa]/~/download/icewm-1.0.9/src# ./icewm
> > IceWM: Bad option: GNOMEFolderIcon
>
> You don't have the gnome menu support enabled.
I guess this is not really important.. I wil.l just
ignore this error

>
> > IceWM: Warning: ypixbuf.cc:895: Failed to copy
drawable 0x4000f9 to
> > pixel
> > buffer
>
> Odd. Never had this problem for weeks. How is
your display
> setup. Could you give me a hint when this happens?

I guess this is because i do ./configure; make; cd
./src; ./icewm& ..
I did not install it.
I have installed an older version of icewm. I will use
the old one until
this get stable :)

>
> > IceWM: void TaskPane::removeApp(YFrameWindow *)
>
> Shouldn't be in the release code.
It is not in release. This message DOES NOT EXIST ;))

>
> > Segmentation fault (core dumped)
>
> ....
>
> Appears like this problem occur when your Java
application tries
> to map a window? Could you give me some more
background information
> about
> your environment? Which JRE? AWT or Swing? How is
your taskbar setup?
> Your
> theme is Metal2?
>
> I'm able to run Java driven GUI apps without
any problems with
> XFree 4.1.0 and the Sun JDK 1.3.1...

My theme is not metal2.. is jim-mac.. I guess is a
pretty old theme but
is good-looking. (all say this about their favourite theme)

java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.0)
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build
cx130-20010626 (JIT enabled:
jitc))

ShowTaskBar=1 # 0/1
TaskBarAtTop=0 # 0/1
TaskBarAutoHide=0 # 0/1
TaskBarShowClock=1 # 0/1
TaskBarShowAPMStatus=0 # 0/1
TaskBarShowAPMTime=0 # 0/1
TaskBarClockLeds=1 # 0/1
TaskBarShowMailboxStatus=1 # 0/1
TaskBarMailboxStatusBeepOnNewMail=0 # 0/1
TaskBarMailboxStatusCountMessages=1 # 0/1
TaskBarShowWorkspaces=1 # 0/1
TaskBarShowWindows=1 # 0/1
TaskBarShowAllWindows=0 # 0/1
TaskBarShowStartMenu=1 # 0/1
TaskBarShowWindowListMenu=1 # 0/1
TaskBarShowCPUStatus=1 # 0/1
TaskBarShowNetStatus=1 # 0/1
TaskBarDoubleHeight=0 # 0/1

Well.. is pretty difficult to debug icewm.. because is
a window manager
(and if is stopped you can't raise windowses) and i am
not familiar to
the code. But, when i'll have some time i'll try to
find out what is wrong
and will tell;

Discussion

  • Mathias Hasselmann

    • status: open --> closed-fixed
     
  • Mathias Hasselmann

    Logged In: YES
    user_id=7017

    should be solved in 1.0.9-2

     
  • Nobody/Anonymous

    Logged In: NO

    found a way to recreate this bug. i'm running stock Slakware 7.1. got the icewm 1.0.9 source and compiled.
    i'm using Sun JDK 1.3.1. i ran Forte for Java 2.0 community edition. it doesn;t fail me. crashes every time.

    no c++ for quite some time now. had to fall back to e so i can make my desktop usable. =)

    hope this helps even if a tiny bit

     

Log in to post a comment.