|
Hi!
Amarok workes for me a long time. I mean, it will play music for a while (one hour) and then -> it disappears without any kind of message.. It just close and thats it... I have no clue how to trace this problem back. Does anybody know about this problem? It\'s very annoying since you listen to good music and suddenly it stops playing Regards |
Administrator
|
amaroK Version? Engine? Dist? ...
Please give more information, then someone might help you.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
|
okay, sorry. I\'ve forgotten to add these informations
amaroK version: 1.2.3 Distro: Gentoo Engine: Gstreamer with alsa (I don\'t know if this is the right engine. I just use alsa everywhere and arts is disabled. Maybe I should use another engine? I don\'t know) thanks |
|
well... I\'ve tried another engine, but all other engines can\'t play online-streams from di.fm but gstream can.
I\'ve also noticed that amarok often crashes when I\'m playing these streams from di.fm however, I\'ve no information about the reason WHY amarok crashes. Is there nothing I can do to get some info about the crash? |
KDE Developer
|
Yes, we always apperciate backtraces (which allows us to see where in the actual code the crash took place.
http://amarok.kde.org/wiki/index.php/FA ... cktrace.3F
Amarok Developer
|
Registered Member
|
Okay, I\'ve now a backtrace for you But there are some \'??\' in it, so I don\'t know if it would help you. Maybe I should recompile kdelibs and kdebase with the \'nostrip\' feature too (I\'m using gentoo)?
[code:1]Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 98307 (LWP 16712)] 0xb75670c5 in posix_memalign () from /usr/kde/3.4/lib/libkdecore.so.4 (gdb) bt #0 0xb75670c5 in posix_memalign () from /usr/kde/3.4/lib/libkdecore.so.4 #1 0xb75a7600 in ?? () from /usr/kde/3.4/lib/libkdecore.so.4 #2 0x00000000 in ?? () #3 0xb75b5724 in kde_malloc_is_used () from /usr/kde/3.4/lib/libkdecore.so.4 #4 0xb5ca70ac in ?? () #5 0xb75660ef in free () from /usr/kde/3.4/lib/libkdecore.so.4 #6 0x08864bfc in ?? () #7 0x08864bfc in ?? () #8 0xb60aa0ee in g_free () from /usr/lib/libglib-2.0.so.0 #9 0xb63462a0 in ?? () from /usr/lib/libgstreamer-0.8.so.1 #10 0xb6245e83 in gst_buffer_default_free () from /usr/lib/libgstreamer-0.8.so.1 Previous frame inner to this frame (corrupt stack?)[/code:1] Regards PS: I recently made an account for me here... I\'m the same person who add this topic Post edited by: Cosh, at: 2005/05/03 14:38 |
Moderator
|
Cosh:
Unfortunately this backtrace is useless to us, as it provides no information. You need to compile amarok with --enable-debug=full. |
Registered Member
|
seb wrote:
which I did. I compiled amarok with the debug USE-Flag. In the meanwhile I re-emerged kdelibs and kdebase with the nostrip FEATURE too. I hoped, that this would help. But I now see, that the gdb-output is still the same (amarok crashed again a few minutes ago) [code:1]amarok: [ThreadWeaver] Job aborted: CollectionReader. Jobs pending: 0 [Thread 2031620 (LWP 12406) exited] [New Thread 2048004 (LWP 12528)] amarok: [ThreadWeaver] Job aborted: CollectionReader. Jobs pending: 0 [Thread 2048004 (LWP 12528) exited] [New Thread 2064388 (LWP 12656)] amarok: [ThreadWeaver] Job aborted: CollectionReader. Jobs pending: 0 [Thread 2064388 (LWP 12656) exited] [New Thread 2080772 (LWP 12780)] amarok: [ThreadWeaver] Job aborted: CollectionReader. Jobs pending: 0 [Thread 2080772 (LWP 12780) exited] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 98307 (LWP 30323)] 0xb7561f35 in fREe () from /usr/kde/3.4/lib/libkdecore.so.4 (gdb) bt #0 0xb7561f35 in fREe () from /usr/kde/3.4/lib/libkdecore.so.4 #1 0xb7560fa5 in free () from /usr/kde/3.4/lib/libkdecore.so.4 #2 0xb5ecb0ee in g_free () from /usr/lib/libglib-2.0.so.0 #3 0xb61672a0 in ?? () from /usr/lib/libgstreamer-0.8.so.1 #4 0xb6066e83 in gst_buffer_default_free () from /usr/lib/libgstreamer-0.8.so.1 #5 0xb606bd7d in gst_data_unref () from /usr/lib/libgstreamer-0.8.so.1 #6 0xb617ac58 in gst_adapter_flush (adapter=0x8674070, flush=144785020) at adapter.c:207 #7 0xb617c6ec in GstEngine::handoff_cb (buf=0x8838728) at gstengine.cpp:106 #8 0xb6035310 in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #9 0x08686910 in ?? () #10 0x00000000 in ?? () #11 0x00000000 in ?? () #12 0xb60255d2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #13 0x00000000 in ?? () #14 0xb60352a7 in g_cclosure_marshal_VOID__PARAM () from /usr/lib/libgobject-2.0.so.0 #15 0xb60345ed in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #16 0x0861ced8 in ?? () #17 0x00000000 in ?? () #18 0x00000012 in ?? () #19 0x00000000 in ?? () #20 0x00000001 in ?? () #21 0x00000004 in ?? () Previous frame inner to this frame (corrupt stack?)[/code:1] I followed the wiki step by step... |
KDE Developer
|
|
Registered Member
|
here:
[code:1]CFLAGS=\"-march=athlon-xp -Os -pipe -funroll-all-loops -mmmx -m3dnow -msse\"[/code:1] something wrong with my CFLAGS? |
KDE Developer
|
heh, yes. Your furthering the bad sterotype of gentoo users with flags like that.
It probably explains the crashs. Change it to \"-march=athlon-xp -Os -pipe\".
Amarok Developer
|
|
Hello! I have compiled amarok with debugging options. My gdb output is the following:
#0 0x43408feb in setup_speedy_calls () from /usr/lib/xine/plugins/1.0.1/post/xineplug_post_tvtime.so #1 0x086166b0 in ?? () #2 0x43405f9b in ?? () from /usr/lib/xine/plugins/1.0.1/post/xineplug_post_tvtime.so #3 0xb0000000 in ?? () #4 0x00000000 in ?? () #5 0x42eed164 in ?? () from /usr/lib/./libxine.so.1 #6 0x42eed164 in ?? () from /usr/lib/./libxine.so.1 #7 0x43413ca0 in deinterlace_special_info () from /usr/lib/xine/plugins/1.0.1/post/xineplug_post_tvtime.so #8 0x085f23c0 in ?? () #9 0x42ec1308 in _x_dispose_plugins () from /usr/lib/./libxine.so.1 #10 0xbfffe558 in ?? () #11 0x41a10966 in free () from /lib/libc.so.6 Previous frame inner to this frame (corrupt stack?) :unsure: The output I have when I try to run amarok is the following amaroK: [Loader] Starting amarokapp.. amaroK: [Loader] Don\'t run gdb, valgrind, etc. against this binary! Use amarokapp. amarok: BEGIN: App::App() amarok: BEGIN: EngineBase* EngineController::loadEngine(const QString&) amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 5 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] != \'void-engine\' and [X-KDE-amaroK-rank] > 0 amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 5 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] == \'void-engine\' and [X-KDE-amaroK-rank] > 0 amarok: [PluginManager] Trying to load: libamarok_void-engine_plugin amarok: amarok: PluginManager Service Info: amarok: --------------------------- amarok: name : amarok: library : libamarok_void-engine_plugin amarok: desktopEntryPath : amarok_void-engine_plugin.desktop amarok: X-KDE-amaroK-plugintype : engine amarok: X-KDE-amaroK-name : void-engine amarok: X-KDE-amaroK-authors : (Max Howell,Mark Kretschmann) amarok: X-KDE-amaroK-rank : 1 amarok: X-KDE-amaroK-version : 1 amarok: X-KDE-amaroK-framework-version: 5 amarok: QObject::connect: Cannot connect Engine::Base::statusText( const QString& ) to (null)::shortMessage( const QString& ) QObject::connect: Cannot connect Engine::Base::infoMessage( const QString& ) to (null)::longMessage( const QString& ) amarok: END__: EngineBase* EngineController::loadEngine(const QString&) - Took 0.03s amarok: BEGIN: CollectionDB::CollectionDB() amarok: [CollectionDB] Available db connections: 1 amarok: [CollectionDB] Rebuilding database! amarok: [void CollectionDB::dropTables(DbConnection*)] amarok: [void CollectionDB::createTables(DbConnection*)] amarok: [CollectionDB] Rebuilding stats-database! amarok: [void CollectionDB::dropStatsTable()] amarok: [void CollectionDB::createStatsTable()] amarok: [CollectionDB] Available db connections: 5 amarok: END__: CollectionDB::CollectionDB() - Took 0.03s QLayout: Adding KToolBar/mainToolBar (child of QVBox/unnamed) to layout for PlaylistWindow/PlaylistWindow amarok: Creating browsers. Please report long start times! amarok: BEGIN: ContextBrowser amarok: [void ContextBrowser::setStyleSheet()] amarok: BEGIN: amaroK::Color::Color(const QColor&) amarok: [ContextBrowser] Initial Color Properties: s:137 v:255 amarok: [ContextBrowser] Unapplied Contrast: 23 amarok: [ContextBrowser] Over-compensation: 23 amarok: [ContextBrowser] Final Colour Properties: s:30 v:255 amarok: END__: amaroK::Color::Color(const QColor&) - Took 0s amarok: END__: ContextBrowser - Took 0.06s amarok: BEGIN: CollectionBrowser amarok: [CollectionView::CollectionView(CollectionBrowser*)] amarok: [void CollectionView::renderView()] amarok: END__: CollectionBrowser - Took 0.03s amarok: BEGIN: PlaylistBrowser amarok: END__: PlaylistBrowser - Took 0.03s amarok: BEGIN: MediaBrowser amarok: END__: MediaBrowser - Took 0.03s amarok: BEGIN: FileBrowser amarok: [StatusBar] KSqueezedTextLabel, mainTextLabel: 15: 0 amarok: [StatusBar] QHBox, progressBox: 26: 0 amarok: [StatusBar] QLabel, unnamed: 15: 0 amarok: [StatusBar] QWidget, positionBox: 21: 0 amarok: [StatusBar] QWidget, unnamed: 16: 0 amarok: END__: FileBrowser - Took 0.06s amarok: BEGIN: void App::applySettings(bool) amarok: BEGIN: void App::applyColorScheme() amarok: END__: void App::applyColorScheme() - Took 0s amarok: BEGIN: virtual void PlayerWidget::engineStateChanged(Engine::State) amarok: END__: virtual void PlayerWidget::engineStateChanged(Engine::State) - Took 0s amarok: [void ContextBrowser::setStyleSheet()] amarok: BEGIN: amaroK::Color::Color(const QColor&) amarok: [ContextBrowser] Initial Color Properties: s:137 v:255 amarok: [ContextBrowser] Unapplied Contrast: 23 amarok: [ContextBrowser] Over-compensation: 23 amarok: [ContextBrowser] Final Colour Properties: s:30 v:255 amarok: END__: amaroK::Color::Color(const QColor&) - Took 0s QColor::setRgb: RGB parameter(s) out of range QColor::setRgb: RGB parameter(s) out of range QColor::setRgb: RGB parameter(s) out of range amarok: [virtual bool BrowserBar::event(QEvent*)] Line: 182 amarok: [virtual void BrowserBar::polish()] amarok: BEGIN: void ContextBrowser::showHome() amarok: BEGIN: void ContextBrowser::showIntroduction() amarok: END__: void ContextBrowser::showIntroduction() - Took 0.09s amarok: END__: void ContextBrowser::showHome() - Took 0.1s amarok: [ThreadWeaver] Job completed: PlaylistReader. Jobs pending: 1 amarok: [ThreadWeaver] Job completed: PlaylistReader. Jobs pending: 0 amarok: BEGIN: EngineBase* EngineController::loadEngine() amarok: BEGIN: EngineBase* EngineController::loadEngine(const QString&) amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 5 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] != \'\' and [X-KDE-amaroK-rank] > 0 amarok: [PluginManager] Plugin trader constraint: [X-KDE-amaroK-framework-version] == 5 and [X-KDE-amaroK-plugintype] == \'engine\' and [X-KDE-amaroK-name] == \'\' and [X-KDE-amaroK-rank] > 0 amarok: [PluginManager] Trying to load: libamarok_gstengine_plugin amarok: [GstEngine::GstEngine()] amarok: amarok: PluginManager Service Info: amarok: --------------------------- amarok: name : Motore GStreamer amarok: library : libamarok_gstengine_plugin amarok: desktopEntryPath : amarok_gstengine_plugin.desktop amarok: X-KDE-amaroK-plugintype : engine amarok: X-KDE-amaroK-name : gst-engine amarok: X-KDE-amaroK-authors : (Mark Kretschmann) amarok: X-KDE-amaroK-rank : 255 amarok: X-KDE-amaroK-version : 1 amarok: X-KDE-amaroK-framework-version: 5 amarok: amarok: BEGIN: virtual bool GstEngine::init() amarok: BEGIN: virtual ThreadWeaver::~ThreadWeaver() amarok: [ThreadWeaver] Waiting on thread...finished amarok: END__: virtual ThreadWeaver::~ThreadWeaver() - Took 0s amarok: [virtual CollectionDB::~CollectionDB()] amarok: [CollectionDB] Running VACUUM amarok: [virtual EngineController::~EngineController()] Thanx in advance |
Registered Member
|
eean wrote:
hmm... could you please explain me, why my cflags is so bad? I think I\'m using only the basics to fully use my processor since it supports all the flags I added. however, I change my flag now and recompile amarok. Should I recompile other parts too? Like glibc, kdelibs, kdebase.. and so on? |
KDE Developer
|
...yea actually that might be necesary. Probably not though.
I\'ve read that -funrollloops (or whatever) just breaks some code sometimes (not sure about amaroK in particular). It has nothing to do with what your processor may or may not support. Many CFLAGS are put there by the GNU developers so that people who are making binaries for their app can find ways to make it faster - they\'re not intended to be used for /everything/.
Amarok Developer
|
Registered Member
|
mh, okay..
since amarok still crash, I recompile kdelibs too and try it again... I\'m a bit afraid of setting up my system from scratch again However.. If I still can\'t get this to work, I will do it at the weekend |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar