Bug 360681 - sax2: failed to startup correctly
Summary: sax2: failed to startup correctly
Status: RESOLVED DUPLICATE of bug 359495
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: SaX2 (show other bugs)
Version: Alpha 2
Hardware: i686 openSUSE 11.0
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marcus Schaefer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-11 17:21 UTC by Rastislav Krupansky
Modified: 2008-02-28 15:57 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
SaX log (1.69 KB, text/x-log)
2008-02-11 17:21 UTC, Rastislav Krupansky
Details
Xorg.0.log (22.19 KB, text/x-log)
2008-02-11 17:22 UTC, Rastislav Krupansky
Details
Xorg.99.log (114.80 KB, text/x-log)
2008-02-11 17:22 UTC, Rastislav Krupansky
Details
sax snapshot (159.63 KB, image/png)
2008-02-13 10:35 UTC, Rastislav Krupansky
Details
newer SaX log (145.50 KB, text/x-log)
2008-02-13 10:36 UTC, Rastislav Krupansky
Details
saving configuration failed (158.12 KB, image/png)
2008-02-13 21:18 UTC, Rastislav Krupansky
Details
testing configuration failed (217.42 KB, image/png)
2008-02-13 21:19 UTC, Rastislav Krupansky
Details
the newest xorg log (22.24 KB, text/x-log)
2008-02-13 21:24 UTC, Rastislav Krupansky
Details
the newest sax.log (150.42 KB, text/x-log)
2008-02-15 08:42 UTC, Rastislav Krupansky
Details
attached "frozen" sax (199.77 KB, image/png)
2008-02-19 19:03 UTC, Rastislav Krupansky
Details
and here you are output gdb (4.80 KB, application/octet-stream)
2008-02-19 19:04 UTC, Rastislav Krupansky
Details
/var/lib/sax/apidata (4.75 MB, text/plain)
2008-02-23 18:27 UTC, Rastislav Krupansky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rastislav Krupansky 2008-02-11 17:21:33 UTC
Created attachment 194246 [details]
SaX log

After notification: SaX2 Importing Data
SaX2 crashes (nothing happens)
So i' m not able to install driver for graphic card.
Comment 1 Rastislav Krupansky 2008-02-11 17:22:11 UTC
Created attachment 194247 [details]
Xorg.0.log
Comment 2 Rastislav Krupansky 2008-02-11 17:22:46 UTC
Created attachment 194248 [details]
Xorg.99.log
Comment 3 Marcus Schaefer 2008-02-13 08:34:40 UTC
Hmm, the logs doesn't lead me to an error. Could you reproduce the
problem if you call the following:

  init 3
  sax2
  --> click on change configuration
  --> click on ok/save

send the newly written /var/log/SaX.log file

Thanks
Comment 4 Rastislav Krupansky 2008-02-13 10:35:11 UTC
From command line it happens if i call --> click on change configuration
From GUI it happens after SaX2.It shows me only: SaX2 Importing Data and then nothing (attachced snapshot)
Comment 5 Rastislav Krupansky 2008-02-13 10:35:59 UTC
Created attachment 194633 [details]
sax snapshot
Comment 6 Rastislav Krupansky 2008-02-13 10:36:52 UTC
Created attachment 194635 [details]
newer SaX log
Comment 7 Marcus Schaefer 2008-02-13 10:45:59 UTC
it looks like it has crashed for some reason. Could you try the
following:

- on your running session type

  /usr/sbin/xapi

does it crash ? if yes could you run the binary in gdb and send a backtrace
it makes sense to have the sax2 debuginfo installed for the following

  gdb /usr/sbin/xapi
  run
  bt

thanks
Comment 8 Rastislav Krupansky 2008-02-13 21:17:18 UTC
command /usr/sbin/xapi launched sax2, but after changing resolution i couldn't neither test it nor saved it.
I obtained messages about configuration failures.Attached snapshots.
Comment 9 Rastislav Krupansky 2008-02-13 21:18:26 UTC
Created attachment 194770 [details]
saving configuration failed
Comment 10 Rastislav Krupansky 2008-02-13 21:19:33 UTC
Created attachment 194771 [details]
testing configuration failed
Comment 11 Rastislav Krupansky 2008-02-13 21:24:38 UTC
Created attachment 194773 [details]
the newest xorg log
Comment 12 Marcus Schaefer 2008-02-14 11:13:49 UTC
ah that's ok I guess you called xapi as normal user so you don't
have rights to create xorg.conf. Strange enough I thought the application
would crash

if you call

   su
   /usr/sbin/xapi

but be careful you are now able to write xorg.conf
Comment 13 Rastislav Krupansky 2008-02-15 08:41:17 UTC
I tried it as root, but nothing happened.After changing of resolution and monitor i clicked on test or save, but nothing happened.SaX2 was like "frozen".I was able to close it only via System Activity -> Kill Process (Ctrl+Esc)
Just to be sure i've attached the newest sax log
Comment 14 Rastislav Krupansky 2008-02-15 08:42:02 UTC
Created attachment 195060 [details]
the newest sax.log
Comment 15 Marcus Schaefer 2008-02-17 16:23:43 UTC
could you run it in gdb to find out which function it calls last ?
I suggest to install the sax2 debuginfo package and after that call

   su root
   gdb xapi
   ---> run
   ---> bt (if the debugger allos you that when it hangs)

by the way _don't_ click on test. This runs another X-Server and could
bite us with searching for the problem at this stage. So use the save
button not the test button

thanks
Comment 16 Rastislav Krupansky 2008-02-19 18:59:27 UTC
SaX2 is still frozen after saving.It looks like on attached snapshot.
Comment 17 Rastislav Krupansky 2008-02-19 19:03:31 UTC
Created attachment 195769 [details]
attached "frozen" sax
Comment 18 Rastislav Krupansky 2008-02-19 19:04:43 UTC
Created attachment 195771 [details]
and here you are output gdb
Comment 19 Marcus Schaefer 2008-02-20 15:18:31 UTC
#0  0xffffe410 in __kernel_vsyscall ()
#8  0xb7ead8b4 in SaX::SaXProcessCall::start () from /usr/lib/libsax.so.7

there must be some process called by sax2 which does not end and
cause the GUI to be in sleep mode. Could you check with

  pstree

what processes runs when sax2 is in that strange state ?

Thanks
Comment 20 Rastislav Krupansky 2008-02-21 11:42:34 UTC
(In reply to comment #19 from Marcus Schaefer)
> #0  0xffffe410 in __kernel_vsyscall ()
> #8  0xb7ead8b4 in SaX::SaXProcessCall::start () from /usr/lib/libsax.so.7
> 
> there must be some process called by sax2 which does not end and
> cause the GUI to be in sleep mode. 

I dont't know, but could it be this reason?
When i wanted to save settings of SaX2(clicking on save button), it froze (on attached snapshot "frozen" sax)
So, then i had to kill SaX2 via Ctrl+Esc -> system activity -> kill process -> xapi

Could you check with
> 
>   pstree
> 
> what processes runs when sax2 is in that strange state ?
> 
> Thanks

user@linux-554y:~/Desktop> pstree
init─┬─acpid
     ├─auditd─┬─audispd───{audispd}
     │        └─{auditd}
     ├─avahi-daemon
     ├─avahi-dnsconfd
     ├─console-kit-dae───62*[{console-kit-dae}]
     ├─cron
     ├─cupsd
     ├─2*[dbus-daemon]
     ├─dcopserver
     ├─dhcpcd
     ├─gconfd-2
     ├─hald───hald-runner─┬─hald-addon-acpi
     │                    ├─hald-addon-inpu
     │                    └─2*[hald-addon-stor]
     ├─kaccess
     ├─kded
     ├─kded4
     ├─kdeinit─┬─kio_file
     │         └─klauncher
     ├─kdeinit4─┬─firefox───firefox-bin───6*[{firefox-bin}]
     │          ├─kate───bash───pstree
     │          ├─kio_file
     │          ├─klauncher
     │          └─kwin
     ├─kdesud
     ├─kdm─┬─Xorg
     │     └─kdm───startkde─┬─kwrapper4
     │                      └─ssh-agent
     ├─klipper
     ├─klogd
     ├─kmix
     ├─knetworkmanager
     ├─knotify4───13*[{knotify4}]
     ├─konsole───bash───su───bash───xapi───isax
     ├─krunner───{krunner}
     ├─ksmserver───{ksmserver}
     ├─master─┬─pickup
     │        └─qmgr
     ├─6*[mingetty]
     ├─nscd───8*[{nscd}]
     ├─opensuseupdater
     ├─plasma───{plasma}
     ├─portmap
     ├─powersaved
     ├─resmgrd
     ├─sshd
     ├─syslog-ng
     └─udevd 

Comment 21 Marcus Schaefer 2008-02-21 13:53:56 UTC
─konsole───bash───su───bash───xapi───isax

can you dig into that isax process more detailed ?

ps aux | grep isax

thanks
Comment 22 Rastislav Krupansky 2008-02-21 19:22:56 UTC
linux-554y:/home/user # ps aux | grep isax
root      3776 85.2  2.7  40428 35840 pts/3    R+   20:21   0:08 /usr/bin/perl /usr/sbin/isax -f /var/lib/sax/apidata -c /var/lib/sax/xorg.conf
root      3790  0.0  0.0   3044   736 pts/2    R+   20:21   0:00 grep isax
Comment 23 Marcus Schaefer 2008-02-22 08:57:55 UTC
ok, so now we should be able to reproduce it:

1) could you send the file /var/lib/sax/apidata
2) if you manually call:

   /usr/sbin/isax -f /var/lib/sax/apidata -c /var/lib/sax/xorg.conf

   can you see any error messages. The process hands right ?
Comment 24 Rastislav Krupansky 2008-02-23 18:27:08 UTC
Created attachment 196803 [details]
/var/lib/sax/apidata
Comment 25 Rastislav Krupansky 2008-02-23 18:43:07 UTC
(In reply to comment #23 from Marcus Schaefer)
> ok, so now we should be able to reproduce it:
> 
> 1) could you send the file /var/lib/sax/apidata
> 2) if you manually call:
> 
>    /usr/sbin/isax -f /var/lib/sax/apidata -c /var/lib/sax/xorg.conf
> 
>    can you see any error messages. The process hands right ?
> 
No, i can't see any error.Nothing happens.

Comment 26 Marcus Schaefer 2008-02-28 15:57:23 UTC
oh this is the wrong Modes section bug

*** This bug has been marked as a duplicate of bug 359495 ***