← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 647908] [NEW] Too many OTG selections causes daemon to crash

 

Public bug reported:

Binary package hint: mythexport

I selected 11 recordings to be exported with OTG (On The Go) via the web
interface. However, the 'param' column in the mythexport_job_queue table
did not have enough characters to hold the resulting insert. Querying
the table showed the following in the param column:

chanid=1211|1211|1211|1211|1211|1211|1211|1211|1213|1213|1211&starttime=2009-12-21
08:00:00|2010-09-10 08:00:00|2010-09-02 08:00:00|2009-11-30
08:00:00|2010-09-03 08:00:00|2009-12-16 08:00:00|2009-12-04
08:00:00|2009-11-27 08:00:00|2009-12-01 19:00:00|201

With the date cut off, and no room for the path, the daemon crashes,
displaying the following:


September 25 18:14:50 Typhoon /usr/bin/mythexport-daemon[20845]: Starting Processing:  1285452890
September 25 18:14:50 Typhoon /usr/bin/mythexport-daemon[20845]: ERROR: Directory  is not writeable.
 at line 157 in /usr/bin/mythexport-daemon
Can't use an undefined value as a symbol reference at /usr/bin/mythexport-daemon line 167.

Notice the error prints a blank variable after the word "Directory".

I assume a resolution is to warn on the frontend, and/or make the field
larger.

** Affects: mythexport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Too many OTG selections causes daemon to crash
https://bugs.launchpad.net/bugs/647908
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythexport in ubuntu.

Status in “mythexport” package in Ubuntu: New

Bug description:
Binary package hint: mythexport

I selected 11 recordings to be exported with OTG (On The Go) via the web interface. However, the 'param' column in the mythexport_job_queue table did not have enough characters to hold the resulting insert. Querying the table showed the following in the param column:

chanid=1211|1211|1211|1211|1211|1211|1211|1211|1213|1213|1211&starttime=2009-12-21 08:00:00|2010-09-10 08:00:00|2010-09-02 08:00:00|2009-11-30 08:00:00|2010-09-03 08:00:00|2009-12-16 08:00:00|2009-12-04 08:00:00|2009-11-27 08:00:00|2009-12-01 19:00:00|201

With the date cut off, and no room for the path, the daemon crashes, displaying the following:


September 25 18:14:50 Typhoon /usr/bin/mythexport-daemon[20845]: Starting Processing:  1285452890
September 25 18:14:50 Typhoon /usr/bin/mythexport-daemon[20845]: ERROR: Directory  is not writeable.
 at line 157 in /usr/bin/mythexport-daemon
Can't use an undefined value as a symbol reference at /usr/bin/mythexport-daemon line 167.

Notice the error prints a blank variable after the word "Directory".

I assume a resolution is to warn on the frontend, and/or make the field larger.





Follow ups

References