Bug 188122 - sigsegv when net-p2p/qbittorrent is started
Summary: sigsegv when net-p2p/qbittorrent is started
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Rusmir Dusko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 10:50 UTC by Adrian Chadd
Modified: 2014-04-02 02:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Chadd freebsd_committer freebsd_triage 2014-03-31 10:50:00 UTC
qbittorrent SIGSEGV's after starting:

adrian@lucy-11i386:~ % gdb762 qbittorrent
GNU gdb (GDB) 7.6.2 [GDB v7.6.2 for FreeBSD]
Copyright (C) 2013 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 "i386-portbld-freebsd11.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/qbittorrent...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/qbittorrent 
[New LWP 100333]
[New Thread 2ac03080 (LWP 100333)]
[New Thread 2ac03800 (LWP 101019)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2ac03080 (LWP 100333)]
0x28a5e4ec in libtorrent::session::init(std::__1::pair<int, int>, char const*, libtorrent::fingerprint const&, int, unsigned int) () from /usr/local/lib/libtorrent-rasterbar.so.7
(gdb) bt
#0  0x28a5e4ec in libtorrent::session::init(std::__1::pair<int, int>, char const*, libtorrent::fingerprint const&, int, unsigned int) () from /usr/local/lib/libtorrent-rasterbar.so.7
#1  0x080b2cea in QBtSession::QBtSession() ()
#2  0x080d7036 in QBtSession::instance() ()
#3  0x082152d9 in MainWindow::MainWindow(QWidget*, QStringList const&) ()
#4  0x081f9df0 in main ()
(gdb) q
A debugging session is active.

	Inferior 1 [process 5418] will be killed.

Quit anyway? (y or n) y
adrian@lucy-11i386:~ % 

adrian@lucy-11i386:~ % pkg info | grep qbittorrent
qbittorrent-3.1.9              Bittorrent client using Qt4 and libtorrent-rasterbar
adrian@lucy-11i386:~ % pkg info | grep libtorrent
libtorrent-rasterbar-0.16.16   C++ library implementing a BitTorrent client
qbittorrent-3.1.9              Bittorrent client using Qt4 and libtorrent-rasterbar
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-31 23:28:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nemysis

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Rusmir Dusko freebsd_committer freebsd_triage 2014-03-31 23:45:56 UTC
gdb762 qbittorrent
GNU gdb (GDB) 7.6.2 [GDB v7.6.2 for FreeBSD]
Copyright (C) 2013 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-portbld-freebsd10.0".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/qbittorrent...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/qbittorrent 
[New LWP 101640]
[New Thread 808006c00 (LWP 100217)]
[New Thread 808006400 (LWP 101640)]
[New Thread 80d4f4400 (LWP 100504)]
[New Thread 808015000 (LWP 100503)]
[New Thread 808015800 (LWP 100946)]
[New Thread 808015400 (LWP 100536)]


and qBittorent normal works (FreeBSD 10 amd64) no at all SIGSEGV

I not have any i386 PC to test.

-- 
Best regards,
Rusmir Dusko
Comment 3 Adrian Chadd freebsd_committer freebsd_triage 2014-04-01 00:34:50 UTC
Hi,

This is on -HEAD.

it used to work; the latest update had it stop working.



-a


On 31 March 2014 15:45, Rusmir Dusko <nemysis@freebsd.org> wrote:
> gdb762 qbittorrent
> GNU gdb (GDB) 7.6.2 [GDB v7.6.2 for FreeBSD]
> Copyright (C) 2013 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-portbld-freebsd10.0".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/local/bin/qbittorrent...(no debugging symbols found)...done.
> (gdb) run
> Starting program: /usr/local/bin/qbittorrent
> [New LWP 101640]
> [New Thread 808006c00 (LWP 100217)]
> [New Thread 808006400 (LWP 101640)]
> [New Thread 80d4f4400 (LWP 100504)]
> [New Thread 808015000 (LWP 100503)]
> [New Thread 808015800 (LWP 100946)]
> [New Thread 808015400 (LWP 100536)]
>
>
> and qBittorent normal works (FreeBSD 10 amd64) no at all SIGSEGV
>
> I not have any i386 PC to test.
>
> --
> Best regards,
> Rusmir Dusko
Comment 4 Adrian Chadd freebsd_committer freebsd_triage 2014-04-02 00:17:34 UTC
.. I just reinstalled the package and it worked.

I guess that there was some library or C++ ABI change that wasn't
reflected with a bump.


-a


On 31 March 2014 16:34, Adrian Chadd <adrian@freebsd.org> wrote:
> Hi,
>
> This is on -HEAD.
>
> it used to work; the latest update had it stop working.
>
>
>
> -a
>
>
> On 31 March 2014 15:45, Rusmir Dusko <nemysis@freebsd.org> wrote:
>> gdb762 qbittorrent
>> GNU gdb (GDB) 7.6.2 [GDB v7.6.2 for FreeBSD]
>> Copyright (C) 2013 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-portbld-freebsd10.0".
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>...
>> Reading symbols from /usr/local/bin/qbittorrent...(no debugging symbols found)...done.
>> (gdb) run
>> Starting program: /usr/local/bin/qbittorrent
>> [New LWP 101640]
>> [New Thread 808006c00 (LWP 100217)]
>> [New Thread 808006400 (LWP 101640)]
>> [New Thread 80d4f4400 (LWP 100504)]
>> [New Thread 808015000 (LWP 100503)]
>> [New Thread 808015800 (LWP 100946)]
>> [New Thread 808015400 (LWP 100536)]
>>
>>
>> and qBittorent normal works (FreeBSD 10 amd64) no at all SIGSEGV
>>
>> I not have any i386 PC to test.
>>
>> --
>> Best regards,
>> Rusmir Dusko
Comment 5 Rusmir Dusko freebsd_committer freebsd_triage 2014-04-02 01:34:40 UTC
State Changed
From-To: open->closed

Submiter have reinstalled and qBittorrent works.
Comment 6 dfilter service freebsd_committer freebsd_triage 2014-04-02 01:51:09 UTC
Author: nemysis
Date: Wed Apr  2 00:51:01 2014
New Revision: 349898
URL: http://svnweb.freebsd.org/changeset/ports/349898
QAT: https://qat.redports.org/buildarchive/r349898/

Log:
  - Remove TODO from DOCS
  - Add pkg-message, information to reinstall if problems
  
  PR:		ports/188122
  Submitted by:	adrian chadd <adrian@freebsd.org>

Added:
  head/net-p2p/qbittorrent/files/
  head/net-p2p/qbittorrent/files/pkg-message.in   (contents, props changed)
Modified:
  head/net-p2p/qbittorrent/Makefile

Modified: head/net-p2p/qbittorrent/Makefile
==============================================================================
--- head/net-p2p/qbittorrent/Makefile	Tue Apr  1 23:58:32 2014	(r349897)
+++ head/net-p2p/qbittorrent/Makefile	Wed Apr  2 00:51:01 2014	(r349898)
@@ -30,7 +30,9 @@ INSTALLS_ICONS=	yes
 OPTIONS_DEFINE=	DBUS
 .endif
 
-PORTDOCS=	AUTHORS Changelog README TODO
+SUB_FILES=	pkg-message
+
+PORTDOCS=	AUTHORS Changelog README
 
 OPTIONS_DEFINE=	DEBUG DOCS DBUS
 

Added: head/net-p2p/qbittorrent/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/qbittorrent/files/pkg-message.in	Wed Apr  2 00:51:01 2014	(r349898)
@@ -0,0 +1,11 @@
+===============================================================================
+
+qBittorrent has been installed.
+
+When you have problems, please reinstall qBittorrent
+
+cd /usr/ports/net-p2p/qbittorrent && make deinstall clean reinstall
+
+Have fun!
+
+===============================================================================
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"