You are not logged in.
Pages: 1
I installed Arch yesterday and liked it. But Guitar Pro 6 exits a segfault. I did some debuging process and found the problem was libflashplayer. But now i need a shell script to prevent loading flashplayer. I'm a desktop user and i can't uninstall it ![]()
here is the gdb output
GNU gdb (GDB) 7.4
Copyright (C) 2012 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 "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /opt/GuitarPro6/GuitarPro...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/GuitarPro6/GuitarPro
/opt/GuitarPro6/GuitarPro: /usr/lib/libcrypto.so.0.9.8: no version information available (required by /opt/GuitarPro6/GuitarPro)
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb3b01b40 (LWP 1970)]
[New Thread 0xaebd1b40 (LWP 1971)]
[New Thread 0xae1ffb40 (LWP 1972)]
[New Thread 0xad9feb40 (LWP 1973)]
[New Thread 0xad0fdb40 (LWP 1974)]
[New Thread 0xac4ecb40 (LWP 1975)]
[New Thread 0xabcebb40 (LWP 1976)]
(process:1964): GLib-GObject-CRITICAL **: gtype.c:2715: You forgot to call g_type_init()
(process:1964): GLib-GObject-CRITICAL **: gtype.c:2715: You forgot to call g_type_init()
(process:1964): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
(process:1964): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:1964): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(process:1964): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:1964): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
Program received signal SIGSEGV, Segmentation fault.
0xa9c875f8 in gdk_pixbuf_new_from_data () from /usr/lib/libgdk_pixbuf-2.0.so.0
(gdb) where
#0 0xa9c875f8 in gdk_pixbuf_new_from_data () from /usr/lib/libgdk_pixbuf-2.0.so.0
#1 0xa9c903a1 in gdk_pixbuf_from_pixdata () from /usr/lib/libgdk_pixbuf-2.0.so.0
#2 0xa9c938b8 in gdk_pixbuf_new_from_inline () from /usr/lib/libgdk_pixbuf-2.0.so.0
#3 0xaa2a2b18 in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#4 0xaa2a2c0e in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#5 0xaa29fe2d in ?? () from /usr/lib/mozilla/plugins/libflashplayer.so
#6 0xaa2a5c2d in NP_Initialize () from /usr/lib/mozilla/plugins/libflashplayer.so
#7 0xb604b9c7 in ?? () from ./libQtWebKit.so.4
#8 0xb604c2bf in ?? () from ./libQtWebKit.so.4
#9 0xb5ee8969 in ?? () from ./libQtWebKit.so.4
#10 0xb5ee6a6c in ?? () from ./libQtWebKit.so.4
#11 0xb5ee6e08 in ?? () from ./libQtWebKit.so.4
#12 0xb6008529 in ?? () from ./libQtWebKit.so.4
#13 0xb5e9384a in ?? () from ./libQtWebKit.so.4
#14 0xb5e82d0a in ?? () from ./libQtWebKit.so.4
#15 0xb5e93c68 in ?? () from ./libQtWebKit.so.4
#16 0xb5e93cb1 in ?? () from ./libQtWebKit.so.4
#17 0xb645e1fe in ?? () from ./libQtWebKit.so.4
#18 0xb59a2b11 in ?? () from ./libQtWebKit.so.4
#19 0xb59a9902 in ?? () from ./libQtWebKit.so.4
#20 0xb2e90642 in ?? ()
#21 0xb59c4443 in ?? () from ./libQtWebKit.so.4
#22 0xb5a3265b in ?? () from ./libQtWebKit.so.4
#23 0xb5b2396e in ?? () from ./libQtWebKit.so.4
#24 0xb5b332be in ?? () from ./libQtWebKit.so.4
#25 0xb5b336a9 in ?? () from ./libQtWebKit.so.4
---Type <return> to continue, or q <return> to quit---
#26 0xb5c48955 in ?? () from ./libQtWebKit.so.4
#27 0xb5c48b32 in ?? () from ./libQtWebKit.so.4
#28 0xb5bfceea in ?? () from ./libQtWebKit.so.4
#29 0xb5bef07b in ?? () from ./libQtWebKit.so.4
#30 0xb5edfa7d in ?? () from ./libQtWebKit.so.4
#31 0xb5edfb12 in ?? () from ./libQtWebKit.so.4
#32 0xb6005cc4 in ?? () from ./libQtWebKit.so.4
#33 0xb7db70af in QObject::event(QEvent*) () from ./libQtCore.so.4
#34 0xb7299bcf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from ./libQtGui.so.4
#35 0xb729d98e in QApplication::notify(QObject*, QEvent*) () from ./libQtGui.so.4
#36 0x08218aab in GuitarPro::notify(QObject*, QEvent*) ()
#37 0xb7da550b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from ./libQtCore.so.4
#38 0xb7dd52c3 in ?? () from ./libQtCore.so.4
#39 0xb7dd2a04 in ?? () from ./libQtCore.so.4
#40 0xb7dd2a34 in ?? () from ./libQtCore.so.4
#41 0xb475a01f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb475a750 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb475a9ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb7dd2e38 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from ./libQtCore.so.4
#45 0xb7354375 in ?? () from ./libQtGui.so.4
#46 0xb7da45dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from ./libQtCore.so.4
#47 0xb7da496d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from ./libQtCore.so.4
#48 0xb7809029 in QDialog::exec() () from ./libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#49 0xb782f7c4 in ?? () from ./libQtGui.so.4
#50 0xb782f992 in QMessageBox::information(QWidget*, QString const&, QString const&, QFlags<QMessageBox::StandardButton>, QMessageBox::StandardButton) () from ./libQtGui.so.4
#51 0x08226818 in GuitarPro_initialize(GuitarPro*) ()
#52 0x0827b52e in guarded_code() ()
#53 0x0827b734 in main ()When i uninstalled flashplugin it was OK.
Offline
If you need to prevent loading Flashplayer, you could just move it temporarily before starting GP6, and then move it back afterwards.
Since moving something in /usr/bin will require root priveleges, I have another solution that might work.
#!/bin/bash
# Workaround for Guitar Pro 6 segfaulting due to Flashplayer (?)
# Make sure a directory exists for us.
mkdir -p ~/.gp6-workaround
# Fool PATH locally.
PATH="~/.gp6-workaround:${PATH}"
# Create a false Flashplayer.
ln -T `which true` ~/.gp6-workaround/flashplayer
# Launch GP6
exec guitar-proDoesn't fix the issue, but it's a workaround that should (should) work.
Offline
I saw the first one before. But it's not a solituon it could damage other running apps. And I dont think the second work. cause guitar pro starts with a shell script that changes the PWD to /opt/GuitarPro6 and load the Qt libraries inside it.And it dont use orginal qt libs.
Anyway, I tryed the script and unfortunately it didnt work.So I've downgraded version that is not include QtWebKit(i dont know how to prevent it find plugins like flashplayer etc.) so dont use flashplugin. It looks the best solution now.
Thanks.
Offline
You could always use Tuxguitar. Not sure if it loads the new GP format or not (GPX I think).
Offline
I have a similar problem. Guitar Pro opens up and then closes itself leaving following messages in the console:
Object::connect: No such signal PlaySettingsWidget::tuningChanged() in /home/build-linux/BuildMachine/workspace/gp/Sources/GuitarPro/widgets/UniverseSubWidget.cpp:133
Object::connect: No such signal BankListWidget::tuningChanged() in /home/build-linux/BuildMachine/workspace/gp/Sources/GuitarPro/widgets/UniverseSubWidget.cpp:133
Object::connect: (sender name: 'SearchTreeWidget')
Object::connect: No such signal QWidget::tuningChanged() in /home/build-linux/BuildMachine/workspace/gp/Sources/GuitarPro/widgets/UniverseSubWidget.cpp:133
Object::connect: (sender name: 'TrackMidiProperties')
/build/src/icedtea-web-1.1.4/plugin/icedteanp/IcedTeaNPPlugin.cc:2020: thread 0xa14c398: Error: Invalid plugin function table.
(process:11556): GLib-GObject-CRITICAL **: gtype.c:2715: You forgot to call g_type_init()
(process:11556): GLib-GObject-CRITICAL **: gtype.c:2715: You forgot to call g_type_init()
(process:11556): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
(process:11556): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:11556): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(process:11556): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:11556): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failedOffline
It is the libqtweb that can not open the libflashplayer.so
Instead update/install the native Qt libraries in to the latest.
After that do:
cd /opt/GuitarPro6
sudo mkdir old_libqt
sudo mv libQt* old_libqt/.
And then start GuitarPro
For me it asked if I wanted to run with the new libraries, click ok and it starts.
No need to downgrade or remove the libflashplayer.so
If above do not work, just copy the libraries back.
Last edited by mrrg (2012-02-29 20:38:10)
Offline
Thanks it works now.
I accidently reported your post , thought i was replying
. Sorry for that! ![]()
Last edited by thfr (2012-03-02 17:28:00)
Offline
Pages: 1