projectM does not launch anymore, crash at start

Bug #725824 reported by Le Gluon Du Net
This bug report is a duplicate of:  Bug #724867: current qtopengl breaks virtualbox. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
projectm (Ubuntu)
Invalid
Undecided
Matthias Klumpp
qt4-x11 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: projectm-pulseaudio

Hello,

I can not launch projectM anymore, it crashes at start. this is the error messages in the terminal:

dir:/usr/share/projectM/config.inp
trying to create ~/.projectM/config.inp
created ~/.projectM/config.inp successfully
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 1 (X_CreateWindow)
  Resource id: 0x360002a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id: 0x36000f4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id: 0x36000f4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id: 0x36000f4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id: 0x36000f4
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id: 0x36000f4
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension: 137 (Uknown extension)
  Minor opcode: 3 (Unknown request)
  Resource id: 0x36000f4
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension: 137 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id: 0x36000f4
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension: 137 (Uknown extension)
  Minor opcode: 5 (Unknown request)
  Resource id: 0x36000f4
[projectM] config file: /home/legluondunet/.projectM/config.inp
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Opération non permise.
/home/legluondunet/11627: Aucun fichier ou dossier de ce type.
No stack.

I joinde the bug buddy report.

Thanks for your help.

LGDN

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: projectm-pulseaudio 2.0.1+dfsg-6
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic i686
Architecture: i386
Date: Sun Feb 27 01:03:28 2011
ProcEnviron:
 LANGUAGE=fr_FR:fr:en_GB:en
 PATH=(custom, user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: projectm

Revision history for this message
Le Gluon Du Net (legluondunet) wrote :
Revision history for this message
Matthias Klumpp (ximion) wrote :

This looks like a driver problem... Do you use the RadeonHD or Noveau driver instead of a proprietary driver?
This might also be related to X. Can you install "projectm-dbg" please and run projectM-pulseaudio again? (Maybe this creates a nice backtrace)

Changed in projectm (Ubuntu):
assignee: nobody → Matthias Klumpp (ximion)
Revision history for this message
Le Gluon Du Net (legluondunet) wrote :

I'm using nouveau driver and ProjetM worked great with it before.
I installed the projectm-dbg but I obtained no backtrace with bugbuddy, only report.
I tried to launch it with sudo and I obtained a big backtrace, hope this help.

Revision history for this message
Matthias Klumpp (ximion) wrote :

> I tried to launch it with sudo and I obtained a big backtrace, hope this help.
So, where is it? :P (You can also launch projectM-pulseaudio using gdb:
gdb --args projectM-pulseaudio
run
bt full

Revision history for this message
Le Gluon Du Net (legluondunet) wrote :
Download full text (9.9 KiB)

see here:
https://bugs.launchpad.net/bugs/725925

If it is not enough, I tried your tips with gdb tips:

#0 0x0172bf37 in XQueryExtension () from /usr/lib/libX11.so.6
No symbol table info available.
#1 0x0171faab in XInitExtension () from /usr/lib/libX11.so.6
No symbol table info available.
#2 0x01380c46 in ?? () from /usr/lib/mesa/libGL.so.1
No symbol table info available.
#3 0x0137d23b in glXQueryVersion () from /usr/lib/mesa/libGL.so.1
No symbol table info available.
#4 0x0131bdec in glxewContextInit () from /usr/lib/libGLEW.so.1.5
No symbol table info available.
#5 0x01325fe3 in glewInit () from /usr/lib/libGLEW.so.1.5
No symbol table info available.
#6 0x011c15cf in RenderTarget::RenderTarget (this=0x8756518, texsize=1024,
    width=512, height=512)
    at /build/buildd/projectm-2.0.1+dfsg/src/libprojectM/Renderer/FBO.cpp:100
        mindim = 0
        origtexsize = 0
#7 0x011a9dd7 in Renderer::Renderer (this=0x87530b8, width=512, height=512,
    gx=32, gy=24, texsize=1024, beatDetect=0x8773030, _presetURL=...,
    _titlefontURL=..., _menufontURL=...)
    at /build/buildd/projectm-2.0.1+dfsg/src/libprojectM/Renderer/Renderer.cpp:44
        buffer = {st_dev = 5025253470240928, __pad1 = 0, st_ino = 0,
  st_mode = 18052032, st_nlink = 1152, st_uid = 18052080,
          st_gid = 18046964, st_rdev = 610009257266607040, __pad2 = 57496,
          st_size = 17080195, st_blksize = 141910632, st_blocks = 18796532,
          st_atim = {tv_sec = 141910632, tv_nsec = 16474100}, st_mtim = {
            tv_sec = 156, tv_nsec = 142028848}, st_ctim = {
            tv_sec = -1073749816, tv_nsec = 16250457}, __unused4 = 156,
          __unused5 = 141881448}
#8 0x0116a758 in projectM::projectM_init (this=0x8756080, gx=32, gy=24,
    fps=35, texsize=1024, width=512, height=512)
    at /build/buildd/projectm-2.0.1+dfsg/src/libprojectM/projectM.cpp:488
        __PRETTY_FUNCTION__ = "void projectM::projectM_init(int, int, int, int, int, int)"
#9 0x0116b368 in projectM::readConfig (this=0x8756080, configFile=...)
    at /build/buildd/projectm-2.0.1+dfsg/src/libprojectM/projectM.cpp:223
        config = {myDelimiter = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x872fdf4 "="}},
          myComment = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x873af44 "#"}},
          mySentry = {static npos = <optimized out>,
            _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
  _M_p = 0x87561d4 "EndConfigFile"}}, myContents = {_M_t = {
              _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, s...

Revision history for this message
Matthias Klumpp (ximion) wrote :

You need to set the permission of bug #725925 to public, so I can see it .P Hmm, this looks like Noveau or X are causing this error...
Did you install an X update or kernel update before projectM started to crash?

Btw: Can't reproduce this issue with Noveau on my Natty machine...

Changed in projectm (Ubuntu):
status: New → Incomplete
Revision history for this message
Le Gluon Du Net (legluondunet) wrote :

I update natty everyday and the last time I used projectM was 5 days ago.

I just tried with nvidia driver, it crashes too:

$ projectM-pulseaudio
dir:/usr/share/projectM/config.inp
reading ~/.projectM/config.inp
libEGL warning: use software fallback

QEglContext::createContext(): Unable to create EGL context: "Success (0x3000)"

Do I have to open another bug for the nvidia one?

LGDN

Revision history for this message
Matthias Klumpp (ximion) wrote :

I asked upstream for feedback, but this looks like an issue with Qt. (I read Qt has problems with X.org+Gallium a few months ago...)
This bug might also be related to bug #725148

Thanks for reporting this issue!

affects: xorg (Ubuntu) → qt4-x11 (Ubuntu)
Changed in projectm (Ubuntu):
status: Incomplete → New
Revision history for this message
Matthias Klumpp (ximion) wrote :

Le Gluon Du Net: Could you please update your system again (especially Qt and X) and run projectM-pulseaudio again? It should now be resolved.

Changed in projectm (Ubuntu):
status: New → Incomplete
status: Incomplete → Invalid
Changed in qt4-x11 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.