alehouse / cantata

Automatically exported from code.google.com/p/cantata
GNU General Public License v3.0
1 stars 0 forks source link

Segmentation fault on start when 3G USB dongle is plugged in #624

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I build cantata 1.3.4 and 1.5.1 with qt4.  When there is a USB dongle inserted 
which defines some scsi device, It confuses cantata and prevent it to start.

I could disable Devices interface to avoid this problem.

What steps will reproduce the problem?
1. Insert some 3G modem dongle with CD ROM mode.
2. Start cantata
3. If Devices interface is active, cantata crash

I provide more info in Gentoo's bugzilla[1].

Also it seems proxy configuration for fetching lyrics no longer (worked in 
0.9.*) works and I cannot find in GUI. Does it no longer work?

Please provide any additional information below.
build configuration:
cmake --no-warn-unused-cli -C 
/var/portage/tmp/portage/media-sound/cantata-1.5.1/work/cantata-1.5.1_build/gent
oo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr 
-DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc 
-DCANTATA_TRANSLATIONS= -DENABLE_CDPARANOIA=ON -DENABLE_cddb=OFF 
-DENABLE_CDDB=OFF -DENABLE_Cddb=OFF -DENABLE_dynamic=OFF -DENABLE_DYNAMIC=OFF 
-DENABLE_Dynamic=OFF -DENABLE_HTTP_SERVER=ON -DENABLE_kde=OFF -DENABLE_KDE=OFF 
-DENABLE_Kde=OFF -DENABLE_kwallet=OFF -DENABLE_lame=OFF -DENABLE_LAME=OFF 
-DENABLE_Lame=OFF -DENABLE_mtp=OFF -DENABLE_MTP=OFF -DENABLE_Mtp=OFF 
-DENABLE_musicbrainz=ON -DENABLE_MUSICBRAINZ=ON -DENABLE_Musicbrainz=ON 
-DENABLE_ONLINE_SERVICES=ON -DENABLE_streams=OFF -DENABLE_STREAMS=OFF 
-DENABLE_Streams=OFF -DENABLE_qt5=OFF -DENABLE_QT5=OFF -DENABLE_Qt5=OFF 
-DENABLE_FFMPEG=OFF -DENABLE_MPG123=OFF -DENABLE_taglib=ON -DENABLE_TAGLIB=ON 
-DENABLE_Taglib=ON -DENABLE_TAGLIB_EXTRAS=ON -DENABLE_DEVICES_SUPPORT=ON 
-DENABLE_HTTP_STREAM_PLAYBACK=OFF -DENABLE_REMOTE_DEVICES=OFF 
-DENABLE_UDISKS2=ON -DUSE_SYSTEM_MENU_ICON=OFF -DCMAKE_BUILD_TYPE=Gentoo 
-DCMAKE_INSTALL_DO_STRIP=OFF 
-DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/portage/tmp/portage/media-sound/cantata-1.
5.1/work/cantata-1.5.1_build/gentoo_rules.cmake 
-DCMAKE_TOOLCHAIN_FILE=/var/portage/tmp/portage/media-sound/cantata-1.5.1/work/c
antata-1.5.1_build/gentoo_toolchain.cmake  
/var/portage/tmp/portage/media-sound/cantata-1.5.1/work/cantata-1.5.1

1: https://bugs.gentoo.org/show_bug.cgi?id=526620

Thanks for your efforts and great software ;)

Original issue reported on code.google.com by Ameretat...@gmail.com on 11 Feb 2015 at 11:35

GoogleCodeExporter commented 9 years ago
The stack traces don't give much clue as to what function call is crashing. Can 
you download a copy of the source code, and copy the attached file into the 
devices folder - and rebuild cantata? Please then re-run from a terminal. I've 
added some debug output that might help.

Original comment by craig.p....@gmail.com on 11 Feb 2015 at 11:29

Attachments:

GoogleCodeExporter commented 9 years ago
readDisc
readDisc FD 30
readDisc CALL IOCTL
readDisc STATUS: 101
readDisc Not audio
readDisc CLOSE FD
readDisc TRACK COUNT 0
readDisc calc disc id
zsh: segmentation fault  ./cantata

Should I set some environment variable for more verbose output?

Original comment by Ameretat...@gmail.com on 12 Feb 2015 at 6:01

GoogleCodeExporter commented 9 years ago
Very helpful, thanks! Should be fixed in trunk (for 1.6.0) and branches/1.5 
(for 1.5.2) now. Can you please confirm? Either checkout the code, or try the 
attached.

Original comment by craig.p....@gmail.com on 12 Feb 2015 at 6:40

Attachments:

GoogleCodeExporter commented 9 years ago
This worked. Thanks for fast action ;)

Original comment by Ameretat...@gmail.com on 12 Feb 2015 at 7:14

GoogleCodeExporter commented 9 years ago
Thanks for the confirmation. It was a very silly coding mistake...

Original comment by craig.p....@gmail.com on 12 Feb 2015 at 9:28

GoogleCodeExporter commented 9 years ago
Do you have a comment about HTTP proxy thing? It's support dropped?
Is there a way to configure cantata (after 0.9) to use proxy in a non KDE 
environment?

Original comment by Ameretat...@gmail.com on 13 Feb 2015 at 6:53

GoogleCodeExporter commented 9 years ago
Cantata should pick up the proxy settings of your system - and does under 
Unity. It should even read the http_proxy, etc, env vars. If you really want 
the proxy settings back, pass -DENABLE_PROXY_CONFIG=ON to cmake.

Original comment by craig.p....@gmail.com on 13 Feb 2015 at 6:42

GoogleCodeExporter commented 9 years ago
Worked, Thanks!

Original comment by Ameretat...@gmail.com on 13 Feb 2015 at 7:08