Opened 6 years ago

Closed 6 years ago

#11498 closed Bug report (outdated)

Segmentation fault (core dumped) on Ubuntu (3.30.0)

Reported by: an0n.r00t32 Owned by:
Priority: high Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: Linux
Operating system version: 16.04.3

Description

https://i.imgur.com/rI1ruGe.png

i reported yesterday with a bug of wxWidget, i tried this version: wxWidgets-WX_3_0_BRANCH and recompile filezilla 3.30.0, it gave me the error

Change History (16)

comment:1 by Tim Kosse, 6 years ago

Status: newmoreinfo

Please post a stacktrace.

comment:2 by an0n.r00t32, 6 years ago

Status: moreinfonew

where to find the stacktrace for it?

comment:3 by Tim Kosse, 6 years ago

Status: newmoreinfo

Make sure to has been compiled with debug symbols (should be the default) and run it in your favorite debugger. Any debugger will automatically stop execution if a segfault happens, allowing you to then generate a stacktrace, or backtrace as it is sometimes called.

comment:4 by an0n.r00t32, 6 years ago

Status: moreinfonew
user@user:~/Desktop$ sudo pstack 17796

17796: filezilla
(No symbols found in )
(No symbols found in /usr/lib/x86_64-linux-gnu/libpugixml.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libnettle.so.6)
(No symbols found in /usr/lib/x86_64-linux-gnu/libhogweed.so.4)
(No symbols found in /lib/x86_64-linux-gnu/libdbus-1.so.3)
(No symbols found in /usr/lib/x86_64-linux-gnu/libsqlite3.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libstdc++.so.6)
(No symbols found in /lib/x86_64-linux-gnu/libm.so.6)
(No symbols found in /lib/x86_64-linux-gnu/libgcc_s.so.1)
(No symbols found in /lib/x86_64-linux-gnu/libc.so.6)
(No symbols found in /lib64/ld-linux-x86-64.so.2)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgmp.so.10)
(No symbols found in /lib/x86_64-linux-gnu/libz.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libp11-kit.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libidn.so.11)
(No symbols found in /usr/lib/x86_64-linux-gnu/libunistring.so.0)
(No symbols found in /lib/x86_64-linux-gnu/libsystemd.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0)
(No symbols found in /lib/x86_64-linux-gnu/libglib-2.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libX11.so.6)
(No symbols found in /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libcairo.so.2)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libSM.so.6)
(No symbols found in /lib/x86_64-linux-gnu/libpng12.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libjpeg.so.8)
(No symbols found in /lib/x86_64-linux-gnu/liblzma.so.5)
(No symbols found in /lib/x86_64-linux-gnu/libdl.so.2)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libfontconfig.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXrender.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXinerama.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXi.so.6)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXrandr.so.2)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXcursor.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXcomposite.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXdamage.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXfixes.so.3)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXext.so.6)
(No symbols found in /usr/lib/x86_64-linux-gnu/libffi.so.6)
(No symbols found in /lib/x86_64-linux-gnu/libselinux.so.1)
(No symbols found in /lib/x86_64-linux-gnu/librt.so.1)
(No symbols found in /lib/x86_64-linux-gnu/libgcrypt.so.20)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0)
(No symbols found in /lib/x86_64-linux-gnu/libexpat.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libthai.so.0)
(No symbols found in /lib/x86_64-linux-gnu/libpcre.so.3)
(No symbols found in /usr/lib/x86_64-linux-gnu/libxcb.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libfreetype.so.6)
(No symbols found in /usr/lib/x86_64-linux-gnu/libpixman-1.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libxcb-render.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libICE.so.6)
(No symbols found in /lib/x86_64-linux-gnu/libuuid.so.1)
(No symbols found in /lib/x86_64-linux-gnu/libresolv.so.2)
(No symbols found in /lib/x86_64-linux-gnu/libgpg-error.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0)
(No symbols found in /usr/lib/x86_64-linux-gnu/libdatrie.so.1)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXau.so.6)
(No symbols found in /usr/lib/x86_64-linux-gnu/libXdmcp.so.6)
(No symbols found in /usr/lib/x86_64-linux-gnu/libgraphite2.so.3)
(No symbols found in /usr/lib/x86_64-linux-gnu/gconv/UTF-32.so)
crawl: Input/output error
Error tracing through process 17796
0x7f586bf4976d: _fini + 0x7f57fc6173a1

gcore:
user@user:~/Desktop/$ sudo gcore 17796
[sudo] password for fuxsocy: 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
strlen () at ../sysdeps/x86_64/strlen.S:120
120	../sysdeps/x86_64/strlen.S: No such file or directory.
Saved corefile core.17796

this is what i have so far, just tried to recompile but no use

comment:5 by an0n.r00t32, 6 years ago

gdb-peda$ run
Starting program: /usr/local/bin/filezilla 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Reading locale option from /home/user/.config/filezilla/filezilla.xml
[New Thread 0x7fffe92d2700 (LWP 19144)]
[New Thread 0x7fffe8ad1700 (LWP 19145)]
[New Thread 0x7fffe3fff700 (LWP 19146)]
[New process 19147]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 19147 is executing new program: /bin/dash
[New process 19148]
process 19148 is executing new program: /bin/uname
[Inferior 3 (process 19148) exited normally]
Warning: not running or target is remote

here i used gdb

comment:6 by an0n.r00t32, 6 years ago

please help me fix this :(

comment:7 by Tim Kosse, 6 years ago

Status: newmoreinfo

That's odd. There's no segfault reported in gdb when running FileZilla. Can you confirm that it crashed?

comment:8 by an0n.r00t32, 6 years ago

Status: moreinfonew

when i executed "filezilla" as command, it gave me "reading locale filezilla.xml" then core dumped, thats all i got

comment:9 by Tim Kosse, 6 years ago

Status: newmoreinfo

Did you remove the previous version or is it still lying around?

comment:10 by an0n.r00t32, 6 years ago

Status: moreinfonew

can u show me how remove the prev one completely? i just replaced it by recompiling then i will let u know if it works or not, thanks

comment:11 by Tim Kosse, 6 years ago

That depends how the previous version, or versions, were installed. If you used 'make install', then you need to remove all installed files by hand [1]

If you installed FileZilla using your system's package manager, it needs to be removed there.

[1] For this reason I always use custom installation prefixes added to PATH, LD_LIBRARY_PTAH and PKG_CONFIG_PATH, if anything goes wrong, the entire prefix can be deleted.

comment:12 by an0n.r00t32, 6 years ago

man! useless :( i removed every files and recompiled :( didnt work either, can u fix it on the next release?

comment:13 by an0n.r00t32, 6 years ago

gdb-peda$ run
Starting program: /usr/local/bin/filezilla 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Reading locale option from /home/fuxsocy/.config/filezilla/filezilla.xml
[New Thread 0x7fffe92d2700 (LWP 27179)]
[New Thread 0x7fffe8ad1700 (LWP 27180)]
[New Thread 0x7fffe3fff700 (LWP 27181)]
[New process 27182]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 27182 is executing new program: /bin/dash
[New process 27183]
process 27183 is executing new program: /bin/uname
[Inferior 3 (process 27183) exited normally]
Warning: not running or target is remote

this is wat i got after recompiling, the same like previous one

comment:14 by Tim Kosse, 6 years ago

can u fix it on the next release?

No, not without a stack trace. All I know to this point is that there's something wrong. What's missing is what is wrong.

comment:15 by an0n.r00t32, 6 years ago

i just reinstalled my linux, and compiled it again, this time it worked :| dunno why

comment:16 by Tim Kosse, 6 years ago

Resolution: outdated
Status: newclosed
Note: See TracTickets for help on using tickets.