Juan Rodriguez changed bug 1053535
What Removed Added
Flags needinfo?(juanrr.ar@gmail.com)  

Comment # 6 on bug 1053535 from
Hi Bruno, thanks for all your help.

I have a laptop with two video cards: Intel and AMD radeon, but it's only using
the Intel card.

lspci |grep VGA
---------------
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor
Graphics Controller (rev 09)
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Thames [Radeon HD 7550M/7570M/7650M]

Xorg it's using xf86-video (as I know)

If I use nomodeset at startud, the xserver doesn't init.

This is gdb output (I have installed all the necessary debuginfo packages)

jrodriguez@Zafiro:~>gdb qgis
GNU gdb (GDB; openSUSE Leap 42.3) 8.0
Copyright (C) 2017 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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from qgis...Reading symbols from
/usr/lib/debug/usr/bin/qgis.debug...done.
done.
(gdb) run
Starting program: /usr/bin/qgis 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffd0b2a700 (LWP 6702)]
[New Thread 0x7fffcb7c4700 (LWP 6703)]
[New Thread 0x7fffca943700 (LWP 6704)]
[New Thread 0x7fffca142700 (LWP 6705)]
[New Thread 0x7fffc9941700 (LWP 6706)]
Detaching after fork from child process 6707.
Warning: QCss::Parser - Failed to load file  "/style.qss" 
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No existe
el fichero o el directorio
[New Thread 0x7fffc9140700 (LWP 6708)]
Warning: QFileSystemWatcher: failed to add paths:
/home/jrodriguez/.qgis2//project_templates
[New Thread 0x7fffc893f700 (LWP 6709)]
[New Thread 0x7fff73ffd700 (LWP 6710)]
Warning: QLayout: Attempting to add QLayout "" to QgsPanelWidgetStack
"mWidgetStack", which already has a layout

Thread 1 "qgis" received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106     ../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
(gdb) bt
#0  0x00007fffedd24f3a in strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007fff69d6d036 in PyString_FromFormatV
(format=format@entry=0x7fff69696220 "the sip module implements API v%d.0 to
v%d.%d but the %s module requires API v%d.%d",
vargs=vargs@entry=0x7fffffffb088)
    at Objects/stringobject.c:241
#2  0x00007fff69da714f in PyErr_Format (exception=0x7fff6a061ae0
<_PyExc_RuntimeError>, format=format@entry=0x7fff69696220 "the sip module
implements API v%d.0 to v%d.%d but the %s module requires API v%d.%d")
    at Python/errors.c:567
#3  0x00007fff69686d8b in sip_api_export_module (client=0x7fff67c235e0
<sipModuleAPI__core>, api_major=<optimized out>, api_minor=<optimized out>,
unused=<optimized out>) at siplib.c:1644
#4  0x00007fff67227fd6 in init_core () at /usr/share/qgis/python/qgis/_core.so
#5  0x00007fff69df7dde in _PyImport_LoadDynamicModule
(name=name@entry=0x23cc430 "qgis._core", pathname=pathname@entry=0x2398d00
"/usr/share/qgis/python/qgis/_core.so", fp=<optimized out>) at
Python/importdl.c:53
#6  0x00007fff69df7980 in load_module (name=name@entry=0x23cc430 "qgis._core",
fp=<optimized out>, pathname=pathname@entry=0x2398d00
"/usr/share/qgis/python/qgis/_core.so", type=<optimized out>, loader=<optimized
out>) at Python/import.c:1937
#7  0x00007fff69db2964 in import_submodule (fullname=<optimized out>,
subname=<optimized out>, mod=0x7fff700f1c90) at Python/import.c:2725
#8  0x00007fff69db2964 in load_next (mod=mod@entry=0x7fff700f1c90,
altmod=altmod@entry=0x7fff700f1c90, p_name=p_name@entry=0x7fffffffb310,
buf=buf@entry=0x23cc430 "qgis._core", p_buflen=p_buflen@entry=0x7fffffffb320)
at Python/import.c:2539
#9  0x00007fff69db2f97 in import_module_level (locals=<optimized out>,
level=<optimized out>, fromlist=0x7fff700f3f90, globals=<optimized out>,
name=0x0) at Python/import.c:2256
#10 0x00007fff69db2f97 in PyImport_ImportModuleLevel (name=<optimized out>,
globals=<optimized out>, locals=<optimized out>, fromlist=0x7fff700f3f90,
level=<optimized out>) at Python/import.c:2312
#11 0x00007fff69d9259b in builtin___import__ (self=<optimized out>,
args=<optimized out>, kwds=<optimized out>) at Python/bltinmodule.c:49
#12 0x00007fff69d2abd6 in PyObject_Call (func=func@entry=0x7fffd00edfc8,
arg=arg@entry=0x7fff700eca48, kw=<optimized out>) at Objects/abstract.c:2547
#13 0x00007fff69d92d66 in PyEval_CallObjectWithKeywords
(func=func@entry=0x7fffd00edfc8, arg=arg@entry=0x7fff700eca48, kw=kw@entry=0x0)
at Python/ceval.c:4221
#14 0x00007fff69d96317 in PyEval_EvalFrameEx (f=f@entry=0x7fffd00a1050,
throwflag=throwflag@entry=0) at Python/ceval.c:2624
#15 0x00007fff69d9dfa4 in PyEval_EvalCodeEx (co=co@entry=0x7fff700fe630,
globals=globals@entry=0x7fff700edb40, locals=locals@entry=0x7fff700edb40,
args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0,
kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0,
closure=closure@entry=0x0) at Python/ceval.c:3584
#16 0x00007fff69df2c02 in PyEval_EvalCode (co=co@entry=0x7fff700fe630,
globals=globals@entry=0x7fff700edb40, locals=locals@entry=0x7fff700edb40) at
Python/ceval.c:669
#17 0x00007fff69df72f0 in PyImport_ExecCodeModuleEx (name=name@entry=0x23891c0
"qgis.core", co=co@entry=0x7fff700fe630, pathname=pathname@entry=0x23870e0
"/usr/share/qgis/python/qgis/core/__init__.py")
    at Python/import.c:731
#18 0x00007fff69df750c in load_source_module (name=name@entry=0x23891c0
"qgis.core", pathname=pathname@entry=0x23870e0
"/usr/share/qgis/python/qgis/core/__init__.py", fp=<optimized out>) at
Python/import.c:1121
#19 0x00007fff69df790b in load_module (name=name@entry=0x23891c0 "qgis.core",
fp=<optimized out>, pathname=pathname@entry=0x23870e0
"/usr/share/qgis/python/qgis/core/__init__.py", type=<optimized out>,
loader=loader@entry=0x0) at Python/import.c:1928
#20 0x00007fff69d12486 in load_package (name=name@entry=0x23891c0 "qgis.core",
pathname=pathname@entry=0x23860d0 "/usr/share/qgis/python/qgis/core") at
Python/import.c:1188
#21 0x00007fff69df7a14 in load_module (name=name@entry=0x23891c0 "qgis.core",
fp=<optimized out>, pathname=pathname@entry=0x23860d0
"/usr/share/qgis/python/qgis/core", type=<optimized out>, loader=<optimized
out>) at Python/import.c:1942
#22 0x00007fff69db2964 in import_submodule (fullname=<optimized out>,
subname=<optimized out>, mod=0x7fff700f1c90) at Python/import.c:2725
---Type <return> to continue, or q <return> to quit---
#23 0x00007fff69db2964 in load_next (mod=mod@entry=0x7fff700f1c90,
altmod=altmod@entry=0x7fff700f1c90, p_name=p_name@entry=0x7fffffffb8f0,
buf=buf@entry=0x23891c0 "qgis.core", p_buflen=p_buflen@entry=0x7fffffffb900) at
Python/import.c:2539
#24 0x00007fff69db2f97 in import_module_level (locals=<optimized out>,
level=<optimized out>, fromlist=0x7fffc80c8518, globals=<optimized out>,
name=0x0) at Python/import.c:2256
#25 0x00007fff69db2f97 in PyImport_ImportModuleLevel (name=<optimized out>,
globals=<optimized out>, locals=<optimized out>, fromlist=0x7fffc80c8518,
level=<optimized out>) at Python/import.c:2312
#26 0x00007fff69d9259b in builtin___import__ (self=<optimized out>,
args=<optimized out>, kwds=<optimized out>) at Python/bltinmodule.c:49
#27 0x00007fff69d2abd6 in PyObject_Call (func=func@entry=0x7fffd00edfc8,
arg=arg@entry=0x7fff700ec368, kw=<optimized out>) at Objects/abstract.c:2547
#28 0x00007fff69d92d66 in PyEval_CallObjectWithKeywords
(func=func@entry=0x7fffd00edfc8, arg=arg@entry=0x7fff700ec368, kw=kw@entry=0x0)
at Python/ceval.c:4221
#29 0x00007fff69d96317 in PyEval_EvalFrameEx (f=f@entry=0x7fff700f5050,
throwflag=throwflag@entry=0) at Python/ceval.c:2624
#30 0x00007fff69d9dfa4 in PyEval_EvalCodeEx (co=co@entry=0x7fffc8078bb0,
globals=globals@entry=0x7fff700ed6e0, locals=locals@entry=0x7fff700ed6e0,
args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0,
kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0,
closure=closure@entry=0x0) at Python/ceval.c:3584
#31 0x00007fff69df2c02 in PyEval_EvalCode (co=co@entry=0x7fffc8078bb0,
globals=globals@entry=0x7fff700ed6e0, locals=locals@entry=0x7fff700ed6e0) at
Python/ceval.c:669
#32 0x00007fff69df72f0 in PyImport_ExecCodeModuleEx (name=name@entry=0x2218220
"qgis", co=co@entry=0x7fffc8078bb0, pathname=pathname@entry=0x23840b0
"/usr/share/qgis/python/qgis/__init__.py")
    at Python/import.c:731
#33 0x00007fff69df750c in load_source_module (name=name@entry=0x2218220 "qgis",
pathname=pathname@entry=0x23840b0 "/usr/share/qgis/python/qgis/__init__.py",
fp=<optimized out>) at Python/import.c:1121
#34 0x00007fff69df790b in load_module (name=name@entry=0x2218220 "qgis",
fp=<optimized out>, pathname=pathname@entry=0x23840b0
"/usr/share/qgis/python/qgis/__init__.py", type=<optimized out>,
loader=loader@entry=0x0) at Python/import.c:1928
#35 0x00007fff69d12486 in load_package (name=name@entry=0x2218220 "qgis",
pathname=pathname@entry=0x221a450 "/usr/share/qgis/python/qgis") at
Python/import.c:1188
#36 0x00007fff69df7a14 in load_module (name=name@entry=0x2218220 "qgis",
fp=<optimized out>, pathname=pathname@entry=0x221a450
"/usr/share/qgis/python/qgis", type=<optimized out>, loader=<optimized out>)
    at Python/import.c:1942
#37 0x00007fff69db2964 in import_submodule (fullname=<optimized out>,
subname=<optimized out>, mod=0x7fff6a06bde0 <_Py_NoneStruct>) at
Python/import.c:2725
#38 0x00007fff69db2964 in load_next (mod=mod@entry=0x7fff6a06bde0
<_Py_NoneStruct>, altmod=0x7fff6a06bde0 <_Py_NoneStruct>, p_name=<optimized
out>, buf=0x2218220 "qgis", p_buflen=0x7fffffffbee0)
    at Python/import.c:2539
#39 0x00007fff69db2e87 in import_module_level (locals=<optimized out>,
level=<optimized out>, fromlist=0x7fff700f0810, globals=<optimized out>,
name=0x7fffc80ed2c9 "core") at Python/import.c:2247
#40 0x00007fff69db2e87 in PyImport_ImportModuleLevel (name=<optimized out>,
globals=<optimized out>, locals=<optimized out>, fromlist=0x7fff700f0810,
level=<optimized out>) at Python/import.c:2312
#41 0x00007fff69d9259b in builtin___import__ (self=<optimized out>,
args=<optimized out>, kwds=<optimized out>) at Python/bltinmodule.c:49
#42 0x00007fff69d2abd6 in PyObject_Call (func=func@entry=0x7fffd00edfc8,
arg=arg@entry=0x7fffc810fd60, kw=<optimized out>) at Objects/abstract.c:2547
#43 0x00007fff69d92d66 in PyEval_CallObjectWithKeywords
(func=func@entry=0x7fffd00edfc8, arg=arg@entry=0x7fffc810fd60, kw=kw@entry=0x0)
at Python/ceval.c:4221
#44 0x00007fff69d96317 in PyEval_EvalFrameEx (f=f@entry=0x7fffd00e3c20,
throwflag=throwflag@entry=0) at Python/ceval.c:2624
#45 0x00007fff69d9dfa4 in PyEval_EvalCodeEx (co=co@entry=0x7fffc81258b0,
globals=globals@entry=0x7fffd008f168, locals=locals@entry=0x7fffd008f168,
args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0,
kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0,
closure=closure@entry=0x0) at Python/ceval.c:3584
#46 0x00007fff69df2c02 in PyEval_EvalCode (co=co@entry=0x7fffc81258b0,
globals=globals@entry=0x7fffd008f168, locals=locals@entry=0x7fffd008f168) at
Python/ceval.c:669
---Type <return> to continue, or q <return> to quit---
#47 0x00007fff69df8e3b in run_mod (mod=<optimized out>,
filename=filename@entry=0x7fff69e0094d "<string>",
globals=globals@entry=0x7fffd008f168, locals=locals@entry=0x7fffd008f168,
flags=flags@entry=0x0, arena=arena@entry=0x21e4210) at Python/pythonrun.c:1376
#48 0x00007fff69df9042 in PyRun_StringFlags (str=0x217dd18 "from qgis.core
import *", start=256, globals=0x7fffd008f168, locals=0x7fffd008f168, flags=0x0)
at Python/pythonrun.c:1339
#49 0x00007fff6a0b8269 in QgsPythonUtilsImpl::runStringUnsafe(QString const&,
bool) () at /usr/lib64/libqgispython.so.2.18.11
#50 0x00007fff6a0be433 in QgsPythonUtilsImpl::runString(QString const&,
QString, bool) () at /usr/lib64/libqgispython.so.2.18.11
#51 0x00007fff6a0bced4 in QgsPythonUtilsImpl::checkSystemImports() () at
/usr/lib64/libqgispython.so.2.18.11
#52 0x00007fff6a0bdda6 in QgsPythonUtilsImpl::initPython(QgisInterface*) () at
/usr/lib64/libqgispython.so.2.18.11
#53 0x00007ffff7558808 in QgisApp::loadPythonSupport() () at
/usr/lib64/libqgis_app.so.2.18.11
#54 0x00007ffff755b0b9 in QgisApp::QgisApp(QSplashScreen*, bool, bool,
QWidget*, QFlags<Qt::WindowType>) () at /usr/lib64/libqgis_app.so.2.18.11
#55 0x0000000000406c40 in main ()


You are receiving this mail because: