Bug 6272 - aMSN throws up segmentation fault at login
Summary: aMSN throws up segmentation fault at login
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: mga2-32-OK mga2-64-OK
Keywords: validated_update
Depends on: 2317
Blocks: 5119
  Show dependency treegraph
 
Reported: 2012-05-31 20:37 CEST by isadora
Modified: 2012-06-27 15:37 CEST (History)
9 users (show)

See Also:
Source RPM: amsn 0.98.4-9.mga2
CVE:
Status comment:


Attachments

Description isadora 2012-05-31 20:37:41 CEST
Description of problem:

Login user into aMSN gives "Segmentation fault", when started from terminal.


Version-Release number of selected component (if applicable):

aMSN 0.98.4-9.mga2


How reproducible:



Steps to Reproduce:
1. Start aMSN
2. Login user
isadora 2012-05-31 20:38:37 CEST

CC: (none) => isis2000

Damien Lallement 2012-06-01 20:09:05 CEST

CC: (none) => mageia
Assignee: bugsquad => jani.valimaa

Comment 1 Jani Välimaa 2012-06-02 08:19:40 CEST
Pushed new amsn 0.98.9 to core/updates_testing, please test it.
Comment 2 isadora 2012-06-02 15:15:21 CEST
Testversion from core_updates_testing version 0.98.9 works like a charm.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Sander Lepik 2012-06-02 15:34:44 CEST
(In reply to comment #2)
> Testversion from core_updates_testing version 0.98.9 works like a charm.

Did you test on x86_64?

Status: RESOLVED => REOPENED
CC: (none) => sander.lepik
Resolution: FIXED => (none)

Comment 4 isadora 2012-06-02 16:30:40 CEST
I did indeed.
Comment 5 Manuel Hiebel 2012-06-17 16:26:31 CEST
Reassign to QA then

Suggested advisory:
========================

Updated aMSN fixes a segfault at login, and not recognizing any audio/video devices.

https://bugs.mageia.org/show_bug.cgi?id=5119
https://bugs.mageia.org/show_bug.cgi?id=6272

SRPM: 	amsn-0.98.9-0.1.mga2.src.rpm

Assignee: jani.valimaa => qa-bugs
CC: (none) => jani.valimaa

Manuel Hiebel 2012-06-17 16:27:13 CEST

Blocks: (none) => 5119

Comment 6 David GEIGER 2012-06-17 17:32:58 CEST
Testing complete for the srpm amsn-0.98.9-0.1.mga2.src.rpm on Mageia release 2 (Official) for x86_64 ,and for me it works fine.

I can confirm that the bug 5119 is fixed and the bug 6272 too.

CC: (none) => geiger.david68210

Comment 7 Olivier Delaune 2012-06-20 23:59:33 CEST
Testing also on Mageia 2, 64-bits. I have two remarks. First one is it seems that I have no sound. When I start amsn in terminal, I got 
$ amsn
Unable to open mixer /dev/mixer
And when I go to Ctrl+P > Others > Modify audio and video parameters, when I have to set audio parameter (step 3 and 4), I have no choice for output device and microphone and when I click on « Play the test file », I got « Could not gain access /dev/sound/dsp for writing » and the same message at the step 4 when I click on « Save ».

Second remark, I noted that aMSN installation does not propose to install farsight library althought that it think that aMSN needs it : if I go to Ctrl+P > Others > Modify audio and video parameters, it says me that I have to check is farsight library is loaded.

CC: (none) => olivier.delaune

Comment 8 David GEIGER 2012-06-21 00:16:54 CEST
(In reply to comment #7)
> Testing also on Mageia 2, 64-bits. I have two remarks. First one is it seems
> that I have no sound. When I start amsn in terminal, I got 
> $ amsn
> Unable to open mixer /dev/mixer
  
For this problem look at the bug: https://bugs.mageia.org/show_bug.cgi?id=5119#c32 

Package "ossp" is missing and is not offered during installation.
Comment 9 Olivier Delaune 2012-06-21 09:22:54 CEST
(In reply to comment #8)
> For this problem look at the bug:
> https://bugs.mageia.org/show_bug.cgi?id=5119#c32 
> 
> Package "ossp" is missing and is not offered during installation.

Indeed, this problem is solved if I install ossp. So, the question is : why this package is not installed with the amsn one?
Comment 10 claire robinson 2012-06-21 10:36:57 CEST
Looks like a missing require. Assigning Jani.

Please reassign to QA when you have had a chance to look.

Thanks!

CC: (none) => qa-bugs
Hardware: x86_64 => All
Assignee: qa-bugs => jani.valimaa

Comment 11 Jani Välimaa 2012-06-21 12:54:58 CEST
Added ossp require to new amsn release [1]. We have several options now:

a) Push both amsn-0.98.9-0.1.mga2 and amsn-0.98.9-1.mga2 to core/updates.
b) Remove old amsn-0.98.9-0.1.mga from core/updates_testing and push only amsn-0.98.9-1.mga2 to updates.

[1] amsn-0.98.9-1.mga2
Jani Välimaa 2012-06-21 12:55:10 CEST

Assignee: jani.valimaa => qa-bugs

Comment 12 claire robinson 2012-06-21 14:07:47 CEST
Thanks Jani. When this is pushed we can ask for the older version (amsn-0.98.9-0.1.mga2) to be removed from Testing.
Comment 13 David GEIGER 2012-06-21 14:53:58 CEST
Testing complete for the srpm amsn-0.98.9-1.mga2.src.rpm on Mageia release 2 (Official) for x86_64 ,for it's Ok.

Necessary dependencies are invoked and installed.



# urpmi amsn
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
  Paquetage                      Version      Révision      Arch    
(média « Core Release (distrib1) »)
  gstreamer0.10-farstream        0.1.1        5.mga2        x86_64  
  libnice-utils                  0.1.1        5.mga2        x86_64  
  ossp                           1.3.2        3.mga2        x86_64  
  tcl-snack                      2.2.10       10.mga2       x86_64  
  tcltls                         1.6          4.mga2        x86_64  
(média « Core Updates Testing (distrib5) »)
  amsn                           0.98.9       1.mga2        x86_64
Comment 14 claire robinson 2012-06-21 16:08:41 CEST
It does mean that this is also now affected by bug 2317 so adding a depends.

Mageia release 2 (Official) for i586
Latest version found in "Core Release" is amsn-0.98.4-9.mga2
Latest version found in "Core Updates Testing" is amsn-0.98.9-1.mga2
----------------------------------------
The following packages will require linking when this is pushed:

libpulsecore2.0
ossp
pulseaudio
rtkit
----------------------------------------
Done.
claire robinson 2012-06-21 16:08:54 CEST

Depends on: (none) => 2317

Comment 15 claire robinson 2012-06-21 16:58:48 CEST
This doesn't fix bug 5119 for me i586. Still see 'Unable to open mixer /dev/mixer' and when I try to configure the sound there is no mixer available to be selected. Also clicking on the button to test the sound gives a message about missing /dev/dsp.
Comment 16 claire robinson 2012-06-21 16:59:52 CEST
Does it only work after a reboot?

(testing now)
Comment 17 Jani Välimaa 2012-06-21 17:01:35 CEST
(In reply to comment #15)
> This doesn't fix bug 5119 for me i586. Still see 'Unable to open mixer
> /dev/mixer' and when I try to configure the sound there is no mixer available
> to be selected. Also clicking on the button to test the sound gives a message
> about missing /dev/dsp.

Did you reboot your system (started osspd service) before launching amsn?
Comment 18 claire robinson 2012-06-21 17:41:57 CEST
It seems it requires a reboot.

The osspd service cannot be started manually "osspd[8235]: ERR failed to setup mixer CUSE"

After a reboot it seems to work fine. The /dev/mixer message is gone and I can configure and play sound with amsn. Is there a way around this with a %post script? If not then we can validate but will have to make it clear in the advisory.
Comment 19 Jani Välimaa 2012-06-21 17:45:12 CEST
(In reply to comment #18)
> It seems it requires a reboot.
> 
> The osspd service cannot be started manually "osspd[8235]: ERR failed to setup
> mixer CUSE"
> 

Did you try with old way "service osspd start" or with new systemd way "systemctl start osspd.service"?
Comment 20 claire robinson 2012-06-21 17:51:24 CEST
# service osspd start
Redirecting to /bin/systemctl start osspd.service
Job failed. See system journal and 'systemctl status' for details.

# systemctl status osspd.service
osspd.service - OSS (Open Sound System) Proxy Daemon
          Loaded: loaded (/lib/systemd/system/osspd.service; disabled)
          Active: failed (Result: exit-code) since Thu, 21 Jun 2012 16:35:42 +0100; 19s ago
         Process: 8234 ExecStart=/usr/sbin/osspd (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/osspd.service

Jun 21 16:35:42 laptop osspd[8235]: OSS Proxy v1.3.2 (C) 2008-2010 by Tejun Heo <teheo@suse.de>
Jun 21 16:35:42 laptop osspd[8235]: ERR failed to setup mixer CUSE
Comment 21 Jani Välimaa 2012-06-21 17:53:26 CEST
(In reply to comment #18)
> 
> After a reboot it seems to work fine. The /dev/mixer message is gone and I can
> configure and play sound with amsn. Is there a way around this with a %post
> script? If not then we can validate but will have to make it clear in the
> advisory.

Dunno what our policies say, but at old MDV-times it was decided to not start services automatically after installation but after next reboot. User must start service by hand if he/she doesn't want to reboot.

And IMO you can't manage service from package bar in package foo's %post.
Comment 22 claire robinson 2012-06-21 18:11:12 CEST
Do you want to look into this Jani or shall we validate?
Comment 23 Jani Välimaa 2012-06-21 18:12:27 CEST
(In reply to comment #22)
> Do you want to look into this Jani or shall we validate?

I'd say validate.
Comment 24 claire robinson 2012-06-21 18:37:39 CEST
Validating then.

Advisory:
========================

Updated aMSN fixes a segfault at login [1], and not recognizing any audio/video
devices [2].

Note: This adds a require on ossp which cures he problem with recognising audio/video devices. The osspd service will be automatically started at the next reboot so this will not take immediate effect.


[1] https://bugs.mageia.org/show_bug.cgi?id=6272
[2] https://bugs.mageia.org/show_bug.cgi?id=5119
=========================

SRPM: amsn-0.98.9-1.mga2.src.rpm


The following packages will require linking when this is pushed:

libpulsecore2.0
ossp
pulseaudio
rtkit


Could sysadmin please push from core/updates_testing to core/updates

Bug 5119 can then be closed.

Thanks!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Whiteboard: (none) => mga2-32-OK mga2-64-OK

Comment 25 claire robinson 2012-06-21 18:38:33 CEST
cures *the* problem
Comment 26 Thomas Backlund 2012-06-27 15:37:35 CEST
Linking done and update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0087

Status: REOPENED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.