Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing an app causes crash #17

Closed
radiceta opened this issue Feb 10, 2012 · 7 comments
Closed

Closing an app causes crash #17

radiceta opened this issue Feb 10, 2012 · 7 comments
Labels

Comments

@radiceta
Copy link

Closing thunar leafpad or firefox (maybe others too) thows me back to login. Here is a log:

Reading symbols from /usr/bin/wmfs...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/wmfs 
wmfs: /home/vojta/.config/wmfs/wmfsrc read
wmfs: /home/vojta/.config/wmfs/wmfs_rules read
wmfs: /home/vojta/.config/wmfs/wmfs_themes read


*** glibc detected *** /usr/bin/wmfs: malloc(): memory corruption: 0x08091e08 ***



Program received signal SIGINT, Interrupt.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb7d610a1 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb7ce310e in _L_lock_6922 () from /lib/libc.so.6
#3  0xb7ce14e3 in malloc () from /lib/libc.so.6
#4  0xb7fe348f in local_strdup () from /lib/ld-linux.so.2
#5  0xb7fe6634 in _dl_map_object () from /lib/ld-linux.so.2
#6  0xb7ff0d7d in dl_open_worker () from /lib/ld-linux.so.2
#7  0xb7feccef in _dl_catch_error () from /lib/ld-linux.so.2
#8  0xb7ff0816 in _dl_open () from /lib/ld-linux.so.2
#9  0xb7d8bca1 in do_dlopen () from /lib/libc.so.6
#10 0xb7feccef in _dl_catch_error () from /lib/ld-linux.so.2
#11 0xb7d8bd97 in dlerror_run () from /lib/libc.so.6
#12 0xb7d8be27 in __libc_dlopen_mode () from /lib/libc.so.6
#13 0xb7d664d8 in init () from /lib/libc.so.6
#14 0xb7d66755 in backtrace () from /lib/libc.so.6
#15 0xb7cd6e30 in __libc_message () from /lib/libc.so.6
#16 0xb7cdd5f2 in malloc_printerr () from /lib/libc.so.6
#17 0xb7cdf0b5 in _int_malloc () from /lib/libc.so.6
#18 0xb7ce14ec in malloc () from /lib/libc.so.6
#19 0xb7c55528 in ?? () from /usr/lib/libxcb.so.1
#20 0xb7c5346f in ?? () from /usr/lib/libxcb.so.1
#21 0xb7c54d08 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#22 0xb7eb6782 in _XReply () from /usr/lib/libX11.so.6
#23 0xb7eb1ec6 in XSync () from /usr/lib/libX11.so.6
#24 0x08050f3c in ?? ()
#25 0x08051cfb in ?? ()
#26 0x0805e52f in ?? ()
#27 0x0805ed76 in ?? ()
#28 0xb7c84483 in __libc_start_main () from /lib/libc.so.6
#29 0x0804a441 in ?? ()
(gdb) 
@xorg62
Copy link
Owner

xorg62 commented Feb 21, 2012

i think its fixed, may try with up-to-date commit plz? :)

@radiceta
Copy link
Author

it seems to be okay. I have not experienced any crash yet. Last few days it was terrible to work with filezilla, which caused crash at many floating dialog windows but now it works fine. thaks.

@duckunix
Copy link
Contributor

Still seeing the issue with latest commit only on 64bit Ubuntu 11.10 (both 3.2.0-7-i5 & 2.6.38-11-generic), but does work on 32bit Ubuntu 11.10. xlib-6 (library fails on) is version 1.4.4-2ubuntu1 on all three machines.

@m-r-r
Copy link
Contributor

m-r-r commented Feb 23, 2012

@radiceta : Hello,
Maybe you should indent your code:
A '#' followed by a number is considered as a reference to a pull request by Github, so a messsage saying the pull request has been referenced in your issue appears in all the pull requests from #1 to #17 :-)

EDIT @linkdd : fixed

@linkdd
Copy link
Collaborator

linkdd commented May 4, 2012

It seems to be fixed, I close the issue

@duckunix
Copy link
Contributor

duckunix commented May 4, 2012

Not working for me under Ubuntu 11.10 x86_64. Fully updated system today, and did a fresh clone this morning.

I try to close the buddy window under pidgin, and I get a crash. gdb output:
don@dharper01:~> sudo gdb -p 10211
GNU gdb (Ubuntu/Linaro 7.3-0ubuntu2) 7.3-2011.08
Copyright (C) 2011 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
http://bugs.launchpad.net/gdb-linaro/.
Attaching to process 10211
Reading symbols from /usr/bin/wmfs...(no debugging symbols found)...done.
Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libX11.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXinerama.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXinerama.so.1
Reading symbols from /usr/lib/libImlib2.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libImlib2.so.1
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb.so.1
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXext.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libfreetype.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libfreetype.so.6
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcursor.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXrender.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXfixes.so.3
0x00007f52fc269438 in poll () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00007f52fc9ceb87 in XNextEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0 0x00007f52fc9ceb87 in XNextEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1 0x000000000041b884 in wmfs_loop ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

@ioreshnikov
Copy link

Not fixed for me too. Ubuntu 12.04 x86_64 with the fresh cloned version of wmfs.
Gdb session with the backtrace similar to the @duck 's one.

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
http://bugs.launchpad.net/gdb-linaro/...
Reading symbols from /home/ivan/src/wmfs/wmfs...done.
(gdb) run
Starting program: /home/ivan/src/wmfs/wmfs
wmfs: /home/ivan/.config/wmfs/wmfsrc read
wmfs: /home/ivan/.config/wmfs/themes read
wmfs: /home/ivan/.config/wmfs/keybindings read

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ad2e87 in XNextEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0 0x00007ffff7ad2e87 in XNextEvent () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1 0x000000000041c000 in wmfs_loop () at src/wmfs.c:391
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants