Segmentation fault on start #177

Closed
opened 2026-02-21 14:55:21 -05:00 by deekerman · 6 comments
Owner

Originally created by @vlalov on GitHub (Nov 4, 2012).

I'm experiencing the following Program terminated with signal 11, Segmentation fault:

(gdb) bt
#0 0x00007f165e49b040 in std::locale::locale(std::locale const&) () from /usr/lib64/libstdc++.so.6
#1 0x00007f165fe873f0 in boost::filesystem3::path::imbue(std::locale const&) () from /usr/lib64/libboost_filesystem.so.1.49.0
#2 0x00007f165fe8749e in boost::filesystem3::path::wchar_t_codecvt_facet() () from /usr/lib64/libboost_filesystem.so.1.49.0
#3 0x00007f165d3441cf in ?? () from /usr/lib64/libboost_filesystem.so.1.46.1
#4 0x00007f165d351a26 in ?? () from /usr/lib64/libboost_filesystem.so.1.46.1
#5 0x00007f165e7195a0 in ?? () from /usr/lib64/libstdc++.so.6
#6 0x00007f166048a000 in ?? ()
#7 0x0000000000000001 in ?? ()
#8 0x00007f165d34364b in _init () from /usr/lib64/libboost_filesystem.so.1.46.1
#9 0x00007fff95bf1db8 in ?? ()
#10 0x00007f16602a2772 in call_init () from /lib64/ld-linux-x86-64.so.2
#11 0x00007f16602a289a in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#12 0x00007f166029551a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#13 0x0000000000000001 in ?? ()
#14 0x00007fff95bf3612 in ?? ()
#15 0x0000000000000000 in ?? ()

qBittorrent version built from master.

Originally created by @vlalov on GitHub (Nov 4, 2012). I'm experiencing the following Program terminated with signal 11, Segmentation fault: (gdb) bt #0 0x00007f165e49b040 in std::locale::locale(std::locale const&) () from /usr/lib64/libstdc++.so.6 #1 0x00007f165fe873f0 in boost::filesystem3::path::imbue(std::locale const&) () from /usr/lib64/libboost_filesystem.so.1.49.0 #2 0x00007f165fe8749e in boost::filesystem3::path::wchar_t_codecvt_facet() () from /usr/lib64/libboost_filesystem.so.1.49.0 #3 0x00007f165d3441cf in ?? () from /usr/lib64/libboost_filesystem.so.1.46.1 #4 0x00007f165d351a26 in ?? () from /usr/lib64/libboost_filesystem.so.1.46.1 #5 0x00007f165e7195a0 in ?? () from /usr/lib64/libstdc++.so.6 #6 0x00007f166048a000 in ?? () #7 0x0000000000000001 in ?? () #8 0x00007f165d34364b in _init () from /usr/lib64/libboost_filesystem.so.1.46.1 #9 0x00007fff95bf1db8 in ?? () #10 0x00007f16602a2772 in call_init () from /lib64/ld-linux-x86-64.so.2 #11 0x00007f16602a289a in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2 #12 0x00007f166029551a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2 #13 0x0000000000000001 in ?? () #14 0x00007fff95bf3612 in ?? () #15 0x0000000000000000 in ?? () qBittorrent version built from master.
Author
Owner

@ghost commented on GitHub (Nov 5, 2012):

What platform, OS, Qt version and so on?

@ghost commented on GitHub (Nov 5, 2012): What platform, OS, Qt version and so on?
Author
Owner

@Gelmir commented on GitHub (Nov 5, 2012):

I suggest you build with -O0 -fno-omit-frame-pointer -g to get a meaningful backtrace.

@Gelmir commented on GitHub (Nov 5, 2012): I suggest you build with -O0 -fno-omit-frame-pointer -g to get a meaningful backtrace.
Author
Owner

@vlalov commented on GitHub (Nov 8, 2012):

The platform is x86_64 on AMD CPU (if it matters). OS is OpenSUSE 12.2. Qt is 4.8.1
Interesting thing is it only happens if I've built it from the master branch. If I use the prebuilt 3.0.6, it fails with a different problem - a SEGV at RC4() of libcrypto, which I've worked around by disabling the peer encryption (according to google it might be because the CPU isn't Intel).
I'll rebuild with the options Gelmir has provided and come back.

@vlalov commented on GitHub (Nov 8, 2012): The platform is x86_64 on AMD CPU (if it matters). OS is OpenSUSE 12.2. Qt is 4.8.1 Interesting thing is it only happens if I've built it from the master branch. If I use the prebuilt 3.0.6, it fails with a different problem - a SEGV at RC4() of libcrypto, which I've worked around by disabling the peer encryption (according to google it might be because the CPU isn't Intel). I'll rebuild with the options Gelmir has provided and come back.
Author
Owner

@Alexei95 commented on GitHub (Nov 8, 2012):

As far as I understand, it could be a bug related to the last changes about translations, because I see a call to std::locale.

@Alexei95 commented on GitHub (Nov 8, 2012): As far as I understand, it could be a bug related to the last changes about translations, because I see a call to std::locale.
Author
Owner

@vlalov commented on GitHub (Nov 8, 2012):

Ah... forgot to mention. This is all about the qbittorrent-nox.

@vlalov commented on GitHub (Nov 8, 2012): Ah... forgot to mention. This is all about the qbittorrent-nox.
Author
Owner

@vlalov commented on GitHub (Jan 12, 2013):

Found the reason, an old version of torrent-rasterbar was used.

@vlalov commented on GitHub (Jan 12, 2013): Found the reason, an old version of torrent-rasterbar was used.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#177
No description provided.